how to do element by element subtraction of two images?

I want to do element by element subtraction of two images containing cars and road so that the cars get separated from the road. I already tried imabsdiff function but it does not give proper results. Can anyone tell me how to do it ?? Both the images are attached.22.jpg

Asked:

on 18 Jan 2020

Answered:

on 18 Jan 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!