EasyImage::SetFrame

Replaces the frame of given parity in an image.

Namespace: Euresys::Open_eVision

[C++]

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

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

static 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#]

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

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

static 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.

Module: open_evision

[Python]

@staticmethod
SetFrame(
    sourceImage: EROIBW8
    destinationImage: EROIBW8
    odd: bool
) -> None

@staticmethod
SetFrame(
    sourceImage: EROIBW16
    destinationImage: EROIBW16
    odd: bool
) -> None

@staticmethod
SetFrame(
    sourceImage: EROIC24
    destinationImage: EROIC24
    odd: bool
) -> None

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