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 booleanabstract DimensionsThe dimensions of the associated image.booleanThe resolution of the associated image, if it is available.inthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:FeatureInputWithResolutionThe resolution of the associated image, if it is available.- Specified by:
getResolutionOptionalin interfaceFeatureInputWithResolution- Returns:
- the resolution, if it is available.
-
equals
-
canEqual
-
hashCode
public int hashCode()
-