A little problem in grabcut (Bug #2118)
Description
In opencv/modules/imgproc/src/grabcut.cpp, line 308 ( function calcNWeights), the condition is set as "if( x+1<img.cols-1 && y-1>=0 )...", but i think it should be "if( x+1<img.cols && y-1>=0 )...", right?
History
Updated by Maria Dimashova over 12 years ago
You are right. Thank you! Fixed in r8918.
- Status changed from Open to Done
- Assignee changed from Vadim Pisarevsky to Maria Dimashova
Updated by Andrey Kamaev over 12 years ago
- Target version set to 2.4.2