Skip to content

gapi_wip_draw_Image

gapiclassOpenCV 5.0.0
import { gapi_wip_draw_Image } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSgapi_wip_draw_Image
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

This structure represents an image to draw.

Image is blended on a frame using the specified mask.

Constructors and members

static new

Mosaic constructor

new(): gapi_wip_draw_Image;
2 available overloads
new(org_: Point, img_: Mat, alpha_: Mat): gapi_wip_draw_Image;
new(): gapi_wip_draw_Image;
org_

The bottom-left corner of the image

img_

Image to draw

alpha_

Alpha channel for image to draw (same size and number of channels)

Returns

The gapi_wip_draw_Image result.

clone

Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.

clone(): this;
Returns

The this result.

org

The bottom-left corner of the image

org: Point;

img

gapi_wip_draw_Image.img: Image to draw

img: Mat;

alpha

Alpha channel for image to draw (same size and number of channels)

alpha: Mat;

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.