Package com.luciad.util.measure
Class TLcdImageMeasureProviderFactory
java.lang.Object
com.luciad.util.measure.TLcdImageMeasureProviderFactory
This image measure provider factory makes it possible to create an ALcdMeasureProvider
for ALcdImage.
The image needs a measurement band semantics.
The following ALcdImage subtypes are supported:
It is possible to specify a different imaging engine than the
default one using setImagingEngine.
- Since:
- 2024.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMeasureProvider(ALcdImage aImage) Creates a new measure provider, based on the given image, ornullif no measure provider can be created for the given image.Returns the imaging engine to use to retrieve the pixel values from the images.voidsetImagingEngine(ALcdImagingEngine aImagingEngine) Sets the imaging engine to use to retrieve the pixel values from the images.
-
Constructor Details
-
TLcdImageMeasureProviderFactory
public TLcdImageMeasureProviderFactory()
-
-
Method Details
-
getImagingEngine
Returns the imaging engine to use to retrieve the pixel values from the images. When this method returnsnull, a default imaging engine is used.- Returns:
- the imaging engine. Can be
null. - See Also:
-
setImagingEngine
Sets the imaging engine to use to retrieve the pixel values from the images. Can benull. In that case a default imaging engine is used.- Parameters:
aImagingEngine- the imaging engine to use to retrieve the pixel values. Can benull.
-
createMeasureProvider
Creates a new measure provider, based on the given image, ornullif no measure provider can be created for the given image.- Parameters:
aImage- an image.- Returns:
- a measure provider, or
nullif no measure provider can be created for the given image.
-