Create a phantom image
4 ビュー (過去 30 日間)
古いコメントを表示
I am trying to create a phantom image for my Shepp-Logan image. It needs to be 200 by 200 pixels. I have used this code:
P = phantom('Modified Shepp-Logan',100); imshow(P)
And am coming out with this error: Index exceeds matrix dimensions.
Would anyone be able to explain why/what this error is, and how I can fix it?
9 件のコメント
Rik
2017 年 11 月 1 日
Can you show the output of these two lines of code before and after you try to run you code?
which -all phantom
which -all P
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!