center of gravity calculation from a dfiffraction limited spot
1 view (last 30 days)
Show older comments
Answers (2)
Bhomik Kankaria
on 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
on 2 Mar 2021
- Try binarize or im2bw to convert image to 0-1 (binary). Experiment with grayscale parameter (see help)
- use regionprops
0 Comments
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!