Functions
core/vbl/vbl_local_minima.h File Reference

Find local minima in arrays. More...

#include <vbl/vbl_array_1d.h>
#include <vbl/vbl_array_2d.h>
#include <vbl/vbl_array_3d.h>

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.

Detailed Description

Find local minima in arrays.

Author:
J.L. Mundy October 2, 2010
    Modifications
     <None>
   

Definition in file vbl_local_minima.h.


Function Documentation

template<class T >
bool local_minima ( vbl_array_1d< T > const &  in,
vbl_array_1d< T > &  minima,
thresh = T(0) 
)

DEPRECATED.

Deprecated:
in favour of vbl_local_minima

Definition at line 10 of file vbl_local_minima.txx.

template<class T >
bool local_minima ( vbl_array_2d< T > const &  in,
vbl_array_2d< T > &  minima,
thresh = T(0) 
)

DEPRECATED.

Deprecated:
in favour of vbl_local_minima

Definition at line 48 of file vbl_local_minima.txx.

template<class T >
bool local_minima ( vbl_array_3d< T > const &  in,
vbl_array_3d< T > &  minima,
thresh = T(0) 
)

DEPRECATED.

Deprecated:
in favour of vbl_local_minima

Definition at line 251 of file vbl_local_minima.txx.

template<class T >
vbl_array_1d<T> vbl_local_minima ( vbl_array_1d< T > const &  in,
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.

template<class T >
vbl_array_2d<T> vbl_local_minima ( vbl_array_2d< T > const &  in,
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.

template<class T >
vbl_array_3d<T> vbl_local_minima ( vbl_array_3d< T > const &  in,
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.