T
- The pixel typeS
- The Image
typepublic class PolygonExtractionProcessor<T,S extends Image<T,S>> extends Object implements SinglebandImageProcessor<T,S>
ScanRasteriser
.SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>
Constructor and Description |
---|
PolygonExtractionProcessor(Polygon p,
T colour)
Construct with the given polygon and background colour
|
public PolygonExtractionProcessor(Polygon p, T colour)
p
- colour
- public void processImage(S image)
ImageProcessor
Image.internalAssign(Image)
.processImage
in interface ImageProcessor<S extends Image<T,S>>
image
- The image to process in place.