\hypertarget{a02650}{
\section{mln::make Namespace Reference}
\label{d5/d9a/a02650}\index{mln::make@{mln::make}}
}


Namespace of routines that help to make Milena's objects.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$unsigned D, typename G , typename V $>$ }\\\hyperlink{a00320}{p\_\-set}$<$ \hyperlink{a00154}{complex\_\-psite}$<$ D, G $>$ $>$ \hyperlink{a02650_af222134c2ebb76d2587fe9b8454b7280}{attachment} (const \hyperlink{a00154}{complex\_\-psite}$<$ D, G $>$ \&f, const \hyperlink{a00151}{complex\_\-image}$<$ D, G, V $>$ \&ima)
\begin{DoxyCompactList}\small\item\em Compute the attachment of the cell corresponding to the facet {\itshape f\/} to the image {\itshape ima\/}. \item\end{DoxyCompactList}\item 
\hyperlink{a00135}{mln::box1d} \hyperlink{a02650_abc7a2aaf89ff6055c9ac198f55f5ce5d}{box1d} (\hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} min\_\-ind, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} max\_\-ind)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a01799_a72a6b7f7e0bab492ee5bf8a426dadf0b}{mln::box1d}. \item\end{DoxyCompactList}\item 
\hyperlink{a00135}{mln::box1d} \hyperlink{a02650_a4ac78d31d4f4fc5fe688a7bb6bbd0bf1}{box1d} (unsigned ninds)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a01799_a72a6b7f7e0bab492ee5bf8a426dadf0b}{mln::box1d}. \item\end{DoxyCompactList}\item 
\hyperlink{a00135}{mln::box2d} \hyperlink{a02650_a1f800ae469837bc42a9a0f5818a2b5fd}{box2d} (unsigned nrows, unsigned ncols)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a01799_a944afc8b3385351cb593d3a4841094fa}{mln::box2d}. \item\end{DoxyCompactList}\item 
\hyperlink{a00135}{mln::box2d} \hyperlink{a02650_a2278c47783e95f2140b542622ff94d35}{box2d} (\hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} min\_\-row, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} min\_\-col, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} max\_\-row, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} max\_\-col)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a01799_a944afc8b3385351cb593d3a4841094fa}{mln::box2d}. \item\end{DoxyCompactList}\item 
\hyperlink{a00135}{mln::box2d\_\-h} \hyperlink{a02650_a126841a6e2400c818fffa0b6507a10d7}{box2d\_\-h} (\hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} min\_\-row, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} min\_\-col, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} max\_\-row, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} max\_\-col)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a01799_ad70d0654638a326e8839211ade7b8019}{mln::box2d\_\-h}. \item\end{DoxyCompactList}\item 
\hyperlink{a00135}{mln::box2d\_\-h} \hyperlink{a02650_aa24f8720d567a1e76b6f27ec17e7a936}{box2d\_\-h} (unsigned nrows, unsigned ncols)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a01799_ad70d0654638a326e8839211ade7b8019}{mln::box2d\_\-h}. \item\end{DoxyCompactList}\item 
\hyperlink{a00135}{mln::box3d} \hyperlink{a02650_ac379d14c9f94f79a9fcbf943db7af85d}{box3d} (unsigned nslis, unsigned nrows, unsigned ncols)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a01799_acdb5795a0e6bf9ff5fcd78b84e6b8595}{mln::box3d}. \item\end{DoxyCompactList}\item 
\hyperlink{a00135}{mln::box3d} \hyperlink{a02650_a5de9b1eb17d18a9b2cd8d1f7ab1e9513}{box3d} (\hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} min\_\-sli, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} min\_\-row, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} min\_\-col, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} max\_\-sli, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} max\_\-row, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} max\_\-col)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a01799_acdb5795a0e6bf9ff5fcd78b84e6b8595}{mln::box3d}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$unsigned D, typename G $>$ }\\\hyperlink{a00320}{p\_\-set}$<$ \hyperlink{a00154}{complex\_\-psite}$<$ D, G $>$ $>$ \hyperlink{a02650_a18888ff15648ff1b7edda80af6d7e68c}{cell} (const \hyperlink{a00154}{complex\_\-psite}$<$ D, G $>$ \&f)
\begin{DoxyCompactList}\small\item\em Compute the set of faces of the cell corresponding to the facet {\itshape f\/}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename T , typename U $>$ }\\\hyperlink{a00392}{util::couple}$<$ T, U $>$ \hyperlink{a02650_af33af3b72a0cabf0c9746836ea0c6748}{couple} (const T \&val1, const T \&val2)
\begin{DoxyCompactList}\small\item\em Construct an \hyperlink{a00392}{mln::util::couple} on-\/the-\/fly. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$unsigned D, typename G , typename V $>$ }\\\hyperlink{a00320}{p\_\-set}$<$ \hyperlink{a00154}{complex\_\-psite}$<$ D, G $>$ $>$ \hyperlink{a02650_a02c0f09013adde449dea3a7ccfcc73e2}{detachment} (const \hyperlink{a00154}{complex\_\-psite}$<$ D, G $>$ \&f, const \hyperlink{a00151}{complex\_\-image}$<$ D, G, V $>$ \&ima)
\begin{DoxyCompactList}\small\item\em Compute the detachment of the cell corresponding to the facet {\itshape f\/} to the image {\itshape ima\/}. \item\end{DoxyCompactList}\item 
\hyperlink{a00178}{mln::dpoint2d\_\-h} \hyperlink{a02650_ac4003ca165b2008e356948e07c7dd86d}{dpoint2d\_\-h} (\hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} row, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} col)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a01799_a22a50a5da37bc9eafe8efe3a5c5b7024}{mln::dpoint2d\_\-h}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename G , typename P $>$ }\\\hyperlink{a00303}{p\_\-edges}$<$ G, pw::cst\_\-$<$ P $>$ $>$ \hyperlink{a02650_a5d00bffcd904e5756221887c0fd8561f}{dummy\_\-p\_\-edges} (const \hyperlink{a00040}{Graph}$<$ G $>$ \&g\_\-, const P \&dummy\_\-site)
\begin{DoxyCompactList}\small\item\em Create a \hyperlink{a00303}{p\_\-edges} which associate a graph element to a constant site. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename G $>$ }\\\hyperlink{a00303}{p\_\-edges}$<$ G $>$ \hyperlink{a02650_acb2313ee0e2e7f34119e3cb400623705}{dummy\_\-p\_\-edges} (const \hyperlink{a00040}{Graph}$<$ G $>$ \&g)
\begin{DoxyCompactList}\small\item\em Create a \hyperlink{a00303}{p\_\-edges} which associate a graph element to a constant site. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename G , typename P $>$ }\\\hyperlink{a00325}{p\_\-vertices}$<$ G, pw::cst\_\-$<$ P $>$ $>$ \hyperlink{a02650_a87ffc5ffd0348db727af232e5f531d08}{dummy\_\-p\_\-vertices} (const \hyperlink{a00040}{Graph}$<$ G $>$ \&g\_\-, const P \&dummy\_\-site)
\begin{DoxyCompactList}\small\item\em Create a \hyperlink{a00325}{p\_\-vertices} which associate a graph element to a constant site. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename G $>$ }\\\hyperlink{a00325}{p\_\-vertices}$<$ G $>$ \hyperlink{a02650_aa3c8d4c8494a22bce39f252ad53772d1}{dummy\_\-p\_\-vertices} (const \hyperlink{a00040}{Graph}$<$ G $>$ \&g)
\begin{DoxyCompactList}\small\item\em Create a \hyperlink{a00325}{p\_\-vertices} which associate a graph element to a constant site. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V , typename G $>$ }\\\hyperlink{a00184}{mln::edge\_\-image}$<$ void, V, G $>$ \hyperlink{a02650_a3aabbdb013570a4d2676a5c86d0f1005}{edge\_\-image} (const \hyperlink{a00040}{Graph}$<$ G $>$ \&g, const fun::i2v::array$<$ V $>$ \&fv)
\begin{DoxyCompactList}\small\item\em Construct an edge image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename FV , typename G $>$ }\\\hyperlink{a00184}{mln::edge\_\-image}$<$ void, typename FV::result, G $>$ \hyperlink{a02650_a3a55b12f4470e99c750dbf10bb60e4f6}{edge\_\-image} (const \hyperlink{a00040}{Graph}$<$ G $>$ \&g, const \hyperlink{a00034}{Function\_\-v2v}$<$ FV $>$ \&fv)
\begin{DoxyCompactList}\small\item\em Construct an edge image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename FP , typename FV , typename G $>$ }\\\hyperlink{a00184}{mln::edge\_\-image}$<$ typename FP::result, typename FV::result, G $>$ \hyperlink{a02650_a1b2415904518d8cca63c51aa001f4515}{edge\_\-image} (const \hyperlink{a00040}{Graph}$<$ G $>$ \&g\_\-, const \hyperlink{a00034}{Function\_\-v2v}$<$ FP $>$ \&fp, const \hyperlink{a00034}{Function\_\-v2v}$<$ FV $>$ \&fv)
\begin{DoxyCompactList}\small\item\em Construct an edge image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename P , typename V , typename G , typename FP , typename FV $>$ }\\\hyperlink{a00184}{mln::edge\_\-image}$<$ typename FP::result, typename FV::result, G $>$ \hyperlink{a02650_a6281b6e0e1b194356b9d4d15623f3b4e}{edge\_\-image} (const \hyperlink{a00440}{mln::vertex\_\-image}$<$ P, V, G $>$ \&v\_\-ima\_\-, const \hyperlink{a00303}{p\_\-edges}$<$ G, FP $>$ pe, const \hyperlink{a00036}{Function\_\-vv2v}$<$ FV $>$ \&fv\_\-)
\begin{DoxyCompactList}\small\item\em Construct an edge image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename P , typename V , typename G , typename FV $>$ }\\\hyperlink{a00184}{mln::edge\_\-image}$<$ void, typename FV::result, G $>$ \hyperlink{a02650_a54f92cca7752e1e25846b097aecc4644}{edge\_\-image} (const \hyperlink{a00440}{mln::vertex\_\-image}$<$ P, V, G $>$ \&v\_\-ima\_\-, const \hyperlink{a00036}{Function\_\-vv2v}$<$ FV $>$ \&fv\_\-)
\begin{DoxyCompactList}\small\item\em Construct an edge image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename P , typename V , typename G , typename F $>$ }\\\hyperlink{a00184}{mln::edge\_\-image}$<$ void, bool, G $>$ \hyperlink{a02650_a50e247ad1472ed476ca63be02953e81c}{edge\_\-image} (const \hyperlink{a00440}{mln::vertex\_\-image}$<$ P, V, G $>$ \&v\_\-ima\_\-, const \hyperlink{a00033}{Function\_\-v2b}$<$ F $>$ \&fv\_\-)
\begin{DoxyCompactList}\small\item\em Construct an edge image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename T , unsigned N$>$ }\\\hyperlink{a00130}{algebra::h\_\-mat}$<$ mlc\_\-sqrt\_\-int(N), T $>$ \hyperlink{a02650_a3be97f0af0651929572f6159e3c6a121}{h\_\-mat} (const T(\&tab)\mbox{[}N\mbox{]})
\begin{DoxyCompactList}\small\item\em Create an mln::algebra::mat$<$n,n,T$>$. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V , unsigned L$>$ }\\\hyperlink{a00247}{mln::image1d}$<$ V $>$ \hyperlink{a02650_a12a213b30c32766d959c35ff099ec2b0}{image} (V(\&values)\mbox{[}L\mbox{]})
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a00247}{image1d} from an 1D array of values. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V , unsigned R, unsigned C$>$ }\\\hyperlink{a00248}{mln::image2d}$<$ V $>$ \hyperlink{a02650_a4a6ef1fe2a86917d21dbd3f55c1b743d}{image} (V(\&values)\mbox{[}R\mbox{]}\mbox{[}C\mbox{]})
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a00248}{image2d} from an 2D array of values. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V , unsigned S, unsigned R, unsigned C$>$ }\\\hyperlink{a00043}{mln::image3d}$<$ V $>$ \hyperlink{a02650_a22424bb35d4536744bcecaa64e33bcd6}{image} (V(\&values)\mbox{[}S\mbox{]}\mbox{[}R\mbox{]}\mbox{[}C\mbox{]})
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a00043}{image3d} from an 3D array of values. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V , unsigned S$>$ }\\\hyperlink{a00248}{mln::image2d}$<$ V $>$ \hyperlink{a02650_a13af7ccd966cc477d7402c6513ebd50f}{image2d} (V(\&values)\mbox{[}S\mbox{]})
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a00248}{image2d} from an 2D array of values. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\\hyperlink{a00043}{mln::image3d}$<$ typename I::value $>$ \hyperlink{a02650_a698cc87768d3266450a7566d4d2f4624}{image3d} (const \hyperlink{a00044}{Image}$<$ I $>$ \&ima)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a00043}{image3d} from a 2D image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\\hyperlink{a00043}{mln::image3d}$<$ typename I::value $>$ \hyperlink{a02650_ae0f332717b7ad7ceac89acde01941493}{image3d} (const \hyperlink{a00027}{util::array}$<$ I $>$ \&ima)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a00043}{image3d} from an array of 2D images. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename N $>$ }\\\hyperlink{a00396}{util::graph} \hyperlink{a02650_aa29d73f16fcffe13e095bc5f96e4cd8d}{influence\_\-zone\_\-adjacency\_\-graph} (const \hyperlink{a00044}{Image}$<$ I $>$ \&iz\_\-, const \hyperlink{a00296}{Neighborhood}$<$ N $>$ \&nbh, const typename I::value \&nlabels)
\begin{DoxyCompactList}\small\item\em Create a graph from an influence zone image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$unsigned n, unsigned m, typename T $>$ }\\algebra::mat$<$ n, m, T $>$ \hyperlink{a02650_ae209c1320afa760e17be773a1c48e4d5}{mat} (const T(\&tab)\mbox{[}n $\ast$m\mbox{]})
\begin{DoxyCompactList}\small\item\em Create an mln::algebra::mat$<$n,m,T$>$. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\\hyperlink{a00407}{util::ord\_\-pair}$<$ T $>$ \hyperlink{a02650_a35c7bfd962ac12f37dfc8791ae5e06c5}{ord\_\-pair} (const T \&val1, const T \&val2)
\begin{DoxyCompactList}\small\item\em Construct an \hyperlink{a00407}{mln::util::ord\_\-pair} on-\/the-\/fly. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename W , typename G $>$ }\\\hyperlink{a00303}{p\_\-edges}$<$ G, fun::i2v::array$<$ \hyperlink{a00410}{util::site\_\-pair}$<$ typename W::site $>$ $>$ $>$ \hyperlink{a02650_a9f5a16de7a6d987e56f8cb452f9635b6}{p\_\-edges\_\-with\_\-mass\_\-centers} (const \hyperlink{a00044}{Image}$<$ W $>$ \&wst\_\-, const \hyperlink{a00040}{Graph}$<$ G $>$ \&g\_\-)
\begin{DoxyCompactList}\small\item\em Construct a \hyperlink{a00303}{p\_\-edges} from a watershed image and a region adjacency graph (RAG). \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename W , typename G $>$ }\\\hyperlink{a00325}{p\_\-vertices}$<$ G, fun::i2v::array$<$ typename W::site $>$ $>$ \hyperlink{a02650_a000313f5d9ae2205b5e6281d47818111}{p\_\-vertices\_\-with\_\-mass\_\-centers} (const \hyperlink{a00044}{Image}$<$ W $>$ \&wst\_\-, const \hyperlink{a00040}{Graph}$<$ G $>$ \&g\_\-)
\begin{DoxyCompactList}\small\item\em Construct a \hyperlink{a00325}{p\_\-vertices} from a watershed image and a region adjacency graph (RAG). \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\\hyperlink{a00408}{mln::util::pix}$<$ I $>$ \hyperlink{a02650_a52368ee3c07753ea0a2bbbb4682dd3c7}{pix} (const \hyperlink{a00044}{Image}$<$ I $>$ \&ima, const typename I::psite \&p)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a00408}{mln::util::pix} from an image {\ttfamily ima} and a psite {\ttfamily p}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\\hyperlink{a00326}{mln::pixel}$<$ I $>$ \hyperlink{a02650_ad36a647a6f56a41e3af70d9a511ff09c}{pixel} (\hyperlink{a00044}{Image}$<$ I $>$ \&ima, const typename I::psite \&p)
\begin{DoxyCompactList}\small\item\em Create a \hyperlink{a00326}{mln::pixel} from a mutable image {\ttfamily ima} and a point {\ttfamily p}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\\hyperlink{a00326}{mln::pixel}$<$ const I $>$ \hyperlink{a02650_af4aba0a1a7ce01068e72197e5cce6754}{pixel} (const \hyperlink{a00044}{Image}$<$ I $>$ \&ima, const typename I::psite \&p)
\begin{DoxyCompactList}\small\item\em Create a \hyperlink{a00326}{mln::pixel} from a constant image {\ttfamily ima} and a point {\ttfamily p}. \item\end{DoxyCompactList}\item 
\hyperlink{a00330}{mln::point2d\_\-h} \hyperlink{a02650_aaefd31ad3f47a5903fe91207d7715833}{point2d\_\-h} (\hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} row, \hyperlink{a02538_acc37e9568f79048ce08f859b409755f9}{def::coord} col)
\begin{DoxyCompactList}\small\item\em Create an \hyperlink{a01799_a7798683d48cf3f5e29c5653bf4bf43bb}{mln::point2d\_\-h}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename N $>$ }\\\hyperlink{a00392}{util::couple}$<$ \hyperlink{a00396}{util::graph}, typename mln::trait::concrete$<$ I $>$::ret $>$ \hyperlink{a02650_a0dccc493c87e97cc9194d5bfce759421}{rag\_\-and\_\-labeled\_\-wsl} (const \hyperlink{a00044}{Image}$<$ I $>$ \&wshd\_\-, const \hyperlink{a00296}{Neighborhood}$<$ N $>$ \&nbh\_\-, const typename I::value \&nbasins)
\begin{DoxyCompactList}\small\item\em Create a region adjacency graph and a label image of the watershed line from a watershed image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename N $>$ }\\\hyperlink{a00396}{util::graph} \hyperlink{a02650_a1eb2e79d8af7fe19891f9cbed6c6c656}{region\_\-adjacency\_\-graph} (const \hyperlink{a00044}{Image}$<$ I $>$ \&wshd\_\-, const \hyperlink{a00296}{Neighborhood}$<$ N $>$ \&nbh, const typename I::value \&nbasins)
\begin{DoxyCompactList}\small\item\em Create a region adjacency graph from a watershed image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V , typename F $>$ }\\fun::i2v::array$<$ V $>$ \hyperlink{a02650_a1c9b201ddf91d9314f3f0a9174f1b5a4}{relabelfun} (const \hyperlink{a00033}{Function\_\-v2b}$<$ F $>$ \&fv2b, const V \&nlabels, V \&new\_\-nlabels)
\begin{DoxyCompactList}\small\item\em Create a i2v function from a v2b function. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V , typename F $>$ }\\fun::i2v::array$<$ V $>$ \hyperlink{a02650_a45f1b69def4d5eb196d2a3212756183f}{relabelfun} (const \hyperlink{a00034}{Function\_\-v2v}$<$ F $>$ \&fv2v, const V \&nlabels, V \&new\_\-nlabels)
\begin{DoxyCompactList}\small\item\em Create a i2v function from a v2v function. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\algebra::vec$<$ 1, T $>$ \hyperlink{a02650_a9854dd66a18df388b579437709f0961e}{vec} (const T \&v\_\-0)
\begin{DoxyCompactList}\small\item\em Create an mln::algebra::vec$<$n,T$>$. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\algebra::vec$<$ 4, T $>$ \hyperlink{a02650_a4df3bd169a324525bd79d616dc3e1eec}{vec} (const T \&v\_\-0, const T \&v\_\-1, const T \&v\_\-2, const T \&v\_\-3)
\begin{DoxyCompactList}\small\item\em Create an mln::algebra::vec$<$4,T$>$. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\algebra::vec$<$ 3, T $>$ \hyperlink{a02650_a9e833c155d622f2e9de005b6abc646fe}{vec} (const T \&v\_\-0, const T \&v\_\-1, const T \&v\_\-2)
\begin{DoxyCompactList}\small\item\em Create an mln::algebra::vec$<$3,T$>$. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\algebra::vec$<$ 2, T $>$ \hyperlink{a02650_a34cc824f697e1b397a563c3d2d73104b}{vec} (const T \&v\_\-0, const T \&v\_\-1)
\begin{DoxyCompactList}\small\item\em Create an mln::algebra::vec$<$2,T$>$. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename G , typename FV $>$ }\\\hyperlink{a00440}{mln::vertex\_\-image}$<$ void, typename FV::result, G $>$ \hyperlink{a02650_a566bcd6215048c5dc7435f9a047afd5c}{vertex\_\-image} (const \hyperlink{a00040}{Graph}$<$ G $>$ \&g, const \hyperlink{a00034}{Function\_\-v2v}$<$ FV $>$ \&fv)
\begin{DoxyCompactList}\small\item\em Construct a vertex image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename FP , typename FV , typename G $>$ }\\\hyperlink{a00440}{mln::vertex\_\-image}$<$ typename FP::result, typename FV::result, G $>$ \hyperlink{a02650_af1dfb219815c254c817ddaf34faf4cdb}{vertex\_\-image} (const \hyperlink{a00040}{Graph}$<$ G $>$ \&g\_\-, const \hyperlink{a00034}{Function\_\-v2v}$<$ FP $>$ \&fp, const \hyperlink{a00034}{Function\_\-v2v}$<$ FV $>$ \&fv)
\begin{DoxyCompactList}\small\item\em Construct a vertex image. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I , typename N $>$ }\\\hyperlink{a00325}{p\_\-vertices}$<$ \hyperlink{a00396}{util::graph}, fun::i2v::array$<$ typename I::site $>$ $>$ \hyperlink{a02650_a268b6ad0c4114951a2bdbaca8ed960ae}{voronoi} (\hyperlink{a00044}{Image}$<$ I $>$ \&ima\_\-, \hyperlink{a00044}{Image}$<$ I $>$ \&orig\_\-, const \hyperlink{a00296}{Neighborhood}$<$ N $>$ \&nbh)
\begin{DoxyCompactList}\small\item\em Apply the Voronoi algorithm on {\ttfamily ima\_\-} with the original image {\ttfamily orig\_\-} for node computing with neighborhood {\ttfamily nbh}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename W , typename F $>$ }\\\hyperlink{a00442}{mln::w\_\-window}$<$ typename W::dpsite, typename F::result $>$ \hyperlink{a02650_accd3acb43d03f6e5bf0b9bce5c2bb5d3}{w\_\-window} (const \hyperlink{a00454}{Window}$<$ W $>$ \&win, const \hyperlink{a00034}{Function\_\-v2v}$<$ F $>$ \&wei)
\begin{DoxyCompactList}\small\item\em Create a \hyperlink{a00442}{mln::w\_\-window} from a window and a weight function. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename W , unsigned M$>$ }\\\hyperlink{a00442}{mln::w\_\-window}$<$ \hyperlink{a00178}{mln::dpoint1d}, W $>$ \hyperlink{a02650_aaac77a30ea19c37d751886cd308ebffd}{w\_\-window1d} (W(\&weights)\mbox{[}M\mbox{]})
\begin{DoxyCompactList}\small\item\em Create a 1D \hyperlink{a00442}{mln::w\_\-window} from an array of weights. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$unsigned M$>$ }\\\hyperlink{a00442}{mln::w\_\-window1d\_\-int} \hyperlink{a02650_a65983c9d7f0721a2c99125f87371caf8}{w\_\-window1d\_\-int} (int(\&weights)\mbox{[}M\mbox{]})
\begin{DoxyCompactList}\small\item\em Create a \hyperlink{a01799_ad952bbe950addea1616aea3c03a52534}{mln::w\_\-window1d\_\-int}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename W , unsigned S$>$ }\\\hyperlink{a00442}{mln::w\_\-window}$<$ \hyperlink{a00178}{mln::dpoint2d}, W $>$ \hyperlink{a02650_a6f30c29603797b5593429359b223e6ac}{w\_\-window2d} (W(\&weights)\mbox{[}S\mbox{]})
\begin{DoxyCompactList}\small\item\em Create a 2D \hyperlink{a00442}{mln::w\_\-window} from an array of weights. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$unsigned M$>$ }\\\hyperlink{a00442}{mln::w\_\-window2d\_\-int} \hyperlink{a02650_ac4c5e249736ed3231269fd97ab4c812b}{w\_\-window2d\_\-int} (int(\&weights)\mbox{[}M\mbox{]})
\begin{DoxyCompactList}\small\item\em Create a \hyperlink{a01799_a43538db39890fe014259b8089419a292}{mln::w\_\-window2d\_\-int}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename W , unsigned M$>$ }\\\hyperlink{a00442}{mln::w\_\-window}$<$ \hyperlink{a00178}{mln::dpoint3d}, W $>$ \hyperlink{a02650_a05ecde4372eeccf2ae1edb61dc00d60d}{w\_\-window3d} (W(\&weights)\mbox{[}M\mbox{]})
\begin{DoxyCompactList}\small\item\em Create a 3D \hyperlink{a00442}{mln::w\_\-window} from an array of weights. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$unsigned M$>$ }\\\hyperlink{a00442}{mln::w\_\-window3d\_\-int} \hyperlink{a02650_aa767584f246da9dae5eb74c986d9ded3}{w\_\-window3d\_\-int} (int(\&weights)\mbox{[}M\mbox{]})
\begin{DoxyCompactList}\small\item\em Create a \hyperlink{a01799_a5015a092b306b1e30029abe3aa3c40c3}{mln::w\_\-window3d\_\-int}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename D , typename W , unsigned L$>$ }\\\hyperlink{a00442}{mln::w\_\-window}$<$ D, W $>$ \hyperlink{a02650_a696aae79673928dbed3dfa8a2a91e378}{w\_\-window\_\-directional} (const \hyperlink{a00037}{Gdpoint}$<$ D $>$ \&dp, W(\&weights)\mbox{[}L\mbox{]})
\begin{DoxyCompactList}\small\item\em Create a directional centered weighted window. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Namespace of routines that help to make Milena's objects. 

