Zone Classifier
The zone stage: one label map per frame of a clip by NearestZone, with the artist's strokes on top by ZoneBrush, cached under the frames, the masks and the ZoneSettings. Adding a sample or retuning the weight labels every frame again and touches nothing upstream.
Functions
Link copied to clipboard
fun zones(frames: StageOutput<List<Raster>>, masks: StageOutput<List<Mask>>, settings: ZoneSettings): StageOutput<List<IndexedRaster>>