oln::morpho::hybrid::internal Namespace Reference


Functions

template<class DestType, class I>
mute< I, DestType >::ret create_minima_image_from_bin_ (const abstract::non_vectorial_image< I > &input)
 Create extremum image from another one.
template<class I>
mute< I, ntg::bin >::ret ima_to_bin_ (const abstract::non_vectorial_image< I > &input)
 Create binary image from another one.
template<class P, class I1, class I2, class E>
static bool exist_init_dilation (const abstract::point< P > &p, const abstract::non_vectorial_image< I1 > &marker, const abstract::non_vectorial_image< I2 > &mask, const abstract::struct_elt< E > &se)
 Check if it exists initialization for dilation.
template<class P, class I1, class I2, class E>
static bool exist_init_erosion (const abstract::point< P > &p, const abstract::non_vectorial_image< I1 > &marker, const abstract::non_vectorial_image< I2 > &mask, const abstract::struct_elt< E > &se)
 Check if it exists initialization for erosion.


Function Documentation

template<class DestType, class I>
mute<I, DestType>::ret oln::morpho::hybrid::internal::create_minima_image_from_bin_ ( const abstract::non_vectorial_image< I > &  input  ) 

Create extremum image from another one.

Parameters:
DestType Type of data in the wanted image.
I Exact type of the input image.

Definition at line 463 of file extrema.hh.

template<class P, class I1, class I2, class E>
static bool oln::morpho::hybrid::internal::exist_init_dilation ( const abstract::point< P > &  p,
const abstract::non_vectorial_image< I1 > &  marker,
const abstract::non_vectorial_image< I2 > &  mask,
const abstract::struct_elt< E > &  se 
) [inline, static]

Check if it exists initialization for dilation.

Definition at line 216 of file reconstruction.hh.

References mlc::eq< i, j >::ensure(), and oln::abstract::image< Exact >::hold().

Referenced by oln::morpho::hybrid::geodesic_reconstruction_dilation().

00220         {
00221           mlc::eq<I1::dim, I2::dim>::ensure();
00222           mlc::eq<I1::dim, E::dim>::ensure();
00223           mlc::eq<I1::dim, P::dim>::ensure();
00224 
00225           oln_neighb_type(E) q(se, p);
00226           for_all (q)
00227             if (marker.hold(q) && (marker[q] < marker[p]) && (marker[q] < mask[q]))
00228               return true;
00229           return false;
00230         }

template<class P, class I1, class I2, class E>
static bool oln::morpho::hybrid::internal::exist_init_erosion ( const abstract::point< P > &  p,
const abstract::non_vectorial_image< I1 > &  marker,
const abstract::non_vectorial_image< I2 > &  mask,
const abstract::struct_elt< E > &  se 
) [inline, static]

Check if it exists initialization for erosion.

Definition at line 507 of file reconstruction.hh.

References mlc::eq< i, j >::ensure(), and oln::abstract::image< Exact >::hold().

Referenced by oln::morpho::hybrid::geodesic_reconstruction_erosion().

00511         {
00512           mlc::eq<I1::dim, I2::dim>::ensure();
00513           mlc::eq<I1::dim, E::dim>::ensure();
00514           mlc::eq<I1::dim, P::dim>::ensure();
00515 
00516           oln_neighb_type(E) q(se, p);
00517           for_all (q)
00518             if (marker.hold(q) && (marker[q] > marker[p]) && (marker[q] > mask[q]))
00519               return true;
00520           return false;
00521         }

template<class I>
mute<I, ntg::bin>::ret oln::morpho::hybrid::internal::ima_to_bin_ ( const abstract::non_vectorial_image< I > &  input  ) 

Create binary image from another one.

Parameters:
I Exact type of the image.

Definition at line 486 of file extrema.hh.


Generated on Tue Feb 20 20:29:11 2007 for Olena by  doxygen 1.5.1