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

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)

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

Categories

Asked:

on 3 Sep 2014

Answered:

on 20 Nov 2014

Community Treasure Hunt

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

Start Hunting!