Skip to content

ximgproc_createQuaternionImage

Extended image processingfunctionOpenCV 5.0.0
import { ximgproc_createQuaternionImage } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSimg, qimg
FUNCTIONximgproc_createQuaternionImage
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

creates a quaternion image.

ximgproc_createQuaternionImage(img: Mat, qimg: Mat): void;
img

Source 8-bit, 32-bit or 64-bit image, with 3-channel image.

qimg

Output 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.