11 #ifndef BRAINRAT_MORPHOLOGY_ALGORITHM_H
12 #define BRAINRAT_MORPHOLOGY_ALGORITHM_H
14 #include <cartobase/smart/rcptr.h>
15 #include <aims/data/data_g.h>
16 #include <aims/roi/maskIterator.h>
17 #include <aims/connectivity/structuring_element.h>
20 carto::rc_ptr<aims::StructuringElement>
getSE(
int se,
double amplitude,
bool planar,
bool usecenter);
30 static double ApplySE(
const AimsData<T> &image,
32 const aims::StructuringElement &sev,
33 const bool ¬est =
false);
37 static AimsData<double>
ApplySE(
const AimsData<T> &image,
38 const aims::StructuringElement &sev,
39 const bool ¬est =
false);
43 static AimsData<double>
ApplySE(
const AimsData<T> &image,
44 carto::rc_ptr<aims::MaskIterator> maskiterator,
45 const aims::StructuringElement &sev,
46 const bool ¬est =
false);
50 static AimsData<double>
ApplySE(
const AimsData<T> &image,
51 int se,
double amplitude,
52 bool planar =
true,
bool usecenter =
true,
53 const bool ¬est =
false);
57 static AimsData<double>
ApplySE(
const AimsData<T> &image,
58 carto::rc_ptr<aims::MaskIterator> maskiterator,
59 int se,
double amplitude,
60 bool planar =
true,
bool usecenter =
true,
61 const bool ¬est =
false);
carto::rc_ptr< aims::StructuringElement > getSE(int se, double amplitude, bool planar, bool usecenter)
static AimsData< double > ApplySE(const AimsData< T > &image, int se, double amplitude, bool planar=true, bool usecenter=true, const bool ¬est=false)
static AimsData< double > ApplySE(const AimsData< T > &image, carto::rc_ptr< aims::MaskIterator > maskiterator, int se, double amplitude, bool planar=true, bool usecenter=true, const bool ¬est=false)
static AimsData< double > ApplySE(const AimsData< T > &image, const aims::StructuringElement &sev, const bool ¬est=false)
static double ApplySE(const AimsData< T > &image, const Point3dl &p, const aims::StructuringElement &sev, const bool ¬est=false)
static AimsData< double > ApplySE(const AimsData< T > &image, carto::rc_ptr< aims::MaskIterator > maskiterator, const aims::StructuringElement &sev, const bool ¬est=false)