EasyImage::GetFrame

Extracts the frame of given parity from an image.

Namespace: Euresys::Open_eVision

[C++]

void GetFrame(
   EROIBW8* sourceImage,
   EROIBW8* destinationImage,
   bool odd
)

void GetFrame(
   EROIBW16* sourceImage,
   EROIBW16* destinationImage,
   bool odd
)

void GetFrame(
   EROIC24* sourceImage,
   EROIC24* destinationImage,
   bool odd
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination image/ROI. Must not be the same as the source image.

odd

Specifies which frame is extracted (the frame made up of all lines of the same parity as odd).

Remarks

The size of the destination image is determined as follows:
DstImage_Width = SrcImage_Width
DstImage_Height = (SrcImage_Height + 1 - odd ) / 2

EasyImage.GetFrame

Extracts the frame of given parity from an image.

Namespace: Euresys.Open_eVision

[C#]

void GetFrame(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 destinationImage,
   bool odd
)

void GetFrame(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EROIBW16 destinationImage,
   bool odd
)

void GetFrame(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EROIC24 destinationImage,
   bool odd
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination image/ROI. Must not be the same as the source image.

odd

Specifies which frame is extracted (the frame made up of all lines of the same parity as odd).

Remarks

The size of the destination image is determined as follows:
DstImage_Width = SrcImage_Width
DstImage_Height = (SrcImage_Height + 1 - odd ) / 2