UNPKG

opencv4nodejs

Version:

Asynchronous OpenCV 3.x nodejs bindings with JavaScript and TypeScript API.

14 lines (12 loc) 410 B
import { Mat } from './Mat.d'; export class SuperpixelSLIC { readonly image: Mat; readonly labels: Mat; readonly labelContourMask: Mat; readonly algorithm: number; readonly regionSize: number; readonly ruler: number; readonly numCalculatedSuperpixels: number; constructor(img: Mat, algorithm?: number, regionSize?: number, ruler?: number); iterate(iterations?: number): void; }