#include <HessianDetector.h>
Public Member Functions | |
| HessianDetector (APImage *i, int nrPoints=1000, CONVOLUTION_TYPE type=HD_BOX_FILTERS, int nrOctaves=1) | |
| bool | detect () |
| void | printPoints () |
| void | printPoints (std::ostream &o) |
| void | dump () |
| vector< vector< int > > * | getPoints () |
| double | getMaxima (int x, int y) |
| int | getNrPoints () |
Private Member Functions | |
| int | _getHessianDeterminant (int *pixelSumXX, int *pixelSumXY, int *pixelSumYY) |
| void | _calculateMaxDet (int i, int j) |
| void | _cutPointList (double average, int nrPoints) |
| double | _getScale (int kernelSize) |
| int | _convolutePixel (int *coordX, int *coordY, int *kernelSize) |
| bool | _boxFilterDetect () |
| bool | _slidingWDetect () |
| void | _insertToList (int *x, int *y) |
Private Attributes | |
| APImage * | image |
| int | nrPoints |
| int | nrOctaves |
| CONVOLUTION_TYPE | convolutionType |
| std::vector< vector< int > > | determinants |
| 0---> x | | v y | |
| std::vector< vector< int > > | orderedList |
| std::vector< vector< double > > | maximas |
|
||||||||||||||||||||
|
Definition at line 29 of file HessianDetector.cpp. References convolutionType, determinants, APImage::getHeightBW(), APImage::getWidthBW(), image, celeste::max(), maximas, nrOctaves, and orderedList. |
|
|
Non-maxima suppression if any determinant in the area around the pixel is greater than the pixel, suppress the current pixel. This can also be done in a loop. Definition at line 229 of file HessianDetector.cpp. References _calculateMaxDet(), _cutPointList(), cout, determinants, APImage::getHeightBW(), APImage::getWidthBW(), image, celeste::max(), and orderedList. Referenced by detect(). |
|
||||||||||||
|
Each octave has 4 kernel sizes. Definition at line 339 of file HessianDetector.cpp. References _convolutePixel(), determinants, HD_MAX_OCTAVES, maximas, and nrOctaves. Referenced by _boxFilterDetect(). |
|
||||||||||||||||
|
Definition at line 396 of file HessianDetector.cpp. References _getHessianDeterminant(), APImage::getRegionSum(), and image. Referenced by _calculateMaxDet(). |
|
||||||||||||
|
Definition at line 308 of file HessianDetector.cpp. References cout, determinants, and orderedList. Referenced by _boxFilterDetect(). |
|
||||||||||||||||
|
Definition at line 392 of file HessianDetector.cpp. References vigra_ext::pow(). Referenced by _convolutePixel(). |
|
|
Definition at line 690 of file HessianDetector.cpp. |
|
||||||||||||
|
Definition at line 598 of file HessianDetector.cpp. References determinants, and orderedList. Referenced by _slidingWDetect(). |
|
|
if any determinant in the area around the pixel is greater than the pixel, suppress the current pixel This can also be done in a loop. Definition at line 66 of file HessianDetector.cpp. References _insertToList(), determinants, APImage::getHeight(), APImage::getHeightBW(), APImage::getPixel(), APImage::getWidth(), APImage::getWidthBW(), image, maximas, vigra_ext::pow(), hugin_utils::round(), and APImage::scale(). Referenced by detect(). |
|
|
Definition at line 57 of file HessianDetector.cpp. References _boxFilterDetect(), _slidingWDetect(), and convolutionType. Referenced by main(). |
|
|
Definition at line 693 of file HessianDetector.cpp. |
|
||||||||||||
|
Definition at line 687 of file HessianDetector.cpp. References maximas. Referenced by Descriptor::_getMaxima(). |
|
|
Definition at line 684 of file HessianDetector.cpp. |
|
|
Definition at line 681 of file HessianDetector.cpp. Referenced by main(). |
|
|
Definition at line 655 of file HessianDetector.cpp. References cout, and orderedList. |
|
|
Definition at line 641 of file HessianDetector.cpp. References cout, APImage::drawCircle(), HD_INIT_KERNEL_SIZE, image, maximas, orderedList, and APImage::show(). |
|
|
Definition at line 60 of file HessianDetector.h. Referenced by detect(), and HessianDetector(). |
|
|
0---> x | | v y
Definition at line 70 of file HessianDetector.h. Referenced by _boxFilterDetect(), _calculateMaxDet(), _cutPointList(), _insertToList(), _slidingWDetect(), and HessianDetector(). |
|
|
Definition at line 57 of file HessianDetector.h. Referenced by _boxFilterDetect(), _convolutePixel(), _slidingWDetect(), HessianDetector(), and printPoints(). |
|
|
Definition at line 73 of file HessianDetector.h. Referenced by _calculateMaxDet(), _slidingWDetect(), getMaxima(), HessianDetector(), and printPoints(). |
|
|
Definition at line 59 of file HessianDetector.h. Referenced by _calculateMaxDet(), and HessianDetector(). |
|
|
Definition at line 58 of file HessianDetector.h. |
|
|
Definition at line 71 of file HessianDetector.h. Referenced by _boxFilterDetect(), _cutPointList(), _insertToList(), HessianDetector(), and printPoints(). |
1.3.9.1