Functions
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. More...
 
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. More...
 
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. More...
 
template<class T >
bool local_minima (vbl_array_1d< T > const &in, vbl_array_1d< T > &minima, T thresh=T(0))
 DEPRECATED. More...
 
template<class T >
bool local_minima (vbl_array_2d< T > const &in, vbl_array_2d< T > &minima, T thresh=T(0))
 DEPRECATED. More...
 
template<class T >
bool local_minima (vbl_array_3d< T > const &in, vbl_array_3d< T > &minima, T thresh=T(0))
 DEPRECATED. More...
 

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

◆ local_minima() [1/3]

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 13 of file vbl_local_minima.hxx.

◆ local_minima() [2/3]

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 51 of file vbl_local_minima.hxx.

◆ local_minima() [3/3]

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 254 of file vbl_local_minima.hxx.

◆ vbl_local_minima() [1/3]

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 26 of file vbl_local_minima.h.

◆ vbl_local_minima() [2/3]

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 41 of file vbl_local_minima.h.

◆ vbl_local_minima() [3/3]

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 56 of file vbl_local_minima.h.