Functions | |
| template<typename I> | |
| void | load (util::array< I > &arr, const std::string &filename) |
| template<typename T> | |
| void | save (const util::array< T > &arr, const std::string &filename, int start_value=0) |
| template<typename T> | |
| void | save (const image1d< T > &ima, 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. |
Definition at line 93 of file plot/load.hh.
References mln::util::array< T >::append(), mln::util::array< T >::clear(), mln::trace::entering(), and mln::trace::exiting().
| void mln::io::plot::save | ( | const util::array< T > & | arr, | |
| const std::string & | filename, | |||
| int | start_value = 0 | |||
| ) | [inline] |
Definition at line 87 of file plot/save.hh.
References mln::trace::entering(), mln::trace::exiting(), and mln::util::array< T >::nelements().
| void mln::io::plot::save | ( | const image1d< T > & | ima, | |
| const std::string & | filename | |||
| ) | [inline] |
Definition at line 73 of file plot/save.hh.
References mln::image1d< T >::at_(), mln::image1d< T >::bbox(), mln::trace::entering(), mln::trace::exiting(), mln::box< P >::pmax(), and mln::box< P >::pmin().
| 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. |
1.5.6