\hypertarget{a02613}{
\section{mln::io::pfm Namespace Reference}
\label{db/d6a/a02613}\index{mln::io::pfm@{mln::io::pfm}}
}


Namespace of pfm input/output handling.  


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


\begin{DoxyCompactList}\small\item\em Implementation namespace of pfm namespace. \item\end{DoxyCompactList}

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


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

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


Load a pfm image in a Milena image. 


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


Definition at line 162 of file pfm/load.hh.

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


Load a pfm 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 138 of file pfm/load.hh.

\hypertarget{a02613_af1f8baf815230ad408ab41bfd9b18923}{
\index{mln::io::pfm@{mln::io::pfm}!save@{save}}
\index{save@{save}!mln::io::pfm@{mln::io::pfm}}
\subsubsection[{save}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void mln::io::pfm::save (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ ima, }
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d6a/a02613_af1f8baf815230ad408ab41bfd9b18923}


Save a Milena image as a pfm 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 101 of file pfm/save.hh.

