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

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

 Risposta accettata

Yoshio
Yoshio il 12 Set 2019
Modificato: Yoshio il 12 Set 2019

2 voti

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

1 Commento

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

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Release

R2019a

Community Treasure Hunt

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

Start Hunting!