Package gov.nih.mipav.model.file
Class MetadataExtractor.FujifilmMakernoteDescriptor
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.FujifilmMakernoteDirectory>
-
- gov.nih.mipav.model.file.MetadataExtractor.FujifilmMakernoteDescriptor
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.FujifilmMakernoteDescriptor extends MetadataExtractor.TagDescriptor<MetadataExtractor.FujifilmMakernoteDirectory>
Provides human-readable string representations of tag values stored in aMetadataExtractor.FujifilmMakernoteDirectory
.Fujifilm added their Makernote tag from the Year 2000's models (e.g.Finepix1400, Finepix4700). It uses IFD format and start from ASCII character 'FUJIFILM', and next 4 bytes (value 0x000c) points the offset to first IFD entry.
There are two big differences to the other manufacturers.:0000: 46 55 4A 49 46 49 4C 4D-0C 00 00 00 0F 00 00 00 :0000: FUJIFILM........ :0010: 07 00 04 00 00 00 30 31-33 30 00 10 02 00 08 00 :0010: ......0130......
- Fujifilm's Exif data uses Motorola align, but Makernote ignores it and uses Intel align.
- The other manufacturer's Makernote counts the "offset to data" from the first byte of TIFF header (same as the other IFD), but Fujifilm counts it from the first byte of Makernote itself.
- 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 FujifilmMakernoteDescriptor(MetadataExtractor.FujifilmMakernoteDirectory 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
-
FujifilmMakernoteDescriptor
public FujifilmMakernoteDescriptor(MetadataExtractor.FujifilmMakernoteDirectory 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.FujifilmMakernoteDirectory>
- 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.
-
getMakernoteVersionDescription
private java.lang.String getMakernoteVersionDescription()
-
getSharpnessDescription
public java.lang.String getSharpnessDescription()
-
getWhiteBalanceDescription
public java.lang.String getWhiteBalanceDescription()
-
getColorSaturationDescription
public java.lang.String getColorSaturationDescription()
-
getToneDescription
public java.lang.String getToneDescription()
-
getContrastDescription
public java.lang.String getContrastDescription()
-
getNoiseReductionDescription
public java.lang.String getNoiseReductionDescription()
-
getHighIsoNoiseReductionDescription
public java.lang.String getHighIsoNoiseReductionDescription()
-
getFlashModeDescription
public java.lang.String getFlashModeDescription()
-
getFlashExposureValueDescription
public java.lang.String getFlashExposureValueDescription()
-
getMacroDescription
public java.lang.String getMacroDescription()
-
getFocusModeDescription
public java.lang.String getFocusModeDescription()
-
getSlowSyncDescription
public java.lang.String getSlowSyncDescription()
-
getPictureModeDescription
public java.lang.String getPictureModeDescription()
-
getExrAutoDescription
public java.lang.String getExrAutoDescription()
-
getExrModeDescription
public java.lang.String getExrModeDescription()
-
getAutoBracketingDescription
public java.lang.String getAutoBracketingDescription()
-
getFinePixColorDescription
public java.lang.String getFinePixColorDescription()
-
getBlurWarningDescription
public java.lang.String getBlurWarningDescription()
-
getFocusWarningDescription
public java.lang.String getFocusWarningDescription()
-
getAutoExposureWarningDescription
public java.lang.String getAutoExposureWarningDescription()
-
getDynamicRangeDescription
public java.lang.String getDynamicRangeDescription()
-
getFilmModeDescription
public java.lang.String getFilmModeDescription()
-
getDynamicRangeSettingDescription
public java.lang.String getDynamicRangeSettingDescription()
-
-