it.tidalwave.imageio.crw
Class CRWMetadata

java.lang.Object
  extended by javax.imageio.metadata.IIOMetadata
      extended by it.tidalwave.imageio.raw.RAWMetadataSupport
          extended by it.tidalwave.imageio.tiff.TIFFMetadataSupport
              extended by it.tidalwave.imageio.crw.CRWMetadata

public class CRWMetadata
extends TIFFMetadataSupport

Version:
CVS $Id: CRWMetadata.java,v 1.5 2006/02/13 22:41:19 fabriziogiudici Exp $
Author:
Fabrizio Giudici

Field Summary
 
Fields inherited from class it.tidalwave.imageio.tiff.TIFFMetadataSupport
rasterIFD, thumbnailHelperList
 
Fields inherited from class it.tidalwave.imageio.raw.RAWMetadataSupport
realPrimaryIFD
 
Fields inherited from class javax.imageio.metadata.IIOMetadata
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, nativeMetadataFormatName, standardFormatSupported
 
Constructor Summary
CRWMetadata(CanonCRWMakerNote canonMakerNote, Directory imageIFD, RAWImageInputStream iis)
           
 
Method Summary
 CanonCRWMakerNote findCameraSettings()
           
 int getBaseISO()
           
 CanonCRWMakerNote getCanonMakerNote()
           
 int getColorBitDepth()
           
 int getColorBW()
           
 int getColorTemperature()
          Return the color temperature.
 int getComponentBitDepth()
           
 int[] getDecoderTable()
           
 int getFileNumber()
           
 java.lang.String getFirmwareVersion()
           
 float getFocalLength()
           
 int getHeight()
           
 int getImageHeight()
           
 int getImageWidth()
           
 java.lang.String getModel()
           
 float getPixelAspectRatio()
           
 double[] getRBCoefficients()
           
 int getRotation()
           
 int getSensorBottomBorder()
           
 int getSensorHeight()
           
 int getSensorLeftBorder()
           
 int getSensorRightBorder()
           
 int getSensorTopBorder()
           
 int getSensorWidth()
           
 int getSerialNumber()
           
 int getThumbnailHeight()
           
 int getThumbnailWidth()
           
 java.util.Date getTimeStampAsDate()
           
 int getWhiteBalance()
           
 java.lang.String getWhiteBalanceAsString()
           
 int getWidth()
           
 boolean isColorTemperatureAvailable()
          Returns true if the color temperature is available.
 java.lang.String toString()
           
 
Methods inherited from class it.tidalwave.imageio.tiff.TIFFMetadataSupport
getExifIFD, getMakerNote, getNativeNode, getNativeTree, getPrimaryIFD, getRasterIFD, getStandardChromaNode, getStandardDimensionNode, getStandardDocumentNode, getThumbnailHeight, getThumbnailHelper, getThumbnailWidth, isRasterIFD, isThumbnailIFD, postInit
 
Methods inherited from class it.tidalwave.imageio.raw.RAWMetadataSupport
getAsTree, getExtraMetadataFormatNames, getNativeMetadataFormatName, isReadOnly, isStandardMetadataFormatSupported, mergeTree, reset
 
Methods inherited from class javax.imageio.metadata.IIOMetadata
activateController, getController, getDefaultController, getMetadataFormat, getMetadataFormatNames, getStandardCompressionNode, getStandardDataNode, getStandardTextNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, setController, setFromTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CRWMetadata

public CRWMetadata(CanonCRWMakerNote canonMakerNote,
                   Directory imageIFD,
                   RAWImageInputStream iis)
Method Detail

getWidth

public int getWidth()
Overrides:
getWidth in class TIFFMetadataSupport
Returns:

getHeight

public int getHeight()
Overrides:
getHeight in class TIFFMetadataSupport
Returns:

getCanonMakerNote

public CanonCRWMakerNote getCanonMakerNote()

getFileNumber

public int getFileNumber()

getImageWidth

public int getImageWidth()

getImageHeight

public int getImageHeight()

getThumbnailWidth

public int getThumbnailWidth()

getThumbnailHeight

public int getThumbnailHeight()

getPixelAspectRatio

public float getPixelAspectRatio()

getRotation

public int getRotation()

getComponentBitDepth

public int getComponentBitDepth()

getColorBitDepth

public int getColorBitDepth()

getColorBW

public int getColorBW()

getTimeStampAsDate

public java.util.Date getTimeStampAsDate()

getBaseISO

public int getBaseISO()

getFirmwareVersion

public java.lang.String getFirmwareVersion()

getModel

public java.lang.String getModel()

getSensorWidth

public int getSensorWidth()

getSensorHeight

public int getSensorHeight()

getSensorLeftBorder

public int getSensorLeftBorder()

getSensorTopBorder

public int getSensorTopBorder()

getSensorRightBorder

public int getSensorRightBorder()

getSensorBottomBorder

public int getSensorBottomBorder()

getFocalLength

public float getFocalLength()

getSerialNumber

public int getSerialNumber()

getDecoderTable

public int[] getDecoderTable()

findCameraSettings

public CanonCRWMakerNote findCameraSettings()

getWhiteBalance

public int getWhiteBalance()
Returns:

getWhiteBalanceAsString

public java.lang.String getWhiteBalanceAsString()
Returns:

getRBCoefficients

public double[] getRBCoefficients()
Returns:

isColorTemperatureAvailable

public boolean isColorTemperatureAvailable()
Returns true if the color temperature is available.

Returns:
true if the color temperature is available

getColorTemperature

public int getColorTemperature()
Return the color temperature.

Returns:
the color temperature

toString

public java.lang.String toString()
Overrides:
toString in class TIFFMetadataSupport