RasterParser Class Reference

This class defines a generic interface for parsing image files. More...

#include <Raster/RasterParser.H>

Inheritance diagram for RasterParser:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~RasterParser ()
 Virtual destructor for proper destruction of derived classes.
virtual GenericFrameSpec getFrameSpec () const =0
 Get the specifications of the image without fully reading it.
virtual std::string getComments () const =0
 Get the comments from the image without fully reading it.
virtual uint getTagCount () const =0
 Get image tags if the image supports them.
virtual bool getTag (uint tag, std::string &name, std::string &value) const =0
 Get image tags if the image supports them.
virtual GenericFrame getFrame ()=0
 Get a GenericFrame representation from the raster file.

Detailed Description

This class defines a generic interface for parsing image files.

Definition at line 53 of file RasterParser.H.


Constructor & Destructor Documentation

RasterParser::~RasterParser (  )  [virtual]

Virtual destructor for proper destruction of derived classes.

Definition at line 40 of file RasterParser.C.


Member Function Documentation

virtual std::string RasterParser::getComments (  )  const [pure virtual]

Get the comments from the image without fully reading it.

Implemented in DpxParser, JpegParser, PfmParser, PfzParser, PngParser, PnmParser, and YuvParser.

virtual GenericFrame RasterParser::getFrame (  )  [pure virtual]

Get a GenericFrame representation from the raster file.

Derived classes should implement this so that the native representation of the GenericFrame best matches the native format of the raster file (e.g., rgb, grayscale, floating-point, video-yuv).

Implemented in DpxParser, JpegParser, PfmParser, PfzParser, PngParser, PnmParser, and YuvParser.

virtual GenericFrameSpec RasterParser::getFrameSpec (  )  const [pure virtual]

Get the specifications of the image without fully reading it.

Implemented in DpxParser, JpegParser, PfmParser, PfzParser, PngParser, PnmParser, and YuvParser.

virtual bool RasterParser::getTag ( uint  tag,
std::string name,
std::string value 
) const [pure virtual]

Get image tags if the image supports them.

Implemented in DpxParser, JpegParser, PfmParser, PfzParser, PngParser, PnmParser, and YuvParser.

virtual uint RasterParser::getTagCount (  )  const [pure virtual]

Get image tags if the image supports them.

Implemented in DpxParser, JpegParser, PfmParser, PfzParser, PngParser, PnmParser, and YuvParser.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:46 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3