contrib/mul/ipts/ipts_corner_pyramid.h
Go to the documentation of this file.
00001 // This is mul/ipts/ipts_corner_pyramid.h
00002 #ifndef ipts_corner_pyramid_h_
00003 #define ipts_corner_pyramid_h_
00004 //:
00005 // \file
00006 // \brief Compute corner strength at each level of a scale space pyramid
00007 // \author Tim Cootes
00008 
00009 #include <vimt/vimt_image_2d_of.h>
00010 #include <vimt/vimt_image_pyramid.h>
00011 
00012 //: Compute corner strength at each level of a scale space pyramid
00013 //  Build smooth gaussian pyramid from the image, then compute corners at each level.
00014 //  Use ipts_scale_space_peaks() to get the position and scale of likely corners
00015 void ipts_corner_pyramid(const vimt_image_2d_of<float>& image,
00016                          vimt_image_pyramid& corner_pyramid,
00017                          vimt_image_pyramid& smooth_pyramid,
00018                          double scale_step);
00019 
00020 //: Compute corner strength at each level of a scale space pyramid.
00021 //  smooth_pyramid assumed to be of type float.
00022 //  Use ipts_scale_space_peaks() to get the position and scale of
00023 //  likely corners
00024 void ipts_corner_pyramid(const vimt_image_pyramid& smooth_pyramid,
00025                          vimt_image_pyramid& corner_pyramid);
00026 
00027 #endif // ipts_corner_pyramid_h_