CVB.Net 14.0
TestImages Class Reference

Functions for test image generation. More...

Static Public Member Functions

static Image Jaehne (Size2D size, int numPlanes, TestImageDataType dataType)
 Create a filter test image as suggested by Prof. Jaehne, suitable for investigating the isotropy characteristics of a filter. More...
 
static Image Ramp (Size2D size, int numPlanes, TestImageDataType dataType, Axis axis)
 Create a gray ramp test image with offset 0 and slope 1. More...
 
static Image Ramp (Size2D size, int numPlanes, TestImageDataType dataType, Axis axis, double offset, double slope)
 Create a gray ramp test image. More...
 

Detailed Description

Functions for test image generation.

Member Function Documentation

◆ Jaehne()

static Image Jaehne ( Size2D  size,
int  numPlanes,
TestImageDataType  dataType 
)
static

Create a filter test image as suggested by Prof. Jaehne, suitable for investigating the isotropy characteristics of a filter.

Parameters
sizeSize of the image to be generated.
numPlanesNumber of planes the image should have.
dataTypeData type the image should have.
Returns
The test image

◆ Ramp() [1/2]

static Image Ramp ( Size2D  size,
int  numPlanes,
TestImageDataType  dataType,
Axis  axis 
)
static

Create a gray ramp test image with offset 0 and slope 1.

Parameters
sizeSize of the image to be generated.
numPlanesNumber of planes the image should have.
dataTypeData type the image should have.
axisAxis along which the ramp should run.
Returns
The test image

◆ Ramp() [2/2]

static Image Ramp ( Size2D  size,
int  numPlanes,
TestImageDataType  dataType,
Axis  axis,
double  offset,
double  slope 
)
static

Create a gray ramp test image.

Parameters
sizeSize of the image to be generated.
numPlanesNumber of planes the image should have.
dataTypeData type the image should have.
axisAxis along which the ramp should run.
offsetOffset the ramp should have.
slopeSlope the ramp should have.
Returns
The test image