\subsection{Function Documentation}
\hypertarget{a02650_af222134c2ebb76d2587fe9b8454b7280}{
\index{mln::make@{mln::make}!attachment@{attachment}}
\index{attachment@{attachment}!mln::make@{mln::make}}
\subsubsection[{attachment}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G , typename V $>$ {\bf p\_\-set}$<$ {\bf complex\_\-psite}$<$ D, G $>$ $>$ mln::make::attachment (
\begin{DoxyParamCaption}
\item[{const complex\_\-psite$<$ D, G $>$ \&}]{ f, }
\item[{const complex\_\-image$<$ D, G, V $>$ \&}]{ ima}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_af222134c2ebb76d2587fe9b8454b7280}


Compute the attachment of the cell corresponding to the facet {\itshape f\/} to the image {\itshape ima\/}. 

\begin{DoxyPrecond}{Precondition}
{\itshape f\/} is a facet (it does not belong to any face of higher dimension). 

ima is an image of Boolean values.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
a set of faces containing the attachment.
\end{DoxyReturn}
We do not use the fomal definition of the attachment here (see couprie.08.pami). We use the following (equivalent) definition: an N-\/face F in CELL is in the attachment of CELL to IMA if it is adjacent to at least an (N-\/1)-\/face or an (N+1)-\/face that does not belong to CELL. 

Definition at line 68 of file attachment.hh.



References cell(), and mln::topo::is\_\-facet().



Referenced by mln::topo::is\_\-simple\_\-cell$<$ I $>$::operator()().

\hypertarget{a02650_abc7a2aaf89ff6055c9ac198f55f5ce5d}{
\index{mln::make@{mln::make}!box1d@{box1d}}
\index{box1d@{box1d}!mln::make@{mln::make}}
\subsubsection[{box1d}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mln::box1d} mln::make::box1d (
\begin{DoxyParamCaption}
\item[{def::coord}]{ min\_\-ind, }
\item[{def::coord}]{ max\_\-ind}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_abc7a2aaf89ff6055c9ac198f55f5ce5d}


Create an \hyperlink{a01799_a72a6b7f7e0bab492ee5bf8a426dadf0b}{mln::box1d}. 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em min\_\-ind}]Minimum index. \item[\mbox{\tt[in]} {\em max\_\-ind}]Maximum index.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily max\_\-ind} $>$= {\ttfamily min\_\-ind}.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 1D box. 
\end{DoxyReturn}


