I have a microsocopy image which i am attaching. I have both .tif and .mat file for the image. I want the positions of all the bright spots there which correspond to the atoms.

1 回表示 (過去 30 日間)
sowmya
sowmya 2019 年 1 月 10 日
回答済み: Etsuo Maeda 2019 年 1 月 11 日
I think i should fit gaussian to find the peaks. Please comment and help

回答 (1 件)

Etsuo Maeda
Etsuo Maeda 2019 年 1 月 11 日
I = imread('input.png');
I = imadjust(I);
radius = [1, 10];
[centers, radii] = imfindcircles(I, radius);
imshow(I), hold on;
viscircles(centers, radii), hold off;
It may help you.
HTH

Community Treasure Hunt

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

Start Hunting!

Translated by