|
ContRap-Libraries
|
This file is a part of ContRap. More...
#include <cstring>#include <string>#include "math/array.h"#include "imageprocessing/imageexports.h"#include "imageprocessing/primitives.h"#include "core/object.h"Data Structures | |
| struct | crp::RGBAPixel |
| Class RGBA pixel defines pixels which have red green and blue values and an alpha channel value. More... | |
| class | crp::Image< T > |
| Class Image encapsulates (two-dimensional) images. More... | |
| class | crp::Image< T >::PrimitiveIterator |
| PrimitiveIterator iterates over the pixels of a primitive. More... | |
| class | crp::Image< T >::RectIterator |
| Class RectIterator iterates over a rectangle. More... | |
| class | crp::Image< T >::LineIterator |
| Class LineIterator iterates over a line. More... | |
Namespaces | |
| namespace | crp |
Typedefs | |
| typedef unsigned char | crp::GVPixel |
| Grayvalue pixel type. | |
Functions | |
| CONTRAP_IMAGES_API bool | crp::load_PPM (Image< RGBAPixel > &image, const std::string &file_name) |
| Loads a PPM image. | |
| CONTRAP_IMAGES_API bool | crp::save_PPM (const Image< RGBAPixel > &image, const std::string &file_name, bool ASCII) |
| Saves a PPM image. | |
| CONTRAP_IMAGES_API bool | crp::load_PFM (Image< float > &image, const std::string &file_name) |
| Loads a PFM image. | |
| CONTRAP_IMAGES_API bool | crp::save_PFM (const Image< float > &image, const std::string &file_name, bool ASCII) |
| Saves a PFM image. | |
| CONTRAP_IMAGES_API bool | crp::load_RGBA_image (Image< RGBAPixel > &image, const std::string &file_name) |
| Loads an RGBA image from file. | |
This file is a part of ContRap.
Copyright (c) 2009-2011 Aless Lasaruk
ContRap is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ContRap is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with ContRap. If not, see <http://www.gnu.org/licenses/>.
This file contains the declarations for image types
1.7.3