CADDM icon indicating copy to clipboard operation
CADDM copied to clipboard

Bug in poisson_blending_func

Open mirmashel opened this issue 1 year ago • 1 comments

Hello! I think I found a bug in the poisson_blending_func function. It seems that x and y coordinates of center are mixed up here.

mirmashel avatar Jun 19 '24 19:06 mirmashel

I think there's a bug here too. The function should return the bbox to the scale of the entire image, not the sliding box. It might return something like this:

return bbox_mask, [[x0 + bbox[1], y0 + bbox[0]], [x0 + bbox[3], y0 + bbox[2]]]

mirmashel avatar Jun 19 '24 21:06 mirmashel