Functions
contrib/mul/ipts/ipts_scale_space_peaks.h File Reference

Find peaks in scale-space. More...

#include <vimt/algo/vimt_find_peaks.h>
#include <vgl/vgl_point_2d.h>
#include <vgl/vgl_vector_2d.h>
#include <vgl/vgl_point_3d.h>
#include <vimt/vimt_image_pyramid.h>
#include <vcl_cmath.h>
#include <vcl_cassert.h>

Go to the source code of this file.

Functions

template<class T >
bool ipts_is_above_3x3 (T value, const T *im, vcl_ptrdiff_t i_step, vcl_ptrdiff_t j_step)
 True if value is strictly above *im and its 8 neighbours.
template<class T >
void ipts_scale_space_peaks_2d (vcl_vector< vgl_point_3d< double > > &peak_pts, const vimt_image_2d_of< T > &image_below, const vimt_image_2d_of< T > &image, const vimt_image_2d_of< T > &image_above, T threshold=0, bool clear_list=true)
 Find local maxima in position and scale above given threshold.
template<class T >
void ipts_scale_space_peaks_2d (vcl_vector< vgl_point_2d< double > > &peak_pts, vcl_vector< T > &peak_values, const vimt_image_2d_of< T > &image0, const vimt_image_2d_of< T > &image1, T threshold)
 Find local maxima in image0 and check against in image1.
template<class T >
void ipts_scale_space_peaks_2d (vcl_vector< vgl_point_3d< double > > &peak_pts, const vimt_image &image0, const vimt_image &image1, T threshold)
 Find local maxima in image0 and check against in image1.
template<class T >
void ipts_scale_space_peaks_2d (vcl_vector< vgl_point_3d< double > > &peak_pts, const vimt_image_pyramid &image_pyr, T threshold)
 Find local maxima in position and scale above a threshold.

Detailed Description

Find peaks in scale-space.

Author:
Tim Cootes

Definition in file ipts_scale_space_peaks.h.


Function Documentation

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

True if value is strictly above *im and its 8 neighbours.

Definition at line 19 of file ipts_scale_space_peaks.h.

template<class T >
void ipts_scale_space_peaks_2d ( vcl_vector< vgl_point_3d< double > > &  peak_pts,
const vimt_image_2d_of< T > &  image_below,
const vimt_image_2d_of< T > &  image,
const vimt_image_2d_of< T > &  image_above,
threshold = 0,
bool  clear_list = true 
) [inline]

Find local maxima in position and scale above given threshold.

Points returned in a 3D point, given world coords + scale value

Definition at line 37 of file ipts_scale_space_peaks.h.

template<class T >
void ipts_scale_space_peaks_2d ( vcl_vector< vgl_point_2d< double > > &  peak_pts,
vcl_vector< T > &  peak_values,
const vimt_image_2d_of< T > &  image0,
const vimt_image_2d_of< T > &  image1,
threshold 
) [inline]

Find local maxima in image0 and check against in image1.

Returned points will be above all their neighbours and those in nearby positions in image1

Definition at line 103 of file ipts_scale_space_peaks.h.

template<class T >
void ipts_scale_space_peaks_2d ( vcl_vector< vgl_point_3d< double > > &  peak_pts,
const vimt_image image0,
const vimt_image image1,
threshold 
) [inline]

Find local maxima in image0 and check against in image1.

Returned points will be above all their neighbours and those in nearby positions in image1

Definition at line 142 of file ipts_scale_space_peaks.h.

template<class T >
void ipts_scale_space_peaks_2d ( vcl_vector< vgl_point_3d< double > > &  peak_pts,
const vimt_image_pyramid image_pyr,
threshold 
) [inline]

Find local maxima in position and scale above a threshold.

Points returned in a 3D point, given world coords + scale value Note that image_pyr is assumed to contain images of type vimt_image_2d_of<T> - threshold indicates the typing.

Definition at line 173 of file ipts_scale_space_peaks.h.