Create a gray ramp test image with offset 0 and slope 1.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
public static Image Ramp( Size2D size, int numPlanes, TestImageDataType dataType, Axis axis )
Parameters
- size
- Type: Stemmer.CvbSize2D
Size of the image to be generated. - numPlanes
- Type: SystemInt32
Number of planes the image should have. - dataType
- Type: Stemmer.Cvb.FoundationTestImageDataType
Data type the image should have. - axis
- Type: Stemmer.Cvb.FoundationAxis
Axis along which the ramp should run.
Return Value
Type: ImageThe test image
See Also