Image with Polar Axis

16 visualizaciones (últimos 30 días)
David Reed
David Reed el 12 de Feb. de 2011
Comentada: DGM el 16 de Abr. de 2023
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 comentarios
Nicolas Hadjittoouli
Nicolas Hadjittoouli el 30 de Mzo. de 2023
Hey, I am still trying to create a mask to add it to my image. Did you manage to create the mask?
DGM
DGM el 16 de Abr. de 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?

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 12 de Feb. de 2011
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.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by