Functions | |
template<typename V> | |
void | load (char type, image3d< V > &ima, const util::array< std::string > &filenames) |
Load pnm images as slices of a 3D Milena image. |
void mln::io::pnms::load | ( | char | type, | |
image3d< V > & | ima, | |||
const util::array< std::string > & | filenames | |||
) | [inline] |
Load pnm images as slices of a 3D Milena image.
[in] | type | The type of the pnm files. |
[out] | ima | A reference to the 3D image which will receive data. |
[in] | filenames | The list of 2D images to load.. |
References mln::make::image3d(), mln::util::array< T >::is_empty(), and mln::util::array< T >::nelements().
Referenced by mln::io::pbms::load().