Closed dominikwodniok closed 2 years ago
https://github.com/cemyuksel/cyCodeBase/blob/fb063c3532fb7000a6a32c578e6c7285310979d9/cyAlphaDistribution.h#L488
Out of bounds accesses can occur in setImgAlpha for ix and a when the input image e.g. has a resolution of 11x1. In this case no pyramid is created and ix as well as a in setImgAlpha are too small.
setImgAlpha
ix
a
I finally made time to fix it. Thanks for letting me know.
https://github.com/cemyuksel/cyCodeBase/blob/fb063c3532fb7000a6a32c578e6c7285310979d9/cyAlphaDistribution.h#L488
Out of bounds accesses can occur in
setImgAlpha
forix
anda
when the input image e.g. has a resolution of 11x1. In this case no pyramid is created andix
as well asa
insetImgAlpha
are too small.