Class Longitude
Extracts the longitude from the image metadata.
It is specified in degrees where positive values are east of the prime meridian, and negative values are west of it.
If the location is unknown, then Double.NaN is returned.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected double
extractValue
(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
calculate
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
-
Longitude
public Longitude()
-
-
Method Details
-
extractValue
Description copied from class:ExtractFromLocation
Extracts the value that is returned from the feature if an image-location is present.- Specified by:
extractValue
in classExtractFromLocation
- Parameters:
location
- the location to extract the value from.- Returns:
- the value to be returned.
-