Package gov.nih.mipav.model.file
Class MetadataExtractor.OlympusCameraSettingsMakernoteDescriptor
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.OlympusCameraSettingsMakernoteDirectory>
-
- gov.nih.mipav.model.file.MetadataExtractor.OlympusCameraSettingsMakernoteDescriptor
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.OlympusCameraSettingsMakernoteDescriptor extends MetadataExtractor.TagDescriptor<MetadataExtractor.OlympusCameraSettingsMakernoteDirectory>
Provides human-readable String representations of tag values stored in aMetadataExtractor.OlympusCameraSettingsMakernoteDirectory
.Some Description functions and the Extender and Lens types lists converted from Exiftool version 10.10 created by Phil Harvey http://www.sno.phy.queensu.ca/~phil/exiftool/ lib\Image\ExifTool\Olympus.pm
- Author:
- Kevin Mott https://github.com/kwhopper, Drew Noakes https://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.lang.Integer,java.lang.String>
_filters
private java.util.HashMap<java.lang.Integer,java.lang.String>
_toneLevelType
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
_directory
-
-
Constructor Summary
Constructors Constructor Description OlympusCameraSettingsMakernoteDescriptor(MetadataExtractor.OlympusCameraSettingsMakernoteDirectory 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
-
OlympusCameraSettingsMakernoteDescriptor
public OlympusCameraSettingsMakernoteDescriptor(MetadataExtractor.OlympusCameraSettingsMakernoteDirectory 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.OlympusCameraSettingsMakernoteDirectory>
- 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.
-
getCameraSettingsVersionDescription
public java.lang.String getCameraSettingsVersionDescription()
-
getPreviewImageValidDescription
public java.lang.String getPreviewImageValidDescription()
-
getExposureModeDescription
public java.lang.String getExposureModeDescription()
-
getAeLockDescription
public java.lang.String getAeLockDescription()
-
getMeteringModeDescription
public java.lang.String getMeteringModeDescription()
-
getExposureShiftDescription
public java.lang.String getExposureShiftDescription()
-
getNdFilterDescription
public java.lang.String getNdFilterDescription()
-
getMacroModeDescription
public java.lang.String getMacroModeDescription()
-
getFocusModeDescription
public java.lang.String getFocusModeDescription()
-
getFocusProcessDescription
public java.lang.String getFocusProcessDescription()
-
getAfSearchDescription
public java.lang.String getAfSearchDescription()
-
getAfAreasDescription
public java.lang.String getAfAreasDescription()
coordinates range from 0 to 255
-
getAfPointSelectedDescription
public java.lang.String getAfPointSelectedDescription()
coordinates expressed as a percent
-
getAfFineTuneDescription
public java.lang.String getAfFineTuneDescription()
-
getFlashModeDescription
public java.lang.String getFlashModeDescription()
-
getFlashRemoteControlDescription
public java.lang.String getFlashRemoteControlDescription()
-
getFlashControlModeDescription
public java.lang.String getFlashControlModeDescription()
3 or 4 values
-
getFlashIntensityDescription
public java.lang.String getFlashIntensityDescription()
3 or 4 values
-
getManualFlashStrengthDescription
public java.lang.String getManualFlashStrengthDescription()
-
getWhiteBalance2Description
public java.lang.String getWhiteBalance2Description()
-
getWhiteBalanceTemperatureDescription
public java.lang.String getWhiteBalanceTemperatureDescription()
-
getCustomSaturationDescription
public java.lang.String getCustomSaturationDescription()
-
getModifiedSaturationDescription
public java.lang.String getModifiedSaturationDescription()
-
getContrastSettingDescription
public java.lang.String getContrastSettingDescription()
-
getSharpnessSettingDescription
public java.lang.String getSharpnessSettingDescription()
-
getColorSpaceDescription
public java.lang.String getColorSpaceDescription()
-
getSceneModeDescription
public java.lang.String getSceneModeDescription()
-
getNoiseReductionDescription
public java.lang.String getNoiseReductionDescription()
-
getDistortionCorrectionDescription
public java.lang.String getDistortionCorrectionDescription()
-
getShadingCompensationDescription
public java.lang.String getShadingCompensationDescription()
-
getGradationDescription
public java.lang.String getGradationDescription()
3 or 4 values
-
getPictureModeDescription
public java.lang.String getPictureModeDescription()
1 or 2 values
-
getPictureModeSaturationDescription
public java.lang.String getPictureModeSaturationDescription()
-
getPictureModeContrastDescription
public java.lang.String getPictureModeContrastDescription()
-
getPictureModeSharpnessDescription
public java.lang.String getPictureModeSharpnessDescription()
-
getPictureModeBWFilterDescription
public java.lang.String getPictureModeBWFilterDescription()
-
getPictureModeToneDescription
public java.lang.String getPictureModeToneDescription()
-
getNoiseFilterDescription
public java.lang.String getNoiseFilterDescription()
-
getArtFilterDescription
public java.lang.String getArtFilterDescription()
-
getMagicFilterDescription
public java.lang.String getMagicFilterDescription()
-
getPictureModeEffectDescription
public java.lang.String getPictureModeEffectDescription()
-
getToneLevelDescription
public java.lang.String getToneLevelDescription()
-
getArtFilterEffectDescription
public java.lang.String getArtFilterEffectDescription()
-
getColorCreatorEffectDescription
public java.lang.String getColorCreatorEffectDescription()
-
getDriveModeDescription
public java.lang.String getDriveModeDescription()
2 or 3 numbers: 1. Mode, 2. Shot number, 3. Mode bits
-
getPanoramaModeDescription
public java.lang.String getPanoramaModeDescription()
2 numbers: 1. Mode, 2. Shot number
-
getImageQuality2Description
public java.lang.String getImageQuality2Description()
-
getImageStabilizationDescription
public java.lang.String getImageStabilizationDescription()
-
getStackedImageDescription
public java.lang.String getStackedImageDescription()
-
getManometerPressureDescription
public java.lang.String getManometerPressureDescription()
-
getManometerReadingDescription
public java.lang.String getManometerReadingDescription()
-
getExtendedWBDetectDescription
public java.lang.String getExtendedWBDetectDescription()
-
getRollAngleDescription
public java.lang.String getRollAngleDescription()
converted to degrees of clockwise camera rotation
-
getPitchAngleDescription
public java.lang.String getPitchAngleDescription()
converted to degrees of upward camera tilt
-
getDateTimeUTCDescription
public java.lang.String getDateTimeUTCDescription()
-
getValueMinMaxDescription
private java.lang.String getValueMinMaxDescription(int tagId)
-
getFiltersDescription
private java.lang.String getFiltersDescription(int tagId)
-
-