← back to roto on ba3a.dev

label

fun label(frame: Raster, mask: Mask, prototypes: List<NearestZone.Prototype>, lightnessWeight: Double): IndexedRaster

frame's label map: each pixel inside mask labelled with its nearest of prototypes.