Package gov.nih.mipav.model.file
Class MetadataExtractor.PentaxMakernoteDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.PentaxMakernoteDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.PentaxMakernoteDirectory extends MetadataExtractor.Directory
Describes tags specific to Pentax and Asahi cameras.- 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_CAPTURE_MODE
0 = Auto 1 = Night-scene 2 = Manual 4 = Multiplestatic int
TAG_COLOUR
1 = Normal 2 = Black & White 3 = Sepiastatic int
TAG_CONTRAST
0 = Normal 1 = Low 2 = Highstatic int
TAG_DAYLIGHT_SAVINGS
(String).static int
TAG_DIGITAL_ZOOM
(0 = Off)static int
TAG_FLASH_MODE
1 = Auto 2 = Flash on 4 = Flash off 6 = Red-eye Reductionstatic int
TAG_FOCUS_MODE
2 = Custom 3 = Autostatic int
TAG_ISO_SPEED
10 = ISO 100 16 = ISO 200 100 = ISO 100 200 = ISO 200static int
TAG_PRINT_IMAGE_MATCHING_INFO
See Print Image Matching for specification.static int
TAG_QUALITY_LEVEL
0 = Good 1 = Better 2 = Beststatic int
TAG_SATURATION
0 = Normal 1 = Low 2 = Highstatic int
TAG_SHARPNESS
0 = Normal 1 = Soft 2 = Hardstatic int
TAG_TIME_ZONE
(String).static int
TAG_WHITE_BALANCE
0 = Auto 1 = Daylight 2 = Shade 3 = Tungsten 4 = Fluorescent 5 = Manual-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description PentaxMakernoteDirectory()
-
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_CAPTURE_MODE
public static final int TAG_CAPTURE_MODE
0 = Auto 1 = Night-scene 2 = Manual 4 = Multiple- See Also:
- Constant Field Values
-
TAG_QUALITY_LEVEL
public static final int TAG_QUALITY_LEVEL
0 = Good 1 = Better 2 = Best- See Also:
- Constant Field Values
-
TAG_FOCUS_MODE
public static final int TAG_FOCUS_MODE
2 = Custom 3 = Auto- See Also:
- Constant Field Values
-
TAG_FLASH_MODE
public static final int TAG_FLASH_MODE
1 = Auto 2 = Flash on 4 = Flash off 6 = Red-eye Reduction- See Also:
- Constant Field Values
-
TAG_WHITE_BALANCE
public static final int TAG_WHITE_BALANCE
0 = Auto 1 = Daylight 2 = Shade 3 = Tungsten 4 = Fluorescent 5 = Manual- See Also:
- Constant Field Values
-
TAG_DIGITAL_ZOOM
public static final int TAG_DIGITAL_ZOOM
(0 = Off)- See Also:
- Constant Field Values
-
TAG_SHARPNESS
public static final int TAG_SHARPNESS
0 = Normal 1 = Soft 2 = Hard- See Also:
- Constant Field Values
-
TAG_CONTRAST
public static final int TAG_CONTRAST
0 = Normal 1 = Low 2 = High- See Also:
- Constant Field Values
-
TAG_SATURATION
public static final int TAG_SATURATION
0 = Normal 1 = Low 2 = High- See Also:
- Constant Field Values
-
TAG_ISO_SPEED
public static final int TAG_ISO_SPEED
10 = ISO 100 16 = ISO 200 100 = ISO 100 200 = ISO 200- See Also:
- Constant Field Values
-
TAG_COLOUR
public static final int TAG_COLOUR
1 = Normal 2 = Black & White 3 = Sepia- See Also:
- Constant Field Values
-
TAG_PRINT_IMAGE_MATCHING_INFO
public static final int TAG_PRINT_IMAGE_MATCHING_INFO
See Print Image Matching for specification. http://www.ozhiker.com/electronics/pjmt/jpeg_info/pim.html- See Also:
- Constant Field Values
-
TAG_TIME_ZONE
public static final int TAG_TIME_ZONE
(String).- See Also:
- Constant Field Values
-
TAG_DAYLIGHT_SAVINGS
public static final int TAG_DAYLIGHT_SAVINGS
(String).- 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
-
-