floodfill doe not support CV_32S (Bug #1482)
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
rewritten floodfill in generic style; added CV_32S flavor (ticket #1482)
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