イメージを扱ったのfor文について
Ältere Kommentare anzeigen
for文を使ってイメージの1pixelを中心とした、9*9pixelのブロックの標準偏差を求め、それを1pixelずつずらしイメージの全てのpixelにその処理を行いたいです。
このとき、イメージの端のpixelを中心とすると、数値のない空白の部分が出来ると思うのですが、その部分をどうやってプログラムすれば良いのか分からないです。
しっかりと、9*9pixelのブロックがイメージの中に収まる部分はプログラムとして書けたのですが…
ご教授おねがいします。
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 近傍処理とブロック処理 finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!