ximgproc_createQuaternionImage
import { ximgproc_createQuaternionImage } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSimg, qimg
FUNCTIONximgproc_createQuaternionImage
RETURN TYPEvoid
creates a quaternion image.
ximgproc_createQuaternionImage(img: Mat, qimg: Mat): void;imgSource 8-bit, 32-bit or 64-bit image, with 3-channel image.
qimgOutput destination, filled by the native operation. result CV_64FC4 a quaternion image( 4 chanels zero channel and B,G,R).
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.