You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using cv::resize function with cv::Mat in CV_8S and CV_32S type will cause an error: opencv/modules/imgproc/src/imgwarp.cpp:3368: error: (-215) func != 0 in function resize
After review of the source code I found:
The array value associated with CV_8S and CV_32S is 0, which led to error. cv::resize is an important function, but the bug seems to exist for a long time, which have any special reasons?
The text was updated successfully, but these errors were encountered:
CV_32S and CV_8S are supported by opencv and geometric transformations are quite basic features everyone uses.
Of course there are use cases where we want to rescale 32S or 8S images.
Would it really clutter the library too much to add support for these types ?
Please consider adding this support.
Using cv::resize function with cv::Mat in
CV_8S
andCV_32S
type will cause an error:opencv/modules/imgproc/src/imgwarp.cpp:3368: error: (-215) func != 0 in function resize
After review of the source code I found:
This array corresponds to the type of Mat:
The array value associated with
CV_8S
andCV_32S
is 0, which led to error.cv::resize
is an important function, but the bug seems to exist for a long time, which have any special reasons?The text was updated successfully, but these errors were encountered: