Functor to compute overlaps by thresholding voxel values. More...
#include <vil3d_overlap.h>
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. |
Functor to compute overlaps by thresholding voxel values.
Definition at line 23 of file vil3d_overlap.h.
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.
unsigned vil3d_overlap_functor< T1, T2 >::n_intersection | ( | ) | const [inline] |
Definition at line 57 of file vil3d_overlap.h.
unsigned vil3d_overlap_functor< T1, T2 >::n_union | ( | ) | const [inline] |
Definition at line 56 of file vil3d_overlap.h.
void vil3d_overlap_functor< T1, T2 >::operator() | ( | T1 | vox1, |
T2 | vox2 | ||
) | [inline] |
Operator function.
Definition at line 45 of file vil3d_overlap.h.
unsigned vil3d_overlap_functor< T1, T2 >::n1and2 |
N voxels true in 1 and 2.
Definition at line 38 of file vil3d_overlap.h.
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.
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.
T1 vil3d_overlap_functor< T1, T2 >::t1 |
Threshold for image 1.
Definition at line 27 of file vil3d_overlap.h.
T2 vil3d_overlap_functor< T1, T2 >::t2 |
Threshold for image 2.
Definition at line 29 of file vil3d_overlap.h.