floodfill doe not support CV_32S (Bug #1482)


Added by Nghia Ho over 13 years ago. Updated almost 13 years ago.


Status:Done Start date:
Priority:Normal 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

Seems weird it supports the following type but not CV_32S

1CvFloodFillFunc func = type == CV_8UC1 || type == CV_8UC3 ? (CvFloodFillFunc)icvFloodFill_8u_CnIR : type == CV_32FC1 || type == CV_32FC3 ? (CvFloodFillFunc)icvFloodFill_32f_CnIR : 0;

I got around this by using CV_32FC1 and casting to (int) where required.


Associated revisions

Revision 0b234b7a
Added by Vadim Pisarevsky almost 13 years ago

rewritten floodfill in generic style; added CV_32S flavor (ticket #1482)

Revision 0cd3d1f4
Added by Alexander Smorkalov over 11 years ago

Merge pull request #1482 from ilya-lavrenov:ocl_setTO

History

Updated by Alexander Shishkov about 13 years ago

  • Description changed from Seems weird it supports the following type but not CV_32S [[CvFloodFillFunc]... to Seems weird it supports the following type but not CV_32S CvFloodFillFunc fu... More

Updated by Alexander Shishkov almost 13 years ago

  • Target version deleted ()
  • Description changed from Seems weird it supports the following type but not CV_32S CvFloodFillFunc fu... to Seems weird it supports the following type but not CV_32S <pre><cod... More

Updated by Alexander Shishkov almost 13 years ago

  • Assignee deleted (Vadim Pisarevsky)

Updated by Vadim Pisarevsky almost 13 years ago

CV_32S support added in SVN trunk, r7740

  • Status changed from Open to Done
  • 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