Struct LineIterator.Pixel
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
LineIterator pixel data: its position and a pointer into the image buffer.
public readonly record struct LineIterator.Pixel : IEquatable<LineIterator.Pixel>
- Implements
- Inherited Members
Constructors
- Pixel(Point, nint)
LineIterator pixel data: its position and a pointer into the image buffer.
Properties
- Pos
Pixel position.
- Ptr
Pointer to the pixel inside the image buffer. Only valid while the source image has not been disposed.
- ValuePointer
Pointer to the pixel as a byte pointer.
Methods
- GetValue<T>()
Reads the pixel value as
T. The source image must still be alive.
- SetValue<T>(T)
Writes the pixel value of type
T. The source image must still be alive.