Skip to main content

Interface: BodyMaskTexture

@geenee/bodyrenderers-common.BodyMaskTexture

Segmentation mask texture

Segmentation mask is a monochrome image where every pixel has value from 0 to 1 denoting the probability of it being a foreground pixel.

Properties

box

box: Box

Region of the mask


size

size: Size

Size of the mask


texture

texture: WebGLTexture

Mask data