RgbImage
An immutable-by-convention, packed 8-bit RGB image (R,G,B,R,G,B,..., row-major, no row padding).
Every Faktel algorithm consumes this single type; platform frame formats (Android Bitmap/ImageProxy, iOS CVPixelBuffer/UIImage) are converted to it once at the edge of the pipeline.
Constructors
Properties
Functions
Link copied to clipboard
Mirrors the image left-to-right (typical for front-camera selfies).
Link copied to clipboard
Fraction (0.0..1.0) of pixels where all channels are at least threshold - i.e. blown-out highlights such as glare on a laminated card.
Link copied to clipboard
Link copied to clipboard
fun RgbImage.warpSimilarity(transform: SimilarityTransform, outWidth: Int, outHeight: Int): RgbImage
Applies transform (source -> output coordinates) and renders an outWidth x outHeight image.