Classes | Functions
contrib/mul/vil3d/algo/vil3d_overlap.cxx File Reference

Compute overlaps of images. More...

#include "vil3d_overlap.h"

Go to the source code of this file.

Classes

class  vil3d_bool_overlap_functor

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.

Detailed Description

Compute overlaps of images.

Author:
Tim Cootes

Definition in file vil3d_overlap.cxx.


Function Documentation

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_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.