Functions | |
template<typename I> | |
void | load (util::array< I > &arr, const std::string &filename) |
template<typename T> | |
void | save (util::array< T > &arr, const std::string &filename, int start_value=0) |
Save a Milena array in a plot file. | |
template<typename I> | |
void | save (const image1d< I > &ima, const std::string &filename) |
Save a Milena 1D image in a plot file. |
void mln::io::plot::load | ( | util::array< I > & | arr, | |
const std::string & | filename | |||
) | [inline] |
Load a Milena 1D image from a plot file.
[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). |
[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().
void mln::io::plot::save | ( | util::array< T > & | arr, | |
const std::string & | filename, | |||
int | start_value = 0 | |||
) | [inline] |
void mln::io::plot::save | ( | const image1d< I > & | ima, | |
const std::string & | filename | |||
) | [inline] |
Save a Milena 1D image in a plot file.
[in] | ima | A reference to the image to save. |
[out] | filename | The output file. |