CalibrationPatternCreate Method (CalibrationPatternStyle, CalibrationPatternContrast, Int32, Int32, Int32, Int32)

CVB.Net Documentation
Create a user-definable calibration pattern.

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public static Image Create(
	CalibrationPatternStyle style,
	CalibrationPatternContrast contrast,
	int width,
	int height,
	int numColumns,
	int numRows
)

Parameters

style
Type: Stemmer.Cvb.FoundationCalibrationPatternStyle
Dot style to use (see CalibrationPatternStyle).
contrast
Type: Stemmer.Cvb.FoundationCalibrationPatternContrast
Selects whether to use white on black or black on white dots (see CalibrationPatternContrast).
width
Type: SystemInt32
Width of the output image in pixels.
height
Type: SystemInt32
Height of the output image in pixels.
numColumns
Type: SystemInt32
Number of dot columns in the image.
numRows
Type: SystemInt32
Number of dot rows in the image.

Return Value

Type: Image
Calibration pattern image.
Remarks

The calibration pattern will consist of a regular spaced matrix of dots, the size of which will be determined by the input parameters. The distance between the dots in x- and y-direction will be 2.5 times the diameter of the dots.

If an asymmetric pattern was selected, the bigger dots will have 2.5 times the area of the smaller dots (meaning that their radius is sqrt(2.5) times the radius of the small dots).

See Also

Reference