public class FilterLoaderImpl extends Object implements FilterLoader
Applies the stack of filters to a buffer. With the same FilterLoader
you can process different buffers. Each buffer can use a different environment
Constructor and Description |
---|
FilterLoaderImpl(int dataType)
Creates a filter loader with a default filter list
|
FilterLoaderImpl(RasterFilterList filterList)
Creates a filter loader with the list of filters passed by parameter
|
Modifier and Type | Method and Description |
---|---|
void |
addSrcBandCount(int bandcount) |
void |
addSrcDataType(int datatype) |
void |
addSrcHistogram(HistogramComputer histogram) |
void |
addSrcROI(List<ROI> roi) |
void |
addSrcStatistics(Statistics statistics) |
void |
addTransparency(Transparency transparency) |
Buffer |
applyFilters(Buffer buffer) |
Buffer |
getBufferResult()
Gets the buffer result after the function applyFilters is executed.
|
Transparency |
getTransparency()
Gets the transparency object and the color interpretation of the result.
|
public FilterLoaderImpl(int dataType)
dataType
- public FilterLoaderImpl(RasterFilterList filterList)
filterList
- public void addTransparency(Transparency transparency)
addTransparency
in interface FilterLoader
public void addSrcDataType(int datatype)
addSrcDataType
in interface FilterLoader
public void addSrcBandCount(int bandcount)
addSrcBandCount
in interface FilterLoader
public void addSrcStatistics(Statistics statistics)
addSrcStatistics
in interface FilterLoader
public void addSrcROI(List<ROI> roi)
addSrcROI
in interface FilterLoader
public void addSrcHistogram(HistogramComputer histogram)
addSrcHistogram
in interface FilterLoader
public Buffer applyFilters(Buffer buffer)
applyFilters
in interface FilterLoader
public Transparency getTransparency()
FilterLoader
getTransparency
in interface FilterLoader
public Buffer getBufferResult()
FilterLoader
getBufferResult
in interface FilterLoader