process abstract method
Processes a raw grayscale frame and returns the enhanced result.
gray — Single-channel grayscale pixel buffer.
width, height — Image dimensions.
context — Preprocessing context with current image metrics.
Returns a PreprocessedFrame containing the processed image and metadata.
Implementation
PreprocessedFrame process(
Uint8List gray,
int width,
int height,
PreprocessingContext context,
);