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 件のコメント
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
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
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.
カテゴリ
ヘルプ センター および File Exchange で Image Arithmetic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!