Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes

mln::registration::closest_point_with_map< P > Class Template Reference

Closest point functor based on map distance. More...

#include <icp.hh>

List of all members.

Public Member Functions

 closest_point_with_map (const p_array< P > &X)
 closest_point_with_map (const p_array< P > &X, const box< P > &box)
void init (const p_array< P > &X, const box< P > &box)
I::site operator() (const typename I::site &p) const

Public Attributes

dmap_t dmap_X_

Private Types

typedef mln::trait::ch_value
< I, unsigned >::ret 
cp_ima_t
typedef mln::trait::ch_value
< I, value::int_u16 >::ret 
dmap_t

Private Member Functions

typedef mln_image_from_grid (mln_grid(P), P) I

Private Attributes

cp_ima_t cp_ima_
p_array< P > X_

Detailed Description

template<typename P>
class mln::registration::closest_point_with_map< P >

Closest point functor based on map distance.

Definition at line 145 of file icp.hh.


Member Typedef Documentation

template<typename P>
typedef mln::trait::ch_value< I , unsigned >::ret mln::registration::closest_point_with_map< P >::cp_ima_t [private]

Definition at line 148 of file icp.hh.

template<typename P>
typedef mln::trait::ch_value< I , value::int_u16 >::ret mln::registration::closest_point_with_map< P >::dmap_t [private]

Definition at line 149 of file icp.hh.


Constructor & Destructor Documentation

template<typename P>
mln::registration::closest_point_with_map< P >::closest_point_with_map ( const p_array< P > &  X  )  [inline]

Definition at line 153 of file icp.hh.

References mln::geom::bbox(), mln::box< P >::enlarge(), and mln::box< P >::is_valid().

template<typename P>
mln::registration::closest_point_with_map< P >::closest_point_with_map ( const p_array< P > &  X,
const box< P > &  box 
) [inline]

Definition at line 168 of file icp.hh.


Member Function Documentation

template<typename P>
void mln::registration::closest_point_with_map< P >::init ( const p_array< P > &  X,
const box< P > &  box 
) [inline]
template<typename P>
typedef mln::registration::closest_point_with_map< P >::mln_image_from_grid ( mln_grid(P)  ,
 
) [private]
template<typename P>
I ::site mln::registration::closest_point_with_map< P >::operator() ( const typename I::site &  p  )  const [inline]

Definition at line 221 of file icp.hh.


Member Data Documentation

template<typename P>
cp_ima_t mln::registration::closest_point_with_map< P >::cp_ima_ [private]

Definition at line 233 of file icp.hh.

Definition at line 228 of file icp.hh.

template<typename P>
p_array<P> mln::registration::closest_point_with_map< P >::X_ [private]

Definition at line 231 of file icp.hh.