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

3 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Image Analyst
Image Analyst il 4 Mar 2014
I have a demo for that. See attached.
  2 Commenti
Meshooo
Meshooo il 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.
Image Analyst
Image Analyst il 4 Mar 2014
There is no paintbrush photoediting tool built into MATLAB.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by