imcrop でトリミングする画像​のサイズ指定

imcrop関数を用いて画像をトリミングする際に、先にサイズだけ指定することは可能でしょうか。
例えば、下記の画像でimcrop関数を実行した時に、初めから500×500 pixelの範囲がされており、後はその範囲を動かすだけのような仕組みを考えています。imcropによるトリミング.png

 Akzeptierte Antwort

Yoshio
Yoshio am 12 Sep. 2019
Bearbeitet: Yoshio am 12 Sep. 2019

2 Stimmen

このような感じでは如何でしょうか。Live Scriptで書いてみました。
名称未設定.jpeg

1 Kommentar

Yuki Takahashi
Yuki Takahashi am 17 Sep. 2019
ご教授いただきありがとうございます。
Live Scriptを用いて、希望の機能を実装できました。

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu イメージ finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019a

Community Treasure Hunt

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

Start Hunting!