Filter2d not working as intended (Bug #1472)


Added by rohitsethidce - over 13 years ago. Updated almost 13 years ago.


Status:Cancelled Start date:
Priority:Low Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:imgproc, video
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

I prototyped my algorithm in Matlab and was deploying it in OpenCV and the output doesnt seem to be anywhere close to the Matlab result.
I debugged it more and more to arrive at the conclusion that its because of the Filter2d/Sepfilter2d method thats getting used more and more in my program .
I've attached a sample run of Filter2d/Sepfilter2d on a small mat , along with Matlab results for the same mat. The filter is applied in the horizontal and vertical direction.


filter_result.rtf - Filter2d results vs Matlab (1.4 kB) rohitsethidce -, 2011-11-14 06:54 pm


Associated revisions

Revision 0ecd7913
Added by Alexander Smorkalov over 11 years ago

Merge pull request #1472 from alalek:master_fix_debug_builds_on_win

History

Updated by Vadim Pisarevsky over 13 years ago

How did you call filter2D? Can you supply a short sample program? The same question about Matlab.
Looks like results in the center are the same. So, I think, the problem is about using different border interpolation methods. On our tests filter2D works fine, so until the issue is clarified and reproduced, I'm lowering the bug priority.

Updated by Alexander Shishkov about 13 years ago

  • Description changed from I prototyped my algorithm in Matlab and was deploying it in [[OpenCV]] and th... to I prototyped my algorithm in Matlab and was deploying it in OpenCV and the ou... More

Updated by Alexander Shishkov almost 13 years ago

  • Target version deleted ()

Updated by Alexander Shishkov almost 13 years ago

  • Priority changed from Normal to Low

Updated by Alexander Shishkov almost 13 years ago

  • Assignee deleted (Vadim Pisarevsky)

Updated by Vadim Pisarevsky almost 13 years ago

with no any further information the bug report is considered invalid and therefore is closed.

  • Status changed from Open to Cancelled
  • Assignee set to Vadim Pisarevsky

Updated by Alexander Shishkov almost 13 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF