Write common image formats to file. More...
#include <ImageWriter.h>
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 | |
| 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.
| 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.
| [in] | filename | the filename of the image |
| [in] | img | the image object where the image data should go |
| 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] |
| 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.