画像の分割処理について

11 visualizzazioni (ultimi 30 giorni)
朋貴 熊田
朋貴 熊田 il 8 Set 2021
Commentato: 朋貴 熊田 il 10 Set 2021
2つの完全同一視野の画像を任意のサイズで縦横分割を行い、その二つの画像の分割した同じ領域の共分散を出したいです。blockproc関数が良いと思ったのですが、1枚の画像しか扱えない為、for文で書くしかないのでしょうか?
  1 Commento
Atsushi Ueno
Atsushi Ueno il 8 Set 2021
少し前に同様の質問があって、それに答えた記憶があります。
複数枚の画像を1つの変数に纏めてblockproc関数に渡せば動きます。

Accedi per commentare.

Risposta accettata

Atsushi Ueno
Atsushi Ueno il 8 Set 2021
>blockproc関数が良いと思ったのですが、1枚の画像しか扱えない為、for文で書くしかないのでしょうか?
2枚のデータ(2次元)を3次元方向に重ねれば、1つの変数にまとめてblockproc関数に渡す事が出来ます。
  1 Commento
朋貴 熊田
朋貴 熊田 il 10 Set 2021
ご回答ありがとうございます。試してみます。

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!