• gdemarcq's avatar
    Merge pull request #1736 from gdemarcq:staticSaliencyFineGrained_corrections · 1f6d6f06
    gdemarcq authored
    * Correction for computeBinaryMap crash:
    - the function staticSaliencyFineGrained::computeSaliency() outputs a
    normalized floating point image
    - Add an assert in StaticSaliency::computeBinaryMap in order to check
    image depth (must be CV_32F)
    
    * - Change assert in cv::Saliency::StaticSaliency::computeBinaryMap()
    - Change normalization factor in cv::Saliency::StaticSaliencyFineGrained::computeSaliencyImpl()
    1f6d6f06
staticSaliencyFineGrained.cpp 9.58 KB