Method AsValues
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
AsValues<T>()
Enumerates the pixel values along the line as T.
Each value is read while the source image is kept alive, so the result is
safe to use after enumeration (unlike the raw Ptr).
public IEnumerable<T> AsValues<T>() where T : struct
Returns
- IEnumerable<T>
Type Parameters
TPixel type (e.g. Vec3b).