Namespace of transforms. More...
Namespaces | |
namespace | internal |
Functions | |
template<typename I , typename N , typename D > | |
util::couple < mln::trait::ch_value< I, D > ::ret, mln::trait::ch_value< I, typename I::psite >::ret > | distance_and_closest_point_geodesic (const Image< I > &input, const Neighborhood< N > &nbh, D max) |
Discrete geodesic distance transform. | |
template<typename P , typename N , typename D > | |
util::couple < mln_image_from_grid(mln_grid(P), D), mln_image_from_grid(mln_grid(P), unsigned)> | distance_and_closest_point_geodesic (const p_array< P > &pset, const box< P > &closest_point_domain, const Neighborhood< N > &nbh, D max) |
Discrete geodesic distance transform. | |
template<typename I , typename N , typename D > | |
util::couple < mln::trait::ch_value< I, D > ::ret, I > | distance_and_influence_zone_geodesic (const Image< I > &input, const Neighborhood< N > &nbh, D max) |
Discrete geodesic distance transform. | |
template<typename I , typename N , typename W , typename D > | |
mln::trait::ch_value< I, D >::ret | distance_front (const Image< I > &input, const Neighborhood< N > &nbh, const Weighted_Window< W > &w_win, D max) |
Discrete front distance transform. | |
template<typename I , typename N , typename D > | |
mln::trait::ch_value< I, D >::ret | distance_geodesic (const Image< I > &input, const Neighborhood< N > &nbh, D max) |
Discrete geodesic distance transform. | |
template<typename I > | |
image2d< float > | hough (const Image< I > &input_) |
Compute the hough transform from a binary image. | |
template<typename I , typename N , typename W > | |
mln::trait::concrete< I >::ret | influence_zone_front (const Image< I > &input, const Neighborhood< N > &nbh, const Weighted_Window< W > &w_win) |
Influence zone transform. | |
template<typename I , typename N , typename W , typename D > | |
mln::trait::concrete< I >::ret | influence_zone_front (const Image< I > &input, const Neighborhood< N > &nbh, const Weighted_Window< W > &w_win, D max) |
Influence zone transform. | |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | influence_zone_geodesic (const Image< I > &input, const Neighborhood< N > &nbh) |
template<typename I , typename N , typename D > | |
mln::trait::concrete< I >::ret | influence_zone_geodesic (const Image< I > &input, const Neighborhood< N > &nbh, const D &max, const typename I::value &background_value) |
Geodesic influence zone transform. | |
template<typename I , typename N , typename D > | |
mln::trait::concrete< I >::ret | influence_zone_geodesic (const Image< I > &input, const Neighborhood< N > &nbh, const D &max) |
Namespace of transforms.
util::couple< mln::trait::ch_value< I, D >::ret, mln::trait::ch_value< I, typename I::psite >::ret > mln::transform::distance_and_closest_point_geodesic | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh, | |||
D | max | |||
) | [inline] |
Discrete geodesic distance transform.
[in] | input | Image from which the geodesic distance is computed. |
[in] | nbh | Neighborhood |
[in] | max | Max distance of propagation. |
input
. References mln::make::couple(), mln::transform::internal::closest_point_functor_with_sites< I >::cp_ima, distance_geodesic(), mln::trace::entering(), mln::exact(), and mln::trace::exiting().
Referenced by mln::registration::closest_point_with_map< P >::init().
util::couple< mln_image_from_grid(mln_grid(P), D), mln_image_from_grid(mln_grid(P), unsigned)> mln::transform::distance_and_closest_point_geodesic | ( | const p_array< P > & | pset, | |
const box< P > & | closest_point_domain, | |||
const Neighborhood< N > & | nbh, | |||
D | max | |||
) | [inline] |
Discrete geodesic distance transform.
[in] | pset | an array of sites. |
[in] | closest_point_domain | domain of the returned image. |
[in] | nbh | neighborhood |
[in] | max | max distance of propagation. |
closest_point_domain
. References mln::geom::bbox(), mln::make::couple(), mln::transform::internal::closest_point_functor_with_indexes< I >::cp_ima, distance_geodesic(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::data::fill(), and mln::box< P >::is_valid().
util::couple< mln::trait::ch_value< I, D >::ret, I > mln::transform::distance_and_influence_zone_geodesic | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh, | |||
D | max | |||
) | [inline] |
Discrete geodesic distance transform.
[in] | input | Image from which the geodesic distance is computed. |
[in] | nbh | Neighborhood |
[in] | max | Max distance of propagation. |
input
. References mln::make::couple(), distance_geodesic(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::transform::internal::influence_zone_functor< I >::output.
mln::trait::ch_value< I, D >::ret mln::transform::distance_front | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh, | |||
const Weighted_Window< W > & | w_win, | |||
D | max | |||
) | [inline] |
Discrete front distance transform.
References mln::trace::entering(), mln::exact(), and mln::trace::exiting().
Referenced by mln::morpho::approx::impl::dilation_by_distance_thresholding_2d(), mln::morpho::approx::impl::dilation_by_distance_thresholding_3d(), mln::morpho::approx::impl::erosion_by_distance_thresholding_2d(), and mln::morpho::approx::impl::erosion_by_distance_thresholding_3d().
mln::trait::ch_value< I, D >::ret mln::transform::distance_geodesic | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh, | |||
D | max | |||
) | [inline] |
Discrete geodesic distance transform.
References mln::trace::entering(), mln::exact(), and mln::trace::exiting().
Referenced by distance_and_closest_point_geodesic(), and distance_and_influence_zone_geodesic().
image2d< float > mln::transform::hough | ( | const Image< I > & | input_ | ) |
Compute the hough transform from a binary image.
Objects used for computation must be set to 'true'.
[in] | input_ | A binary image. |
References mln::opt::at(), mln::math::cos(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::data::fill(), mln::geom::min_col(), mln::geom::min_row(), mln::geom::ncols(), mln::geom::nrows(), mln::math::sin(), and mln::transform::internal::to_radians().
mln::trait::concrete< I >::ret mln::transform::influence_zone_front | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh, | |||
const Weighted_Window< W > & | w_win | |||
) |
Influence zone transform.
References influence_zone_front().
mln::trait::concrete< I >::ret mln::transform::influence_zone_front | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh, | |||
const Weighted_Window< W > & | w_win, | |||
D | max | |||
) |
Influence zone transform.
References mln::canvas::distance_front(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::transform::internal::influence_zone_functor< I >::output.
Referenced by influence_zone_front().
mln::trait::concrete< I >::ret mln::transform::influence_zone_geodesic | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References influence_zone_geodesic().
mln::trait::concrete< I >::ret mln::transform::influence_zone_geodesic | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh, | |||
const D & | max, | |||
const typename I::value & | background_value | |||
) |
Geodesic influence zone transform.
[in] | input | An image. |
[in] | nbh | A neighborhood. |
[in] | max | The maximum influence zone distance. |
[in] | background_value | The value used as background (i.e. not propagated). |
References mln::canvas::distance_geodesic(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), and mln::transform::internal::influence_zone_functor< I >::output.
Referenced by influence_zone_geodesic().
mln::trait::concrete< I >::ret mln::transform::influence_zone_geodesic | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh, | |||
const D & | max | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References influence_zone_geodesic(), and mln::literal::zero.