refine a binary image for shadow removal

asked 2013-07-02 04:39:54 -0500

cipher gravatar image

Hi, I am trying to remove the artifacts due to shadow in videos while detecting motion. The following images show what I could do with my video

Original Image, Difference Image

Now I want to remove those thin lines that are caused due to shadow of moving truck. I am planning to do a image scan using vertical scan lines and then remove them, but that seems to me like a long (and maybe unsuccessful) way to do it.

can someone suggest a better way to do this?

edit retag flag offensive close merge delete


perhaps you could try HSV thresholding. I had once tried it. It worked, but it's a crude manner.

jayrambhia gravatar imagejayrambhia ( 2013-07-02 07:58:49 -0500 )edit