SMIL  1.0.4
GeoCuts_Watershed.h
1 #ifndef __D_GEOCUTS_WATERSHED_H__
2 #define __D_GEOCUTS_WATERSHED_H__
3 
4 typedef float F_SIMPLE;
5 typedef double CVariant;
6 
7 namespace smil
8 {
29  // line no 6633
30  template <class T>
31  RES_T geoCutsStochastic_Watershed(const Image<T> &imIn,
32  const Image<T> &imVal,
33  const CVariant &nbmarkers,
34  const StrElt &nl, Image<T> &imOut);
48  // line no 6922
49  template <class T>
50  RES_T geoCutsStochastic_Watershed_2(const Image<T> &imIn,
51  const Image<T> &imVal,
52  const Image<T> &imMarker,
53  const CVariant &nbmarkers,
54  const StrElt &nl, Image<T> &imOut);
66  // line no 7236
67  template <class T1, class T2>
68  RES_T geoCutsWatershed_MinCut(const Image<T1> &imIn, const Image<T2> &imMarker,
69  const double Power, const StrElt &nl,
70  Image<T2> &imOut);
71 
80  // line no 7401
81  template <class T>
82  RES_T geoCutsWatershed_Prog_MinCut(const Image<T> &imIn,
83  const Image<T> &imMarker,
84  const StrElt &nl, Image<T> &imOut);
97  // line no 7603
98  template <class T>
99  RES_T geoCutsWatershed_SPF(const Image<T> &imIn, const Image<T> &imMarker,
100  const CVariant &Power, const StrElt &nl,
101  Image<T> &imOut);
112  // line no 9002
113  template <class T>
114  RES_T geoCutsWatershed_SpanningForest(const Image<T> &imIn,
115  const Image<T> &imMarker,
116  const StrElt &nl, Image<T> &imOut);
127  // line no 9199
128  template <class T>
129  RES_T geoCutsWatershed_SpanningForest_v2(const Image<T> &imIn,
130  const Image<T> &imMarker,
131  const StrElt &nl, Image<T> &imOut);
143  // line no 10160
144  template <class T1, class T2>
145  RES_T geoCutsMultiway_Watershed(const Image<T1> &imIn,
146  const Image<T2> &imMarker,
147  const double Power, const StrElt &nl,
148  Image<T2> &imOut);
149 
161  // line no 7846
162  template <class T>
163  RES_T geoCutsMax_Fiability_Forest(const Image<T> &imIn,
164  const Image<T> &imMarker, const StrElt &nl,
165  Image<T> &imOut);
177  // line no 8073
178  template <class T>
179  RES_T geoCutsBiCriteria_Shortest_Forest(const Image<T> &imIn,
180  const Image<T> &imMarker,
181  const StrElt &nl, Image<T> &imOut);
192  // line no 8271
193  template <class T>
194  RES_T geoCutsLexicographical_Shortest_Forest(const Image<T> &imIn,
195  const Image<T> &imMarker,
196  const StrElt &nl,
197  Image<T> &imOut);
211  // line no 8576
212  template <class T>
213  RES_T geoCutsVectorial_Shortest_Forest(const Image<T> &imIn,
214  const Image<T> &imMarker,
215  const StrElt &nl, Image<T> &imOut);
229  // line no 8482
230  template <class T>
231  RES_T geoCutsVectorial_Lexicographical_Shortest_Forest(
232  const Image<T> &imIn, const Image<T> &imMarker, const StrElt &nl,
233  Image<T> &imOut);
245  // line no 9473
246  template <class T>
247  RES_T geoCutsReg_SpanningForest(const Image<T> &imIn,
248  const Image<T> &imMarker, const StrElt &nl,
249  Image<T> &imOut);
253 } // namespace smil
254 
255 #include "private/GeoCuts/geo-cuts-tools.hpp"
256 #include "private/GeoCuts/Watershed.hpp"
257 
258 #endif // __D_GEOCUTS_WATERSHED_H__
RES_T geoCutsMultiway_Watershed(const Image< T1 > &imIn, const Image< T2 > &imMarker, const double Power, const StrElt &nl, Image< T2 > &imOut)
Watershed as a mutli_terminal cut (multi label)
Definition: Watershed.hpp:248
RES_T geoCutsWatershed_MinCut(const Image< T1 > &imIn, const Image< T2 > &imMarker, const double Power, const StrElt &nl, Image< T2 > &imOut)
Watershed as a Minimum Cut (2 labels)
Definition: Watershed.hpp:89