Definition at line 79 of file make/box1d.hh.



References box1d().

\hypertarget{a02650_a4ac78d31d4f4fc5fe688a7bb6bbd0bf1}{
\index{mln::make@{mln::make}!box1d@{box1d}}
\index{box1d@{box1d}!mln::make@{mln::make}}
\subsubsection[{box1d}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mln::box1d} mln::make::box1d (
\begin{DoxyParamCaption}
\item[{unsigned}]{ ninds}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a4ac78d31d4f4fc5fe688a7bb6bbd0bf1}


Create an \hyperlink{a01799_a72a6b7f7e0bab492ee5bf8a426dadf0b}{mln::box1d}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em ninds}]Number of indices.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily ninds} != 0 and {\ttfamily ncols} != 0.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 1D box. 
\end{DoxyReturn}


Definition at line 70 of file make/box1d.hh.



Referenced by box1d(), and mln::image1d$<$ T $>$::image1d().

\hypertarget{a02650_a1f800ae469837bc42a9a0f5818a2b5fd}{
\index{mln::make@{mln::make}!box2d@{box2d}}
\index{box2d@{box2d}!mln::make@{mln::make}}
\subsubsection[{box2d}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mln::box2d} mln::make::box2d (
\begin{DoxyParamCaption}
\item[{unsigned}]{ nrows, }
\item[{unsigned}]{ ncols}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a1f800ae469837bc42a9a0f5818a2b5fd}


Create an \hyperlink{a01799_a944afc8b3385351cb593d3a4841094fa}{mln::box2d}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em nrows}]Number of rows. \item[\mbox{\tt[in]} {\em ncols}]Number of columns.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily nrows} != 0 and {\ttfamily ncols} != 0.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 2D box. 
\end{DoxyReturn}


Definition at line 78 of file make/box2d.hh.



Referenced by mln::image2d$<$ T $>$::image2d(), and mln::io::pnm::load().

\hypertarget{a02650_a2278c47783e95f2140b542622ff94d35}{
\index{mln::make@{mln::make}!box2d@{box2d}}
\index{box2d@{box2d}!mln::make@{mln::make}}
\subsubsection[{box2d}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mln::box2d} mln::make::box2d (
\begin{DoxyParamCaption}
\item[{def::coord}]{ min\_\-row, }
\item[{def::coord}]{ min\_\-col, }
\item[{def::coord}]{ max\_\-row, }
\item[{def::coord}]{ max\_\-col}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a2278c47783e95f2140b542622ff94d35}


Create an \hyperlink{a01799_a944afc8b3385351cb593d3a4841094fa}{mln::box2d}. 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em min\_\-row}]Index of the top most row. \item[\mbox{\tt[in]} {\em min\_\-col}]Index of the left most column. \item[\mbox{\tt[in]} {\em max\_\-row}]Index of the botton most row. \item[\mbox{\tt[in]} {\em max\_\-col}]Index of the right most column.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily max\_\-row} $>$= {\ttfamily min\_\-row} and {\ttfamily max\_\-col} $>$= {\ttfamily min\_\-col}.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 2D box. 
\end{DoxyReturn}


Definition at line 88 of file make/box2d.hh.

\hypertarget{a02650_a126841a6e2400c818fffa0b6507a10d7}{
\index{mln::make@{mln::make}!box2d\_\-h@{box2d\_\-h}}
\index{box2d\_\-h@{box2d\_\-h}!mln::make@{mln::make}}
\subsubsection[{box2d\_\-h}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mln::box2d\_\-h} mln::make::box2d\_\-h (
\begin{DoxyParamCaption}
\item[{def::coord}]{ min\_\-row, }
\item[{def::coord}]{ min\_\-col, }
\item[{def::coord}]{ max\_\-row, }
\item[{def::coord}]{ max\_\-col}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a126841a6e2400c818fffa0b6507a10d7}


Create an \hyperlink{a01799_ad70d0654638a326e8839211ade7b8019}{mln::box2d\_\-h}. 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em min\_\-row}]Index of the top most row. \item[\mbox{\tt[in]} {\em min\_\-col}]Index of the left most column. \item[\mbox{\tt[in]} {\em max\_\-row}]Index of the botton most row. \item[\mbox{\tt[in]} {\em max\_\-col}]Index of the right most column.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily max\_\-row} $>$= {\ttfamily min\_\-row} and {\ttfamily max\_\-col} $>$= {\ttfamily min\_\-col}.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 2D\_\-H box. 
\end{DoxyReturn}


