Image with Polar Axis
Afficher commentaires plus anciens
Hello,
I have images of intensity that are in a polar coordinate system. I would really like to take advantage of the polar axis that matlab offers, but have not been able to get these to play nicely.
Basically I would like to take the rectangular image and mask off the rectangular region that is beyond some radius from the center. Then implement the polar axis around the edge.
Has anyone had any experience with this?
2 commentaires
Nicolas Hadjittoouli
le 30 Mar 2023
Hey, I am still trying to create a mask to add it to my image. Did you manage to create the mask?
DGM
le 16 Avr 2023
Attach an example of the images you're using.
What exactly do you want to happen to the image? For example:
- Make the area outside a circular region a particular color (black/white/other)?
- Add circular grid lines?
- Add tick marks and tick labels?
I haven't seen your images yet, but is it clear where the boundary of the circular region lies? Is it consistent between images, or must it be found programmatically each time?
Réponses (1)
Walter Roberson
le 12 Fév 2011
0 votes
This FAQ on ways to create a circle will probably help in creating the mask. Set the unwanted positions to NaN to keep them from being plotted.
Matlab does not really offer a polar axis: internally, polar() plots convert everything to cartesian and draw concentric (cartesian) circles for the rings.
Catégories
En savoir plus sur Image Arithmetic 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!