EasyImage::SetFrame

Replaces the frame of given parity in an image.

Namespace: Euresys::Open_eVision

[C++]

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

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

void SetFrame(
   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 replaced (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_WidthDstImage_Height = (SrcImage_Height + 1 - odd ) / 2

EasyImage.SetFrame

Replaces the frame of given parity in an image.

Namespace: Euresys.Open_eVision

[C#]

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

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

void SetFrame(
   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 replaced (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_WidthDstImage_Height = (SrcImage_Height + 1 - odd ) / 2