Open makkarpov opened 3 years ago
Well, I "fixed" that by enabling several template/macros instantiations. Should I make a PR?
This is done intentionally to reduce size of OpenCV binaries.
I believe we can enable that for CV_8UC2
case.
Other cases are under the question of their value.
I don't see any use cases for other data types too. I think that enabling just 8UC2 will be sufficient.
Feel free to prepare PR for that (with corresponding simple test case)
System information (version)
OpenCV: 4.5.0 git hash 37315babf9984a5b6aa981644a20dd8df1a5ff02
Detailed description
Currently OpenCV intentionally does not support
cv::cuda::resize
forCV_8UC2
images. However, this is required when handling NV12 bi-planar images, where chroma plane is exactly of that type.Steps to reproduce
Just try to resize image, it'll fail.
Issue submission checklist