mln::io::plot Namespace Reference

Namespace of plot input/output handling. More...


Functions

template<typename I >
void load (util::array< I > &arr, const std::string &filename)
template<typename I >
void save (util::array< I > &arr, const std::string &filename, int start_value=0)
template<typename I >
void save (image1d< I > &ima, const std::string &filename, int start_value=0)


Detailed Description

Namespace of plot input/output handling.


Function Documentation

template<typename I >
void mln::io::plot::load ( util::array< I > &  arr,
const std::string &  filename 
) [inline]

Load a Milena 1D image from a plot file.

Parameters:
[in] ima A reference to the image to load.
[out] filename The output file.
[in] start_value The start index value of the plot (optional).
Load a Milena array from a plot file.

Parameters:
[in] arr A reference to the array to load.
[out] filename The output file.

References mln::util::array< T >::append(), and mln::util::array< T >::clear().

template<typename I >
void mln::io::plot::save ( util::array< I > &  arr,
const std::string &  filename,
int  start_value = 0 
) [inline]

Save a Milena array in a plot file.

Parameters:
[in] arr A reference to the array to save.
[out] filename The output file.
[in] start_value The start index value of the plot (optional).

References mln::util::array< T >::nelements().

template<typename I >
void mln::io::plot::save ( image1d< I > &  ima,
const std::string &  filename,
int  start_value = 0 
) [inline]

Save a Milena 1D image in a plot file.

Parameters:
[in] ima A reference to the image to save.
[out] filename The output file.
[in] start_value The start index value of the plot (optional).

References mln::image1d< T >::ninds().


Generated on Tue Jul 14 16:33:06 2009 for Milena (Olena) by  doxygen 1.5.9