Class NumberResolutionLevels
The number of resolution-levels in an image in a file.
This is typically 1 (the resolution of the image), but if the image is stored in a pyramidal format, this may be more than 1, offering several different resolutions to capture the same underlying image.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
calculate
(ImageMetadata metadata) Calculates the feature-value for a givenImageMetadata
.Methods inherited from class org.anchoranalysis.image.feature.bean.FeatureImageMetadata
calculate, inputType
Methods inherited from class org.anchoranalysis.feature.bean.Feature
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
-
Constructor Details
-
NumberResolutionLevels
public NumberResolutionLevels()
-
-
Method Details
-
calculate
Description copied from class:FeatureImageMetadata
Calculates the feature-value for a givenImageMetadata
.- Specified by:
calculate
in classFeatureImageMetadata
- Parameters:
metadata
- the metadata.- Returns:
- the calculated feature-value.
- Throws:
FeatureCalculationException
- if the feature-value cannot be calculated.
-