Open velikodniy opened 7 years ago
cannot reproduce it with current 3.3-rc (using your code & images)
Maybe https://github.com/opencv/opencv_contrib/commit/7cc7414a51cfcd189ce4311e84f992a42b7d6028 fixed it. Unfortunately I cannot check versions newer than 3.1.0 at the moment.
It does reproduce on Android, but only on 32bit architectures(armeabi-v7a), works fine on arm64-v8a
System information (version)
Detailed description
I filter images with 3:4 aspect ratio. I've found that if image height is greater than 625 then the guided filter cuts one third of the filtered image like on the figures below.
I believe it's because of too small value of eps (1e-6).
Images (
img
andimg_mask
respectively):Result (
dst_mask
):I've also found that if I use landscape orientation (for example 1280×960 instead 960×1280) then the filter works as usual.
Steps to reproduce
I used this code: