how can i store pixels values in array from given coordinates ?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
actually i had to find max pixel value, after storing all pixel values in array, i had initial values(x,y) of coordinates. like this for i:100 dist(119+i,132) = my(images) imshow(my_images); hold on plot(dist); end
2 commentaires
Image Analyst
le 12 Mai 2018
What is the "my" array? What is the index "images" that you're using to index into "my"?
You're calling plot() for dist, but dist is a 2-D array - more like an image than a 1-D intensity profile.
Are you aware of improfile()?
Réponses (0)
Voir également
Catégories
En savoir plus sur 3-D Volumetric Image Processing 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!