imageIO.cpp File Reference

Source file defining functions for reading and writing images. More...

#include <fstream>
#include <png.h>
#include <dlrCommon/byteOrder.h>
#include <dlrComputerVision/imageIO.h>

Include dependency graph for imageIO.cpp:

Go to the source code of this file.


Namespaces

namespace  dlr::computerVision
 This namespace is still in the early stages of development.

Functions

Image< GRAY8 > dlr::computerVision::readPGM8 (const std::string &fileName)
Image< GRAY8 > dlr::computerVision::readPGM8 (const std::string &fileName, std::string &commentString)
Image< GRAY16 > dlr::computerVision::readPGM16 (const std::string &fileName)
Image< RGB8 > dlr::computerVision::readPPM8 (const std::string &fileName)
Image< RGB8 > dlr::computerVision::readPPM8 (const std::string &fileName, std::string &commentString)
void dlr::computerVision::writePGM8 (const std::string &fileName, const Image< GRAY8 > &outputImage, const std::string &comment)
void dlr::computerVision::writePGM16 (const std::string &fileName, const Image< GRAY16 > &outputImage, const std::string &comment)
void dlr::computerVision::writePPM8 (const std::string &fileName, const Image< RGB8 > &outputImage, const std::string &comment)


Detailed Description

Source file defining functions for reading and writing images.

Copyright (C) 2005 David LaRose, dlr@cs.cmu.edu See accompanying file, LICENSE.TXT, for details.

Revision
1053
Date
2008-10-17 16:27:02 -0400 (Fri, 17 Oct 2008)

Definition in file imageIO.cpp.


Generated on Wed Nov 25 12:15:06 2009 for dlrComputerVision Utility Library by  doxygen 1.5.8