Class VectorizeOpImage

All Implemented Interfaces:
RenderedImage, ImageImageN, PropertyChangeEmitter, PropertySource, WritablePropertySource

public class VectorizeOpImage extends AttributeOpImage
Vectorize regions of uniform value in an image.
Since:
1.1
Author:
Michael Bedward, Simone Giannecchini, GeoSolutions
  • Constructor Details

    • VectorizeOpImage

      public VectorizeOpImage(RenderedImage source, ROI roi, int band, List<Double> outsideValues, boolean insideEdges, boolean removeCollinear, double filterThreshold, int filterMethod)
      Creates a new instance of the operator.
      Parameters:
      source - the source image to be vectorized
      roi - an optional ROI defining the region to be vectorized
      band - the source image band to examine
      outsideValues - values representing "outside" areas (ie. regions that will not be vectorized); may be null or empty
      insideEdges - flag controlling whether boundaries between adjacent "inside" regions should be vectorized
      removeCollinear - whether to remove collinear points from polygons
      filterThreshold - the area (factional pixels) below which polygons will be filtered from the output
      filterMethod - filtering method used if filterThreshold > 0; must be one of VectorizeDescriptor.FILTER_MERGE_LARGEST, VectorizeDescriptor.FILTER_MERGE_RANDOM, or VectorizeDescriptor.FILTER_DELETE
  • Method Details