center of gravity calculation from a dfiffraction limited spot
Mostrar comentarios más antiguos
Respuestas (2)
Bhomik Kankaria
el 27 de Feb. de 2021
0 votos
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 -
1 comentario
Gift
el 1 de Mzo. de 2021
darova
el 2 de Mzo. de 2021
0 votos
- Try binarize or im2bw to convert image to 0-1 (binary). Experiment with grayscale parameter (see help)
- use regionprops
Categorías
Más información sobre Region and Image Properties en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!