gapi_BGR2RGB
import { gapi_BGR2RGB } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
gapi_shape
Converts an image from BGR color space to RGB color space.
The function converts an input image from BGR color space to RGB. The conventional ranges for B, G, and R channel values are 0 to 255.
Output image is 8-bit unsigned 3-channel image CV_8UC3.
Note: Function textual ID is "org.opencv.imgproc.colorconvert.bgr2rgb"
See: RGB2BGR
gapi_BGR2RGB(src: GMat): GMat;srcinput image: 8-bit unsigned 3-channel image
CV_8UC3.
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.