読み込んだ画像上のピクセル座標を対話的にズームで拡大等したのちカーソルで選択して取得する
Show older comments
Matlab2017aとImage Processing Toolboxを使用しています.画像を読み込んで,その画像上の任意の複数座標(x, y)を拡大縮小などしながら対話的にカーソルで選択し取得したいです.imshowとginputの組み合わせ,またimpixelは試しましたが,impixelを使うとzoom等の作業ができなくなってしまいます.
同様の質問が過去にされていますが,その他の解決策がないかと思い質問しました. https://jp.mathworks.com/matlabcentral/answers/95094-why-does-the-impixel-command-in-the-image-processing-toolbox-3-2-r13sp1-fail-to-work-after-i-have
1 Comment
michio
on 25 May 2018
URLをハイパーリンク化
Answers (1)
Kei Otsuka
on 28 May 2018
Edited: Kei Otsuka
on 28 May 2018
2 votes
impixelinfoはお試しになられましたでしょうか?
こちらはズームや回転などFigureウィンドウのプロパティを変更しながら作業できます。
結果は右クリックでクリップボードに保存される形になりますので、clipboard関数で適宜取得しながらお使い下さい。
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!