center of gravity calculation from a dfiffraction limited spot
1 次查看(过去 30 天)
显示 更早的评论
回答(2 个)
Bhomik Kankaria
2021-2-27
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
2021-3-2
- Try binarize or im2bw to convert image to 0-1 (binary). Experiment with grayscale parameter (see help)
- use regionprops
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!