Package gov.nih.mipav.model.file
Class MetadataExtractor.BmpHeaderDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.BmpHeaderDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.BmpHeaderDirectory extends MetadataExtractor.Directory
- Author:
- Drew Noakes https://drewnoakes.com, Nadahar
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classMetadataExtractor.BmpHeaderDirectory.BitmapTypeclassMetadataExtractor.BmpHeaderDirectory.ColorEncodingclassMetadataExtractor.BmpHeaderDirectory.ColorSpaceTypeclassMetadataExtractor.BmpHeaderDirectory.CompressionclassMetadataExtractor.BmpHeaderDirectory.RenderingHalftoningAlgorithmclassMetadataExtractor.BmpHeaderDirectory.RenderingIntent
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.lang.Integer,java.lang.String>_tagNameMapstatic intTAG_ALPHA_MASKstatic intTAG_BITMAP_TYPEstatic intTAG_BITS_PER_PIXELstatic intTAG_BLUE_MASKstatic intTAG_COLOR_ENCODINGstatic intTAG_COLOR_SPACE_TYPEstatic intTAG_COLOUR_PLANESstatic intTAG_COMPRESSIONstatic intTAG_GAMMA_BLUEstatic intTAG_GAMMA_GREENstatic intTAG_GAMMA_REDstatic intTAG_GREEN_MASKstatic intTAG_HEADER_SIZEstatic intTAG_IMAGE_HEIGHTstatic intTAG_IMAGE_WIDTHstatic intTAG_IMPORTANT_COLOUR_COUNTstatic intTAG_INTENTstatic intTAG_LINKED_PROFILEstatic intTAG_PALETTE_COLOUR_COUNTstatic intTAG_RED_MASKstatic intTAG_RENDERINGstatic intTAG_X_PIXELS_PER_METERstatic intTAG_Y_PIXELS_PER_METER-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description BmpHeaderDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataExtractor.BmpHeaderDirectory.BitmapTypegetBitmapType()MetadataExtractor.BmpHeaderDirectory.ColorEncodinggetColorEncoding()MetadataExtractor.BmpHeaderDirectory.ColorSpaceTypegetColorSpaceType()MetadataExtractor.BmpHeaderDirectory.CompressiongetCompression()java.lang.StringgetName()Provides the name of the directory, for display purposes.MetadataExtractor.BmpHeaderDirectory.RenderingHalftoningAlgorithmgetRendering()MetadataExtractor.BmpHeaderDirectory.RenderingIntentgetRenderingIntent()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_BITMAP_TYPE
public static final int TAG_BITMAP_TYPE
- See Also:
- Constant Field Values
-
TAG_HEADER_SIZE
public static final int TAG_HEADER_SIZE
- See Also:
- Constant Field Values
-
TAG_IMAGE_HEIGHT
public static final int TAG_IMAGE_HEIGHT
- See Also:
- Constant Field Values
-
TAG_IMAGE_WIDTH
public static final int TAG_IMAGE_WIDTH
- See Also:
- Constant Field Values
-
TAG_COLOUR_PLANES
public static final int TAG_COLOUR_PLANES
- See Also:
- Constant Field Values
-
TAG_BITS_PER_PIXEL
public static final int TAG_BITS_PER_PIXEL
- See Also:
- Constant Field Values
-
TAG_COMPRESSION
public static final int TAG_COMPRESSION
- See Also:
- Constant Field Values
-
TAG_X_PIXELS_PER_METER
public static final int TAG_X_PIXELS_PER_METER
- See Also:
- Constant Field Values
-
TAG_Y_PIXELS_PER_METER
public static final int TAG_Y_PIXELS_PER_METER
- See Also:
- Constant Field Values
-
TAG_PALETTE_COLOUR_COUNT
public static final int TAG_PALETTE_COLOUR_COUNT
- See Also:
- Constant Field Values
-
TAG_IMPORTANT_COLOUR_COUNT
public static final int TAG_IMPORTANT_COLOUR_COUNT
- See Also:
- Constant Field Values
-
TAG_RENDERING
public static final int TAG_RENDERING
- See Also:
- Constant Field Values
-
TAG_COLOR_ENCODING
public static final int TAG_COLOR_ENCODING
- See Also:
- Constant Field Values
-
TAG_RED_MASK
public static final int TAG_RED_MASK
- See Also:
- Constant Field Values
-
TAG_GREEN_MASK
public static final int TAG_GREEN_MASK
- See Also:
- Constant Field Values
-
TAG_BLUE_MASK
public static final int TAG_BLUE_MASK
- See Also:
- Constant Field Values
-
TAG_ALPHA_MASK
public static final int TAG_ALPHA_MASK
- See Also:
- Constant Field Values
-
TAG_COLOR_SPACE_TYPE
public static final int TAG_COLOR_SPACE_TYPE
- See Also:
- Constant Field Values
-
TAG_GAMMA_RED
public static final int TAG_GAMMA_RED
- See Also:
- Constant Field Values
-
TAG_GAMMA_GREEN
public static final int TAG_GAMMA_GREEN
- See Also:
- Constant Field Values
-
TAG_GAMMA_BLUE
public static final int TAG_GAMMA_BLUE
- See Also:
- Constant Field Values
-
TAG_INTENT
public static final int TAG_INTENT
- See Also:
- Constant Field Values
-
TAG_LINKED_PROFILE
public static final int TAG_LINKED_PROFILE
- See Also:
- Constant Field Values
-
_tagNameMap
private final java.util.HashMap<java.lang.Integer,java.lang.String> _tagNameMap
-
-
Method Detail
-
getBitmapType
public MetadataExtractor.BmpHeaderDirectory.BitmapType getBitmapType()
-
getCompression
public MetadataExtractor.BmpHeaderDirectory.Compression getCompression()
-
getRendering
public MetadataExtractor.BmpHeaderDirectory.RenderingHalftoningAlgorithm getRendering()
-
getColorEncoding
public MetadataExtractor.BmpHeaderDirectory.ColorEncoding getColorEncoding()
-
getColorSpaceType
public MetadataExtractor.BmpHeaderDirectory.ColorSpaceType getColorSpaceType()
-
getRenderingIntent
public MetadataExtractor.BmpHeaderDirectory.RenderingIntent getRenderingIntent()
-
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
-
-