KJB
blob_local_optimize.h File Reference

Go to the source code of this file.

## Functions

template<class DiscreteFunction , class OutputIterator , class ConvertIndex >
OutputIterator local_argoptima_1D (const DiscreteFunction &f, double thresh, OutputIterator result, ConvertIndex convert_index)
Find the local optima of a 1-dimensional discrete function. More...

template<class DiscreteFunction , class OutputIterator , class ConvertIndex >
OutputIterator local_argoptima_2D (const DiscreteFunction &f, double thresh, OutputIterator result, ConvertIndex convert_index)
Find the local optima of a 2-dimensional discrete function. More...

template<class DiscreteFunction , class OutputIterator , class ConvertIndex >
OutputIterator local_argoptima_3D (const DiscreteFunction &f, double thresh, OutputIterator result, ConvertIndex convert_index)
Find the local optima of a 3-dimensional discrete function. More...

template<class DiscreteFunction >
bool less_than_neighbors_2D (int i, int j, const DiscreteFunction &f)

template<class DiscreteFunction >
bool greater_than_neighbors_2D (int i, int j, const DiscreteFunction &f)

template<class DiscreteFunction >
bool less_than_neighbors_3D (int i, int j, int k, const DiscreteFunction &f)

template<class DiscreteFunction >
bool greater_than_neighbors_3D (int i, int j, int k, const DiscreteFunction &f)

## Function Documentation

template<class DiscreteFunction >
 bool greater_than_neighbors_2D ( int i, int j, const DiscreteFunction & f )
template<class DiscreteFunction >
 bool greater_than_neighbors_3D ( int i, int j, int k, const DiscreteFunction & f )
template<class DiscreteFunction >
 bool less_than_neighbors_2D ( int i, int j, const DiscreteFunction & f )
template<class DiscreteFunction >
 bool less_than_neighbors_3D ( int i, int j, int k, const DiscreteFunction & f )
template<class DiscreteFunction , class OutputIterator , class ConvertIndex >
 OutputIterator local_argoptima_1D ( const DiscreteFunction & f, double thresh, OutputIterator result, ConvertIndex convert_index )

Find the local optima of a 1-dimensional discrete function.

The function here is represented by an one-dimensional array, with the [] operator defined.

template<class DiscreteFunction , class OutputIterator , class ConvertIndex >
 OutputIterator local_argoptima_2D ( const DiscreteFunction & f, double thresh, OutputIterator result, ConvertIndex convert_index )

Find the local optima of a 2-dimensional discrete function.

The function here is represented by an two-dimensional array, with the [][] operator defined.

template<class DiscreteFunction , class OutputIterator , class ConvertIndex >
 OutputIterator local_argoptima_3D ( const DiscreteFunction & f, double thresh, OutputIterator result, ConvertIndex convert_index )

Find the local optima of a 3-dimensional discrete function.

The function here is represented by an three-dimensional array, with the [][][] operator defined.