Package gov.nih.mipav.model.file
Class MetadataExtractor.NikonType1MakernoteDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.NikonType1MakernoteDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.NikonType1MakernoteDirectory extends MetadataExtractor.Directory
Describes tags specific to Nikon (type 1) cameras. Type-1 is for E-Series cameras prior to (not including) E990. There are 3 formats of Nikon's Makernote. Makernote of E700/E800/E900/E900S/E910/E950 starts from ASCII string "Nikon". Data format is the same as IFD, but it starts from offset 0x08. This is the same as Olympus except start string. Example of actual data structure is shown below.:0000: 4E 69 6B 6F 6E 00 01 00-05 00 02 00 02 00 06 00 Nikon........... :0010: 00 00 EC 02 00 00 03 00-03 00 01 00 00 00 06 00 ................
- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.lang.Integer,java.lang.String>
_tagNameMap
static int
TAG_CCD_SENSITIVITY
static int
TAG_COLOR_MODE
static int
TAG_CONVERTER
static int
TAG_DIGITAL_ZOOM
static int
TAG_FOCUS
static int
TAG_IMAGE_ADJUSTMENT
static int
TAG_QUALITY
static int
TAG_UNKNOWN_1
static int
TAG_UNKNOWN_2
static int
TAG_UNKNOWN_3
static int
TAG_WHITE_BALANCE
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description NikonType1MakernoteDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Provides the name of the directory, for display purposes.protected java.util.HashMap<java.lang.Integer,java.lang.String>
getTagNameMap()
Provides the map of tag names, hashed by tag type identifier.-
Methods inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
addError, containsTag, getBoolean, getBooleanObject, getByteArray, getDate, getDate, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getParent, getRational, getRationalArray, getString, getString, getStringArray, getStringValue, getStringValueArray, getTagCount, getTagName, getTags, hasErrors, hasTagName, isEmpty, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, setInt, setIntArray, setLong, setObject, setObjectArray, setParent, setRational, setRationalArray, setString, setStringArray, setStringValue, setStringValueArray, toString
-
-
-
-
Field Detail
-
TAG_UNKNOWN_1
public static final int TAG_UNKNOWN_1
- See Also:
- Constant Field Values
-
TAG_QUALITY
public static final int TAG_QUALITY
- See Also:
- Constant Field Values
-
TAG_COLOR_MODE
public static final int TAG_COLOR_MODE
- See Also:
- Constant Field Values
-
TAG_IMAGE_ADJUSTMENT
public static final int TAG_IMAGE_ADJUSTMENT
- See Also:
- Constant Field Values
-
TAG_CCD_SENSITIVITY
public static final int TAG_CCD_SENSITIVITY
- See Also:
- Constant Field Values
-
TAG_WHITE_BALANCE
public static final int TAG_WHITE_BALANCE
- See Also:
- Constant Field Values
-
TAG_FOCUS
public static final int TAG_FOCUS
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_2
public static final int TAG_UNKNOWN_2
- See Also:
- Constant Field Values
-
TAG_DIGITAL_ZOOM
public static final int TAG_DIGITAL_ZOOM
- See Also:
- Constant Field Values
-
TAG_CONVERTER
public static final int TAG_CONVERTER
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_3
public static final int TAG_UNKNOWN_3
- See Also:
- Constant Field Values
-
_tagNameMap
private final java.util.HashMap<java.lang.Integer,java.lang.String> _tagNameMap
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:MetadataExtractor.Directory
Provides the name of the directory, for display purposes. E.g.Exif
- Specified by:
getName
in classMetadataExtractor.Directory
- Returns:
- the name of the directory
-
getTagNameMap
protected java.util.HashMap<java.lang.Integer,java.lang.String> getTagNameMap()
Description copied from class:MetadataExtractor.Directory
Provides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMap
in classMetadataExtractor.Directory
- Returns:
- the map of tag names
-
-