画像の分割処理について

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

Sign in to comment.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!