\hypertarget{a02633}{
\section{mln::labeling::impl::generic Namespace Reference}
\label{d6/d6a/a02633}\index{mln::labeling::impl::generic@{mln::labeling::impl::generic}}
}


Generic implementation namespace of labeling namespace.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename A , typename L $>$ }\\\hyperlink{a00027}{util::array}$<$ typename A::result $>$ \hyperlink{a02633_ae07ae628e911f341f775fe66e0a68566}{compute} (const \hyperlink{a00026}{Accumulator}$<$ A $>$ \&a\_\-, const \hyperlink{a00044}{Image}$<$ L $>$ \&label\_\-, const typename L::value \&nlabels)
\begin{DoxyCompactList}\small\item\em Generic implementation of \hyperlink{a02630_a1ac252bc27ff64d56f53c60ebb99afe1}{labeling::compute}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename A , typename L $>$ }\\\hyperlink{a00027}{util::array}$<$ typename A::result $>$ \hyperlink{a02633_a9b2651b2750099349dd872608578e242}{compute} (\hyperlink{a00027}{util::array}$<$ A $>$ \&accus, const \hyperlink{a00044}{Image}$<$ L $>$ \&label\_\-, const typename L::value \&nlabels)
\begin{DoxyCompactList}\small\item\em Generic implementation of \hyperlink{a02630_a1ac252bc27ff64d56f53c60ebb99afe1}{labeling::compute}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename A , typename I , typename L $>$ }\\\hyperlink{a00027}{util::array}$<$ typename A::result $>$ \hyperlink{a02633_a04694df7b3633c9fedc0c74aaebdee35}{compute} (\hyperlink{a00027}{util::array}$<$ A $>$ \&accus, const \hyperlink{a00044}{Image}$<$ I $>$ \&input\_\-, const \hyperlink{a00044}{Image}$<$ L $>$ \&label\_\-, const typename L::value \&nlabels)
\begin{DoxyCompactList}\small\item\em Generic implementation of \hyperlink{a02630_a1ac252bc27ff64d56f53c60ebb99afe1}{labeling::compute}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename A , typename I , typename L $>$ }\\\hyperlink{a00027}{util::array}$<$ typename A::result $>$ \hyperlink{a02633_a35e583f835dab72a3e20f6557f44eb64}{compute} (const \hyperlink{a00026}{Accumulator}$<$ A $>$ \&a\_\-, const \hyperlink{a00044}{Image}$<$ I $>$ \&input\_\-, const \hyperlink{a00044}{Image}$<$ L $>$ \&label\_\-, const typename L::value \&nlabels)
\begin{DoxyCompactList}\small\item\em Generic implementation of \hyperlink{a02630_a1ac252bc27ff64d56f53c60ebb99afe1}{labeling::compute}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Generic implementation namespace of labeling namespace. 

\subsection{Function Documentation}
\hypertarget{a02633_ae07ae628e911f341f775fe66e0a68566}{
\index{mln::labeling::impl::generic@{mln::labeling::impl::generic}!compute@{compute}}
\index{compute@{compute}!mln::labeling::impl::generic@{mln::labeling::impl::generic}}
\subsubsection[{compute}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename A , typename L $>$ {\bf util::array}$<$typename A ::result$>$ mln::labeling::impl::generic::compute (
\begin{DoxyParamCaption}
\item[{const Accumulator$<$ A $>$ \&}]{ a\_\-, }
\item[{const Image$<$ L $>$ \&}]{ label\_\-, }
\item[{const typename L::value \&}]{ nlabels}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d6/d6a/a02633_ae07ae628e911f341f775fe66e0a68566}


Generic implementation of \hyperlink{a02630_a1ac252bc27ff64d56f53c60ebb99afe1}{labeling::compute}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em a\_\-}]An accumulator. \item[\mbox{\tt[in]} {\em label\_\-}]The labeled image. \item[\mbox{\tt[in]} {\em nlabels}]The number of labels in {\ttfamily label}.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A \hyperlink{a00027}{util::array} of accumulator result (one result per label). 
\end{DoxyReturn}


Definition at line 204 of file labeling/compute.hh.

