Skip to content

Commit 47ad03d

Browse files
committed
Code review fixes.
1 parent 2d41c9a commit 47ad03d

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,6 @@ class CV_EXPORTS_W ObjectnessBING : public Objectness
308308
return computeSaliencyImpl( image, saliencyMap );
309309
}
310310

311-
CV_WRAP void readModel();
312-
CV_WRAP void writeModel() const;
313-
314311
/** @brief Return the list of the rectangles' objectness value,
315312
316313
in the same order as the *vector\<Vec4i\> objectnessBoundingBox* returned by the algorithm (in

modules/saliency/src/BING/objectnessBING.cpp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -448,21 +448,12 @@ bool ObjectnessBING::matRead( const std::string& filename, Mat& _M )
448448
M.copyTo( _M );
449449
return true;
450450
}
451+
451452
std::vector<float> ObjectnessBING::getobjectnessValues()
452453
{
453454
return objectnessValues;
454455
}
455456

456-
void ObjectnessBING::readModel()
457-
{
458-
459-
}
460-
461-
void ObjectnessBING::writeModel() const
462-
{
463-
464-
}
465-
466457
bool ObjectnessBING::computeSaliencyImpl( InputArray image, OutputArray objectnessBoundingBox )
467458
{
468459
ValStructVec<float, Vec4i> finalBoxes;

0 commit comments

Comments
 (0)