center of gravity calculation from a dfiffraction limited spot
조회 수: 2 (최근 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 Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!