Package gov.nih.mipav.model.file
Class MetadataExtractor.IccDescriptor
java.lang.Object
gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.IccDirectory>
gov.nih.mipav.model.file.MetadataExtractor.IccDescriptor
- Enclosing class:
MetadataExtractor
public class MetadataExtractor.IccDescriptor
extends MetadataExtractor.TagDescriptor<MetadataExtractor.IccDirectory>
- Author:
- Yuri Binev, Drew Noakes https://drewnoakes.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intFields inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
_directory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatDoubleAsString(double value, int precision, boolean zeroes) getDescription(int tagType) Returns a descriptive value of the specified tag for this image.private intgetInt32FromString(String string) private Stringprivate Stringprivate Stringprivate Stringprivate StringgetTagDataString(int tagType) Methods inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
convertBytesToVersionString, get7BitStringFromBytes, getBitFlagDescription, getByteLengthDescription, getDecimalRational, getEncodedTextDescription, getEpochTimeDescription, getFocalLengthDescription, getFormattedFloat, getFormattedInt, getFormattedString, getFStopDescription, getIndexedDescription, getIndexedDescription, getLensSpecificationDescription, getOrientationDescription, getRationalOrDoubleString, getShutterSpeedDescription, getSimpleRational, getStringFromBytes, getVersionBytesDescription
-
Field Details
-
ICC_TAG_TYPE_TEXT
private static final int ICC_TAG_TYPE_TEXT- See Also:
-
ICC_TAG_TYPE_DESC
private static final int ICC_TAG_TYPE_DESC- See Also:
-
ICC_TAG_TYPE_SIG
private static final int ICC_TAG_TYPE_SIG- See Also:
-
ICC_TAG_TYPE_MEAS
private static final int ICC_TAG_TYPE_MEAS- See Also:
-
ICC_TAG_TYPE_XYZ_ARRAY
private static final int ICC_TAG_TYPE_XYZ_ARRAY- See Also:
-
ICC_TAG_TYPE_MLUC
private static final int ICC_TAG_TYPE_MLUC- See Also:
-
ICC_TAG_TYPE_CURV
private static final int ICC_TAG_TYPE_CURV- See Also:
-
-
Constructor Details
-
IccDescriptor
-
-
Method Details
-
getDescription
Description copied from class:MetadataExtractor.TagDescriptorReturns a descriptive value of the specified tag for this image. Where possible, known values will be substituted here in place of the raw tokens actually kept in the metadata segment. If no substitution is available, the value provided bygetString(tagType)will be returned.- Overrides:
getDescriptionin classMetadataExtractor.TagDescriptor<MetadataExtractor.IccDirectory>- Parameters:
tagType- the tag to find a description for- Returns:
- a description of the image's value for the specified tag, or
nullif the tag hasn't been defined.
-
getTagDataString
-
formatDoubleAsString
-
getRenderingIntentDescription
-
getPlatformDescription
-
getProfileClassDescription
-
getProfileVersionDescription
-
getInt32FromString
- Throws:
IOException
-