public abstract class FeatureInputDimensions extends Object implements FeatureInputWithResolution
FeatureInput
that exposes the Dimensions
of an image or scene.Constructor and Description |
---|
FeatureInputDimensions() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
abstract Dimensions |
dimensions()
The dimensions of the associated image.
|
boolean |
equals(Object o) |
Optional<Resolution> |
getResolutionOptional()
The resolution of the associated image, if it is available.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getResolutionRequired
public abstract Dimensions dimensions() throws FeatureCalculationException
FeatureCalculationException
- if the dimensions cannot be calculated.public Optional<Resolution> getResolutionOptional()
FeatureInputWithResolution
getResolutionOptional
in interface FeatureInputWithResolution
protected boolean canEqual(Object other)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.