Static Public Member Functions | Private Member Functions
puma2::ImageWriter Class Reference

Write common image formats to file. More...

#include <ImageWriter.h>

List of all members.

Static Public Member Functions

static bool writeImage (const GrayLevelImage8 &img, std::string filename)
 default destructor
static bool writeImage (const GrayLevelImage16 &img, std::string filename)
static bool writeImage (const ColorImageRGB8 &img, std::string filename)
static bool writeImage (const ColorImageRGBa8 &img, std::string filename)
template<class T >
static bool writeImage (FeatureImage< T > &img, std::string filename)
 Writes a FeatureImage to a file.

Private Member Functions

 ImageWriter ()
 ~ImageWriter ()
 default constructor

Detailed Description

Write common image formats to file.

Author:
Detlev Droege
Date:
Februar 2007

Definition at line 29 of file ImageWriter.h.


Constructor & Destructor Documentation

puma2::ImageWriter::ImageWriter ( ) [inline, private]

Definition at line 31 of file ImageWriter.h.

puma2::ImageWriter::~ImageWriter ( ) [inline, private]

default constructor

Definition at line 32 of file ImageWriter.h.


Member Function Documentation

static bool puma2::ImageWriter::writeImage ( const GrayLevelImage8 img,
std::string  filename 
) [static]

default destructor

Write an image to file filename. The output file format wil be determined from the filename suffix.

Parameters:
[in]filenamethe filename of the image
[in]imgthe image object where the image data should go
Returns:
returns true for success, false otherwise
static bool puma2::ImageWriter::writeImage ( const GrayLevelImage16 img,
std::string  filename 
) [static]
static bool puma2::ImageWriter::writeImage ( const ColorImageRGB8 img,
std::string  filename 
) [static]
static bool puma2::ImageWriter::writeImage ( const ColorImageRGBa8 img,
std::string  filename 
) [static]
template<class T >
bool puma2::ImageWriter::writeImage ( FeatureImage< T > &  img,
std::string  filename 
) [static]

Writes a FeatureImage to a file.

Writes a FeatureImage to a file. Since the class FeatureImage is a template class, the implementation of this method has to be in the header file.

Definition at line 59 of file ImageWriter.h.


The documentation for this class was generated from the following file:


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:44