\hypertarget{a02607}{
\section{mln::io::pbm Namespace Reference}
\label{df/d65/a02607}\index{mln::io::pbm@{mln::io::pbm}}
}


Namespace of pbm input/output handling.  


\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
namespace \hyperlink{a02608}{impl}


\begin{DoxyCompactList}\small\item\em Namespace of pbm implementation details. \item\end{DoxyCompactList}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a02607_ad0c757aa5b127c6b58c0847ac5b51e97}{load} (\hyperlink{a00248}{image2d}$<$ bool $>$ \&ima, const std::string \&filename)
\begin{DoxyCompactList}\small\item\em Load a pbm image in a Milena image. \item\end{DoxyCompactList}\item 
\hyperlink{a00248}{image2d}$<$ bool $>$ \hyperlink{a02607_adf5e6295b098b8d9440b1b41bddfbfbb}{load} (const std::string \&filename)
\begin{DoxyCompactList}\small\item\em Load a pbm image in a image2d$<$float$>$. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\void \hyperlink{a02607_a8886b3d0f90240511669da0485136af2}{save} (const \hyperlink{a00044}{Image}$<$ I $>$ \&ima, const std::string \&filename)
\end{DoxyCompactItemize}


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

\subsection{Function Documentation}
\hypertarget{a02607_ad0c757aa5b127c6b58c0847ac5b51e97}{
\index{mln::io::pbm@{mln::io::pbm}!load@{load}}
\index{load@{load}!mln::io::pbm@{mln::io::pbm}}
\subsubsection[{load}]{\setlength{\rightskip}{0pt plus 5cm}void mln::io::pbm::load (
\begin{DoxyParamCaption}
\item[{image2d$<$ bool $>$ \&}]{ ima, }
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{df/d65/a02607_ad0c757aa5b127c6b58c0847ac5b51e97}


Load a pbm image in a Milena image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[out]} {\em ima}]A reference to the image2d$<$bool$>$ which will receive data. \item[\mbox{\tt[in]} {\em filename}]The source. \end{DoxyParams}


Definition at line 156 of file pbm/load.hh.

\hypertarget{a02607_adf5e6295b098b8d9440b1b41bddfbfbb}{
\index{mln::io::pbm@{mln::io::pbm}!load@{load}}
\index{load@{load}!mln::io::pbm@{mln::io::pbm}}
\subsubsection[{load}]{\setlength{\rightskip}{0pt plus 5cm}{\bf image2d}$<$ bool $>$ mln::io::pbm::load (
\begin{DoxyParamCaption}
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{df/d65/a02607_adf5e6295b098b8d9440b1b41bddfbfbb}


Load a pbm image in a image2d$<$float$>$. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em filename}]The image source.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An image2d$<$float$>$ which contains loaded data. 
\end{DoxyReturn}


Definition at line 128 of file pbm/load.hh.

\hypertarget{a02607_a8886b3d0f90240511669da0485136af2}{
\index{mln::io::pbm@{mln::io::pbm}!save@{save}}
\index{save@{save}!mln::io::pbm@{mln::io::pbm}}
\subsubsection[{save}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void mln::io::pbm::save (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ ima, }
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{df/d65/a02607_a8886b3d0f90240511669da0485136af2}
Save a Milena image as a pbm image.


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em ima}]The image to save. \item[\mbox{\tt[in,out]} {\em filename}]the destination. \end{DoxyParams}


Definition at line 118 of file pbm/save.hh.

