Functions
core/vil/algo/vil_find_plateaus.h File Reference

Find plateau points in image. More...

#include <vil/vil_image_view.h>
#include <vcl_vector.h>

Go to the source code of this file.

Functions

template<class T >
bool vil_is_plateau_3x3 (const T *im, vcl_ptrdiff_t i_step, vcl_ptrdiff_t j_step)
 True if pixel at *im is greater than or equal to all 8 neighbours.
template<class T >
void vil_find_plateaus_3x3 (vcl_vector< unsigned > &pi, vcl_vector< unsigned > &pj, const vil_image_view< T > &image, const T &min_thresh, bool clear_list=true)
 Return (pi,pj) for all points in image greater than or equal to all 8 neighbours.

Detailed Description

Find plateau points in image.

Based on vil_find_peaks.h

Author:
Tim Cootes, Kevin de Souza

Definition in file vil_find_plateaus.h.


Function Documentation

template<class T >
void vil_find_plateaus_3x3 ( vcl_vector< unsigned > &  pi,
vcl_vector< unsigned > &  pj,
const vil_image_view< T > &  image,
const T &  min_thresh,
bool  clear_list = true 
) [inline]

Return (pi,pj) for all points in image greater than or equal to all 8 neighbours.

Compute position of all local plateau points (pi[k],pj[k]) above given threshold value.

Parameters:
clear_listIf true (the default) then empty lists before adding new examples
See also:
vil_find_peaks_3x3()

Definition at line 34 of file vil_find_plateaus.h.

template<class T >
bool vil_is_plateau_3x3 ( const T *  im,
vcl_ptrdiff_t  i_step,
vcl_ptrdiff_t  j_step 
) [inline]

True if pixel at *im is greater than or equal to all 8 neighbours.

See also:
vil_is_peak_3x3()

Definition at line 15 of file vil_find_plateaus.h.