diff --git a/modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp b/modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp index 2fa97e8a2..9fefbb1fa 100644 --- a/modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp +++ b/modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp @@ -162,12 +162,12 @@ You can passes your own DNN layers into the DeepGaze1 object and retrain it with class CV_EXPORTS_W DeepGaze1 : public StaticSaliency { private: - /** @brief This is the field to store the input DNN - * @sa dnn::Net - */ + /** @brief This is the field to store the input DNN + * @sa dnn::Net + */ dnn::Net net; - /** @brief This is the field to store the name of selected layer - */ + /** @brief This is the field to store the name of selected layer + */ std::vector layers_names; /** @brief This is the field to store the weight of selected layer */ @@ -297,11 +297,11 @@ This method also provides an optimization framework may help foreground based sa class CV_EXPORTS_W BackgroundContrast : public StaticSaliency { private: - /** @brief - * limitOfSp is the maximum number of superpixel - * nOfLevel, usePrior, histBin is same as the seed superpixel method - * bgWei determine the weight of background when optimized with foreground method - */ + /** @brief + * limitOfSp is the maximum number of superpixel + * nOfLevel, usePrior, histBin is same as the seed superpixel method + * bgWei determine the weight of background when optimized with foreground method + */ int limitOfSP; int nOfLevel; int usePrior; diff --git a/modules/saliency/samples/DeepGaze1Sample.cpp b/modules/saliency/samples/DeepGaze1Sample.cpp index 6cc6b1c60..2e2e72a32 100644 --- a/modules/saliency/samples/DeepGaze1Sample.cpp +++ b/modules/saliency/samples/DeepGaze1Sample.cpp @@ -26,7 +26,7 @@ int main(int argc, char* argv[]) "{ help h usage ? | | show this message }" "{ train |0 | set training on }" "{ default |1 | use default deep net(AlexNet) and default weights }" - "{ AUC |0 | calculate AUC with input fixation map }" + "{ AUC |0 | calculate AUC with input fixation map }" "{ img_path | | path to folder with img }" "{ fix_path | | path to folder with fixation img for compute AUC }" "{ model_path |bvlc_alexnet.caffemodel | path to your caffe model }" diff --git a/modules/saliency/src/BackgroundContrast.cpp b/modules/saliency/src/BackgroundContrast.cpp index 4d3e6ff80..9d7eca2c5 100644 --- a/modules/saliency/src/BackgroundContrast.cpp +++ b/modules/saliency/src/BackgroundContrast.cpp @@ -35,11 +35,11 @@ namespace saliency BackgroundContrast::BackgroundContrast() { - bgWei = 5; - limitOfSP = 600; - nOfLevel = 4; - usePrior = 2; - histBin = 5; + bgWei = 5; + limitOfSP = 600; + nOfLevel = 4; + usePrior = 2; + histBin = 5; } BackgroundContrast::BackgroundContrast( double _bgWei, int _limitOfSP, int _nOfLevel, int _usePrior, int _histBin ): limitOfSP(_limitOfSP), nOfLevel(_nOfLevel), usePrior(_usePrior), histBin(_histBin), bgWei(_bgWei) {} BackgroundContrast::~BackgroundContrast(){}