EasyImage::LineSegmentToImage

Copies the pixel values from a vector or a constant to the pixels of a given line segment (arbitrarily oriented).

Namespace: Euresys::Open_eVision

[C++]

void LineSegmentToImage(
   EROIBW8* destinationImage,
   EBW8 pixel,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void LineSegmentToImage(
   EROIBW16* destinationImage,
   EBW16 pixel,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void LineSegmentToImage(
   EROIC24* destinationImage,
   EC24 pixel,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void LineSegmentToImage(
   EROIBW8* destinationImage,
   EBW8Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void LineSegmentToImage(
   EROIBW16* destinationImage,
   EBW16Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void LineSegmentToImage(
   EROIC24* destinationImage,
   EC24Vector* path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

Parameters

destinationImage

Pointer to the destination image/ROI.

pixel

Constant color value.

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.

path

Pointer to the source vector.

Remarks

The line segment must be wholly contained within the image.

EasyImage.LineSegmentToImage

Copies the pixel values from a vector or a constant to the pixels of a given line segment (arbitrarily oriented).

Namespace: Euresys.Open_eVision

[C#]

void LineSegmentToImage(
   Euresys.Open_eVision.EROIBW8 destinationImage,
   Euresys.Open_eVision.EBW8 pixel,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void LineSegmentToImage(
   Euresys.Open_eVision.EROIBW16 destinationImage,
   Euresys.Open_eVision.EBW16 pixel,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void LineSegmentToImage(
   Euresys.Open_eVision.EROIC24 destinationImage,
   Euresys.Open_eVision.EC24 pixel,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void LineSegmentToImage(
   Euresys.Open_eVision.EROIBW8 destinationImage,
   Euresys.Open_eVision.EBW8Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void LineSegmentToImage(
   Euresys.Open_eVision.EROIBW16 destinationImage,
   Euresys.Open_eVision.EBW16Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

void LineSegmentToImage(
   Euresys.Open_eVision.EROIC24 destinationImage,
   Euresys.Open_eVision.EC24Vector path,
   int X0,
   int Y0,
   int X1,
   int Y1
)

Parameters

destinationImage

Pointer to the destination image/ROI.

pixel

Constant color value.

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.

path

Pointer to the source vector.

Remarks

The line segment must be wholly contained within the image.