Definition at line 85 of file make/box2d\_\-h.hh.



References point2d\_\-h().

\hypertarget{a02650_aa24f8720d567a1e76b6f27ec17e7a936}{
\index{mln::make@{mln::make}!box2d\_\-h@{box2d\_\-h}}
\index{box2d\_\-h@{box2d\_\-h}!mln::make@{mln::make}}
\subsubsection[{box2d\_\-h}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mln::box2d\_\-h} mln::make::box2d\_\-h (
\begin{DoxyParamCaption}
\item[{unsigned}]{ nrows, }
\item[{unsigned}]{ ncols}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_aa24f8720d567a1e76b6f27ec17e7a936}


Create an \hyperlink{a01799_ad70d0654638a326e8839211ade7b8019}{mln::box2d\_\-h}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em nrows}]Number of rows. \item[\mbox{\tt[in]} {\em ncols}]Number of columns.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily nrows} != 0 and {\ttfamily ncols} != 0.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 2D\_\-H box. 
\end{DoxyReturn}


Definition at line 75 of file make/box2d\_\-h.hh.



References point2d\_\-h().

\hypertarget{a02650_ac379d14c9f94f79a9fcbf943db7af85d}{
\index{mln::make@{mln::make}!box3d@{box3d}}
\index{box3d@{box3d}!mln::make@{mln::make}}
\subsubsection[{box3d}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mln::box3d} mln::make::box3d (
\begin{DoxyParamCaption}
\item[{unsigned}]{ nslis, }
\item[{unsigned}]{ nrows, }
\item[{unsigned}]{ ncols}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_ac379d14c9f94f79a9fcbf943db7af85d}


Create an \hyperlink{a01799_acdb5795a0e6bf9ff5fcd78b84e6b8595}{mln::box3d}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em nslis}]Number of slices. \item[\mbox{\tt[in]} {\em nrows}]Number of rows. \item[\mbox{\tt[in]} {\em ncols}]Number of columns.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily ninds} != 0 and {\ttfamily ncols} != 0 and {\ttfamily nslis} != 0.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 3D box. 
\end{DoxyReturn}


Definition at line 80 of file make/box3d.hh.



Referenced by image3d(), and mln::image3d$<$ T $>$::image3d().

\hypertarget{a02650_a5de9b1eb17d18a9b2cd8d1f7ab1e9513}{
\index{mln::make@{mln::make}!box3d@{box3d}}
\index{box3d@{box3d}!mln::make@{mln::make}}
\subsubsection[{box3d}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mln::box3d} mln::make::box3d (
\begin{DoxyParamCaption}
\item[{def::coord}]{ min\_\-sli, }
\item[{def::coord}]{ min\_\-row, }
\item[{def::coord}]{ min\_\-col, }
\item[{def::coord}]{ max\_\-sli, }
\item[{def::coord}]{ max\_\-row, }
\item[{def::coord}]{ max\_\-col}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a5de9b1eb17d18a9b2cd8d1f7ab1e9513}


Create an \hyperlink{a01799_acdb5795a0e6bf9ff5fcd78b84e6b8595}{mln::box3d}. 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 
\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em min\_\-sli}]Index of the lowest slice. \item[\mbox{\tt[in]} {\em min\_\-row}]Index of the top most row. \item[\mbox{\tt[in]} {\em min\_\-col}]Index of the left most column. \item[\mbox{\tt[in]} {\em max\_\-sli}]Index of the highest slice. \item[\mbox{\tt[in]} {\em max\_\-row}]Index of the botton most row. \item[\mbox{\tt[in]} {\em max\_\-col}]Index of the right most column.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
{\ttfamily max\_\-sli} $>$= {\ttfamily min\_\-sli}. 

{\ttfamily max\_\-row} $>$= {\ttfamily min\_\-row}. 

{\ttfamily max\_\-col} $>$= {\ttfamily min\_\-col}.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 3D box. 
\end{DoxyReturn}


Definition at line 92 of file make/box3d.hh.

