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>_tagNameMapstatic intTAG_CAPTURE_MODE0 = Auto 1 = Night-scene 2 = Manual 4 = Multiplestatic intTAG_COLOUR1 = Normal 2 = Black & White 3 = Sepiastatic intTAG_CONTRAST0 = Normal 1 = Low 2 = Highstatic intTAG_DAYLIGHT_SAVINGS(String).static intTAG_DIGITAL_ZOOM(0 = Off)static intTAG_FLASH_MODE1 = Auto 2 = Flash on 4 = Flash off 6 = Red-eye Reductionstatic intTAG_FOCUS_MODE2 = Custom 3 = Autostatic intTAG_ISO_SPEED10 = ISO 100 16 = ISO 200 100 = ISO 100 200 = ISO 200static intTAG_PRINT_IMAGE_MATCHING_INFOSee Print Image Matching for specification.static intTAG_QUALITY_LEVEL0 = Good 1 = Better 2 = Beststatic intTAG_SATURATION0 = Normal 1 = Low 2 = Highstatic intTAG_SHARPNESS0 = Normal 1 = Soft 2 = Hardstatic intTAG_TIME_ZONE(String).static intTAG_WHITE_BALANCE0 = 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.StringgetName()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.DirectoryProvides the name of the directory, for display purposes. E.g.Exif- Specified by:
getNamein 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.DirectoryProvides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMapin classMetadataExtractor.Directory- Returns:
- the map of tag names
-
-