EMatcher::SetPixelDimensions

Sets the physical pixel dimensions.

Namespace: Euresys::Open_eVision_2_11

[C++]

void SetPixelDimensions(
   float width,
   float height
)

Parameters

width

Width of a pixel.

height

Height of a pixel.

Remarks

When an image has been acquired in such a way that the pixels are "non-square" —the physical width and height of the area covered by a pixel are unequal— a form of anisotropy results. When rotated, the objects become skewed; rectangles become parallelograms. In such a situation, the pixel aspect ratio must be known to compensate it during matching. The aspect ratio is given by specifying the true width and height of a pixel. The specification of the pixel dimensions is only useful when rotation is used. Only the aspect ratio matters, so that relative width and height values can be given. By default, the pixel width and height are set to 1.0.

EMatcher.SetPixelDimensions

Sets the physical pixel dimensions.

Namespace: Euresys.Open_eVision_2_11

[C#]

void SetPixelDimensions(
   float width,
   float height
)

Parameters

width

Width of a pixel.

height

Height of a pixel.

Remarks

When an image has been acquired in such a way that the pixels are "non-square" —the physical width and height of the area covered by a pixel are unequal— a form of anisotropy results. When rotated, the objects become skewed; rectangles become parallelograms. In such a situation, the pixel aspect ratio must be known to compensate it during matching. The aspect ratio is given by specifying the true width and height of a pixel. The specification of the pixel dimensions is only useful when rotation is used. Only the aspect ratio matters, so that relative width and height values can be given. By default, the pixel width and height are set to 1.0.