$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Transform Methods

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
mln::transform::distance_and_closest_point_geodesic (const Image< I > &input, const Neighborhood< N > &nbh, D max)
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)> 
mln::transform::distance_and_closest_point_geodesic (const p_array< P > &pset, const box< P > &closest_point_domain, const Neighborhood< N > &nbh, D max)
template<typename I , typename N , typename D >
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)
template<typename I , typename N , typename W , typename D >
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)
template<typename I , typename N , typename D >
mln::trait::ch_value< I, D >::ret mln::transform::distance_geodesic (const Image< I > &input, const Neighborhood< N > &nbh, D max)
template<typename I >
image2d< floatmln::transform::hough (const Image< I > &input_)
template<typename I , typename N , typename W , typename D >
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)
template<typename I , typename N , typename W >
mln::trait::concrete< I >::ret mln::transform::influence_zone_front (const Image< I > &input, const Neighborhood< N > &nbh, const Weighted_Window< W > &w_win)
template<typename I , typename N >
mln::trait::concrete< I >::ret mln::transform::influence_zone_geodesic (const Image< I > &input, const Neighborhood< N > &nbh)
template<typename I , typename N , typename D >
mln::trait::concrete< I >::ret mln::transform::influence_zone_geodesic_saturated (const Image< I > &input, const Neighborhood< N > &nbh, const D &max, const typename I::value &background_value)
template<typename I , typename N , typename D >
mln::trait::concrete< I >::ret mln::transform::influence_zone_geodesic_saturated (const Image< I > &input, const Neighborhood< N > &nbh, const D &max)

Detailed Description

All transform algorithms.

Function Documentation

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> mln::transform::distance_and_closest_point_geodesic ( const Image< I > &  input,
const Neighborhood< N > &  nbh,
max 
)

Discrete geodesic distance transform.

Parameters
[in]inputImage from which the geodesic distance is computed.
[in]nbhNeighborhood
[in]maxMax distance of propagation.
Returns
a couple of images. The first one is the distance map and the second one is the closest point image. The closest point image contains sites.
Postcondition
The returned images have the same domain as input.
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)> mln::transform::distance_and_closest_point_geodesic ( const p_array< P > &  pset,
const box< P > &  closest_point_domain,
const Neighborhood< N > &  nbh,
max 
)

Discrete geodesic distance transform.

Parameters
[in]psetan array of sites.
[in]closest_point_domaindomain of the returned image.
[in]nbhneighborhood
[in]maxmax distance of propagation.
Returns
A couple of images. The first one is the distance map and the second one is the closest point image. The closest point image contains site indexes.
Postcondition
The returned image domains are defined on closest_point_domain.
template<typename I , typename N , typename D >
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,
max 
)

Discrete geodesic distance transform.

Parameters
[in]inputImage from which the geodesic distance is computed.
[in]nbhNeighborhood
[in]maxMax distance of propagation.
Returns
a couple of images. The first one is the distance map and the second one is the closest point image. The closest point image contains sites.
Postcondition
The returned images have the same domain as input.
template<typename I , typename N , typename W , typename D >
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,
max 
)

Discrete front distance transform.

template<typename I , typename N , typename D >
mln::trait::ch_value< I , D >::ret mln::transform::distance_geodesic ( const Image< I > &  input,
const Neighborhood< N > &  nbh,
max 
)

Discrete geodesic distance transform.

template<typename I >
image2d<float> mln::transform::hough ( const Image< I > &  input_)

Compute the hough transform from a binary image.

Parameters
[in]input_A binary image.
Returns
A 2D image of float. Rows are used for the distance and columns are used for the angles. Angles go from 0 to 359. Distance goes from 0 to the maximum distance between the center and a corner. The site having the maximum value indicates through its column index the document inclination.
Precondition
Objects used for computation must be set to 'true'.
template<typename I , typename N , typename W , typename D >
mln::trait::concrete< I >::ret mln::transform::influence_zone_front ( const Image< I > &  input,
const Neighborhood< N > &  nbh,
const Weighted_Window< W > &  w_win,
max 
)

Influence zone transform.

template<typename I , typename N , typename W >
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.

template<typename I , typename N >
mln::trait::concrete< I >::ret mln::transform::influence_zone_geodesic ( const Image< I > &  input,
const Neighborhood< N > &  nbh 
)

Geodesic influence zone transform.

Parameters
[in]inputAn image.
[in]nbhA neighborhood.
Returns
An image of influence zone.
template<typename I , typename N , typename D >
mln::trait::concrete< I >::ret mln::transform::influence_zone_geodesic_saturated ( const Image< I > &  input,
const Neighborhood< N > &  nbh,
const D &  max,
const typename I::value &  background_value 
)

Geodesic influence zone transform.

Parameters
[in]inputAn image.
[in]nbhA neighborhood.
[in]maxThe maximum influence zone distance.
[in]background_valueThe value used as background (i.e. not propagated).
Returns
An image of influence zone.
template<typename I , typename N , typename D >
mln::trait::concrete< I >::ret mln::transform::influence_zone_geodesic_saturated ( 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.