Class Latitude
Extracts the latitude from the image metadata.
It is specified in degrees where positive values are north of the equator, and negative values are south of it.
If the location is unknown, then Double.NaN is returned.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doubleextractValue(ImageLocation location) Extracts the value that is returned from the feature if an image-location is present.Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.metadata.ExtractFromLocation
calculateMethods inherited from class org.anchoranalysis.image.feature.bean.FeatureImageMetadata
calculate, inputTypeMethods inherited from class org.anchoranalysis.feature.bean.Feature
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toStringMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitializedMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
-
Constructor Details
-
Latitude
public Latitude()
-
-
Method Details
-
extractValue
Description copied from class:ExtractFromLocationExtracts the value that is returned from the feature if an image-location is present.- Specified by:
extractValuein classExtractFromLocation- Parameters:
location- the location to extract the value from.- Returns:
- the value to be returned.
-