Image with Polar Axis

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 Comments

Hey, I am still trying to create a mask to add it to my image. Did you manage to create the mask?
DGM
DGM on 16 Apr 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?

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 12 Feb 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.

Tags

Asked:

on 12 Feb 2011

Commented:

DGM
on 16 Apr 2023

Community Treasure Hunt

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

Start Hunting!