How to add or remove pixels in binary image using the mouse click?

1 view (last 30 days)
Dear all,
I have a binary image which includes some artifact pixels and also missing lines, because of bad segmentation. I want to do the following:
1- to remove these undesired pixels manually using the mouse such that they will be erased when we click on them (like the eraser in many software)
2- to be able to draw a binary line using the mouse, and this line will be part of the binary image for further process.
Does anyone knows how to do that?
Thank you in advance.
Meshoo

Answers (1)

Image Analyst
Image Analyst on 4 Mar 2014
I have a demo for that. See attached.
  2 Comments
Meshooo
Meshooo on 4 Mar 2014
Thank you for the demo but I want something similar to the eraser and line drawing which are available in many commercial software such as photoshop and Windows Paint.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!