EasyImage::Overlay

Overlays an image on the top of a color image, at a given position.

Namespace: Euresys::Open_eVision

[C++]

void Overlay(
   const EROIC24* sourceImage,
   EROIC16* destinationImage,
   float panX,
   float panY,
   EC24 referenceValue
)

void Overlay(
   const EROIC24* sourceImage,
   EROIC15* destinationImage,
   float panX,
   float panY,
   EC24 referenceValue
)

void Overlay(
   const EROIC24* sourceImage,
   EROIC24* destinationImage,
   float panX,
   float panY,
   EC24 referenceValue
)

void Overlay(
   const EROIC24* sourceImage,
   const EROIBW8* mask,
   EROIC15* destinationImage,
   float panX,
   float panY
)

void Overlay(
   const EROIC24* sourceImage,
   const EROIBW8* mask,
   EROIC16* destinationImage,
   float panX,
   float panY
)

void Overlay(
   const EROIC24* sourceImage,
   const EROIBW8* mask,
   EROIC24* destinationImage,
   float panX,
   float panY
)

void Overlay(
   const EROIBW8* sourceImage,
   EROIC24* overlay,
   EROIC24* destinationImage,
   float panX,
   float panY,
   EC24 referenceValue
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination image/ROI.

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

referenceValue

Reference color.

mask

Pointer to a mask to apply the function only on a particular region in the image. Note: the mask must have the same size as the source image.

overlay

When a BW8 source image is specified, pointer to the overlay image/ROI.

Remarks

If a color image is provided as the source image, all the pixels of this image are copied to the destination image, but the ones that equal the reference color.
If a BW8 image is provided as the source image, all the pixels of the overlay image are copied to the destination image, but the ones that equal the reference color, the latter being replaced by the content of the source image.

EasyImage.Overlay

Overlays an image on the top of a color image, at a given position.

Namespace: Euresys.Open_eVision

[C#]

void Overlay(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EROIC16 destinationImage,
   float panX,
   float panY,
   Euresys.Open_eVision.EC24 referenceValue
)

void Overlay(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EROIC15 destinationImage,
   float panX,
   float panY,
   Euresys.Open_eVision.EC24 referenceValue
)

void Overlay(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EROIC24 destinationImage,
   float panX,
   float panY,
   Euresys.Open_eVision.EC24 referenceValue
)

void Overlay(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EROIC15 destinationImage,
   float panX,
   float panY
)

void Overlay(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EROIC16 destinationImage,
   float panX,
   float panY
)

void Overlay(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EROIC24 destinationImage,
   float panX,
   float panY
)

void Overlay(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIC24 overlay,
   Euresys.Open_eVision.EROIC24 destinationImage,
   float panX,
   float panY,
   Euresys.Open_eVision.EC24 referenceValue
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination image/ROI.

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

referenceValue

Reference color.

mask

Pointer to a mask to apply the function only on a particular region in the image. Note: the mask must have the same size as the source image.

overlay

When a BW8 source image is specified, pointer to the overlay image/ROI.

Remarks

If a color image is provided as the source image, all the pixels of this image are copied to the destination image, but the ones that equal the reference color.
If a BW8 image is provided as the source image, all the pixels of the overlay image are copied to the destination image, but the ones that equal the reference color, the latter being replaced by the content of the source image.