fastNlMeansDenoising cannot handle constant images with gray-value 255 (Bug #2646)


Added by Stephen Kockentiedt about 12 years ago. Updated about 12 years ago.


Status:Done Start date:2012-12-18
Priority:High Due date:
Assignee:Andrey Kamaev % Done:

0%

Category:photo
Target version:2.4.4
Affected version:2.4.3 Operating System:
Difficulty: HW Platform:
Pull request:https://github.com/Itseez/opencv/pull/343

Description

The following code produces an image with only zeros. If every pixel is set to 254 instead, everything works fine.

cv::Mat testImg(50, 50, CV_8UC1, cv::Scalar::all(255));
cv::Mat filteredTestImg;
cv::fastNlMeansDenoising(testImg, filteredTestImg);


Associated revisions

Revision 7e92826e
Added by Andrey Kamaev about 12 years ago

Add test for issue #2646

Revision 73744453
Added by Andrey Kamaev about 12 years ago

Fix integer overflow in NL-Means denoising on white input

Issues #2646

Revision 9badfa1f
Added by Alexander Alekhin almost 11 years ago

Merge pull request #2646 from ilya-lavrenov:ipp_remap

History

Updated by Vadim Pisarevsky about 12 years ago

  • Affected version set to 2.4.3
  • Target version deleted ()

Updated by Vadim Pisarevsky about 12 years ago

  • Assignee deleted (Leonid Beynenson)

Updated by Andrey Kamaev about 12 years ago

  • Assignee set to Andrey Kamaev

Updated by Andrey Kamaev about 12 years ago

  • Pull request set to https://github.com/Itseez/opencv/pull/343

Updated by Andrey Kamaev about 12 years ago

Fix is pushed to 2.4

  • Status changed from Open to Done

Updated by Kirill Kornyakov about 12 years ago

  • Target version set to 2.4.4

Also available in: Atom PDF