\hypertarget{a02650_a18888ff15648ff1b7edda80af6d7e68c}{
\index{mln::make@{mln::make}!cell@{cell}}
\index{cell@{cell}!mln::make@{mln::make}}
\subsubsection[{cell}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G $>$ {\bf p\_\-set}$<$ {\bf complex\_\-psite}$<$ D, G $>$ $>$ mln::make::cell (
\begin{DoxyParamCaption}
\item[{const complex\_\-psite$<$ D, G $>$ \&}]{ f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a18888ff15648ff1b7edda80af6d7e68c}


Compute the set of faces of the cell corresponding to the facet {\itshape f\/}. 

\begin{DoxyPrecond}{Precondition}
{\itshape f\/} is a facet (it does not belong to any face of higher dimension).
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
An \hyperlink{a00320}{mln::p\_\-set} of sites (faces) containing the attachment. 
\end{DoxyReturn}


Definition at line 63 of file cell.hh.



References mln::topo::is\_\-facet(), and mln::complex\_\-psite$<$ D, G $>$::n().



Referenced by attachment(), and detachment().

\hypertarget{a02650_af33af3b72a0cabf0c9746836ea0c6748}{
\index{mln::make@{mln::make}!couple@{couple}}
\index{couple@{couple}!mln::make@{mln::make}}
\subsubsection[{couple}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename U $>$ {\bf util::couple}$<$T,U$>$ mln::make::couple (
\begin{DoxyParamCaption}
\item[{const T \&}]{ val1, }
\item[{const T \&}]{ val2}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_af33af3b72a0cabf0c9746836ea0c6748}


Construct an \hyperlink{a00392}{mln::util::couple} on-\/the-\/fly. 



Referenced by mln::labeling::blobs\_\-and\_\-compute(), mln::transform::distance\_\-and\_\-closest\_\-point\_\-geodesic(), mln::transform::distance\_\-and\_\-influence\_\-zone\_\-geodesic(), and mln::labeling::value\_\-and\_\-compute().

\hypertarget{a02650_a02c0f09013adde449dea3a7ccfcc73e2}{
\index{mln::make@{mln::make}!detachment@{detachment}}
\index{detachment@{detachment}!mln::make@{mln::make}}
\subsubsection[{detachment}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned D, typename G , typename V $>$ {\bf p\_\-set}$<$ {\bf complex\_\-psite}$<$ D, G $>$ $>$ mln::make::detachment (
\begin{DoxyParamCaption}
\item[{const complex\_\-psite$<$ D, G $>$ \&}]{ f, }
\item[{const complex\_\-image$<$ D, G, V $>$ \&}]{ ima}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a02c0f09013adde449dea3a7ccfcc73e2}


Compute the detachment of the cell corresponding to the facet {\itshape f\/} to the image {\itshape ima\/}. 

\begin{DoxyPrecond}{Precondition}
{\itshape f\/} is a facet (it does not belong to any face of higher dimension). 

{\itshape ima\/} is an image of Boolean values.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
a set of faces containing the detachment.
\end{DoxyReturn}
We do not use the fomal definition of the detachment here (see couprie.08.pami). We use the following (equivalent) definition: an N-\/face F in CELL is not in the detachment of CELL from IMA if it is adjacent to at least an (N-\/1)-\/face or an (N+1)-\/face that does not belong to CELL. 

Definition at line 68 of file detachment.hh.



References cell(), and mln::topo::is\_\-facet().



Referenced by mln::topo::detach().

\hypertarget{a02650_ac4003ca165b2008e356948e07c7dd86d}{
\index{mln::make@{mln::make}!dpoint2d\_\-h@{dpoint2d\_\-h}}
\index{dpoint2d\_\-h@{dpoint2d\_\-h}!mln::make@{mln::make}}
\subsubsection[{dpoint2d\_\-h}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mln::dpoint2d\_\-h} mln::make::dpoint2d\_\-h (
\begin{DoxyParamCaption}
\item[{def::coord}]{ row, }
\item[{def::coord}]{ col}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_ac4003ca165b2008e356948e07c7dd86d}


Create an \hyperlink{a01799_a22a50a5da37bc9eafe8efe3a5c5b7024}{mln::dpoint2d\_\-h}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em row}]Row coordinate. \item[\mbox{\tt[in]} {\em col}]Column coordinate.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A 2D dpoint. 
\end{DoxyReturn}


Definition at line 55 of file make/dpoint2d\_\-h.hh.

\hypertarget{a02650_a5d00bffcd904e5756221887c0fd8561f}{
\index{mln::make@{mln::make}!dummy\_\-p\_\-edges@{dummy\_\-p\_\-edges}}
\index{dummy\_\-p\_\-edges@{dummy\_\-p\_\-edges}!mln::make@{mln::make}}
\subsubsection[{dummy\_\-p\_\-edges}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename G , typename P $>$ {\bf p\_\-edges}$<$ G, pw::cst\_\-$<$ P $>$ $>$ mln::make::dummy\_\-p\_\-edges (
\begin{DoxyParamCaption}
\item[{const Graph$<$ G $>$ \&}]{ g\_\-, }
\item[{const P \&}]{ dummy\_\-site}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_a5d00bffcd904e5756221887c0fd8561f}


Create a \hyperlink{a00303}{p\_\-edges} which associate a graph element to a constant site. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em g\_\-}]A graph. \item[\mbox{\tt[in]} {\em dummy\_\-site}]The dummy site mapped to graph edges.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A \hyperlink{a00303}{p\_\-edges}. 
\end{DoxyReturn}


Definition at line 77 of file dummy\_\-p\_\-edges.hh.

\hypertarget{a02650_acb2313ee0e2e7f34119e3cb400623705}{
\index{mln::make@{mln::make}!dummy\_\-p\_\-edges@{dummy\_\-p\_\-edges}}
\index{dummy\_\-p\_\-edges@{dummy\_\-p\_\-edges}!mln::make@{mln::make}}
\subsubsection[{dummy\_\-p\_\-edges}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename G $>$ {\bf p\_\-edges}$<$ G $>$ mln::make::dummy\_\-p\_\-edges (
\begin{DoxyParamCaption}
\item[{const Graph$<$ G $>$ \&}]{ g}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_acb2313ee0e2e7f34119e3cb400623705}


Create a \hyperlink{a00303}{p\_\-edges} which associate a graph element to a constant site. 

{\ttfamily 0} (int) is used as dummy site.


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em g}]A graph.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A \hyperlink{a00303}{p\_\-edges}. 
\end{DoxyReturn}


Definition at line 93 of file dummy\_\-p\_\-edges.hh.

\hypertarget{a02650_a87ffc5ffd0348db727af232e5f531d08}{
\index{mln::make@{mln::make}!dummy\_\-p\_\-vertices@{dummy\_\-p\_\-vertices}}
\index{dummy\_\-p\_\-vertices@{dummy\_\-p\_\-vertices}!mln::make@{mln::make}}
\subsubsection[{dummy\_\-p\_\-vertices}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename G , typename P $>$ {\bf p\_\-vertices}$<$ G, pw::cst\_\-$<$ P $>$ $>$ mln::make::dummy\_\-p\_\-vertices (
\begin{DoxyParamCaption}
\item[{const Graph$<$ G $>$ \&}]{ g\_\-, }
\item[{const P \&}]{ dummy\_\-site}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_a87ffc5ffd0348db727af232e5f531d08}


Create a \hyperlink{a00325}{p\_\-vertices} which associate a graph element to a constant site. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em g\_\-}]A graph. \item[\mbox{\tt[in]} {\em dummy\_\-site}]The dummy site mapped to graph vertices.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A \hyperlink{a00325}{p\_\-vertices}. 
\end{DoxyReturn}


Definition at line 77 of file dummy\_\-p\_\-vertices.hh.

\hypertarget{a02650_aa3c8d4c8494a22bce39f252ad53772d1}{
\index{mln::make@{mln::make}!dummy\_\-p\_\-vertices@{dummy\_\-p\_\-vertices}}
\index{dummy\_\-p\_\-vertices@{dummy\_\-p\_\-vertices}!mln::make@{mln::make}}
\subsubsection[{dummy\_\-p\_\-vertices}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename G $>$ {\bf p\_\-vertices}$<$ G $>$ mln::make::dummy\_\-p\_\-vertices (
\begin{DoxyParamCaption}
\item[{const Graph$<$ G $>$ \&}]{ g}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_aa3c8d4c8494a22bce39f252ad53772d1}


Create a \hyperlink{a00325}{p\_\-vertices} which associate a graph element to a constant site. 

{\ttfamily 0} (int) is used as dummy site.


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em g}]A graph.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A \hyperlink{a00325}{p\_\-vertices}. 
\end{DoxyReturn}


Definition at line 93 of file dummy\_\-p\_\-vertices.hh.

\hypertarget{a02650_a3aabbdb013570a4d2676a5c86d0f1005}{
\index{mln::make@{mln::make}!edge\_\-image@{edge\_\-image}}
\index{edge\_\-image@{edge\_\-image}!mln::make@{mln::make}}
\subsubsection[{edge\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename G $>$ {\bf mln::edge\_\-image}$<$ void, V, G $>$ mln::make::edge\_\-image (
\begin{DoxyParamCaption}
\item[{const Graph$<$ G $>$ \&}]{ g, }
\item[{const fun::i2v::array$<$ V $>$ \&}]{ fv}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a3aabbdb013570a4d2676a5c86d0f1005}


Construct an edge image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em g}]A graph. \item[\mbox{\tt[in]} {\em fv}]A function mapping edge ids to values.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an edge image. 
\end{DoxyReturn}


Definition at line 141 of file make/edge\_\-image.hh.

\hypertarget{a02650_a3a55b12f4470e99c750dbf10bb60e4f6}{
\index{mln::make@{mln::make}!edge\_\-image@{edge\_\-image}}
\index{edge\_\-image@{edge\_\-image}!mln::make@{mln::make}}
\subsubsection[{edge\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename FV , typename G $>$ {\bf mln::edge\_\-image}$<$ void, typename FV::result, G $>$ mln::make::edge\_\-image (
\begin{DoxyParamCaption}
\item[{const Graph$<$ G $>$ \&}]{ g, }
\item[{const Function\_\-v2v$<$ FV $>$ \&}]{ fv}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_a3a55b12f4470e99c750dbf10bb60e4f6}


Construct an edge image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em g}]A graph. \item[\mbox{\tt[in]} {\em fv}]A function mapping edge ids to values.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an edge image. 
\end{DoxyReturn}


Definition at line 155 of file make/edge\_\-image.hh.

\hypertarget{a02650_a1b2415904518d8cca63c51aa001f4515}{
\index{mln::make@{mln::make}!edge\_\-image@{edge\_\-image}}
\index{edge\_\-image@{edge\_\-image}!mln::make@{mln::make}}
\subsubsection[{edge\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename FP , typename FV , typename G $>$ {\bf mln::edge\_\-image}$<$ typename FP::result, typename FV::result, G $>$ mln::make::edge\_\-image (
\begin{DoxyParamCaption}
\item[{const Graph$<$ G $>$ \&}]{ g\_\-, }
\item[{const Function\_\-v2v$<$ FP $>$ \&}]{ fp, }
\item[{const Function\_\-v2v$<$ FV $>$ \&}]{ fv}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a1b2415904518d8cca63c51aa001f4515}


Construct an edge image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em g\_\-}]A graph. \item[\mbox{\tt[in]} {\em fp}]A function mapping edge ids to sites. \item[\mbox{\tt[in]} {\em fv}]A function mapping edge ids to values.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an edge image. 
\end{DoxyReturn}


Definition at line 179 of file make/edge\_\-image.hh.

\hypertarget{a02650_a6281b6e0e1b194356b9d4d15623f3b4e}{
\index{mln::make@{mln::make}!edge\_\-image@{edge\_\-image}}
\index{edge\_\-image@{edge\_\-image}!mln::make@{mln::make}}
\subsubsection[{edge\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P , typename V , typename G , typename FP , typename FV $>$ {\bf mln::edge\_\-image}$<$ typename FP::result, typename FV::result, G $>$ mln::make::edge\_\-image (
\begin{DoxyParamCaption}
\item[{const {\bf mln::vertex\_\-image}$<$ P, V, G $>$ \&}]{ v\_\-ima\_\-, }
\item[{const p\_\-edges$<$ G, FP $>$}]{ pe, }
\item[{const Function\_\-vv2v$<$ FV $>$ \&}]{ fv\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a6281b6e0e1b194356b9d4d15623f3b4e}


Construct an edge image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em v\_\-ima\_\-}]A vertex image. \item[\mbox{\tt[in]} {\em pe}]A \hyperlink{a00303}{p\_\-edges} mapping graph elements to sites. \item[\mbox{\tt[in]} {\em fv\_\-}]A function mapping two vertex ids to a value. The result is associated to the corresponding edge.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an edge image. 
\end{DoxyReturn}


Definition at line 199 of file make/edge\_\-image.hh.

\hypertarget{a02650_a54f92cca7752e1e25846b097aecc4644}{
\index{mln::make@{mln::make}!edge\_\-image@{edge\_\-image}}
\index{edge\_\-image@{edge\_\-image}!mln::make@{mln::make}}
\subsubsection[{edge\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P , typename V , typename G , typename FV $>$ {\bf mln::edge\_\-image}$<$ void, typename FV::result, G $>$ mln::make::edge\_\-image (
\begin{DoxyParamCaption}
\item[{const {\bf mln::vertex\_\-image}$<$ P, V, G $>$ \&}]{ v\_\-ima\_\-, }
\item[{const Function\_\-vv2v$<$ FV $>$ \&}]{ fv\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a54f92cca7752e1e25846b097aecc4644}


Construct an edge image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em v\_\-ima\_\-}]A vertex image. \item[\mbox{\tt[in]} {\em fv\_\-}]A function mapping two vertices' values to a value. The result is associated to the corresponding edge.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an edge image without localization information mapped to graph elements. 
\end{DoxyReturn}


Definition at line 225 of file make/edge\_\-image.hh.

\hypertarget{a02650_a50e247ad1472ed476ca63be02953e81c}{
\index{mln::make@{mln::make}!edge\_\-image@{edge\_\-image}}
\index{edge\_\-image@{edge\_\-image}!mln::make@{mln::make}}
\subsubsection[{edge\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename P , typename V , typename G , typename F $>$ {\bf mln::edge\_\-image}$<$ void, bool, G $>$ mln::make::edge\_\-image (
\begin{DoxyParamCaption}
\item[{const {\bf mln::vertex\_\-image}$<$ P, V, G $>$ \&}]{ v\_\-ima\_\-, }
\item[{const Function\_\-v2b$<$ F $>$ \&}]{ fv\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a50e247ad1472ed476ca63be02953e81c}


Construct an edge image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em v\_\-ima\_\-}]A vertex image. \item[\mbox{\tt[in]} {\em fv\_\-}]A predicate on a vertex's value. The (Boolean) result is associated to the edges adjacent to the vertex.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an edge image without localization information mapped to graph elements. 
\end{DoxyReturn}


Definition at line 250 of file make/edge\_\-image.hh.



References mln::data::fill().

\hypertarget{a02650_a3be97f0af0651929572f6159e3c6a121}{
\index{mln::make@{mln::make}!h\_\-mat@{h\_\-mat}}
\index{h\_\-mat@{h\_\-mat}!mln::make@{mln::make}}
\subsubsection[{h\_\-mat}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , unsigned N$>$ {\bf algebra::h\_\-mat}$<$ mlc\_\-sqrt\_\-int(N), T $>$ mln::make::h\_\-mat (
\begin{DoxyParamCaption}
\item[{const T(\&)}]{ tab\mbox{[}N\mbox{]}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a3be97f0af0651929572f6159e3c6a121}


Create an mln::algebra::mat$<$n,n,T$>$. 



Definition at line 60 of file make/h\_\-mat.hh.



Referenced by mln::fun::x2x::rotation$<$ n, C $>$::rotation().

\hypertarget{a02650_a12a213b30c32766d959c35ff099ec2b0}{
\index{mln::make@{mln::make}!image@{image}}
\index{image@{image}!mln::make@{mln::make}}
\subsubsection[{image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , unsigned L$>$ {\bf mln::image1d}$<$ V $>$ mln::make::image (
\begin{DoxyParamCaption}
\item[{V(\&)}]{ values\mbox{[}L\mbox{]}}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_a12a213b30c32766d959c35ff099ec2b0}


Create an \hyperlink{a00247}{image1d} from an 1D array of values. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em values}]1D array.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A 1D image. 
\end{DoxyReturn}


Definition at line 85 of file make/image.hh.

\hypertarget{a02650_a4a6ef1fe2a86917d21dbd3f55c1b743d}{
\index{mln::make@{mln::make}!image@{image}}
\index{image@{image}!mln::make@{mln::make}}
\subsubsection[{image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , unsigned R, unsigned C$>$ {\bf mln::image2d}$<$ V $>$ mln::make::image (
\begin{DoxyParamCaption}
\item[{V(\&)}]{ values\mbox{[}R\mbox{]}\mbox{[}C\mbox{]}}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_a4a6ef1fe2a86917d21dbd3f55c1b743d}


Create an \hyperlink{a00248}{image2d} from an 2D array of values. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em values}]2D array.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A 2D image. 
\end{DoxyReturn}


Definition at line 97 of file make/image.hh.



References mln::opt::at().

\hypertarget{a02650_a22424bb35d4536744bcecaa64e33bcd6}{
\index{mln::make@{mln::make}!image@{image}}
\index{image@{image}!mln::make@{mln::make}}
\subsubsection[{image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , unsigned S, unsigned R, unsigned C$>$ {\bf mln::image3d}$<$ V $>$ mln::make::image (
\begin{DoxyParamCaption}
\item[{V(\&)}]{ values\mbox{[}S\mbox{]}\mbox{[}R\mbox{]}\mbox{[}C\mbox{]}}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_a22424bb35d4536744bcecaa64e33bcd6}


Create an \hyperlink{a00043}{image3d} from an 3D array of values. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em values}]3D array.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A 3D image. 
\end{DoxyReturn}


Definition at line 112 of file make/image.hh.



References mln::opt::at().

\hypertarget{a02650_a13af7ccd966cc477d7402c6513ebd50f}{
\index{mln::make@{mln::make}!image2d@{image2d}}
\index{image2d@{image2d}!mln::make@{mln::make}}
\subsubsection[{image2d}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , unsigned S$>$ {\bf mln::image2d}$<$ V $>$ mln::make::image2d (
\begin{DoxyParamCaption}
\item[{V(\&)}]{ values\mbox{[}S\mbox{]}}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_a13af7ccd966cc477d7402c6513ebd50f}


Create an \hyperlink{a00248}{image2d} from an 2D array of values. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em values}]2D array.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A 2D image. 
\end{DoxyReturn}


Definition at line 61 of file make/image2d.hh.

\hypertarget{a02650_a698cc87768d3266450a7566d4d2f4624}{
\index{mln::make@{mln::make}!image3d@{image3d}}
\index{image3d@{image3d}!mln::make@{mln::make}}
\subsubsection[{image3d}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::image3d}$<$ typename I::value $>$ mln::make::image3d (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ ima}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a698cc87768d3266450a7566d4d2f4624}


Create an \hyperlink{a00043}{image3d} from a 2D image. 



Definition at line 92 of file make/image3d.hh.



References box3d(), and mln::data::paste().

\hypertarget{a02650_ae0f332717b7ad7ceac89acde01941493}{
\index{mln::make@{mln::make}!image3d@{image3d}}
\index{image3d@{image3d}!mln::make@{mln::make}}
\subsubsection[{image3d}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::image3d}$<$ typename I::value $>$ mln::make::image3d (
\begin{DoxyParamCaption}
\item[{const util::array$<$ I $>$ \&}]{ ima}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_ae0f332717b7ad7ceac89acde01941493}


Create an \hyperlink{a00043}{image3d} from an array of 2D images. 



Definition at line 70 of file make/image3d.hh.



References box3d(), mln::util::array$<$ T $>$::is\_\-empty(), mln::util::array$<$ T $>$::nelements(), mln::data::paste(), mln::box$<$ P $>$::pmax(), and mln::box$<$ P $>$::pmin().



Referenced by mln::io::pnms::load().

\hypertarget{a02650_aa29d73f16fcffe13e095bc5f96e4cd8d}{
\index{mln::make@{mln::make}!influence\_\-zone\_\-adjacency\_\-graph@{influence\_\-zone\_\-adjacency\_\-graph}}
\index{influence\_\-zone\_\-adjacency\_\-graph@{influence\_\-zone\_\-adjacency\_\-graph}!mln::make@{mln::make}}
\subsubsection[{influence\_\-zone\_\-adjacency\_\-graph}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename N $>$ {\bf util::graph} mln::make::influence\_\-zone\_\-adjacency\_\-graph (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ iz\_\-, }
\item[{const Neighborhood$<$ N $>$ \&}]{ nbh, }
\item[{const typename I::value \&}]{ nlabels}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_aa29d73f16fcffe13e095bc5f96e4cd8d}


Create a graph from an influence zone image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em iz}]influence zone image. \item[\mbox{\tt[in]} {\em nbh}]A neighborhood. \item[\mbox{\tt[in]} {\em nlabels}]number of influence zone in {\ttfamily iz}.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{a00396}{util::graph} \hyperlink{a00040}{Graph} based on the adjacency of the influence zones. 
\end{DoxyReturn}


Definition at line 175 of file influence\_\-zone\_\-adjacency\_\-graph.hh.

\hypertarget{a02650_ae209c1320afa760e17be773a1c48e4d5}{
\index{mln::make@{mln::make}!mat@{mat}}
\index{mat@{mat}!mln::make@{mln::make}}
\subsubsection[{mat}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n, unsigned m, typename T $>$ algebra::mat$<$ n, m, T $>$ mln::make::mat (
\begin{DoxyParamCaption}
\item[{const T(\&)}]{ tab\mbox{[}n $\ast$m\mbox{]}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_ae209c1320afa760e17be773a1c48e4d5}


Create an mln::algebra::mat$<$n,m,T$>$. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em tab}]Array of values.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
The array dimension has to be n $\ast$ m. 
\end{DoxyPrecond}


Definition at line 61 of file make/mat.hh.

\hypertarget{a02650_a35c7bfd962ac12f37dfc8791ae5e06c5}{
\index{mln::make@{mln::make}!ord\_\-pair@{ord\_\-pair}}
\index{ord\_\-pair@{ord\_\-pair}!mln::make@{mln::make}}
\subsubsection[{ord\_\-pair}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ {\bf util::ord\_\-pair}$<$ T $>$ mln::make::ord\_\-pair (
\begin{DoxyParamCaption}
\item[{const T \&}]{ val1, }
\item[{const T \&}]{ val2}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a35c7bfd962ac12f37dfc8791ae5e06c5}


Construct an \hyperlink{a00407}{mln::util::ord\_\-pair} on-\/the-\/fly. 



Definition at line 277 of file ord\_\-pair.hh.

\hypertarget{a02650_a9f5a16de7a6d987e56f8cb452f9635b6}{
\index{mln::make@{mln::make}!p\_\-edges\_\-with\_\-mass\_\-centers@{p\_\-edges\_\-with\_\-mass\_\-centers}}
\index{p\_\-edges\_\-with\_\-mass\_\-centers@{p\_\-edges\_\-with\_\-mass\_\-centers}!mln::make@{mln::make}}
\subsubsection[{p\_\-edges\_\-with\_\-mass\_\-centers}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename W , typename G $>$ {\bf p\_\-edges}$<$ G, fun::i2v::array$<$ {\bf util::site\_\-pair}$<$ typename W::site $>$ $>$ $>$ mln::make::p\_\-edges\_\-with\_\-mass\_\-centers (
\begin{DoxyParamCaption}
\item[{const Image$<$ W $>$ \&}]{ wst\_\-, }
\item[{const Graph$<$ G $>$ \&}]{ g\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a9f5a16de7a6d987e56f8cb452f9635b6}


Construct a \hyperlink{a00303}{p\_\-edges} from a watershed image and a region adjacency graph (RAG). 

Map each graph edge to a pair of mass centers of two adjacent regions.


\begin{DoxyParams}{Parameters}
\item[{\em wst\_\-}]A watershed image. \item[{\em g\_\-}]A region adjacency graph.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A \hyperlink{a00303}{p\_\-edges}.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{a00184}{edge\_\-image}, \hyperlink{a00303}{p\_\-edges}, \hyperlink{a02650_a1eb2e79d8af7fe19891f9cbed6c6c656}{make::region\_\-adjacency\_\-graph} 
\end{DoxySeeAlso}


Definition at line 81 of file p\_\-edges\_\-with\_\-mass\_\-centers.hh.



References mln::labeling::compute().

\hypertarget{a02650_a000313f5d9ae2205b5e6281d47818111}{
\index{mln::make@{mln::make}!p\_\-vertices\_\-with\_\-mass\_\-centers@{p\_\-vertices\_\-with\_\-mass\_\-centers}}
\index{p\_\-vertices\_\-with\_\-mass\_\-centers@{p\_\-vertices\_\-with\_\-mass\_\-centers}!mln::make@{mln::make}}
\subsubsection[{p\_\-vertices\_\-with\_\-mass\_\-centers}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename W , typename G $>$ {\bf p\_\-vertices}$<$ G, fun::i2v::array$<$ typename W::site $>$ $>$ mln::make::p\_\-vertices\_\-with\_\-mass\_\-centers (
\begin{DoxyParamCaption}
\item[{const Image$<$ W $>$ \&}]{ wst\_\-, }
\item[{const Graph$<$ G $>$ \&}]{ g\_\-}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a000313f5d9ae2205b5e6281d47818111}


Construct a \hyperlink{a00325}{p\_\-vertices} from a watershed image and a region adjacency graph (RAG). 

Map each graph vertex to the mass center of its corresponding region.


\begin{DoxyParams}{Parameters}
\item[{\em wst\_\-}]A watershed image. \item[{\em g\_\-}]A region adjacency graph.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A \hyperlink{a00325}{p\_\-vertices}.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{a00184}{edge\_\-image}, \hyperlink{a00440}{vertex\_\-image}, \hyperlink{a00325}{p\_\-vertices}, \hyperlink{a00303}{p\_\-edges}, \hyperlink{a02650_a1eb2e79d8af7fe19891f9cbed6c6c656}{make::region\_\-adjacency\_\-graph} 
\end{DoxySeeAlso}


Definition at line 77 of file p\_\-vertices\_\-with\_\-mass\_\-centers.hh.



References mln::labeling::compute().

\hypertarget{a02650_a52368ee3c07753ea0a2bbbb4682dd3c7}{
\index{mln::make@{mln::make}!pix@{pix}}
\index{pix@{pix}!mln::make@{mln::make}}
\subsubsection[{pix}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::util::pix}$<$ I $>$ mln::make::pix (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ ima, }
\item[{const typename I::psite \&}]{ p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a52368ee3c07753ea0a2bbbb4682dd3c7}


Create an \hyperlink{a00408}{mln::util::pix} from an image {\ttfamily ima} and a psite {\ttfamily p}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em ima}]The input image. \item[\mbox{\tt[in]} {\em p}]The point site.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An \hyperlink{a00408}{mln::util::pix}. 
\end{DoxyReturn}


Definition at line 58 of file make/pix.hh.

\hypertarget{a02650_ad36a647a6f56a41e3af70d9a511ff09c}{
\index{mln::make@{mln::make}!pixel@{pixel}}
\index{pixel@{pixel}!mln::make@{mln::make}}
\subsubsection[{pixel}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::pixel}$<$ I $>$ mln::make::pixel (
\begin{DoxyParamCaption}
\item[{Image$<$ I $>$ \&}]{ ima, }
\item[{const typename I::psite \&}]{ p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_ad36a647a6f56a41e3af70d9a511ff09c}


Create a \hyperlink{a00326}{mln::pixel} from a mutable image {\ttfamily ima} and a point {\ttfamily p}. 



Definition at line 63 of file make/pixel.hh.

\hypertarget{a02650_af4aba0a1a7ce01068e72197e5cce6754}{
\index{mln::make@{mln::make}!pixel@{pixel}}
\index{pixel@{pixel}!mln::make@{mln::make}}
\subsubsection[{pixel}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::pixel}$<$ const I $>$ mln::make::pixel (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ ima, }
\item[{const typename I::psite \&}]{ p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_af4aba0a1a7ce01068e72197e5cce6754}


Create a \hyperlink{a00326}{mln::pixel} from a constant image {\ttfamily ima} and a point {\ttfamily p}. 



Definition at line 55 of file make/pixel.hh.

\hypertarget{a02650_aaefd31ad3f47a5903fe91207d7715833}{
\index{mln::make@{mln::make}!point2d\_\-h@{point2d\_\-h}}
\index{point2d\_\-h@{point2d\_\-h}!mln::make@{mln::make}}
\subsubsection[{point2d\_\-h}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mln::point2d\_\-h} mln::make::point2d\_\-h (
\begin{DoxyParamCaption}
\item[{def::coord}]{ row, }
\item[{def::coord}]{ col}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_aaefd31ad3f47a5903fe91207d7715833}


Create an \hyperlink{a01799_a7798683d48cf3f5e29c5653bf4bf43bb}{mln::point2d\_\-h}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em row}]Row coordinate. \item[\mbox{\tt[in]} {\em col}]Column coordinate.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A 2D point. 
\end{DoxyReturn}


Definition at line 55 of file make/point2d\_\-h.hh.



Referenced by box2d\_\-h().

\hypertarget{a02650_a0dccc493c87e97cc9194d5bfce759421}{
\index{mln::make@{mln::make}!rag\_\-and\_\-labeled\_\-wsl@{rag\_\-and\_\-labeled\_\-wsl}}
\index{rag\_\-and\_\-labeled\_\-wsl@{rag\_\-and\_\-labeled\_\-wsl}!mln::make@{mln::make}}
\subsubsection[{rag\_\-and\_\-labeled\_\-wsl}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename N $>$ {\bf util::couple}$<$ {\bf util::graph}, typename mln::trait::concrete$<$ I $>$::ret $>$ mln::make::rag\_\-and\_\-labeled\_\-wsl (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ wshd\_\-, }
\item[{const Neighborhood$<$ N $>$ \&}]{ nbh\_\-, }
\item[{const typename I::value \&}]{ nbasins}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a0dccc493c87e97cc9194d5bfce759421}


Create a region adjacency graph and a label image of the watershed line from a watershed image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em wshd\_\-}]Watershed image. \item[\mbox{\tt[in]} {\em nbh\_\-}]\hyperlink{a00296}{Neighborhood} \item[\mbox{\tt[in]} {\em nbasins}]Number of influence zone in {\ttfamily wshd}.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A couple. First element is the graph, second element is an image with a labeled watershed line.
\end{DoxyReturn}
\begin{DoxyVerb}

	      |-----------------|		      |-----------------|
	      | 1 1 1 0 2 2 0 3 |                     | . . . 1 . . 2 . |
	      | 1 1 0 2 2 2 0 3 |                     | . . 1 . . . 2 . |
	      | 1 0 4 0 2 0 3 3 |           ---->     | . 1 . 3 . 4 . . |
	      | 0 4 4 4 0 5 0 3 |                     | 1 . . . 5 . 6 . |
	      |-----------------|                     |-----------------|

		Watershed image			      Labeled watershed line
	 (watershed line labeled with 0)


			|
			|
			|
			v

		  1 -- 2 - 3
		   \  /   /
		    4 -- 5

	    Region Adjacency graph (RAG)

	\end{DoxyVerb}
 

Definition at line 229 of file rag\_\-and\_\-labeled\_\-wsl.hh.

\hypertarget{a02650_a1eb2e79d8af7fe19891f9cbed6c6c656}{
\index{mln::make@{mln::make}!region\_\-adjacency\_\-graph@{region\_\-adjacency\_\-graph}}
\index{region\_\-adjacency\_\-graph@{region\_\-adjacency\_\-graph}!mln::make@{mln::make}}
\subsubsection[{region\_\-adjacency\_\-graph}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename N $>$ {\bf util::graph} mln::make::region\_\-adjacency\_\-graph (
\begin{DoxyParamCaption}
\item[{const Image$<$ I $>$ \&}]{ wshd\_\-, }
\item[{const Neighborhood$<$ N $>$ \&}]{ nbh, }
\item[{const typename I::value \&}]{ nbasins}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a1eb2e79d8af7fe19891f9cbed6c6c656}


Create a region adjacency graph from a watershed image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em wshd\_\-}]watershed image. \item[\mbox{\tt[in]} {\em nbh}]A neighborhood. \item[\mbox{\tt[in]} {\em nbasins}]number of influence zone in {\ttfamily wshd}.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{a00396}{util::graph} \hyperlink{a00040}{Graph} based on the adjacency of the influence zones. 
\end{DoxyReturn}


Definition at line 179 of file region\_\-adjacency\_\-graph.hh.

\hypertarget{a02650_a1c9b201ddf91d9314f3f0a9174f1b5a4}{
\index{mln::make@{mln::make}!relabelfun@{relabelfun}}
\index{relabelfun@{relabelfun}!mln::make@{mln::make}}
\subsubsection[{relabelfun}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename F $>$ fun::i2v::array$<$ V $>$ mln::make::relabelfun (
\begin{DoxyParamCaption}
\item[{const Function\_\-v2b$<$ F $>$ \&}]{ fv2b, }
\item[{const V \&}]{ nlabels, }
\item[{V \&}]{ new\_\-nlabels}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a1c9b201ddf91d9314f3f0a9174f1b5a4}


Create a i2v function from a v2b function. 

This function can be used to relabel a labeled image.


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em fv2b}]A v2b function. \item[\mbox{\tt[in]} {\em nlabels}]The number of labels. \item[\mbox{\tt[in]} {\em new\_\-nlabels}]The number of labels after relabeling.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a i2v function.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{a02630_a25622fdab81544f1e10cfad30a3d618e}{mln::labeling::relabel} 
\end{DoxySeeAlso}


Definition at line 83 of file relabelfun.hh.



References mln::literal::zero.



Referenced by mln::labeling::pack(), mln::labeling::pack\_\-inplace(), mln::labeling::relabel(), mln::labeled\_\-image\_\-base$<$ I, E $>$::relabel(), and mln::labeling::relabel\_\-inplace().

\hypertarget{a02650_a45f1b69def4d5eb196d2a3212756183f}{
\index{mln::make@{mln::make}!relabelfun@{relabelfun}}
\index{relabelfun@{relabelfun}!mln::make@{mln::make}}
\subsubsection[{relabelfun}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename F $>$ fun::i2v::array$<$ V $>$ mln::make::relabelfun (
\begin{DoxyParamCaption}
\item[{const Function\_\-v2v$<$ F $>$ \&}]{ fv2v, }
\item[{const V \&}]{ nlabels, }
\item[{V \&}]{ new\_\-nlabels}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a45f1b69def4d5eb196d2a3212756183f}


Create a i2v function from a v2v function. 

This function can be used to relabel a labeled image.


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em fv2v}]A v2v function. This function maps an id to an already existing one. \item[\mbox{\tt[in]} {\em nlabels}]The number of labels. \item[\mbox{\tt[in]} {\em new\_\-nlabels}]The number of labels after relabeling.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a i2v function.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{a02630_a25622fdab81544f1e10cfad30a3d618e}{mln::labeling::relabel} 
\end{DoxySeeAlso}


Definition at line 106 of file relabelfun.hh.



References mln::literal::zero.

\hypertarget{a02650_a9854dd66a18df388b579437709f0961e}{
\index{mln::make@{mln::make}!vec@{vec}}
\index{vec@{vec}!mln::make@{mln::make}}
\subsubsection[{vec}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ algebra::vec$<$ 1, T $>$ mln::make::vec (
\begin{DoxyParamCaption}
\item[{const T \&}]{ v\_\-0}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a9854dd66a18df388b579437709f0961e}


Create an mln::algebra::vec$<$n,T$>$. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em v\_\-0}]First coordinate.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A 1D vector. 
\end{DoxyReturn}


Definition at line 91 of file make/vec.hh.

\hypertarget{a02650_a4df3bd169a324525bd79d616dc3e1eec}{
\index{mln::make@{mln::make}!vec@{vec}}
\index{vec@{vec}!mln::make@{mln::make}}
\subsubsection[{vec}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ algebra::vec$<$ 4, T $>$ mln::make::vec (
\begin{DoxyParamCaption}
\item[{const T \&}]{ v\_\-0, }
\item[{const T \&}]{ v\_\-1, }
\item[{const T \&}]{ v\_\-2, }
\item[{const T \&}]{ v\_\-3}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a4df3bd169a324525bd79d616dc3e1eec}


Create an mln::algebra::vec$<$4,T$>$. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em v\_\-0}]First coordinate. \item[\mbox{\tt[in]} {\em v\_\-1}]Second coordinate. \item[\mbox{\tt[in]} {\em v\_\-2}]Third coordinate. \item[\mbox{\tt[in]} {\em v\_\-3}]Fourth coordinate.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A 4D vector. 
\end{DoxyReturn}


Definition at line 121 of file make/vec.hh.

\hypertarget{a02650_a9e833c155d622f2e9de005b6abc646fe}{
\index{mln::make@{mln::make}!vec@{vec}}
\index{vec@{vec}!mln::make@{mln::make}}
\subsubsection[{vec}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ algebra::vec$<$ 3, T $>$ mln::make::vec (
\begin{DoxyParamCaption}
\item[{const T \&}]{ v\_\-0, }
\item[{const T \&}]{ v\_\-1, }
\item[{const T \&}]{ v\_\-2}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a9e833c155d622f2e9de005b6abc646fe}


Create an mln::algebra::vec$<$3,T$>$. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em v\_\-0}]First coordinate. \item[\mbox{\tt[in]} {\em v\_\-1}]Second coordinate. \item[\mbox{\tt[in]} {\em v\_\-2}]Third coordinate.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A 3D vector. 
\end{DoxyReturn}


Definition at line 110 of file make/vec.hh.

\hypertarget{a02650_a34cc824f697e1b397a563c3d2d73104b}{
\index{mln::make@{mln::make}!vec@{vec}}
\index{vec@{vec}!mln::make@{mln::make}}
\subsubsection[{vec}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ algebra::vec$<$ 2, T $>$ mln::make::vec (
\begin{DoxyParamCaption}
\item[{const T \&}]{ v\_\-0, }
\item[{const T \&}]{ v\_\-1}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a34cc824f697e1b397a563c3d2d73104b}


Create an mln::algebra::vec$<$2,T$>$. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em v\_\-0}]First coordinate. \item[\mbox{\tt[in]} {\em v\_\-1}]Second coordinate.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A 2D vector. 
\end{DoxyReturn}


Definition at line 100 of file make/vec.hh.

\hypertarget{a02650_a566bcd6215048c5dc7435f9a047afd5c}{
\index{mln::make@{mln::make}!vertex\_\-image@{vertex\_\-image}}
\index{vertex\_\-image@{vertex\_\-image}!mln::make@{mln::make}}
\subsubsection[{vertex\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename G , typename FV $>$ {\bf mln::vertex\_\-image}$<$ void, typename FV::result, G $>$ mln::make::vertex\_\-image (
\begin{DoxyParamCaption}
\item[{const Graph$<$ G $>$ \&}]{ g, }
\item[{const Function\_\-v2v$<$ FV $>$ \&}]{ fv}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_a566bcd6215048c5dc7435f9a047afd5c}


Construct a vertex image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em g}]A graph. \item[\mbox{\tt[in]} {\em fv}]A function mapping vertex ids to values.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A vertex image. 
\end{DoxyReturn}


Definition at line 77 of file make/vertex\_\-image.hh.

\hypertarget{a02650_af1dfb219815c254c817ddaf34faf4cdb}{
\index{mln::make@{mln::make}!vertex\_\-image@{vertex\_\-image}}
\index{vertex\_\-image@{vertex\_\-image}!mln::make@{mln::make}}
\subsubsection[{vertex\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename FP , typename FV , typename G $>$ {\bf mln::vertex\_\-image}$<$ typename FP::result, typename FV::result, G $>$ mln::make::vertex\_\-image (
\begin{DoxyParamCaption}
\item[{const Graph$<$ G $>$ \&}]{ g\_\-, }
\item[{const Function\_\-v2v$<$ FP $>$ \&}]{ fp, }
\item[{const Function\_\-v2v$<$ FV $>$ \&}]{ fv}
\end{DoxyParamCaption}
)}}
\label{d5/d9a/a02650_af1dfb219815c254c817ddaf34faf4cdb}


Construct a vertex image. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em g\_\-}]A graph. \item[\mbox{\tt[in]} {\em fp}]A function mapping vertex ids to sites. \item[\mbox{\tt[in]} {\em fv}]A function mapping vertex ids to values.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A vertex image. 
\end{DoxyReturn}


Definition at line 92 of file make/vertex\_\-image.hh.

\hypertarget{a02650_a268b6ad0c4114951a2bdbaca8ed960ae}{
\index{mln::make@{mln::make}!voronoi@{voronoi}}
\index{voronoi@{voronoi}!mln::make@{mln::make}}
\subsubsection[{voronoi}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename N $>$ {\bf p\_\-vertices}$<$ {\bf util::graph}, fun::i2v::array$<$ typename I::site $>$ $>$ mln::make::voronoi (
\begin{DoxyParamCaption}
\item[{Image$<$ I $>$ \&}]{ ima\_\-, }
\item[{Image$<$ I $>$ \&}]{ orig\_\-, }
\item[{const Neighborhood$<$ N $>$ \&}]{ nbh}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a268b6ad0c4114951a2bdbaca8ed960ae}


Apply the Voronoi algorithm on {\ttfamily ima\_\-} with the original image {\ttfamily orig\_\-} for node computing with neighborhood {\ttfamily nbh}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em ima\_\-}]The labeling image. \item[\mbox{\tt[in]} {\em orig\_\-}]The original image. \item[\mbox{\tt[in]} {\em nbh}]The neighborhood for computing algorithm.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The computed graph. 
\end{DoxyReturn}


Definition at line 68 of file voronoi.hh.



References mln::util::graph::add\_\-edge(), mln::util::graph::add\_\-vertex(), and mln::estim::min\_\-max().

\hypertarget{a02650_accd3acb43d03f6e5bf0b9bce5c2bb5d3}{
\index{mln::make@{mln::make}!w\_\-window@{w\_\-window}}
\index{w\_\-window@{w\_\-window}!mln::make@{mln::make}}
\subsubsection[{w\_\-window}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename W , typename F $>$ {\bf mln::w\_\-window}$<$ typename W::dpsite, typename F::result $>$ mln::make::w\_\-window (
\begin{DoxyParamCaption}
\item[{const Window$<$ W $>$ \&}]{ win, }
\item[{const Function\_\-v2v$<$ F $>$ \&}]{ wei}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_accd3acb43d03f6e5bf0b9bce5c2bb5d3}


Create a \hyperlink{a00442}{mln::w\_\-window} from a window and a weight function. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em win}]A simple window. \item[\mbox{\tt[in]} {\em wei}]A weight function.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A weighted window. 
\end{DoxyReturn}


Definition at line 63 of file make/w\_\-window.hh.



References mln::w\_\-window$<$ D, W $>$::insert(), and mln::literal::origin.

\hypertarget{a02650_aaac77a30ea19c37d751886cd308ebffd}{
\index{mln::make@{mln::make}!w\_\-window1d@{w\_\-window1d}}
\index{w\_\-window1d@{w\_\-window1d}!mln::make@{mln::make}}
\subsubsection[{w\_\-window1d}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename W , unsigned M$>$ {\bf mln::w\_\-window}$<$ {\bf mln::dpoint1d}, W $>$ mln::make::w\_\-window1d (
\begin{DoxyParamCaption}
\item[{W(\&)}]{ weights\mbox{[}M\mbox{]}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_aaac77a30ea19c37d751886cd308ebffd}


Create a 1D \hyperlink{a00442}{mln::w\_\-window} from an array of weights. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em weights}]Array.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
The array size, {\ttfamily M}, has to be a square of an odd integer.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 1D weighted window. 
\end{DoxyReturn}


Definition at line 63 of file w\_\-window1d.hh.



References mln::w\_\-window$<$ D, W $>$::insert().



Referenced by w\_\-window1d\_\-int().

\hypertarget{a02650_a65983c9d7f0721a2c99125f87371caf8}{
\index{mln::make@{mln::make}!w\_\-window1d\_\-int@{w\_\-window1d\_\-int}}
\index{w\_\-window1d\_\-int@{w\_\-window1d\_\-int}!mln::make@{mln::make}}
\subsubsection[{w\_\-window1d\_\-int}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned M$>$ {\bf mln::w\_\-window1d\_\-int} mln::make::w\_\-window1d\_\-int (
\begin{DoxyParamCaption}
\item[{int(\&)}]{ weights\mbox{[}M\mbox{]}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a65983c9d7f0721a2c99125f87371caf8}


Create a \hyperlink{a01799_ad952bbe950addea1616aea3c03a52534}{mln::w\_\-window1d\_\-int}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em weights}]Array of integers.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
The array size, {\ttfamily M}, has to be a square of an odd integer.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 1D int-\/weighted window. 
\end{DoxyReturn}


Definition at line 61 of file make/w\_\-window1d\_\-int.hh.



References w\_\-window1d().

\hypertarget{a02650_a6f30c29603797b5593429359b223e6ac}{
\index{mln::make@{mln::make}!w\_\-window2d@{w\_\-window2d}}
\index{w\_\-window2d@{w\_\-window2d}!mln::make@{mln::make}}
\subsubsection[{w\_\-window2d}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename W , unsigned S$>$ {\bf mln::w\_\-window}$<$ {\bf mln::dpoint2d}, W $>$ mln::make::w\_\-window2d (
\begin{DoxyParamCaption}
\item[{W(\&)}]{ weights\mbox{[}S\mbox{]}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a6f30c29603797b5593429359b223e6ac}


Create a 2D \hyperlink{a00442}{mln::w\_\-window} from an array of weights. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em weights}]Array.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
The array size, {\ttfamily S}, has to be a square of an odd integer.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 2D weighted window. 
\end{DoxyReturn}


Definition at line 62 of file w\_\-window2d.hh.



Referenced by w\_\-window2d\_\-int().

\hypertarget{a02650_ac4c5e249736ed3231269fd97ab4c812b}{
\index{mln::make@{mln::make}!w\_\-window2d\_\-int@{w\_\-window2d\_\-int}}
\index{w\_\-window2d\_\-int@{w\_\-window2d\_\-int}!mln::make@{mln::make}}
\subsubsection[{w\_\-window2d\_\-int}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned M$>$ {\bf mln::w\_\-window2d\_\-int} mln::make::w\_\-window2d\_\-int (
\begin{DoxyParamCaption}
\item[{int(\&)}]{ weights\mbox{[}M\mbox{]}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_ac4c5e249736ed3231269fd97ab4c812b}


Create a \hyperlink{a01799_a43538db39890fe014259b8089419a292}{mln::w\_\-window2d\_\-int}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em weights}]Array of integers.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
The array size, {\ttfamily M}, has to be a square of an odd integer.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 2D int-\/weighted window. 
\end{DoxyReturn}


Definition at line 61 of file make/w\_\-window2d\_\-int.hh.



References w\_\-window2d().

\hypertarget{a02650_a05ecde4372eeccf2ae1edb61dc00d60d}{
\index{mln::make@{mln::make}!w\_\-window3d@{w\_\-window3d}}
\index{w\_\-window3d@{w\_\-window3d}!mln::make@{mln::make}}
\subsubsection[{w\_\-window3d}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename W , unsigned M$>$ {\bf mln::w\_\-window}$<$ {\bf mln::dpoint3d}, W $>$ mln::make::w\_\-window3d (
\begin{DoxyParamCaption}
\item[{W(\&)}]{ weights\mbox{[}M\mbox{]}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a05ecde4372eeccf2ae1edb61dc00d60d}


Create a 3D \hyperlink{a00442}{mln::w\_\-window} from an array of weights. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em weights}]Array.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
The array size, {\ttfamily M}, has to be a cube of an odd integer.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 3D weighted window. 
\end{DoxyReturn}


Definition at line 64 of file w\_\-window3d.hh.



References mln::w\_\-window$<$ D, W $>$::insert().



Referenced by w\_\-window3d\_\-int().

\hypertarget{a02650_aa767584f246da9dae5eb74c986d9ded3}{
\index{mln::make@{mln::make}!w\_\-window3d\_\-int@{w\_\-window3d\_\-int}}
\index{w\_\-window3d\_\-int@{w\_\-window3d\_\-int}!mln::make@{mln::make}}
\subsubsection[{w\_\-window3d\_\-int}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned M$>$ {\bf mln::w\_\-window3d\_\-int} mln::make::w\_\-window3d\_\-int (
\begin{DoxyParamCaption}
\item[{int(\&)}]{ weights\mbox{[}M\mbox{]}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_aa767584f246da9dae5eb74c986d9ded3}


Create a \hyperlink{a01799_a5015a092b306b1e30029abe3aa3c40c3}{mln::w\_\-window3d\_\-int}. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em weights}]Array of integers.\end{DoxyParams}
\begin{DoxyPrecond}{Precondition}
The array size, {\ttfamily M}, has to be a cube of an odd integer.
\end{DoxyPrecond}
\begin{DoxyReturn}{Returns}
A 3D int-\/weighted window. 
\end{DoxyReturn}


Definition at line 61 of file make/w\_\-window3d\_\-int.hh.



References w\_\-window3d().

\hypertarget{a02650_a696aae79673928dbed3dfa8a2a91e378}{
\index{mln::make@{mln::make}!w\_\-window\_\-directional@{w\_\-window\_\-directional}}
\index{w\_\-window\_\-directional@{w\_\-window\_\-directional}!mln::make@{mln::make}}
\subsubsection[{w\_\-window\_\-directional}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename D , typename W , unsigned L$>$ {\bf mln::w\_\-window}$<$ D, W $>$ mln::make::w\_\-window\_\-directional (
\begin{DoxyParamCaption}
\item[{const Gdpoint$<$ D $>$ \&}]{ dp, }
\item[{W(\&)}]{ weights\mbox{[}L\mbox{]}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d5/d9a/a02650_a696aae79673928dbed3dfa8a2a91e378}


Create a directional centered weighted window. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em dp}]A delta-\/point to set the orientation. \item[\mbox{\tt[in]} {\em weights}]An array of weights. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
A weighted window.
\end{DoxyReturn}
The window length {\ttfamily L} has to be odd. 

Definition at line 61 of file w\_\-window\_\-directional.hh.



References mln::w\_\-window$<$ D, W $>$::insert(), and mln::literal::zero.

