Package org.anchoranalysis.feature.input
Class FeatureInputDimensions
Object
FeatureInputDimensions
- All Implemented Interfaces:
FeatureInput
,FeatureInputWithResolution
- Direct Known Subclasses:
FeatureInputEnergy
,FeatureInputImageMetadata
A
FeatureInput
that exposes the Dimensions
of an image or scene.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
abstract Dimensions
The dimensions of the associated image.boolean
The resolution of the associated image, if it is available.int
hashCode()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.anchoranalysis.feature.input.FeatureInputWithResolution
getResolutionRequired
-
Constructor Details
-
FeatureInputDimensions
public FeatureInputDimensions()
-
-
Method Details
-
dimensions
The dimensions of the associated image.- Returns:
- the dimensions.
- Throws:
FeatureCalculationException
- if the dimensions cannot be calculated.
-
getResolutionOptional
Description copied from interface:FeatureInputWithResolution
The resolution of the associated image, if it is available.- Specified by:
getResolutionOptional
in interfaceFeatureInputWithResolution
- Returns:
- the resolution, if it is available.
-
equals
-
canEqual
-
hashCode
public int hashCode()
-