\hypertarget{a02633_a9b2651b2750099349dd872608578e242}{
\index{mln::labeling::impl::generic@{mln::labeling::impl::generic}!compute@{compute}}
\index{compute@{compute}!mln::labeling::impl::generic@{mln::labeling::impl::generic}}
\subsubsection[{compute}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename A , typename L $>$ {\bf util::array}$<$typename A ::result$>$ mln::labeling::impl::generic::compute (
\begin{DoxyParamCaption}
\item[{util::array$<$ A $>$ \&}]{ accus, }
\item[{const Image$<$ L $>$ \&}]{ label\_\-, }
\item[{const typename L::value \&}]{ nlabels}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d6/d6a/a02633_a9b2651b2750099349dd872608578e242}


Generic implementation of \hyperlink{a02630_a1ac252bc27ff64d56f53c60ebb99afe1}{labeling::compute}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em accus\_\-}]An array of accumulators. If the size is set to nlabels + 1, the accumulators are considered as initialized. Otherwise, the size is adjusted. \item[\mbox{\tt[in]} {\em label\_\-}]The labeled image. \item[\mbox{\tt[in]} {\em nlabels}]The number of labels in {\ttfamily label}.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A \hyperlink{a00027}{util::array} of accumulator result (one result per label). 
\end{DoxyReturn}


Definition at line 241 of file labeling/compute.hh.



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

\hypertarget{a02633_a04694df7b3633c9fedc0c74aaebdee35}{
\index{mln::labeling::impl::generic@{mln::labeling::impl::generic}!compute@{compute}}
\index{compute@{compute}!mln::labeling::impl::generic@{mln::labeling::impl::generic}}
\subsubsection[{compute}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename A , typename I , typename L $>$ {\bf util::array}$<$typename A ::result$>$ mln::labeling::impl::generic::compute (
\begin{DoxyParamCaption}
\item[{util::array$<$ A $>$ \&}]{ accus, }
\item[{const Image$<$ I $>$ \&}]{ input\_\-, }
\item[{const Image$<$ L $>$ \&}]{ label\_\-, }
\item[{const typename L::value \&}]{ nlabels}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d6/d6a/a02633_a04694df7b3633c9fedc0c74aaebdee35}


Generic implementation of \hyperlink{a02630_a1ac252bc27ff64d56f53c60ebb99afe1}{labeling::compute}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em accus}]An array of accumulators. \item[\mbox{\tt[in]} {\em input\_\-}]The input image. \item[\mbox{\tt[in]} {\em label\_\-}]The labeled image. \item[\mbox{\tt[in]} {\em nlabels}]The number of labels in {\ttfamily label}.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A \hyperlink{a00027}{util::array} of accumulator result (one result per label). 
\end{DoxyReturn}


Definition at line 321 of file labeling/compute.hh.



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

\hypertarget{a02633_a35e583f835dab72a3e20f6557f44eb64}{
\index{mln::labeling::impl::generic@{mln::labeling::impl::generic}!compute@{compute}}
\index{compute@{compute}!mln::labeling::impl::generic@{mln::labeling::impl::generic}}
\subsubsection[{compute}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename A , typename I , typename L $>$ {\bf util::array}$<$typename A ::result$>$ mln::labeling::impl::generic::compute (
\begin{DoxyParamCaption}
\item[{const Accumulator$<$ A $>$ \&}]{ a\_\-, }
\item[{const Image$<$ I $>$ \&}]{ input\_\-, }
\item[{const Image$<$ L $>$ \&}]{ label\_\-, }
\item[{const typename L::value \&}]{ nlabels}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d6/d6a/a02633_a35e583f835dab72a3e20f6557f44eb64}


Generic implementation of \hyperlink{a02630_a1ac252bc27ff64d56f53c60ebb99afe1}{labeling::compute}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em a\_\-}]An accumulator. \item[\mbox{\tt[in]} {\em input\_\-}]The input image. \item[\mbox{\tt[in]} {\em label\_\-}]The labeled image. \item[\mbox{\tt[in]} {\em nlabels}]The number of labels in {\ttfamily label}.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A \hyperlink{a00027}{util::array} of accumulator result (one result per label). 
\end{DoxyReturn}


Definition at line 283 of file labeling/compute.hh.

