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

Class DetectorHarris

source code

DetectorROI.DetectorROI --+
                          |
                         DetectorHarris

Instance Methods [hide private]
 
__init__(self, block_size=7, aperture_size=3, k=0.04, **kwargs)
n - is the approximate number of points requested.
source code
 
_detect(self, im)
void cvCornerHarris( const CvArr* image, CvArr* harris_responce, int block_size, int aperture_size=3, double k=0.04 );
source code

Inherited from DetectorROI.DetectorROI: detect

Method Details [hide private]

__init__(self, block_size=7, aperture_size=3, k=0.04, **kwargs)
(Constructor)

source code 

n - is the approximate number of points requested. bin_size - the width and height of each bin in pixels. 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.

Overrides: DetectorROI.DetectorROI.__init__
(inherited documentation)

_detect(self, im)

source code 

void cvCornerHarris( const CvArr* image, CvArr* harris_responce, int block_size, int aperture_size=3, double k=0.04 );

Overrides: DetectorROI.DetectorROI._detect