Public Member Functions | Public Attributes
vil3d_overlap_functor< T1, T2 > Class Template Reference

Functor to compute overlaps by thresholding voxel values. More...

#include <vil3d_overlap.h>

List of all members.

Public Member Functions

 vil3d_overlap_functor (T1 t1a, T2 t2a)
 Constructor, defining thresholds for voxels to be true.
void operator() (T1 vox1, T2 vox2)
 Operator function.
unsigned n_union () const
unsigned n_intersection () const

Public Attributes

T1 t1
 Threshold for image 1.
T2 t2
 Threshold for image 2.
unsigned n1not2
 N voxels true in 1 but not in 2.
unsigned n2not1
 N voxels true in 2 but not in 1.
unsigned n1and2
 N voxels true in 1 and 2.

Detailed Description

template<class T1, class T2>
class vil3d_overlap_functor< T1, T2 >

Functor to compute overlaps by thresholding voxel values.

Definition at line 23 of file vil3d_overlap.h.


Constructor & Destructor Documentation

template<class T1, class T2>
vil3d_overlap_functor< T1, T2 >::vil3d_overlap_functor ( T1  t1a,
T2  t2a 
) [inline]

Constructor, defining thresholds for voxels to be true.

Definition at line 41 of file vil3d_overlap.h.


Member Function Documentation

template<class T1, class T2>
unsigned vil3d_overlap_functor< T1, T2 >::n_intersection ( ) const [inline]

Definition at line 57 of file vil3d_overlap.h.

template<class T1, class T2>
unsigned vil3d_overlap_functor< T1, T2 >::n_union ( ) const [inline]

Definition at line 56 of file vil3d_overlap.h.

template<class T1, class T2>
void vil3d_overlap_functor< T1, T2 >::operator() ( T1  vox1,
T2  vox2 
) [inline]

Operator function.

Definition at line 45 of file vil3d_overlap.h.


Member Data Documentation

template<class T1, class T2>
unsigned vil3d_overlap_functor< T1, T2 >::n1and2

N voxels true in 1 and 2.

Definition at line 38 of file vil3d_overlap.h.

template<class T1, class T2>
unsigned vil3d_overlap_functor< T1, T2 >::n1not2

N voxels true in 1 but not in 2.

Definition at line 32 of file vil3d_overlap.h.

template<class T1, class T2>
unsigned vil3d_overlap_functor< T1, T2 >::n2not1

N voxels true in 2 but not in 1.

Definition at line 35 of file vil3d_overlap.h.

template<class T1, class T2>
T1 vil3d_overlap_functor< T1, T2 >::t1

Threshold for image 1.

Definition at line 27 of file vil3d_overlap.h.

template<class T1, class T2>
T2 vil3d_overlap_functor< T1, T2 >::t2

Threshold for image 2.

Definition at line 29 of file vil3d_overlap.h.


The documentation for this class was generated from the following file: