Package pyvision :: Package point :: Module DetectorCorner :: Class DetectorCorner
[hide private]
[frames] | no frames]

Class DetectorCorner

source code

DetectorROI.DetectorROI --+
                          |
                         DetectorCorner

Instance Methods [hide private]
 
__init__(self, mask=[[-1, 0, 1]], radius=9, sigma=0.7, k=0.04, **kwargs)
Corner Detector
source code
 
_detect(self, image) source code

Inherited from DetectorROI.DetectorROI: detect

Method Details [hide private]

__init__(self, mask=[[-1, 0, 1]], radius=9, sigma=0.7, k=0.04, **kwargs)
(Constructor)

source code 

Corner Detector

mask - first dirivitive filter radius - radius of the max filter sigma - sigma of the smoothing gaussian. k - not sure what this parameter means.

Passed to superclass: n - is the approximate number of points requested. bin_size - the width and height of each bin in pixels. corner_selector ('all', 'bins', or 'best') - stratagy for point selection.

When corner_selector is set to bins, the image is subdivided in to bins of size <bin_size>X<bin_size> pixels and an equal number of points will be taken from each of those bins. This insures that points are found in all parts of the image not just where the corners are strongest.

This code is based on a function originally written for matlab.

Original matlab code by: Jingyu Yan and Marc Pollefeys Department of Computer Science University of North Carolina at Chapel Hill

Converted to Python by: David Bolme Department of Computer Science Colorado State Univerisity

Overrides: DetectorROI.DetectorROI.__init__

_detect(self, image)

source code 
Overrides: DetectorROI.DetectorROI._detect