-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ximgproc: GraphSegmentation: support CV_8U/CV_8S/CV_16U/CV_16S/CV_32F/CV_64F input #3546
base: 4.x
Are you sure you want to change the base?
Conversation
make_tuple<int, double, int>( CV_32SC1, 2147483647. / 255., 14 ), | ||
make_tuple<int, double, int>( CV_32SC2, 2147483647. / 255., 17 ), | ||
make_tuple<int, double, int>( CV_32SC3, 2147483647. / 255., 17 ), | ||
make_tuple<int, double, int>( CV_32SC4, 2147483647. / 255., 17 ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
32S/U and 64S/U are not used to store images.
The same is for bool, BF16.
FP16 is should be omitted too (8U do that better with less memory).
8U/16U/32F - this is the primary list to work with images.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your review! I see and remove supporing CV_32SCs (implementation, test and document).
Building has been started yesterday, but there are 2 warnings. They will be fixed by opencv/opencv#24512 |
Fix #3544
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.