Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

RawWriter Class Reference

#include <Raster/RawWriter.H>

Inheritance diagram for RawWriter:

Inheritance graph
[legend]
Collaboration diagram for RawWriter:

Collaboration graph
[legend]
List of all members.

Detailed Description

Write RAW image files.

Definition at line 48 of file RawWriter.H.

Public Member Functions

 RawWriter ()
virtual ~RawWriter ()
virtual std::string writeFrame (const GenericFrame &image, const std::string &fname)
 Write the frame to disk.

Static Public Member Functions

static void writeRGB (const Image< PixRGB< byte > > &image, const std::string &fname)
static void writeGray (const Image< byte > &image, const std::string &fname)
static void writeFloat (const Image< float > &image, const std::string &fname)


Member Function Documentation

std::string RawWriter::writeFrame const GenericFrame image,
const std::string fname
[virtual]
 

Write the frame to disk.

Returns:
the actual name of the file that was created (for some subclasses, this may be slightly different than the input fname, if e.g. the subclass decides to add or change a file extension)

Implements RasterWriter.

Definition at line 53 of file RawWriter.C.

References GenericFrame::asGrayF32(), GenericFrame::asGrayU16(), GenericFrame::asGrayU8(), GenericFrame::asRgbU16(), GenericFrame::asRgbU8(), GenericFrame::GRAY_F32, GenericFrame::GRAY_U16, GenericFrame::GRAY_U8, LFATAL, GenericFrame::nativeType(), GenericFrame::NONE, GenericFrame::RGB_F32, GenericFrame::RGB_U16, GenericFrame::RGB_U8, writeFloat(), writeGray(), and writeRGB().


The documentation for this class was generated from the following files:
Generated on Sun Mar 21 13:55:48 2010 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4