EasyImage::ImageToPath

Given a path described by coordinates in a path vector, copies the corresponding pixel values into the same vector.

Namespace: Euresys::Open_eVision

[C++]

void ImageToPath(
   const EROIBW8* sourceImage,
   EBW8PathVector* path
)

void ImageToPath(
   const EROIBW16* sourceImage,
   EBW16PathVector* path
)

void ImageToPath(
   const EROIC24* sourceImage,
   EC24PathVector* path
)

void ImageToPath(
   const EROIBW8* sourceImage,
   const EROIBW8* mask,
   EBW8 outOfMaskValue,
   EBW8PathVector* path
)

void ImageToPath(
   const EROIBW16* sourceImage,
   const EROIBW8* mask,
   EBW16 outOfMaskValue,
   EBW16PathVector* path
)

void ImageToPath(
   const EROIC24* sourceImage,
   const EROIBW8* mask,
   EC24 outOfMaskValue,
   EC24PathVector* path
)

void ImageToPath(
   const EROIBW8* sourceImage,
   const ERegion& region,
   EBW8 outOfMaskValue,
   EBW8PathVector* path
)

void ImageToPath(
   const EROIBW16* sourceImage,
   const ERegion& region,
   EBW16 outOfMaskValue,
   EBW16PathVector* path
)

void ImageToPath(
   const EROIC24* sourceImage,
   const ERegion& region,
   EC24 outOfMaskValue,
   EC24PathVector* path
)

Parameters

sourceImage

Pointer to the source image/ROI.

path

Pointer to the destination vector.

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.

outOfMaskValue

The value to be given to the pixels that lie out of the mask.

region

Reference to a region to apply the function only on a particular region in the image.

EasyImage.ImageToPath

Given a path described by coordinates in a path vector, copies the corresponding pixel values into the same vector.

Namespace: Euresys.Open_eVision

[C#]

void ImageToPath(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EBW8PathVector path
)

void ImageToPath(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EBW16PathVector path
)

void ImageToPath(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EC24PathVector path
)

void ImageToPath(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EBW8 outOfMaskValue,
   Euresys.Open_eVision.EBW8PathVector path
)

void ImageToPath(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EBW16 outOfMaskValue,
   Euresys.Open_eVision.EBW16PathVector path
)

void ImageToPath(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EC24 outOfMaskValue,
   Euresys.Open_eVision.EC24PathVector path
)

void ImageToPath(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EBW8 outOfMaskValue,
   Euresys.Open_eVision.EBW8PathVector path
)

void ImageToPath(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EBW16 outOfMaskValue,
   Euresys.Open_eVision.EBW16PathVector path
)

void ImageToPath(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EC24 outOfMaskValue,
   Euresys.Open_eVision.EC24PathVector path
)

Parameters

sourceImage

Pointer to the source image/ROI.

path

Pointer to the destination vector.

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.

outOfMaskValue

The value to be given to the pixels that lie out of the mask.

region

Reference to a region to apply the function only on a particular region in the image.