added one more SIFT::CommonParams constructor

This commit is contained in:
Maria Dimashova
2011-06-07 07:41:59 +00:00
parent 7d4f06b7f3
commit ca551ab9ae
2 changed files with 5 additions and 0 deletions

View File

@@ -1380,6 +1380,10 @@ SIFT::CommonParams::CommonParams( int _nOctaves, int _nOctaveLayers, int /*_firs
firstOctave(-1/*_firstOctave*/), angleMode(FIRST_ANGLE/*_angleMode*/)
{}
SIFT::CommonParams::CommonParams( int _nOctaves, int _nOctaveLayers ) :
nOctaves(_nOctaves), nOctaveLayers(_nOctaveLayers), firstOctave(-1), angleMode(FIRST_ANGLE)
{}
SIFT::DetectorParams::DetectorParams() :
threshold(GET_DEFAULT_THRESHOLD()), edgeThreshold(GET_DEFAULT_EDGE_THRESHOLD())
{}