gapi_BayerGR2RGB
import { gapi_BayerGR2RGB } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Converts an image from BayerGR color space to RGB. The function converts an input image from BayerGR color space to RGB. The conventional ranges for G, R, and B channel values are 0 to 255.
Output image must be 8-bit unsigned 3-channel image CV_8UC3.
Note: Function textual ID is "org.opencv.imgproc.colorconvert.bayergr2rgb"
See: YUV2BGR, NV12toRGB
gapi_BayerGR2RGB(src_gr: GMat): GMat;src_grinput image: 8-bit unsigned 1-channel image
CV_8UC1.
The GMat result. Release returned native handles with using or delete(), including handles nested in results.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.