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

Nicolas Hadjittoouli
Nicolas Hadjittoouli 2023년 3월 30일
Hey, I am still trying to create a mask to add it to my image. Did you manage to create the mask?
DGM
DGM 2023년 4월 16일
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?

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2011년 2월 12일

0 개 추천

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.

태그

질문:

2011년 2월 12일

댓글:

DGM
2023년 4월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by