\hypertarget{a02625}{
\section{mln::io::raw Namespace Reference}
\label{d5/d95/a02625}\index{mln::io::raw@{mln::io::raw}}
}


Namespace of raw input/output handling.  


\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{a00255}{raw\_\-header}
\begin{DoxyCompactList}\small\item\em Store raw file header. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00255}{raw\_\-header} \hyperlink{a02625_a42e929198cc5b991a68abc140f28e46a}{get\_\-header} (const std::string \&filename)
\begin{DoxyCompactList}\small\item\em Retrieve header in a raw file. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\void \hyperlink{a02625_a2369ce978a11138502ea47cfb3e622ac}{load} (\hyperlink{a00044}{Image}$<$ I $>$ \&ima\_\-, const std::string \&filename)
\begin{DoxyCompactList}\small\item\em Load an image saved as a raw data file. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\void \hyperlink{a02625_a00bf801c29d7efa16e36aa4cabcbb1f3}{save} (const \hyperlink{a00044}{Image}$<$ I $>$ \&ima\_\-, const std::string \&filename)
\begin{DoxyCompactList}\small\item\em Save a Milena image as a raw data file. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


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

\subsection{Function Documentation}
\hypertarget{a02625_a42e929198cc5b991a68abc140f28e46a}{
\index{mln::io::raw@{mln::io::raw}!get\_\-header@{get\_\-header}}
\index{get\_\-header@{get\_\-header}!mln::io::raw@{mln::io::raw}}
\subsubsection[{get\_\-header}]{\setlength{\rightskip}{0pt plus 5cm}{\bf raw\_\-header} mln::io::raw::get\_\-header (
\begin{DoxyParamCaption}
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)}}
\label{d5/d95/a02625_a42e929198cc5b991a68abc140f28e46a}


Retrieve header in a raw file. 



Definition at line 68 of file raw/get\_\-header.hh.



References mln::util::array$<$ T $>$::resize().

\hypertarget{a02625_a2369ce978a11138502ea47cfb3e622ac}{
\index{mln::io::raw@{mln::io::raw}!load@{load}}
\index{load@{load}!mln::io::raw@{mln::io::raw}}
\subsubsection[{load}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void mln::io::raw::load (
\begin{DoxyParamCaption}
\item[{Image$<$ I $>$ \&}]{ ima\_\-, }
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)}}
\label{d5/d95/a02625_a2369ce978a11138502ea47cfb3e622ac}


Load an image saved as a raw data file. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in,out]} {\em ima\_\-}]The image to load. \item[\mbox{\tt[in]} {\em filename}]the destination.\end{DoxyParams}
This routine try to read two input files: 'filename' and 'filename.info'. 'filename' is the raw data. 'filename.info' store various information about the image. 

Definition at line 184 of file raw/load.hh.

\hypertarget{a02625_a00bf801c29d7efa16e36aa4cabcbb1f3}{
\index{mln::io::raw@{mln::io::raw}!save@{save}}
\index{save@{save}!mln::io::raw@{mln::io::raw}}
\subsubsection[{save}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void mln::io::raw::save (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ ima\_\-, }
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)}}
\label{d5/d95/a02625_a00bf801c29d7efa16e36aa4cabcbb1f3}


Save a Milena image as a raw data file. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em ima\_\-}]The image to save. \item[\mbox{\tt[in]} {\em filename}]the destination.\end{DoxyParams}
This routine produce two output files: 'filename' and 'filename.info'. 'filename' is the raw data. 'filename.info' store various information about the image. 

Definition at line 135 of file raw/save.hh.

