restored the ordering of SURF constructor parameters (ticket #1704)
This commit is contained in:
parent
8e3f1c09d2
commit
f014fb0a0e
@ -111,8 +111,8 @@ public:
|
|||||||
SURF();
|
SURF();
|
||||||
//! the full constructor taking all the necessary parameters
|
//! the full constructor taking all the necessary parameters
|
||||||
explicit SURF(double _hessianThreshold,
|
explicit SURF(double _hessianThreshold,
|
||||||
bool _extended=true, bool _upright=false,
|
int _nOctaves=4, int _nOctaveLayers=2,
|
||||||
int _nOctaves=4, int _nOctaveLayers=2);
|
bool _extended=true, bool _upright=false);
|
||||||
|
|
||||||
//! returns the descriptor size in float's (64 or 128)
|
//! returns the descriptor size in float's (64 or 128)
|
||||||
int descriptorSize() const;
|
int descriptorSize() const;
|
||||||
|
@ -819,7 +819,7 @@ SURF::SURF()
|
|||||||
nOctaveLayers = 2;
|
nOctaveLayers = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
SURF::SURF(double _threshold, bool _extended, bool _upright, int _nOctaves, int _nOctaveLayers)
|
SURF::SURF(double _threshold, int _nOctaves, int _nOctaveLayers, bool _extended, bool _upright)
|
||||||
{
|
{
|
||||||
hessianThreshold = _threshold;
|
hessianThreshold = _threshold;
|
||||||
extended = _extended;
|
extended = _extended;
|
||||||
|
@ -297,7 +297,7 @@ void CV_DetectorsTest::run( int /*start_from*/ )
|
|||||||
if (exp.empty())
|
if (exp.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!testDetector(to_test, SurfNoMaskWrap(SURF(1536+512+512, true, false, 2)), exp))
|
if (!testDetector(to_test, SurfNoMaskWrap(SURF(1536+512+512, 2)), exp))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
LoadExpected(string(ts->get_data_path()) + "detectors/star.xml", exp);
|
LoadExpected(string(ts->get_data_path()) + "detectors/star.xml", exp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user