Package gov.nih.mipav.model.file
Class MetadataExtractor.CasioType2MakernoteDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.CasioType2MakernoteDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.CasioType2MakernoteDirectory extends MetadataExtractor.Directory
Describes tags specific to Casio (type 2) cameras. A standard TIFF IFD directory but always uses Motorola (Big-Endian) Byte Alignment. Makernote data begins after a 6-byte header: "QVC\x00\x00\x00"- 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_BESTSHOT_MODE
static int
TAG_CCD_ISO_SENSITIVITY
0 = Off 1 = On?static int
TAG_COLOUR_MODE
0 = Offstatic int
TAG_CONTRAST
0 = -1 1 = Normal 2 = +1static int
TAG_ENHANCEMENT
0 = Offstatic int
TAG_FILTER
0 = Offstatic int
TAG_FLASH_DISTANCE
0 = Offstatic int
TAG_FOCAL_LENGTH
Units are tenths of a millimetrestatic int
TAG_FOCUS_MODE_1
0 = Normal 1 = Macrostatic int
TAG_FOCUS_MODE_2
1 = Fixation 6 = Multi-Area Auto Focusstatic int
TAG_IMAGE_SIZE
0 = 640 x 480 pixels 4 = 1600 x 1200 pixels 5 = 2048 x 1536 pixels 20 = 2288 x 1712 pixels 21 = 2592 x 1944 pixels 22 = 2304 x 1728 pixels 36 = 3008 x 2008 pixelsstatic int
TAG_ISO_SENSITIVITY
3 = 50 4 = 64 6 = 100 9 = 200static int
TAG_OBJECT_DISTANCE
Units are millimetresstatic int
TAG_PREVIEW_THUMBNAIL
Alternate thumbnail offsetstatic int
TAG_PRINT_IMAGE_MATCHING_INFO
See PIM specification here: http://www.ozhiker.com/electronics/pjmt/jpeg_info/pim.htmlstatic int
TAG_QUALITY
3 = Finestatic int
TAG_QUALITY_MODE
1 = Fine 2 = Super Finestatic int
TAG_RECORD_MODE
2 = Normal Modestatic int
TAG_SATURATION
0 = -1 1 = Normal 2 = +1static int
TAG_SELF_TIMER
1 = Off?static int
TAG_SHARPNESS
0 = -1 1 = Normal 2 = +1static int
TAG_THUMBNAIL_DIMENSIONS
2 values - x,y dimensions in pixels.static int
TAG_THUMBNAIL_OFFSET
Offset of Preview Thumbnailstatic int
TAG_THUMBNAIL_SIZE
Size in bytesstatic int
TAG_TIME_ZONE
(string)static int
TAG_WHITE_BALANCE_1
0 = Auto 1 = Daylight 2 = Shade 3 = Tungsten 4 = Fluorescent 5 = Manualstatic int
TAG_WHITE_BALANCE_2
12 = Flash 0 = Manual 1 = Auto?static int
TAG_WHITE_BALANCE_BIAS
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description CasioType2MakernoteDirectory()
-
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_THUMBNAIL_DIMENSIONS
public static final int TAG_THUMBNAIL_DIMENSIONS
2 values - x,y dimensions in pixels.- See Also:
- Constant Field Values
-
TAG_THUMBNAIL_SIZE
public static final int TAG_THUMBNAIL_SIZE
Size in bytes- See Also:
- Constant Field Values
-
TAG_THUMBNAIL_OFFSET
public static final int TAG_THUMBNAIL_OFFSET
Offset of Preview Thumbnail- See Also:
- Constant Field Values
-
TAG_QUALITY_MODE
public static final int TAG_QUALITY_MODE
1 = Fine 2 = Super Fine- See Also:
- Constant Field Values
-
TAG_IMAGE_SIZE
public static final int TAG_IMAGE_SIZE
0 = 640 x 480 pixels 4 = 1600 x 1200 pixels 5 = 2048 x 1536 pixels 20 = 2288 x 1712 pixels 21 = 2592 x 1944 pixels 22 = 2304 x 1728 pixels 36 = 3008 x 2008 pixels- See Also:
- Constant Field Values
-
TAG_FOCUS_MODE_1
public static final int TAG_FOCUS_MODE_1
0 = Normal 1 = Macro- See Also:
- Constant Field Values
-
TAG_ISO_SENSITIVITY
public static final int TAG_ISO_SENSITIVITY
3 = 50 4 = 64 6 = 100 9 = 200- See Also:
- Constant Field Values
-
TAG_WHITE_BALANCE_1
public static final int TAG_WHITE_BALANCE_1
0 = Auto 1 = Daylight 2 = Shade 3 = Tungsten 4 = Fluorescent 5 = Manual- See Also:
- Constant Field Values
-
TAG_FOCAL_LENGTH
public static final int TAG_FOCAL_LENGTH
Units are tenths of a millimetre- See Also:
- Constant Field Values
-
TAG_SATURATION
public static final int TAG_SATURATION
0 = -1 1 = Normal 2 = +1- See Also:
- Constant Field Values
-
TAG_CONTRAST
public static final int TAG_CONTRAST
0 = -1 1 = Normal 2 = +1- See Also:
- Constant Field Values
-
TAG_SHARPNESS
public static final int TAG_SHARPNESS
0 = -1 1 = Normal 2 = +1- See Also:
- Constant Field Values
-
TAG_PRINT_IMAGE_MATCHING_INFO
public static final int TAG_PRINT_IMAGE_MATCHING_INFO
See PIM specification here: http://www.ozhiker.com/electronics/pjmt/jpeg_info/pim.html- See Also:
- Constant Field Values
-
TAG_PREVIEW_THUMBNAIL
public static final int TAG_PREVIEW_THUMBNAIL
Alternate thumbnail offset- See Also:
- Constant Field Values
-
TAG_WHITE_BALANCE_BIAS
public static final int TAG_WHITE_BALANCE_BIAS
- See Also:
- Constant Field Values
-
TAG_WHITE_BALANCE_2
public static final int TAG_WHITE_BALANCE_2
12 = Flash 0 = Manual 1 = Auto? 4 = Flash?- See Also:
- Constant Field Values
-
TAG_OBJECT_DISTANCE
public static final int TAG_OBJECT_DISTANCE
Units are millimetres- See Also:
- Constant Field Values
-
TAG_FLASH_DISTANCE
public static final int TAG_FLASH_DISTANCE
0 = Off- See Also:
- Constant Field Values
-
TAG_RECORD_MODE
public static final int TAG_RECORD_MODE
2 = Normal Mode- See Also:
- Constant Field Values
-
TAG_SELF_TIMER
public static final int TAG_SELF_TIMER
1 = Off?- See Also:
- Constant Field Values
-
TAG_QUALITY
public static final int TAG_QUALITY
3 = Fine- See Also:
- Constant Field Values
-
TAG_FOCUS_MODE_2
public static final int TAG_FOCUS_MODE_2
1 = Fixation 6 = Multi-Area Auto Focus- See Also:
- Constant Field Values
-
TAG_TIME_ZONE
public static final int TAG_TIME_ZONE
(string)- See Also:
- Constant Field Values
-
TAG_BESTSHOT_MODE
public static final int TAG_BESTSHOT_MODE
- See Also:
- Constant Field Values
-
TAG_CCD_ISO_SENSITIVITY
public static final int TAG_CCD_ISO_SENSITIVITY
0 = Off 1 = On?- See Also:
- Constant Field Values
-
TAG_COLOUR_MODE
public static final int TAG_COLOUR_MODE
0 = Off- See Also:
- Constant Field Values
-
TAG_ENHANCEMENT
public static final int TAG_ENHANCEMENT
0 = Off- See Also:
- Constant Field Values
-
TAG_FILTER
public static final int TAG_FILTER
0 = Off- 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
-
-