How to differentiate between two types of images using image processing?
If the image of shadows generally are darker than the dents, you can convert the images to HSV, and compare the average V values of the pixels. V value contains the brightness of the pixel.
You can use hsv_img = cv2.cvtColor(img, cv2.BGR2HSV).
I have two categories of images segmented using MaskRCNN. First category contains dent images on car.
Second category contains images of reflection/shadows fallen on car that the Mask RCNN detects as dent.
Is there any methods in image processing that can distinguish between the same? I tried Canny, Gaussian, LBP, SIFT, watershed etc. Can anyone suggest a suitable approach for the same.
Thanks in advance!!