xvision library

Classes

PlatformInfo
Platform processor information helper utility.
XVAnalysisResult
Aggregated image quality and statistical analysis metrics.
XVBufferPool
A pure Dart memory buffer pool manager for recycling Uint8List arrays.
XVChunkResult
Result payload returned from an isolate chunk worker.
XVChunkTask
Data payload passed to an isolate worker for row-chunk processing.
XVCodec
Public codec helper utility for decoding and 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).
XVParallelProcessor
Multi-threaded isolate parallel processor for high-performance computer vision tasks.
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.
XVByteDecoderOperations on Uint8List
Extension exposing PNG and JPEG decoding operations directly on byte arrays.
XVColorOperations on XVPixelContainer
Extension exposing color space conversion, channel manipulation, and pixel adjustment operations.
XVDrawingOperations on XVPixelContainer
Extension exposing ultra-fast 2D geometric shape and text drawing operations.
XVEdgeOperations on XVPixelContainer
Extension exposing edge detection operations (Sobel, Canny, Laplacian).
XVFilterOperations on XVPixelContainer
Extension exposing spatial image filtering operations.
XVHistogramOperations on XVPixelContainer
Extension exposing global and adaptive histogram equalization operations.
XVImageIOOperations on XVImage
Extension exposing PNG and JPEG encoding operations on images.
XVMlOperations on XVPixelContainer
Extension exposing machine learning pre-processing operations.
XVMorphologyOperations on XVPixelContainer
Extension exposing morphological operations (erode, dilate, opening, closing).
XVThresholdOperations on XVPixelContainer
Extension exposing static, Otsu automatic, and adaptive thresholding operations.
XVTransformOperations on XVPixelContainer
Extension exposing geometric image transformation operations.

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.