How can I remove all the pixels in an image except pixels colored black?

2 views (last 30 days)
I have taken pictures of drawings, and I want a script that will leave me with the 'shell' of my original drawings. All I want to remain from my original drawings, are pixels that are colored black. Can someone help me?

Answers (1)

sandeep
sandeep on 20 Nov 2014
I need to see the image to advise on that. However, I believe basic thresholding operation would help solve the problem.

Community Treasure Hunt

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

Start Hunting!