\hypertarget{a02622}{
\section{mln::io::pnms Namespace Reference}
\label{dc/ddf/a02622}\index{mln::io::pnms@{mln::io::pnms}}
}


Namespace of pnms input/output handling.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename V $>$ }\\void \hyperlink{a02622_a87181fda6e2d1b4f7f5d4ed180b094c7}{load} (char type, \hyperlink{a00043}{image3d}$<$ V $>$ \&ima, const \hyperlink{a00027}{util::array}$<$ std::string $>$ \&filenames)
\begin{DoxyCompactList}\small\item\em Load pnm images as slices of a 3D Milena image. \item\end{DoxyCompactList}\item 
void \hyperlink{a02622_ad70069a699bdee07924068b84f649ccb}{load} (char type, \hyperlink{a00043}{image3d}$<$ bool $>$ \&ima, const \hyperlink{a00027}{util::array}$<$ std::string $>$ \&filenames)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Namespace of pnms input/output handling. 

\subsection{Function Documentation}
\hypertarget{a02622_a87181fda6e2d1b4f7f5d4ed180b094c7}{
\index{mln::io::pnms@{mln::io::pnms}!load@{load}}
\index{load@{load}!mln::io::pnms@{mln::io::pnms}}
\subsubsection[{load}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V $>$ void mln::io::pnms::load (
\begin{DoxyParamCaption}
\item[{char}]{ type, }
\item[{image3d$<$ V $>$ \&}]{ ima, }
\item[{const util::array$<$ std::string $>$ \&}]{ filenames}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dc/ddf/a02622_a87181fda6e2d1b4f7f5d4ed180b094c7}


Load pnm images as slices of a 3D Milena image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em type}]The type of the pnm files. \item[\mbox{\tt[out]} {\em ima}]A reference to the 3D image which will receive data. \item[\mbox{\tt[in]} {\em filenames}]The list of 2D images to load.. \end{DoxyParams}


Definition at line 79 of file pnms/load.hh.



References mln::make::image3d(), mln::util::array$<$ T $>$::is\_\-empty(), and mln::util::array$<$ T $>$::nelements().



Referenced by load().

\hypertarget{a02622_ad70069a699bdee07924068b84f649ccb}{
\index{mln::io::pnms@{mln::io::pnms}!load@{load}}
\index{load@{load}!mln::io::pnms@{mln::io::pnms}}
\subsubsection[{load}]{\setlength{\rightskip}{0pt plus 5cm}void mln::io::pnms::load (
\begin{DoxyParamCaption}
\item[{char}]{ type, }
\item[{image3d$<$ bool $>$ \&}]{ ima, }
\item[{const util::array$<$ std::string $>$ \&}]{ filenames}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{dc/ddf/a02622_ad70069a699bdee07924068b84f649ccb}
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

Definition at line 102 of file pnms/load.hh.



References mln::make::image3d(), mln::util::array$<$ T $>$::is\_\-empty(), load(), and mln::util::array$<$ T $>$::nelements().

