Compute overlaps of images. More...
Go to the source code of this file.
Classes | |
class | vil3d_overlap_functor< T1, T2 > |
Functor to compute overlaps by thresholding voxel values. More... | |
Functions | |
double | vil3d_overlap_dice (const vil3d_image_view< bool > &im1, const vil3d_image_view< bool > &im2) |
Dice overlap = 2*intersection/(intersection+union). | |
double | vil3d_overlap_jaccard (const vil3d_image_view< bool > &im1, const vil3d_image_view< bool > &im2) |
Jaccard overlap = intersection/union. | |
template<class T1 , class T2 > | |
double | vil3d_overlap_dice (const vil3d_image_view< T1 > &im1, T1 t1, const vil3d_image_view< T2 > &im2, T2 t2) |
Dice overlap = 2*intersection/(intersection+union). | |
template<class T1 , class T2 > | |
double | vil3d_overlap_jaccard (const vil3d_image_view< T1 > &im1, T1 t1, const vil3d_image_view< T2 > &im2, T2 t2) |
Jaccard overlap = intersection/union. |
Compute overlaps of images.
Definition in file vil3d_overlap.h.
double vil3d_overlap_dice | ( | const vil3d_image_view< bool > & | im1, |
const vil3d_image_view< bool > & | im2 | ||
) |
Dice overlap = 2*intersection/(intersection+union).
Definition at line 42 of file vil3d_overlap.cxx.
double vil3d_overlap_dice | ( | const vil3d_image_view< T1 > & | im1, |
T1 | t1, | ||
const vil3d_image_view< T2 > & | im2, | ||
T2 | t2 | ||
) |
Dice overlap = 2*intersection/(intersection+union).
Voxel in image A is true if its value is strictly above the threshold t
Definition at line 63 of file vil3d_overlap.h.
double vil3d_overlap_jaccard | ( | const vil3d_image_view< bool > & | im1, |
const vil3d_image_view< bool > & | im2 | ||
) |
Jaccard overlap = intersection/union.
Definition at line 53 of file vil3d_overlap.cxx.
double vil3d_overlap_jaccard | ( | const vil3d_image_view< T1 > & | im1, |
T1 | t1, | ||
const vil3d_image_view< T2 > & | im2, | ||
T2 | t2 | ||
) |
Jaccard overlap = intersection/union.
Voxel in image A is true if its value is strictly above the threshold t
Definition at line 76 of file vil3d_overlap.h.