public interface FeatureInputWithResolution extends FeatureInput
FeatureInput
that exposes the Resolution
of an image or scene.Modifier and Type | Method and Description |
---|---|
Optional<Resolution> |
getResolutionOptional()
The resolution of the associated image, if it is available.
|
default Resolution |
getResolutionRequired()
The resolution of the associated image, or an exception if it is not available.
|
Optional<Resolution> getResolutionOptional()
default Resolution getResolutionRequired() throws FeatureCalculationException
FeatureCalculationException
- if the resolution is not available.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.