Package gov.nih.mipav.model.file
Class MetadataExtractor.NikonType2MakernoteDescriptor
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.NikonType2MakernoteDirectory>
-
- gov.nih.mipav.model.file.MetadataExtractor.NikonType2MakernoteDescriptor
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.NikonType2MakernoteDescriptor extends MetadataExtractor.TagDescriptor<MetadataExtractor.NikonType2MakernoteDirectory>
Provides human-readable string representations of tag values stored in aMetadataExtractor.NikonType2MakernoteDirectory
. Type-2 applies to the E990 and D-series cameras such as the D1, D70 and D100.- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
_directory
-
-
Constructor Summary
Constructors Constructor Description NikonType2MakernoteDescriptor(MetadataExtractor.NikonType2MakernoteDirectory directory)
-
Method Summary
-
Methods inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
convertBytesToVersionString, get7BitStringFromBytes, getBitFlagDescription, getByteLengthDescription, getDecimalRational, getEncodedTextDescription, getEpochTimeDescription, getFocalLengthDescription, getFormattedFloat, getFormattedInt, getFormattedString, getFStopDescription, getIndexedDescription, getIndexedDescription, getLensSpecificationDescription, getOrientationDescription, getRationalOrDoubleString, getShutterSpeedDescription, getSimpleRational, getStringFromBytes, getVersionBytesDescription
-
-
-
-
Constructor Detail
-
NikonType2MakernoteDescriptor
public NikonType2MakernoteDescriptor(MetadataExtractor.NikonType2MakernoteDirectory directory)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription(int tagType)
Description copied from class:MetadataExtractor.TagDescriptor
Returns a descriptive value of the specified tag for this image. Where possible, known values will be substituted here in place of the raw tokens actually kept in the metadata segment. If no substitution is available, the value provided bygetString(tagType)
will be returned.- Overrides:
getDescription
in classMetadataExtractor.TagDescriptor<MetadataExtractor.NikonType2MakernoteDirectory>
- Parameters:
tagType
- the tag to find a description for- Returns:
- a description of the image's value for the specified tag, or
null
if the tag hasn't been defined.
-
getPowerUpTimeDescription
public java.lang.String getPowerUpTimeDescription()
-
getHighISONoiseReductionDescription
public java.lang.String getHighISONoiseReductionDescription()
-
getFlashUsedDescription
public java.lang.String getFlashUsedDescription()
-
getNEFCompressionDescription
public java.lang.String getNEFCompressionDescription()
-
getShootingModeDescription
public java.lang.String getShootingModeDescription()
-
getLensTypeDescription
public java.lang.String getLensTypeDescription()
-
getColorSpaceDescription
public java.lang.String getColorSpaceDescription()
-
getActiveDLightingDescription
public java.lang.String getActiveDLightingDescription()
-
getVignetteControlDescription
public java.lang.String getVignetteControlDescription()
-
getAutoFocusPositionDescription
public java.lang.String getAutoFocusPositionDescription()
-
getDigitalZoomDescription
public java.lang.String getDigitalZoomDescription()
-
getProgramShiftDescription
public java.lang.String getProgramShiftDescription()
-
getExposureDifferenceDescription
public java.lang.String getExposureDifferenceDescription()
-
getAutoFlashCompensationDescription
public java.lang.String getAutoFlashCompensationDescription()
-
getFlashExposureCompensationDescription
public java.lang.String getFlashExposureCompensationDescription()
-
getFlashBracketCompensationDescription
public java.lang.String getFlashBracketCompensationDescription()
-
getExposureTuningDescription
public java.lang.String getExposureTuningDescription()
-
getLensStopsDescription
public java.lang.String getLensStopsDescription()
-
getEVDescription
private java.lang.String getEVDescription(int tagType)
-
getIsoSettingDescription
public java.lang.String getIsoSettingDescription()
-
getLensDescription
public java.lang.String getLensDescription()
-
getLensFocusDistance
public java.lang.String getLensFocusDistance()
-
getHueAdjustmentDescription
public java.lang.String getHueAdjustmentDescription()
-
getColorModeDescription
public java.lang.String getColorModeDescription()
-
getFirmwareVersionDescription
public java.lang.String getFirmwareVersionDescription()
-
getDistanceInMeters
private double getDistanceInMeters(int val)
-
-