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
@ng0323
the error about RGB images is due to that convolutions are done through scipy.signal.conv2d, which only takes in inputs (kernel and image) of 2 dimensions. RGB images have 3 dimensions so cannot be processed by scipy.signal.conv2d.
I used cv2.filter2D to due with RGB imges. So e.g, changing the LinearMotionBlur(img, dim, angle, linetype) in pyblur/LinearMotionBlur.py as follows can do motion blur with RGB images:
Hi, it seems to work for grayscale images only? I get an error for RGB images.
The text was updated successfully, but these errors were encountered: