Changing color using the mouse

2 ビュー (過去 30 日間)
Perron Jonathan
Perron Jonathan 2012 年 7 月 6 日
Dear all, From a SEM picture of nanoparticles, I have to digitalize it, then changing the color of the particles by clicking on them and make the FFT. As far as now, I can digitalize and make the FFT, but I have not found how to change the color of the particle by clicking on them. I have used the edge function to detect the edges of the particles to try to do like in paint with the Fill with color function but now I am stuck. Do anyone have an idea how I could proceed ? The only function I have found in Matlab is ginput but it seems only to take data from the figure and not apply changes to them.

採用された回答

Image Analyst
Image Analyst 2012 年 7 月 13 日
Why don't you simply use the magic wand tool in Photoshop and change the hue of the selected pixels? That would be faster and more flexible than using MATLAB, though I do have a magic wand demo that works in MATLAB.

その他の回答 (1 件)

Perron Jonathan
Perron Jonathan 2012 年 8 月 9 日
This is what I did at the end. Thank you for your answer !

カテゴリ

Help Center および File ExchangeData Exploration についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by