xvision library

Classes

XVAnalysisResult
Aggregated image quality and statistical analysis metrics.
XVBufferPool
A pure Dart memory buffer pool manager for recycling Uint8List arrays.
XVCodec
Public codec helper utility for decoding/encoding images.
XVColor
Represents an 8-bit RGBA color.
XVGeometry
Geometry utilities for points, lines, angles, and bounding boxes.
XVHistogram
Represents pixel intensity distribution for image analysis.
XVImage
Owning container representing an image in memory.
XVImageView
Zero-copy ROI (Region of Interest) view of a parent XVPixelContainer.
XVMask
A binary mask representation (useful for segmented selections).
XVPixelBuffer
Represents a raw pixel memory buffer, wrapping a Dart ByteBuffer.
XVPixelContainer
Abstract interface representing a container of pixel data.
XVPoint
Represents a 2D point with integer coordinates.
XVPointF
Represents a 2D point with floating-point coordinates.
XVRect
Represents a 2D axis-aligned rectangle with integer coordinates.
XVRotatedRect
Represents a rotated rectangle on a 2D plane.
XVSize
Represents a 2D size with integer width and height.

Enums

BorderType
Border padding strategy types for spatial kernel filtering.
Interpolation
Image interpolation algorithms for scaling and geometric transforms.
PixelFormat
Supported pixel formats in the XVision library.
ThresholdType
Types of thresholding segmentation operations.

Extensions

PixelFormatProperties on PixelFormat
Extension providing properties for PixelFormat.
XVAnalysisOperations on XVPixelContainer
Extension exposing quality, contrast, and dominant color analysis operations.
XVColorOperations on XVPixelContainer
Extension exposing color space conversion, channel manipulation, and pixel adjustment operations.
XVDrawingOperations on XVPixelContainer
Extension exposing 2D geometric and text drawing operations.
XVEdgeOperations on XVPixelContainer
Extension exposing edge detection operations (Sobel, Canny, Laplacian).
XVFilterOperations on XVPixelContainer
Extension exposing spatial image filtering operations (Gaussian/Median blur, custom convolve, sharpen).
XVHistogramOperations on XVPixelContainer
Extension exposing global and adaptive histogram equalization operations.
XVImageIOOperations on XVImage
Extension exposing PNG and JPEG encoding operations.
XVMlOperations on XVPixelContainer
Extension exposing machine learning preprocessing operations (letterbox, toFloat32Tensor, centerCrop, toUint8Tensor, transposeLayout).
XVMorphologyOperations on XVPixelContainer
Extension exposing morphological operations (erode, dilate, opening, closing).
XVThresholdOperations on XVPixelContainer
Extension exposing binary and adaptive thresholding operations.
XVTransformOperations on XVPixelContainer
Extension exposing image transformation operations (crop, flip, padding, resize, rotate, translate).

Exceptions / Errors

XVException
Base class for all exceptions thrown by the XVision library.
XVInvalidImageException
Thrown when an image has invalid dimensions, stride, or buffer size.
XVInvalidKernelException
Thrown when kernel dimension or configuration is invalid.
XVOutOfBoundsException
Thrown when coordinates or regions are out of image boundaries.
XVUnsupportedFormatException
Thrown when a format is not supported by an operation.