EasyImage::ImageToLineSegment

Copies the pixel values along a given line segment (arbitrarily oriented) to a vector.

Namespace: Euresys::Open_eVision

[C++]

void ImageToLineSegment(
   const EROIBW8* sourceImage,
   EBW8Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   const EROIBW16* sourceImage,
   EBW16Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   const EROIC24* sourceImage,
   EC24Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   const EROIBW8* sourceImage,
   const EROIBW8* mask,
   EBW8 outOfMaskValue,
   EBW8Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   const EROIBW16* sourceImage,
   const EROIBW8* mask,
   EBW16 outOfMaskValue,
   EBW16Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   const EROIC24* sourceImage,
   const EROIBW8* mask,
   EC24 outOfMaskValue,
   EC24Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   const EROIBW8* sourceImage,
   EBW8Vector* path,
   const ELine& line
)

void ImageToLineSegment(
   const EROIBW16* sourceImage,
   EBW16Vector* path,
   const ELine& line
)

void ImageToLineSegment(
   const EROIC24* sourceImage,
   EC24Vector* path,
   const ELine& line
)

void ImageToLineSegment(
   const EROIBW8* sourceImage,
   const EROIBW8* mask,
   EBW8 outOfMaskValue,
   EBW8Vector* path,
   const ELine& line
)

void ImageToLineSegment(
   const EROIBW16* sourceImage,
   const EROIBW8* mask,
   EBW16 outOfMaskValue,
   EBW16Vector* path,
   const ELine& line
)

void ImageToLineSegment(
   const EROIC24* sourceImage,
   const EROIBW8* mask,
   EC24 outOfMaskValue,
   EC24Vector* path,
   const ELine& line
)

void ImageToLineSegment(
   const EROIBW8* sourceImage,
   const ERegion& region,
   EBW8 outOfMaskValue,
   EBW8Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   const EROIBW16* sourceImage,
   const ERegion& region,
   EBW16 outOfMaskValue,
   EBW16Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   const EROIC24* sourceImage,
   const ERegion& region,
   EC24 outOfMaskValue,
   EC24Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   const EROIBW8* sourceImage,
   const ERegion& region,
   EBW8 outOfMaskValue,
   EBW8Vector* path,
   const ELine& line
)

void ImageToLineSegment(
   const EROIBW16* sourceImage,
   const ERegion& region,
   EBW16 outOfMaskValue,
   EBW16Vector* path,
   const ELine& line
)

void ImageToLineSegment(
   const EROIC24* sourceImage,
   const ERegion& region,
   EC24 outOfMaskValue,
   EC24Vector* path,
   const ELine& line
)

Parameters

sourceImage

Pointer to the source image/ROI.

path

Pointer to the destination vector.

X0

Coordinates of the starting point of the segment.

Y0

Coordinates of the starting point of the segment.

X1

Coordinates of the ending point of the segment.

Y1

Coordinates of the ending point of the segment.

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 or the region.

line

A Eline object

region

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

Remarks

The line segment must be wholly contained within the image. The vector length is adjusted automatically.

EasyImage.ImageToLineSegment

Copies the pixel values along a given line segment (arbitrarily oriented) to a vector.

Namespace: Euresys.Open_eVision

[C#]

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EBW8Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EBW16Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EC24Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EBW8 outOfMaskValue,
   Euresys.Open_eVision.EBW8Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EBW16 outOfMaskValue,
   Euresys.Open_eVision.EBW16Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EC24 outOfMaskValue,
   Euresys.Open_eVision.EC24Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EBW8Vector path,
   Euresys.Open_eVision.ELine line
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EBW16Vector path,
   Euresys.Open_eVision.ELine line
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EC24Vector path,
   Euresys.Open_eVision.ELine line
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EBW8 outOfMaskValue,
   Euresys.Open_eVision.EBW8Vector path,
   Euresys.Open_eVision.ELine line
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EBW16 outOfMaskValue,
   Euresys.Open_eVision.EBW16Vector path,
   Euresys.Open_eVision.ELine line
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EC24 outOfMaskValue,
   Euresys.Open_eVision.EC24Vector path,
   Euresys.Open_eVision.ELine line
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EBW8 outOfMaskValue,
   Euresys.Open_eVision.EBW8Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EBW16 outOfMaskValue,
   Euresys.Open_eVision.EBW16Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EC24 outOfMaskValue,
   Euresys.Open_eVision.EC24Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EBW8 outOfMaskValue,
   Euresys.Open_eVision.EBW8Vector path,
   Euresys.Open_eVision.ELine line
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EBW16 outOfMaskValue,
   Euresys.Open_eVision.EBW16Vector path,
   Euresys.Open_eVision.ELine line
)

void ImageToLineSegment(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EC24 outOfMaskValue,
   Euresys.Open_eVision.EC24Vector path,
   Euresys.Open_eVision.ELine line
)

Parameters

sourceImage

Pointer to the source image/ROI.

path

Pointer to the destination vector.

X0

Coordinates of the starting point of the segment.

Y0

Coordinates of the starting point of the segment.

X1

Coordinates of the ending point of the segment.

Y1

Coordinates of the ending point of the segment.

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 or the region.

line

A Eline object

region

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

Remarks

The line segment must be wholly contained within the image. The vector length is adjusted automatically.