Selecting data within a particular shape from a matrix.
Afficher commentaires plus anciens
Hi,
I want to select data around point [169,547] in the attached v variable. Attached is the figure of the shape in which I want the coordinate values, their distance and angle with respect to the center point [169,547]. The case represents a dynamic crack which moves forward in the next frame and thus the center position will change in the next frame and the whole process will be repeated again. Any guidance regarding the implementation would be great.
Cheers
Waqas

4 commentaires
Matt J
le 31 Août 2019
The attached v variable is a matrix of size 304x640, so the coordinate [547,169] does not exist.
waqas
le 31 Août 2019
Image Analyst
le 31 Août 2019
His coordinate is probably (x, y) not (row, column), so the matrix should exist at row 169, column 547 in a matrix of 304 rows and 640 columns.
Matt J
le 22 Juil 2020
waqas commented:
Hi,
I started a new question which is on the same lines as this question. It would be interesting to hear from you guys about that! I tried to figure it out by my own but am unable to get exactly what I want to.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Transforms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


