Is it possible to find a center for a centroid and then use imcrop to find a certain size cropped area around that center
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Krispy Scripts
le 17 Août 2016
Réponse apportée : Walter Roberson
le 17 Août 2016
I asked a question here
I have images of cells that I have been able to find the centroids and I need crop a certain area (288 by 288 pixel area square) around this centroid's center. Not sure if this makes sense or is possible?
0 commentaires
Réponse acceptée
Walter Roberson
le 17 Août 2016
croppedImage = imcrop(binaryImage, [xmin-width/2, ymin-width/2, width, height]);
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!