Definition in file vil3d_abs_shuffle_distance.h.
#include <vil3d/algo/vil3d_structuring_element.h>
#include <vil3d/vil3d_image_view.h>
Go to the source code of this file.
Functions | |
| template<class T1, class T2> | |
| double | vil3d_abs_shuffle_distance (T1 v0, const T2 *im, const vcl_ptrdiff_t *offset, unsigned n) |
| Return minimum value of |im[offset[k]]-v0| k=0. | |
| template<class T1, class T2> | |
| double | vil3d_abs_shuffle_distance (T1 v0, const vil3d_image_view< T2 > &image, unsigned plane, const vil3d_structuring_element &element, int i0, int j0, int k0) |
| Return min difference of pixels under structuring element centred at (i0,j0). | |
| double vil3d_abs_shuffle_distance | ( | T1 | v0, | |
| const vil3d_image_view< T2 > & | image, | |||
| unsigned | plane, | |||
| const vil3d_structuring_element & | element, | |||
| int | i0, | |||
| int | j0, | |||
| int | k0 | |||
| ) | [inline] |
Return min difference of pixels under structuring element centred at (i0,j0).
I.e., returns minimum of |v0-image(i,j,plane)| over (i,j) in element. Checks boundary overlap.
Definition at line 30 of file vil3d_abs_shuffle_distance.h.
| double vil3d_abs_shuffle_distance | ( | T1 | v0, | |
| const T2 * | im, | |||
| const vcl_ptrdiff_t * | offset, | |||
| unsigned | n | |||
| ) | [inline] |
Return minimum value of |im[offset[k]]-v0| k=0.
.n-1.
Definition at line 13 of file vil3d_abs_shuffle_distance.h.
1.5.1