Compute shuffle distance between two images. More...
Go to the source code of this file.
Defines | |
#define | vil_abs_shuffle_distance_txx_ |
#define | VIL_ABS_SHUFFLE_DISTANCE_INSTANTIATE(T1, T2) |
Functions | |
template<class T1 , class T2 > | |
double | vil_abs_shuffle_distance (const vil_image_view< T1 > &image1, const vil_image_view< T2 > &image2, const vil_structuring_element &element, bool include_borders) |
Computes shuffle distance between image1 and image2. |
Compute shuffle distance between two images.
Definition in file vil_abs_shuffle_distance.txx.
#define VIL_ABS_SHUFFLE_DISTANCE_INSTANTIATE | ( | T1, | |
T2 | |||
) |
template double vil_abs_shuffle_distance(const vil_image_view< T1 >& image1, \ const vil_image_view< T2 >& image2, \ const vil_structuring_element& element, \ bool include_borders)
Definition at line 84 of file vil_abs_shuffle_distance.txx.
#define vil_abs_shuffle_distance_txx_ |
Definition at line 2 of file vil_abs_shuffle_distance.txx.
double vil_abs_shuffle_distance | ( | const vil_image_view< T1 > & | image1, |
const vil_image_view< T2 > & | image2, | ||
const vil_structuring_element & | element, | ||
bool | include_borders | ||
) |
Computes shuffle distance between image1 and image2.
For each pixel in image1 it finds the pixel in image2 with the closest value in an offset area defined by the element. Returns mean over all pixels of this minimum value.
Definition at line 18 of file vil_abs_shuffle_distance.txx.