Package gov.nih.mipav.model.file
Class MetadataExtractor.PanasonicMakernoteDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.PanasonicMakernoteDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.PanasonicMakernoteDirectory extends MetadataExtractor.Directory
Describes tags specific to Panasonic and Leica cameras.- Author:
- Drew Noakes https://drewnoakes.com, Philipp Sandhaus
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.lang.Integer,java.lang.String>
_tagNameMap
static int
TAG_ACCELEROMETER_X
static int
TAG_ACCELEROMETER_Y
static int
TAG_ACCELEROMETER_Z
static int
TAG_ACCESSORY_SERIAL_NUMBER
static int
TAG_ACCESSORY_TYPE
static int
TAG_ADVANCED_SCENE_MODE
1 = Normal
2 = Outdoor/Illuminations/Flower/HDR Art
3 = Indoor/Architecture/Objects/HDR B&W
4 = Creative
5 = Auto
7 = Expressive
8 = Retro
9 = Pure
10 = Elegant
12 = Monochrome
13 = Dynamic Art
14 = Silhouettestatic int
TAG_AF_AREA_MODE
2 bytes
(DMC-FZ10)
'0 1' = Spot Mode On
'0 16' = Spot Mode Off
'(other models)
16 = Normal?static int
TAG_AF_ASSIST_LAMP
1 = Fired
2 = Enabled nut not used
3 = Disabled but required
4 = Disabled and not requiredstatic int
TAG_AF_POINT_POSITION
static int
TAG_AUDIO
1 = Yes
2 = Nostatic int
TAG_BABY_AGE
static int
TAG_BABY_AGE_1
static int
TAG_BABY_NAME
static int
TAG_BRACKET_SETTINGS
static int
TAG_BURST_MODE
0 = Off
1 = On
2 = Infinite
4 = Unlimitedstatic int
TAG_BURST_SPEED
static int
TAG_CAMERA_ORIENTATION
static int
TAG_CITY
static int
TAG_CITY2
static int
TAG_CLEAR_RETOUCH
static int
TAG_CLEAR_RETOUCH_VALUE
static int
TAG_COLOR_EFFECT
1 = Off
2 = Warm
3 = Cool
4 = Black & White
5 = Sepiastatic int
TAG_COLOR_MODE
0 = Normal
1 = Natural
2 = Vividstatic int
TAG_COLOR_TEMP_KELVIN
static int
TAG_CONTRAST
0 = Normalstatic int
TAG_CONTRAST_MODE
(this decoding seems to work for some models such as the LC1, LX2, FZ7, FZ8, FZ18 and FZ50, but may not be correct for other models such as the FX10, G1, L1, L10 and LC80)
0x0 = Normal
0x1 = Low
0x2 = High
0x6 = Medium Low
0x7 = Medium High
0x100 = Low
0x110 = Normal
0x120 = High
(these values are used by the GF1)
0 = -2
1 = -1
2 = Normal
3 = +1
4 = +2
7 = Nature (Color Film)
12 = Smooth (Color Film) or Pure (My Color)
17 = Dynamic (B&W Film)
22 = Smooth (B&W Film)
27 = Dynamic (Color Film)
32 = Vibrant (Color Film) or Expressive (My Color)
33 = Elegant (My Color)
37 = Nostalgic (Color Film)
41 = Dynamic Art (My Color)
42 = Retro (My Color)static int
TAG_CONVERSION_LENS
1 = Off
2 = Wide
3 = Telephoto
4 = Macrostatic int
TAG_COUNTRY
static int
TAG_EASY_MODE
static int
TAG_EXIF_VERSION
Panasonic Exif Versionstatic int
TAG_FACE_DETECTION_INFO
Integer (16Bit) Indexes:
0 Number Face Positions (maybe less than Faces Detected)
1-4 Face Position 1
5-8 Face Position 2
and so on
The four Integers are interpreted as follows:
(XYWH) X,Y Center of Face, (W,H) Width and Height
All values are in respect to double the size of the thumbnail imagestatic int
TAG_FACE_RECOGNITION_INFO
Byte Indexes:
0 Int (2 Byte) Number of Recognized Faces
4 String(20 Byte) Recognized Face 1 Name
24 4 Int (8 Byte) Recognized Face 1 Position (Same Format as Face Detection)
32 String(20 Byte) Recognized Face 1 Age
52 String(20 Byte) Recognized Face 2 Name
72 4 Int (8 Byte) Recognized Face 2 Position (Same Format as Face Detection)
80 String(20 Byte) Recognized Face 2 Age
And so on
The four Integers are interpreted as follows:
(XYWH) X,Y Center of Face, (W,H) Width and Height
All values are in respect to double the size of the thumbnail imagestatic int
TAG_FACES_DETECTED
static int
TAG_FILM_MODE
static int
TAG_FIRMWARE_VERSION
static int
TAG_FLASH_BIAS
static int
TAG_FLASH_CURTAIN
static int
TAG_FLASH_FIRED
static int
TAG_FLASH_WARNING
0 = No
1 = Yesstatic int
TAG_FOCUS_MODE
1 = Auto
2 = Manual
4 = Auto, Focus Button
5 = Auto, Continuousstatic int
TAG_HDR
static int
TAG_IMAGE_STABILIZATION
2 = On, Mode 1
3 = Off
4 = On, Mode 2static int
TAG_INTELLIGENT_D_RANGE
static int
TAG_INTELLIGENT_EXPOSURE
0 = Off
1 = Low
2 = Standard
3 = Highstatic int
TAG_INTELLIGENT_RESOLUTION
0 = Off
2 = Auto
3 = Onstatic int
TAG_INTERNAL_ND_FILTER
static int
TAG_INTERNAL_SERIAL_NUMBER
this number is unique, and contains the date of manufacture, but is not the same as the number printed on the camera bodystatic int
TAG_LANDMARK
static int
TAG_LENS_FIRMWARE_VERSION
static int
TAG_LENS_SERIAL_NUMBER
static int
TAG_LENS_TYPE
static int
TAG_LOCATION
static int
TAG_LONG_EXPOSURE_NOISE_REDUCTION
static int
TAG_MACRO_MODE
1 = On
2 = Offstatic int
TAG_MAKERNOTE_VERSION
static int
TAG_NOISE_REDUCTION
0 = Standard
1 = Low (-1)
2 = High (+1)
3 = Lowest (-2)
4 = Highest (+2)static int
TAG_OPTICAL_ZOOM_MODE
1 = Standard
2 = Extendedstatic int
TAG_PANASONIC_IMAGE_HEIGHT
static int
TAG_PANASONIC_IMAGE_WIDTH
static int
TAG_PHOTO_STYLE
static int
TAG_PITCH_ANGLE
static int
TAG_PRINT_IMAGE_MATCHING_INFO
Info at http://www.ozhiker.com/electronics/pjmt/jpeg_info/pim.htmlstatic int
TAG_PROGRAM_ISO
static int
TAG_QUALITY_MODE
2 = High
3 = Normal
6 = Very High
7 = Raw
9 = Motion Picturestatic int
TAG_RECOGNIZED_FACE_FLAGS
static int
TAG_RECORD_MODE
1 = Normal
2 = Portrait
3 = Scenery
4 = Sports
5 = Night Portrait
6 = Program
7 = Aperture Priority
8 = Shutter Priority
9 = Macro
10= Spot
11= Manual
12= Movie Preview
13= Panning
14= Simple
15= Color Effects
16= Self Portrait
17= Economy
18= Fireworks
19= Party
20= Snow
21= Night Scenery
22= Food
23= Baby
24= Soft Skin
25= Candlelight
26= Starry Night
27= High Sensitivity
28= Panorama Assist
29= Underwater
30= Beach
31= Aerial Photo
32= Sunset
33= Pet
34= Intelligent ISO
35= Clipboard
36= High Speed Continuous Shooting
37= Intelligent Auto
39= Multi-aspect
41= Transform
42= Flash Burst
43= Pin Hole
44= Film Grain
45= My Color
46= Photo Frame
51= HDRstatic int
TAG_ROLL_ANGLE
static int
TAG_ROTATION
1 = 0 DG
3 = 180 DG
6 = 90 DG
8 = 270 DGstatic int
TAG_SATURATION
static int
TAG_SCENE_MODE
static int
TAG_SELF_TIMER
1 = Off
2 = 10 s
3 = 2 sstatic int
TAG_SEQUENCE_NUMBER
static int
TAG_SHADING_COMPENSATION
static int
TAG_SHARPNESS
static int
TAG_SHUTTER_TYPE
static int
TAG_STATE
static int
TAG_SWEEP_PANORAMA_DIRECTION
static int
TAG_SWEEP_PANORAMA_FIELD_OF_VIEW
static int
TAG_TEXT_STAMP
1 = Off
2 = Onstatic int
TAG_TEXT_STAMP_1
1 = Off
2 = Onstatic int
TAG_TEXT_STAMP_2
static int
TAG_TEXT_STAMP_3
static int
TAG_TIMER_RECORDING
static int
TAG_TITLE
static int
TAG_TOUCH_AE
static int
TAG_TRANSFORM
(decoded as two 16-bit signed integers) '-1 1' = Slim Low '-3 2' = Slim High '0 0' = Off '1 1' = Stretch Low '3 2' = Stretch Highstatic int
TAG_TRANSFORM_1
(decoded as two 16-bit signed integers) '-1 1' = Slim Low '-3 2' = Slim High '0 0' = Off '1 1' = Stretch Low '3 2' = Stretch Highstatic int
TAG_TRAVEL_DAY
static int
TAG_UNKNOWN_DATA_DUMP
No idea, what this isstatic int
TAG_UPTIME
4 Bytes
Time in 1/100 s from when the camera was powered on to when the image is written to memory cardstatic int
TAG_WB_ADJUST_AB
WB adjust AB.static int
TAG_WB_ADJUST_GM
WB adjust GM.static int
TAG_WB_BLUE_LEVEL
static int
TAG_WB_GREEN_LEVEL
static int
TAG_WB_RED_LEVEL
static int
TAG_WHITE_BALANCE
1 = Auto
2 = Daylight
3 = Cloudy
4 = Incandescent
5 = Manual
8 = Flash
10 = Black & White
11 = Manual
12 = Shadestatic int
TAG_WHITE_BALANCE_BIAS
static int
TAG_WORLD_TIME_LOCATION
1 = Home
2 = Destination-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description PanasonicMakernoteDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataExtractor.Age
getAge(int tag)
Attempts to convert the underlying string value (as stored in the directory) into an Age object.MetadataExtractor.Face[]
getDetectedFaces()
java.lang.String
getName()
Provides the name of the directory, for display purposes.MetadataExtractor.Face[]
getRecognizedFaces()
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_QUALITY_MODE
public static final int TAG_QUALITY_MODE
2 = High
3 = Normal
6 = Very High
7 = Raw
9 = Motion Picture- See Also:
- Constant Field Values
-
TAG_FIRMWARE_VERSION
public static final int TAG_FIRMWARE_VERSION
- See Also:
- Constant Field Values
-
TAG_WHITE_BALANCE
public static final int TAG_WHITE_BALANCE
1 = Auto
2 = Daylight
3 = Cloudy
4 = Incandescent
5 = Manual
8 = Flash
10 = Black & White
11 = Manual
12 = Shade- See Also:
- Constant Field Values
-
TAG_FOCUS_MODE
public static final int TAG_FOCUS_MODE
1 = Auto
2 = Manual
4 = Auto, Focus Button
5 = Auto, Continuous- See Also:
- Constant Field Values
-
TAG_AF_AREA_MODE
public static final int TAG_AF_AREA_MODE
2 bytes
(DMC-FZ10)
'0 1' = Spot Mode On
'0 16' = Spot Mode Off
'(other models)
16 = Normal?
'0 1' = 9-area
'0 16' = 3-area (high speed)
'1 0' = Spot Focusing
'1 1' = 5-area
'16 0' = 1-area
'16 16' = 1-area (high speed)
'32 0' = Auto or Face Detect
'32 1' = 3-area (left)?
'32 2' = 3-area (center)?
'32 3' = 3-area (right)?
'64 0' = Face Detect- See Also:
- Constant Field Values
-
TAG_IMAGE_STABILIZATION
public static final int TAG_IMAGE_STABILIZATION
2 = On, Mode 1
3 = Off
4 = On, Mode 2- See Also:
- Constant Field Values
-
TAG_MACRO_MODE
public static final int TAG_MACRO_MODE
1 = On
2 = Off- See Also:
- Constant Field Values
-
TAG_RECORD_MODE
public static final int TAG_RECORD_MODE
1 = Normal
2 = Portrait
3 = Scenery
4 = Sports
5 = Night Portrait
6 = Program
7 = Aperture Priority
8 = Shutter Priority
9 = Macro
10= Spot
11= Manual
12= Movie Preview
13= Panning
14= Simple
15= Color Effects
16= Self Portrait
17= Economy
18= Fireworks
19= Party
20= Snow
21= Night Scenery
22= Food
23= Baby
24= Soft Skin
25= Candlelight
26= Starry Night
27= High Sensitivity
28= Panorama Assist
29= Underwater
30= Beach
31= Aerial Photo
32= Sunset
33= Pet
34= Intelligent ISO
35= Clipboard
36= High Speed Continuous Shooting
37= Intelligent Auto
39= Multi-aspect
41= Transform
42= Flash Burst
43= Pin Hole
44= Film Grain
45= My Color
46= Photo Frame
51= HDR- See Also:
- Constant Field Values
-
TAG_AUDIO
public static final int TAG_AUDIO
1 = Yes
2 = No- See Also:
- Constant Field Values
-
TAG_UNKNOWN_DATA_DUMP
public static final int TAG_UNKNOWN_DATA_DUMP
No idea, what this is- See Also:
- Constant Field Values
-
TAG_EASY_MODE
public static final int TAG_EASY_MODE
- See Also:
- Constant Field Values
-
TAG_WHITE_BALANCE_BIAS
public static final int TAG_WHITE_BALANCE_BIAS
- See Also:
- Constant Field Values
-
TAG_FLASH_BIAS
public static final int TAG_FLASH_BIAS
- See Also:
- Constant Field Values
-
TAG_INTERNAL_SERIAL_NUMBER
public static final int TAG_INTERNAL_SERIAL_NUMBER
this number is unique, and contains the date of manufacture, but is not the same as the number printed on the camera body- See Also:
- Constant Field Values
-
TAG_EXIF_VERSION
public static final int TAG_EXIF_VERSION
Panasonic Exif Version- See Also:
- Constant Field Values
-
TAG_COLOR_EFFECT
public static final int TAG_COLOR_EFFECT
1 = Off
2 = Warm
3 = Cool
4 = Black & White
5 = Sepia- See Also:
- Constant Field Values
-
TAG_UPTIME
public static final int TAG_UPTIME
4 Bytes
Time in 1/100 s from when the camera was powered on to when the image is written to memory card- See Also:
- Constant Field Values
-
TAG_BURST_MODE
public static final int TAG_BURST_MODE
0 = Off
1 = On
2 = Infinite
4 = Unlimited- See Also:
- Constant Field Values
-
TAG_SEQUENCE_NUMBER
public static final int TAG_SEQUENCE_NUMBER
- See Also:
- Constant Field Values
-
TAG_CONTRAST_MODE
public static final int TAG_CONTRAST_MODE
(this decoding seems to work for some models such as the LC1, LX2, FZ7, FZ8, FZ18 and FZ50, but may not be correct for other models such as the FX10, G1, L1, L10 and LC80)
0x0 = Normal
0x1 = Low
0x2 = High
0x6 = Medium Low
0x7 = Medium High
0x100 = Low
0x110 = Normal
0x120 = High
(these values are used by the GF1)
0 = -2
1 = -1
2 = Normal
3 = +1
4 = +2
7 = Nature (Color Film)
12 = Smooth (Color Film) or Pure (My Color)
17 = Dynamic (B&W Film)
22 = Smooth (B&W Film)
27 = Dynamic (Color Film)
32 = Vibrant (Color Film) or Expressive (My Color)
33 = Elegant (My Color)
37 = Nostalgic (Color Film)
41 = Dynamic Art (My Color)
42 = Retro (My Color)- See Also:
- Constant Field Values
-
TAG_NOISE_REDUCTION
public static final int TAG_NOISE_REDUCTION
0 = Standard
1 = Low (-1)
2 = High (+1)
3 = Lowest (-2)
4 = Highest (+2)- See Also:
- Constant Field Values
-
TAG_SELF_TIMER
public static final int TAG_SELF_TIMER
1 = Off
2 = 10 s
3 = 2 s- See Also:
- Constant Field Values
-
TAG_ROTATION
public static final int TAG_ROTATION
1 = 0 DG
3 = 180 DG
6 = 90 DG
8 = 270 DG- See Also:
- Constant Field Values
-
TAG_AF_ASSIST_LAMP
public static final int TAG_AF_ASSIST_LAMP
1 = Fired
2 = Enabled nut not used
3 = Disabled but required
4 = Disabled and not required- See Also:
- Constant Field Values
-
TAG_COLOR_MODE
public static final int TAG_COLOR_MODE
0 = Normal
1 = Natural
2 = Vivid- See Also:
- Constant Field Values
-
TAG_BABY_AGE
public static final int TAG_BABY_AGE
- See Also:
- Constant Field Values
-
TAG_OPTICAL_ZOOM_MODE
public static final int TAG_OPTICAL_ZOOM_MODE
1 = Standard
2 = Extended- See Also:
- Constant Field Values
-
TAG_CONVERSION_LENS
public static final int TAG_CONVERSION_LENS
1 = Off
2 = Wide
3 = Telephoto
4 = Macro- See Also:
- Constant Field Values
-
TAG_TRAVEL_DAY
public static final int TAG_TRAVEL_DAY
- See Also:
- Constant Field Values
-
TAG_CONTRAST
public static final int TAG_CONTRAST
0 = Normal- See Also:
- Constant Field Values
-
TAG_WORLD_TIME_LOCATION
public static final int TAG_WORLD_TIME_LOCATION
1 = Home
2 = Destination- See Also:
- Constant Field Values
-
TAG_TEXT_STAMP
public static final int TAG_TEXT_STAMP
1 = Off
2 = On- See Also:
- Constant Field Values
-
TAG_PROGRAM_ISO
public static final int TAG_PROGRAM_ISO
- See Also:
- Constant Field Values
-
TAG_ADVANCED_SCENE_MODE
public static final int TAG_ADVANCED_SCENE_MODE
1 = Normal
2 = Outdoor/Illuminations/Flower/HDR Art
3 = Indoor/Architecture/Objects/HDR B&W
4 = Creative
5 = Auto
7 = Expressive
8 = Retro
9 = Pure
10 = Elegant
12 = Monochrome
13 = Dynamic Art
14 = Silhouette- See Also:
- Constant Field Values
-
TAG_TEXT_STAMP_1
public static final int TAG_TEXT_STAMP_1
1 = Off
2 = On- See Also:
- Constant Field Values
-
TAG_FACES_DETECTED
public static final int TAG_FACES_DETECTED
- See Also:
- Constant Field Values
-
TAG_SATURATION
public static final int TAG_SATURATION
- See Also:
- Constant Field Values
-
TAG_SHARPNESS
public static final int TAG_SHARPNESS
- See Also:
- Constant Field Values
-
TAG_FILM_MODE
public static final int TAG_FILM_MODE
- See Also:
- Constant Field Values
-
TAG_COLOR_TEMP_KELVIN
public static final int TAG_COLOR_TEMP_KELVIN
- See Also:
- Constant Field Values
-
TAG_BRACKET_SETTINGS
public static final int TAG_BRACKET_SETTINGS
- See Also:
- Constant Field Values
-
TAG_WB_ADJUST_AB
public static final int TAG_WB_ADJUST_AB
WB adjust AB. Positive is a shift toward blue.- See Also:
- Constant Field Values
-
TAG_WB_ADJUST_GM
public static final int TAG_WB_ADJUST_GM
WB adjust GM. Positive is a shift toward green.- See Also:
- Constant Field Values
-
TAG_FLASH_CURTAIN
public static final int TAG_FLASH_CURTAIN
- See Also:
- Constant Field Values
-
TAG_LONG_EXPOSURE_NOISE_REDUCTION
public static final int TAG_LONG_EXPOSURE_NOISE_REDUCTION
- See Also:
- Constant Field Values
-
TAG_PANASONIC_IMAGE_WIDTH
public static final int TAG_PANASONIC_IMAGE_WIDTH
- See Also:
- Constant Field Values
-
TAG_PANASONIC_IMAGE_HEIGHT
public static final int TAG_PANASONIC_IMAGE_HEIGHT
- See Also:
- Constant Field Values
-
TAG_AF_POINT_POSITION
public static final int TAG_AF_POINT_POSITION
- See Also:
- Constant Field Values
-
TAG_FACE_DETECTION_INFO
public static final int TAG_FACE_DETECTION_INFO
Integer (16Bit) Indexes:
0 Number Face Positions (maybe less than Faces Detected)
1-4 Face Position 1
5-8 Face Position 2
and so on
The four Integers are interpreted as follows:
(XYWH) X,Y Center of Face, (W,H) Width and Height
All values are in respect to double the size of the thumbnail image- See Also:
- Constant Field Values
-
TAG_LENS_TYPE
public static final int TAG_LENS_TYPE
- See Also:
- Constant Field Values
-
TAG_LENS_SERIAL_NUMBER
public static final int TAG_LENS_SERIAL_NUMBER
- See Also:
- Constant Field Values
-
TAG_ACCESSORY_TYPE
public static final int TAG_ACCESSORY_TYPE
- See Also:
- Constant Field Values
-
TAG_ACCESSORY_SERIAL_NUMBER
public static final int TAG_ACCESSORY_SERIAL_NUMBER
- See Also:
- Constant Field Values
-
TAG_TRANSFORM
public static final int TAG_TRANSFORM
(decoded as two 16-bit signed integers) '-1 1' = Slim Low '-3 2' = Slim High '0 0' = Off '1 1' = Stretch Low '3 2' = Stretch High- See Also:
- Constant Field Values
-
TAG_INTELLIGENT_EXPOSURE
public static final int TAG_INTELLIGENT_EXPOSURE
0 = Off
1 = Low
2 = Standard
3 = High- See Also:
- Constant Field Values
-
TAG_LENS_FIRMWARE_VERSION
public static final int TAG_LENS_FIRMWARE_VERSION
- See Also:
- Constant Field Values
-
TAG_BURST_SPEED
public static final int TAG_BURST_SPEED
- See Also:
- Constant Field Values
-
TAG_INTELLIGENT_D_RANGE
public static final int TAG_INTELLIGENT_D_RANGE
- See Also:
- Constant Field Values
-
TAG_CLEAR_RETOUCH
public static final int TAG_CLEAR_RETOUCH
- See Also:
- Constant Field Values
-
TAG_CITY2
public static final int TAG_CITY2
- See Also:
- Constant Field Values
-
TAG_PHOTO_STYLE
public static final int TAG_PHOTO_STYLE
- See Also:
- Constant Field Values
-
TAG_SHADING_COMPENSATION
public static final int TAG_SHADING_COMPENSATION
- See Also:
- Constant Field Values
-
TAG_ACCELEROMETER_Z
public static final int TAG_ACCELEROMETER_Z
- See Also:
- Constant Field Values
-
TAG_ACCELEROMETER_X
public static final int TAG_ACCELEROMETER_X
- See Also:
- Constant Field Values
-
TAG_ACCELEROMETER_Y
public static final int TAG_ACCELEROMETER_Y
- See Also:
- Constant Field Values
-
TAG_CAMERA_ORIENTATION
public static final int TAG_CAMERA_ORIENTATION
- See Also:
- Constant Field Values
-
TAG_ROLL_ANGLE
public static final int TAG_ROLL_ANGLE
- See Also:
- Constant Field Values
-
TAG_PITCH_ANGLE
public static final int TAG_PITCH_ANGLE
- See Also:
- Constant Field Values
-
TAG_SWEEP_PANORAMA_DIRECTION
public static final int TAG_SWEEP_PANORAMA_DIRECTION
- See Also:
- Constant Field Values
-
TAG_SWEEP_PANORAMA_FIELD_OF_VIEW
public static final int TAG_SWEEP_PANORAMA_FIELD_OF_VIEW
- See Also:
- Constant Field Values
-
TAG_TIMER_RECORDING
public static final int TAG_TIMER_RECORDING
- See Also:
- Constant Field Values
-
TAG_INTERNAL_ND_FILTER
public static final int TAG_INTERNAL_ND_FILTER
- See Also:
- Constant Field Values
-
TAG_HDR
public static final int TAG_HDR
- See Also:
- Constant Field Values
-
TAG_SHUTTER_TYPE
public static final int TAG_SHUTTER_TYPE
- See Also:
- Constant Field Values
-
TAG_CLEAR_RETOUCH_VALUE
public static final int TAG_CLEAR_RETOUCH_VALUE
- See Also:
- Constant Field Values
-
TAG_TOUCH_AE
public static final int TAG_TOUCH_AE
- See Also:
- Constant Field Values
-
TAG_PRINT_IMAGE_MATCHING_INFO
public static final int TAG_PRINT_IMAGE_MATCHING_INFO
Info at http://www.ozhiker.com/electronics/pjmt/jpeg_info/pim.html- See Also:
- Constant Field Values
-
TAG_FACE_RECOGNITION_INFO
public static final int TAG_FACE_RECOGNITION_INFO
Byte Indexes:
0 Int (2 Byte) Number of Recognized Faces
4 String(20 Byte) Recognized Face 1 Name
24 4 Int (8 Byte) Recognized Face 1 Position (Same Format as Face Detection)
32 String(20 Byte) Recognized Face 1 Age
52 String(20 Byte) Recognized Face 2 Name
72 4 Int (8 Byte) Recognized Face 2 Position (Same Format as Face Detection)
80 String(20 Byte) Recognized Face 2 Age
And so on
The four Integers are interpreted as follows:
(XYWH) X,Y Center of Face, (W,H) Width and Height
All values are in respect to double the size of the thumbnail image- See Also:
- Constant Field Values
-
TAG_FLASH_WARNING
public static final int TAG_FLASH_WARNING
0 = No
1 = Yes- See Also:
- Constant Field Values
-
TAG_RECOGNIZED_FACE_FLAGS
public static final int TAG_RECOGNIZED_FACE_FLAGS
- See Also:
- Constant Field Values
-
TAG_TITLE
public static final int TAG_TITLE
- See Also:
- Constant Field Values
-
TAG_BABY_NAME
public static final int TAG_BABY_NAME
- See Also:
- Constant Field Values
-
TAG_LOCATION
public static final int TAG_LOCATION
- See Also:
- Constant Field Values
-
TAG_COUNTRY
public static final int TAG_COUNTRY
- See Also:
- Constant Field Values
-
TAG_STATE
public static final int TAG_STATE
- See Also:
- Constant Field Values
-
TAG_CITY
public static final int TAG_CITY
- See Also:
- Constant Field Values
-
TAG_LANDMARK
public static final int TAG_LANDMARK
- See Also:
- Constant Field Values
-
TAG_INTELLIGENT_RESOLUTION
public static final int TAG_INTELLIGENT_RESOLUTION
0 = Off
2 = Auto
3 = On- See Also:
- Constant Field Values
-
TAG_MAKERNOTE_VERSION
public static final int TAG_MAKERNOTE_VERSION
- See Also:
- Constant Field Values
-
TAG_SCENE_MODE
public static final int TAG_SCENE_MODE
- See Also:
- Constant Field Values
-
TAG_WB_RED_LEVEL
public static final int TAG_WB_RED_LEVEL
- See Also:
- Constant Field Values
-
TAG_WB_GREEN_LEVEL
public static final int TAG_WB_GREEN_LEVEL
- See Also:
- Constant Field Values
-
TAG_WB_BLUE_LEVEL
public static final int TAG_WB_BLUE_LEVEL
- See Also:
- Constant Field Values
-
TAG_FLASH_FIRED
public static final int TAG_FLASH_FIRED
- See Also:
- Constant Field Values
-
TAG_TEXT_STAMP_2
public static final int TAG_TEXT_STAMP_2
- See Also:
- Constant Field Values
-
TAG_TEXT_STAMP_3
public static final int TAG_TEXT_STAMP_3
- See Also:
- Constant Field Values
-
TAG_BABY_AGE_1
public static final int TAG_BABY_AGE_1
- See Also:
- Constant Field Values
-
TAG_TRANSFORM_1
public static final int TAG_TRANSFORM_1
(decoded as two 16-bit signed integers) '-1 1' = Slim Low '-3 2' = Slim High '0 0' = Off '1 1' = Stretch Low '3 2' = Stretch High- 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
-
getDetectedFaces
public MetadataExtractor.Face[] getDetectedFaces()
-
getRecognizedFaces
public MetadataExtractor.Face[] getRecognizedFaces()
-
getAge
public MetadataExtractor.Age getAge(int tag)
Attempts to convert the underlying string value (as stored in the directory) into an Age object.- Parameters:
tag
- The tag identifier.- Returns:
- The parsed Age object, or null if the tag was empty of the value unable to be parsed.
-
-