
#include "Image/ArrayData.H"#include "Image/Normalize.H"#include "Raster/RasterFileFormat.H"#include "Util/Types.H"#include "Util/sformat.H"#include <string>
Go to the source code of this file.
| Namespaces | |
| namespace | Raster | 
| For reading, writing and displaying images. | |
| Functions | |
| bool | Raster::fileExists (std::string fname, const RasterFileFormat ftype=RASFMT_AUTO, const bool chkFormat=false) | 
| Return true if file exists on disk. | |
| std::string | Raster::getImageComments (std::string fname, const RasterFileFormat ftype=RASFMT_AUTO) | 
| Get image comments without fully reading the image (PPM only). | |
| Dims | Raster::getImageDims (std::string fname, const RasterFileFormat ftype=RASFMT_AUTO) | 
| Get image dimensions without fully reading the image. | |
| GenericFrameSpec | Raster::getFrameSpec (std::string fname, const RasterFileFormat ftype=RASFMT_AUTO) | 
| Get image specifications without fully reading the image. | |
| GenericFrame | Raster::ReadFrame (std::string fname, RasterFileFormat ftype=RASFMT_AUTO) | 
| Read a GenericFrame from a raster file. | |
| Image< PixRGB< byte > > | Raster::ReadRGB (std::string fname, RasterFileFormat ftype=RASFMT_AUTO) | 
| Read an RGB byte image from a raster file. | |
| Image< byte > | Raster::ReadGray (std::string fname, RasterFileFormat ftype=RASFMT_AUTO) | 
| Read a greyscale byte image from a greyscale raster file. | |
| Image< byte > | Raster::ReadGrayNTSC (std::string fname, const RasterFileFormat ftype=RASFMT_AUTO) | 
| Read a greyscale byte image, converting to NTSC coordinates if necessary. | |
| Image< float > | Raster::ReadFloat (std::string fname, RasterFileFormat ftype=RASFMT_AUTO) | 
| Read a greyscale float image from a greyscale raster file. | |
| VideoFrame | Raster::ReadVideo (std::string fname, RasterFileFormat ftype=RASFMT_AUTO) | 
| Read a VideoFrame from a raster file. | |
| std::string | Raster::WriteFrame (const GenericFrame &image, std::string fname, RasterFileFormat ftype=RASFMT_AUTO) | 
| Write a GenericFrame to a raster file. | |
| std::string | Raster::WriteRGB (const Image< PixRGB< byte > > &image, std::string fname, const RasterFileFormat ftype=RASFMT_AUTO) | 
| Write an RGB byte image to a raster file. | |
| std::string | Raster::WriteGray (const Image< byte > &image, std::string fname, const RasterFileFormat ftype=RASFMT_AUTO) | 
| Write a grayscale byte image to a raster file. | |
| std::string | Raster::WriteFloat (const Image< float > &image, const int flags, std::string fname, const RasterFileFormat ftype=RASFMT_AUTO) | 
| Write a float image to a raster file. | |
| void | Raster::NoXV () | 
| Turn off the use of xv. | |
| void | Raster::Display (const char *file) | 
| calls xv to display an image that is on disk | |
| void | Raster::waitForKey () | 
| wait for the [return] key | |
| void | Raster::VisuRGB (const Image< PixRGB< byte > > &image, std::string fname, const RasterFileFormat ftype=RASFMT_AUTO) | 
| Save image of type Image< PixRGB<byte> > to disk then display it using xv. | |
| void | Raster::VisuGray (const Image< byte > &image, std::string fname, const RasterFileFormat ftype=RASFMT_AUTO) | 
| Save image of type Image<byte> to disk then display it using xv. | |
| void | Raster::VisuFloat (const Image< float > &image, const int flags, std::string fname, const RasterFileFormat ftype=RASFMT_AUTO) | 
| Save image of type Image<float> to disk then display it using xv. | |
Writes a raster image to disk / reads it / displays it
Definition in file Raster.H.
 1.6.3
 1.6.3