center of gravity calculation from a dfiffraction limited spot
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I will like to calculate the center of gravity from arrays of spots from a png file. How can I go about it?
2 Kommentare
Antworten (2)
Bhomik Kankaria
am 27 Feb. 2021
Hi,
Center of gravity can be calculated using 'regionprops' function from Image Processing Toolbox. You can use centroid as property name to calculate center of gravity in a image.
To know more about the function regionprops, refer to the link below -
darova
am 2 Mär. 2021
- Try binarize or im2bw to convert image to 0-1 (binary). Experiment with grayscale parameter (see help)
- use regionprops
0 Kommentare
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!