Find local minima in arrays. More...
Go to the source code of this file.
Functions | |
template<class T > | |
vbl_array_1d< T > | vbl_local_minima (vbl_array_1d< T > const &in, T thresh=T(0)) |
Find the local minima in arrays. | |
template<class T > | |
vbl_array_2d< T > | vbl_local_minima (vbl_array_2d< T > const &in, T thresh=T(0)) |
Find the local minima in arrays. | |
template<class T > | |
vbl_array_3d< T > | vbl_local_minima (vbl_array_3d< T > const &in, T thresh=T(0)) |
Find the local minima in arrays. | |
template<class T > | |
bool | local_minima (vbl_array_1d< T > const &in, vbl_array_1d< T > &minima, T thresh=T(0)) |
DEPRECATED. | |
template<class T > | |
bool | local_minima (vbl_array_2d< T > const &in, vbl_array_2d< T > &minima, T thresh=T(0)) |
DEPRECATED. | |
template<class T > | |
bool | local_minima (vbl_array_3d< T > const &in, vbl_array_3d< T > &minima, T thresh=T(0)) |
DEPRECATED. |
Find local minima in arrays.
Definition in file vbl_local_minima.h.
bool local_minima | ( | vbl_array_1d< T > const & | in, |
vbl_array_1d< T > & | minima, | ||
T | thresh = T(0) |
||
) |
DEPRECATED.
Definition at line 10 of file vbl_local_minima.txx.
bool local_minima | ( | vbl_array_2d< T > const & | in, |
vbl_array_2d< T > & | minima, | ||
T | thresh = T(0) |
||
) |
DEPRECATED.
Definition at line 48 of file vbl_local_minima.txx.
bool local_minima | ( | vbl_array_3d< T > const & | in, |
vbl_array_3d< T > & | minima, | ||
T | thresh = T(0) |
||
) |
DEPRECATED.
Definition at line 251 of file vbl_local_minima.txx.
vbl_array_1d<T> vbl_local_minima | ( | vbl_array_1d< T > const & | in, |
T | thresh = T(0) |
||
) |
Find the local minima in arrays.
The result is an array with non-zero elements where local minima exist. A local minimum must be smaller than all neighboring elements by a threshold. The result is an array with non-zero elements at minima. The value of non-zero element indicates the smallest difference between the minima and the neighboring elements.
Definition at line 29 of file vbl_local_minima.h.
vbl_array_2d<T> vbl_local_minima | ( | vbl_array_2d< T > const & | in, |
T | thresh = T(0) |
||
) |
Find the local minima in arrays.
The result is an array with non-zero elements where local minima exist. A local minimum must be smaller than all neighboring elements by a threshold. The neighborhoods are 4-connected. The result is an array with non-zero elements at minima. The value of non-zero element indicates the smallest difference between the minima and the neighboring elements.
Definition at line 44 of file vbl_local_minima.h.
vbl_array_3d<T> vbl_local_minima | ( | vbl_array_3d< T > const & | in, |
T | thresh = T(0) |
||
) |
Find the local minima in arrays.
The result is an array with non-zero elements where local minima exist. A local minimum must be smaller than all neighboring elements by a threshold. The neighborhoods are 8-connected. The result is an array with non-zero elements at minima. The value of non-zero element indicates the smallest difference between the minima and the neighboring elements.
Definition at line 59 of file vbl_local_minima.h.