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

1 次查看(过去 30 天)
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

回答(1 个)

Image Analyst
Image Analyst 2014-3-4
I have a demo for that. See attached.
  2 个评论
Meshooo
Meshooo 2014-3-4
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.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by