$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
RAW

Classes

struct  mln::io::raw::raw_header
 Store raw file header. More...

Functions

raw_header mln::io::raw::get_header (const std::string &filename)
template<typename I >
void mln::io::raw::load (Image< I > &ima_, const std::string &filename)
template<typename I >
void mln::io::raw::save (const Image< I > &ima_, const std::string &filename)

Detailed Description

RAW I/O routines.

Function Documentation

raw_header mln::io::raw::get_header ( const std::string &  filename)

Retrieve header from a raw file.

template<typename I >
void mln::io::raw::load ( Image< I > &  ima_,
const std::string &  filename 
)

Load an image saved as a raw data file.

Parameters
[in,out]ima_The image to load.
[in]filenamethe destination.

This routine try to read two input files: 'filename' and 'filename.info'. 'filename' is the raw data. 'filename.info' store various information about the image.

template<typename I >
void mln::io::raw::save ( const Image< I > &  ima_,
const std::string &  filename 
)

Save a Milena image as a raw data file.

Parameters
[in]ima_The image to save.
[in]filenamethe destination.

This routine produce two output files: 'filename' and 'filename.info'. 'filename' is the raw data. 'filename.info' store various information about the image.