Package gov.nih.mipav.model.file
Class MetadataExtractor.PanasonicMakernoteDescriptor
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.PanasonicMakernoteDirectory>
-
- gov.nih.mipav.model.file.MetadataExtractor.PanasonicMakernoteDescriptor
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.PanasonicMakernoteDescriptor extends MetadataExtractor.TagDescriptor<MetadataExtractor.PanasonicMakernoteDirectory>
Provides human-readable string representations of tag values stored in aMetadataExtractor.PanasonicMakernoteDirectory
.Some information about this makernote taken from here:
- Author:
- Drew Noakes https://drewnoakes.com, Philipp Sandhaus
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String[]
_sceneModes
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
_directory
-
-
Constructor Summary
Constructors Constructor Description PanasonicMakernoteDescriptor(MetadataExtractor.PanasonicMakernoteDirectory 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
-
PanasonicMakernoteDescriptor
public PanasonicMakernoteDescriptor(MetadataExtractor.PanasonicMakernoteDirectory 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.PanasonicMakernoteDirectory>
- 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.
-
getTextStampDescription
public java.lang.String getTextStampDescription()
-
getTextStamp1Description
public java.lang.String getTextStamp1Description()
-
getTextStamp2Description
public java.lang.String getTextStamp2Description()
-
getTextStamp3Description
public java.lang.String getTextStamp3Description()
-
getMacroModeDescription
public java.lang.String getMacroModeDescription()
-
getFlashFiredDescription
public java.lang.String getFlashFiredDescription()
-
getImageStabilizationDescription
public java.lang.String getImageStabilizationDescription()
-
getAudioDescription
public java.lang.String getAudioDescription()
-
getTransformDescription
public java.lang.String getTransformDescription()
-
getTransform1Description
public java.lang.String getTransform1Description()
-
getTransformDescription
private java.lang.String getTransformDescription(int tag)
-
getIntelligentExposureDescription
public java.lang.String getIntelligentExposureDescription()
-
getFlashWarningDescription
public java.lang.String getFlashWarningDescription()
-
trim
private java.lang.String trim(java.lang.String s)
-
getCountryDescription
public java.lang.String getCountryDescription()
-
getStateDescription
public java.lang.String getStateDescription()
-
getCityDescription
public java.lang.String getCityDescription()
-
getLandmarkDescription
public java.lang.String getLandmarkDescription()
-
getTitleDescription
public java.lang.String getTitleDescription()
-
getBracketSettingsDescription
public java.lang.String getBracketSettingsDescription()
-
getFlashCurtainDescription
public java.lang.String getFlashCurtainDescription()
-
getLongExposureNoiseReductionDescription
public java.lang.String getLongExposureNoiseReductionDescription()
-
getLensFirmwareVersionDescription
public java.lang.String getLensFirmwareVersionDescription()
-
getIntelligentDRangeDescription
public java.lang.String getIntelligentDRangeDescription()
-
getClearRetouchDescription
public java.lang.String getClearRetouchDescription()
-
getPhotoStyleDescription
public java.lang.String getPhotoStyleDescription()
-
getShadingCompensationDescription
public java.lang.String getShadingCompensationDescription()
-
getAccelerometerZDescription
public java.lang.String getAccelerometerZDescription()
-
getAccelerometerXDescription
public java.lang.String getAccelerometerXDescription()
-
getAccelerometerYDescription
public java.lang.String getAccelerometerYDescription()
-
getCameraOrientationDescription
public java.lang.String getCameraOrientationDescription()
-
getRollAngleDescription
public java.lang.String getRollAngleDescription()
-
getPitchAngleDescription
public java.lang.String getPitchAngleDescription()
-
getSweepPanoramaDirectionDescription
public java.lang.String getSweepPanoramaDirectionDescription()
-
getTimerRecordingDescription
public java.lang.String getTimerRecordingDescription()
-
getHDRDescription
public java.lang.String getHDRDescription()
-
getShutterTypeDescription
public java.lang.String getShutterTypeDescription()
-
getTouchAeDescription
public java.lang.String getTouchAeDescription()
-
getBabyNameDescription
public java.lang.String getBabyNameDescription()
-
getLocationDescription
public java.lang.String getLocationDescription()
-
getIntelligentResolutionDescription
public java.lang.String getIntelligentResolutionDescription()
-
getContrastDescription
public java.lang.String getContrastDescription()
-
getWorldTimeLocationDescription
public java.lang.String getWorldTimeLocationDescription()
-
getAdvancedSceneModeDescription
public java.lang.String getAdvancedSceneModeDescription()
-
getUnknownDataDumpDescription
public java.lang.String getUnknownDataDumpDescription()
-
getColorEffectDescription
public java.lang.String getColorEffectDescription()
-
getUptimeDescription
public java.lang.String getUptimeDescription()
-
getBurstModeDescription
public java.lang.String getBurstModeDescription()
-
getContrastModeDescription
public java.lang.String getContrastModeDescription()
-
getNoiseReductionDescription
public java.lang.String getNoiseReductionDescription()
-
getSelfTimerDescription
public java.lang.String getSelfTimerDescription()
-
getRotationDescription
public java.lang.String getRotationDescription()
-
getAfAssistLampDescription
public java.lang.String getAfAssistLampDescription()
-
getColorModeDescription
public java.lang.String getColorModeDescription()
-
getOpticalZoomModeDescription
public java.lang.String getOpticalZoomModeDescription()
-
getConversionLensDescription
public java.lang.String getConversionLensDescription()
-
getDetectedFacesDescription
public java.lang.String getDetectedFacesDescription()
-
getRecognizedFacesDescription
public java.lang.String getRecognizedFacesDescription()
-
buildFacesDescription
private java.lang.String buildFacesDescription(MetadataExtractor.Face[] faces)
-
getRecordModeDescription
public java.lang.String getRecordModeDescription()
-
getSceneModeDescription
public java.lang.String getSceneModeDescription()
-
getFocusModeDescription
public java.lang.String getFocusModeDescription()
-
getAfAreaModeDescription
public java.lang.String getAfAreaModeDescription()
-
getQualityModeDescription
public java.lang.String getQualityModeDescription()
-
getVersionDescription
public java.lang.String getVersionDescription()
-
getMakernoteVersionDescription
public java.lang.String getMakernoteVersionDescription()
-
getExifVersionDescription
public java.lang.String getExifVersionDescription()
-
getInternalSerialNumberDescription
public java.lang.String getInternalSerialNumberDescription()
-
getWhiteBalanceDescription
public java.lang.String getWhiteBalanceDescription()
-
getBabyAgeDescription
public java.lang.String getBabyAgeDescription()
-
getBabyAge1Description
public java.lang.String getBabyAge1Description()
-
-