Package gov.nih.mipav.model.file
Class MetadataExtractor.CanonMakernoteDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.CanonMakernoteDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.CanonMakernoteDirectory extends MetadataExtractor.Directory
Describes tags specific to Canon cameras. Thanks to Bill Richards for his contribution to this makernote directory. Many tag definitions explained here: http://www.ozhiker.com/electronics/pjmt/jpeg_info/canon_mn.html- Author:
- Drew Noakes https://drewnoakes.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MetadataExtractor.CanonMakernoteDirectory.AFInfo
class
MetadataExtractor.CanonMakernoteDirectory.CameraSettings
class
MetadataExtractor.CanonMakernoteDirectory.FocalLength
class
MetadataExtractor.CanonMakernoteDirectory.Panorama
class
MetadataExtractor.CanonMakernoteDirectory.ShotInfo
-
Field Summary
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description CanonMakernoteDirectory()
-
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.void
setObjectArray(int tagType, java.lang.Object array)
Sets an arrayObject
for the specified tag.-
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, setParent, setRational, setRationalArray, setString, setStringArray, setStringValue, setStringValueArray, toString
-
-
-
-
Field Detail
-
TAG_CAMERA_SETTINGS_ARRAY
private static final int TAG_CAMERA_SETTINGS_ARRAY
- See Also:
- Constant Field Values
-
TAG_FOCAL_LENGTH_ARRAY
private static final int TAG_FOCAL_LENGTH_ARRAY
- See Also:
- Constant Field Values
-
TAG_SHOT_INFO_ARRAY
private static final int TAG_SHOT_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_PANORAMA_ARRAY
private static final int TAG_PANORAMA_ARRAY
- See Also:
- Constant Field Values
-
TAG_CANON_IMAGE_TYPE
public static final int TAG_CANON_IMAGE_TYPE
- See Also:
- Constant Field Values
-
TAG_CANON_FIRMWARE_VERSION
public static final int TAG_CANON_FIRMWARE_VERSION
- See Also:
- Constant Field Values
-
TAG_CANON_IMAGE_NUMBER
public static final int TAG_CANON_IMAGE_NUMBER
- See Also:
- Constant Field Values
-
TAG_CANON_OWNER_NAME
public static final int TAG_CANON_OWNER_NAME
- See Also:
- Constant Field Values
-
TAG_CANON_SERIAL_NUMBER
public static final int TAG_CANON_SERIAL_NUMBER
- See Also:
- Constant Field Values
-
TAG_CAMERA_INFO_ARRAY
public static final int TAG_CAMERA_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_CANON_FILE_LENGTH
public static final int TAG_CANON_FILE_LENGTH
- See Also:
- Constant Field Values
-
TAG_CANON_CUSTOM_FUNCTIONS_ARRAY
public static final int TAG_CANON_CUSTOM_FUNCTIONS_ARRAY
- See Also:
- Constant Field Values
-
TAG_MODEL_ID
public static final int TAG_MODEL_ID
- See Also:
- Constant Field Values
-
TAG_MOVIE_INFO_ARRAY
public static final int TAG_MOVIE_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_AF_INFO_ARRAY
private static final int TAG_AF_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_THUMBNAIL_IMAGE_VALID_AREA
public static final int TAG_THUMBNAIL_IMAGE_VALID_AREA
- See Also:
- Constant Field Values
-
TAG_SERIAL_NUMBER_FORMAT
public static final int TAG_SERIAL_NUMBER_FORMAT
- See Also:
- Constant Field Values
-
TAG_SUPER_MACRO
public static final int TAG_SUPER_MACRO
- See Also:
- Constant Field Values
-
TAG_DATE_STAMP_MODE
public static final int TAG_DATE_STAMP_MODE
- See Also:
- Constant Field Values
-
TAG_MY_COLORS
public static final int TAG_MY_COLORS
- See Also:
- Constant Field Values
-
TAG_FIRMWARE_REVISION
public static final int TAG_FIRMWARE_REVISION
- See Also:
- Constant Field Values
-
TAG_CATEGORIES
public static final int TAG_CATEGORIES
- See Also:
- Constant Field Values
-
TAG_FACE_DETECT_ARRAY_1
public static final int TAG_FACE_DETECT_ARRAY_1
- See Also:
- Constant Field Values
-
TAG_FACE_DETECT_ARRAY_2
public static final int TAG_FACE_DETECT_ARRAY_2
- See Also:
- Constant Field Values
-
TAG_AF_INFO_ARRAY_2
public static final int TAG_AF_INFO_ARRAY_2
- See Also:
- Constant Field Values
-
TAG_IMAGE_UNIQUE_ID
public static final int TAG_IMAGE_UNIQUE_ID
- See Also:
- Constant Field Values
-
TAG_RAW_DATA_OFFSET
public static final int TAG_RAW_DATA_OFFSET
- See Also:
- Constant Field Values
-
TAG_ORIGINAL_DECISION_DATA_OFFSET
public static final int TAG_ORIGINAL_DECISION_DATA_OFFSET
- See Also:
- Constant Field Values
-
TAG_CUSTOM_FUNCTIONS_1D_ARRAY
public static final int TAG_CUSTOM_FUNCTIONS_1D_ARRAY
- See Also:
- Constant Field Values
-
TAG_PERSONAL_FUNCTIONS_ARRAY
public static final int TAG_PERSONAL_FUNCTIONS_ARRAY
- See Also:
- Constant Field Values
-
TAG_PERSONAL_FUNCTION_VALUES_ARRAY
public static final int TAG_PERSONAL_FUNCTION_VALUES_ARRAY
- See Also:
- Constant Field Values
-
TAG_FILE_INFO_ARRAY
public static final int TAG_FILE_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_AF_POINTS_IN_FOCUS_1D
public static final int TAG_AF_POINTS_IN_FOCUS_1D
- See Also:
- Constant Field Values
-
TAG_LENS_MODEL
public static final int TAG_LENS_MODEL
- See Also:
- Constant Field Values
-
TAG_SERIAL_INFO_ARRAY
public static final int TAG_SERIAL_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_DUST_REMOVAL_DATA
public static final int TAG_DUST_REMOVAL_DATA
- See Also:
- Constant Field Values
-
TAG_CROP_INFO
public static final int TAG_CROP_INFO
- See Also:
- Constant Field Values
-
TAG_CUSTOM_FUNCTIONS_ARRAY_2
public static final int TAG_CUSTOM_FUNCTIONS_ARRAY_2
- See Also:
- Constant Field Values
-
TAG_ASPECT_INFO_ARRAY
public static final int TAG_ASPECT_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_PROCESSING_INFO_ARRAY
public static final int TAG_PROCESSING_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_TONE_CURVE_TABLE
public static final int TAG_TONE_CURVE_TABLE
- See Also:
- Constant Field Values
-
TAG_SHARPNESS_TABLE
public static final int TAG_SHARPNESS_TABLE
- See Also:
- Constant Field Values
-
TAG_SHARPNESS_FREQ_TABLE
public static final int TAG_SHARPNESS_FREQ_TABLE
- See Also:
- Constant Field Values
-
TAG_WHITE_BALANCE_TABLE
public static final int TAG_WHITE_BALANCE_TABLE
- See Also:
- Constant Field Values
-
TAG_COLOR_BALANCE_ARRAY
public static final int TAG_COLOR_BALANCE_ARRAY
- See Also:
- Constant Field Values
-
TAG_MEASURED_COLOR_ARRAY
public static final int TAG_MEASURED_COLOR_ARRAY
- See Also:
- Constant Field Values
-
TAG_COLOR_TEMPERATURE
public static final int TAG_COLOR_TEMPERATURE
- See Also:
- Constant Field Values
-
TAG_CANON_FLAGS_ARRAY
public static final int TAG_CANON_FLAGS_ARRAY
- See Also:
- Constant Field Values
-
TAG_MODIFIED_INFO_ARRAY
public static final int TAG_MODIFIED_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_TONE_CURVE_MATCHING
public static final int TAG_TONE_CURVE_MATCHING
- See Also:
- Constant Field Values
-
TAG_WHITE_BALANCE_MATCHING
public static final int TAG_WHITE_BALANCE_MATCHING
- See Also:
- Constant Field Values
-
TAG_COLOR_SPACE
public static final int TAG_COLOR_SPACE
- See Also:
- Constant Field Values
-
TAG_PREVIEW_IMAGE_INFO_ARRAY
public static final int TAG_PREVIEW_IMAGE_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_VRD_OFFSET
public static final int TAG_VRD_OFFSET
- See Also:
- Constant Field Values
-
TAG_SENSOR_INFO_ARRAY
public static final int TAG_SENSOR_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_COLOR_DATA_ARRAY_2
public static final int TAG_COLOR_DATA_ARRAY_2
- See Also:
- Constant Field Values
-
TAG_CRW_PARAM
public static final int TAG_CRW_PARAM
- See Also:
- Constant Field Values
-
TAG_COLOR_INFO_ARRAY_2
public static final int TAG_COLOR_INFO_ARRAY_2
- See Also:
- Constant Field Values
-
TAG_BLACK_LEVEL
public static final int TAG_BLACK_LEVEL
- See Also:
- Constant Field Values
-
TAG_CUSTOM_PICTURE_STYLE_FILE_NAME
public static final int TAG_CUSTOM_PICTURE_STYLE_FILE_NAME
- See Also:
- Constant Field Values
-
TAG_COLOR_INFO_ARRAY
public static final int TAG_COLOR_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_VIGNETTING_CORRECTION_ARRAY_1
public static final int TAG_VIGNETTING_CORRECTION_ARRAY_1
- See Also:
- Constant Field Values
-
TAG_VIGNETTING_CORRECTION_ARRAY_2
public static final int TAG_VIGNETTING_CORRECTION_ARRAY_2
- See Also:
- Constant Field Values
-
TAG_LIGHTING_OPTIMIZER_ARRAY
public static final int TAG_LIGHTING_OPTIMIZER_ARRAY
- See Also:
- Constant Field Values
-
TAG_LENS_INFO_ARRAY
public static final int TAG_LENS_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_AMBIANCE_INFO_ARRAY
public static final int TAG_AMBIANCE_INFO_ARRAY
- See Also:
- Constant Field Values
-
TAG_FILTER_INFO_ARRAY
public static final int TAG_FILTER_INFO_ARRAY
- 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
-
setObjectArray
public void setObjectArray(int tagType, java.lang.Object array)
Description copied from class:MetadataExtractor.Directory
Sets an arrayObject
for the specified tag.- Overrides:
setObjectArray
in classMetadataExtractor.Directory
- Parameters:
tagType
- the tag's value as an intarray
- the array of values for the specified tag
-
-