Compute shuffle distance between two images. More...
Go to the source code of this file.
Defines | |
#define | vil3d_abs_shuffle_distance_txx_ |
#define | VIL3D_ABS_SHUFFLE_DISTANCE_INSTANTIATE(T1, T2) |
#define | VIL3D_ABS_SHUFFLE_DISTANCE_INSTANTIATE2(T1, T2) |
Functions | |
template<class T1 , class T2 > | |
double | vil3d_abs_shuffle_distance (const vil3d_image_view< T1 > &image1, const vil3d_image_view< T2 > &image2, const vil3d_structuring_element &element, bool include_borders) |
Computes shuffle distance between image1 and image2. | |
template<class T1 , class T2 > | |
void | vil3d_abs_shuffle_distance (const vil3d_image_view< T1 > &image1, const vil3d_image_view< T2 > &image2, const vil3d_structuring_element &element, vil3d_image_view< T1 > &image3) |
Computes shuffle distance between image1 and image2. |
Compute shuffle distance between two images.
Definition in file vil3d_abs_shuffle_distance.txx.
#define VIL3D_ABS_SHUFFLE_DISTANCE_INSTANTIATE | ( | T1, | |
T2 | |||
) |
template double vil3d_abs_shuffle_distance(const vil3d_image_view< T1 >& image1, \ const vil3d_image_view< T2 >& image2, \ const vil3d_structuring_element& element, \ bool include_borders)
Definition at line 206 of file vil3d_abs_shuffle_distance.txx.
#define VIL3D_ABS_SHUFFLE_DISTANCE_INSTANTIATE2 | ( | T1, | |
T2 | |||
) |
template void vil3d_abs_shuffle_distance(const vil3d_image_view< T1 >& image1, \ const vil3d_image_view< T2 >& image2, \ const vil3d_structuring_element& element, \ vil3d_image_view< T1 >& image3)
Definition at line 213 of file vil3d_abs_shuffle_distance.txx.
#define vil3d_abs_shuffle_distance_txx_ |
Definition at line 2 of file vil3d_abs_shuffle_distance.txx.
double vil3d_abs_shuffle_distance | ( | const vil3d_image_view< T1 > & | image1, |
const vil3d_image_view< T2 > & | image2, | ||
const vil3d_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 vil3d_abs_shuffle_distance.txx.
void vil3d_abs_shuffle_distance | ( | const vil3d_image_view< T1 > & | image1, |
const vil3d_image_view< T2 > & | image2, | ||
const vil3d_structuring_element & | element, | ||
vil3d_image_view< T1 > & | image3 | ||
) |
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.
Definition at line 113 of file vil3d_abs_shuffle_distance.txx.