Classes
contrib/brl/bseg/sdet/sdet_nms.h File Reference

A NMS class that can work with the sdet_edge_map class. More...

#include <vcl_vector.h>
#include <vbl/vbl_array_2d.h>
#include <vil/vil_image_view.h>
#include <vgl/vgl_point_2d.h>
#include <vgl/vgl_vector_2d.h>

Go to the source code of this file.

Classes

class  sdet_nms_params
 parameters for NMS. More...
class  sdet_nms

Detailed Description

A NMS class that can work with the sdet_edge_map class.

For every pixel in an image, a parabola fit is applied along the gradient direction, and the maximum point on this parabola is used to get the sub-pixel location of the edge. The pixel point must qualify for being a maximum, i.e. it should have higher values than the interpolated sub-pixels along the positive and negative gradient direction.

Below drawing shows the face numbers at a pixel and is for author's own reference.

         .---->x
         |
         |
         v y
  
            6    7
        5 |    |    | 8
          |    |    |
        4 |    |    | 1
          |    |    |
            3     2
  
Author:
Amir Tamrakar (adapted from Can's sdet_nms class)
Date:
9 Sept 2006
   Modifications
    Moved to sdet -- should be refitted to Can Aras' non_max suppression class
  

Definition in file sdet_nms.h.