Public Types | Public Member Functions | Public Attributes

mln::canvas::chamfer< F > Struct Template Reference

Compute chamfer distance. More...

#include <chamfer.hh>

List of all members.

Public Types

typedef F::I I
typedef I::psite point
typedef F::W W

Public Member Functions

 chamfer (F &f)
void run ()

Public Attributes

F & f

Detailed Description

template<typename F>
struct mln::canvas::chamfer< F >

Compute chamfer distance.

Definition at line 47 of file canvas/chamfer.hh.


Member Typedef Documentation

template<typename F>
typedef F::I mln::canvas::chamfer< F >::I

Definition at line 49 of file canvas/chamfer.hh.

template<typename F>
typedef I ::psite mln::canvas::chamfer< F >::point

Definition at line 51 of file canvas/chamfer.hh.

template<typename F>
typedef F::W mln::canvas::chamfer< F >::W

Definition at line 50 of file canvas/chamfer.hh.


Constructor & Destructor Documentation

template<typename F >
mln::canvas::chamfer< F >::chamfer ( F &  f  )  [inline]

Definition at line 64 of file canvas/chamfer.hh.

References mln::canvas::chamfer< F >::run().


Member Function Documentation

template<typename F >
void mln::canvas::chamfer< F >::run (  )  [inline]

Init.

Fwd pass.

Bkd pass.

Definition at line 73 of file canvas/chamfer.hh.

References mln::win::sym().

Referenced by mln::canvas::chamfer< F >::chamfer().


Member Data Documentation

template<typename F>
F& mln::canvas::chamfer< F >::f

Definition at line 53 of file canvas/chamfer.hh.