イメージを扱ったのfor文について
Afficher commentaires plus anciens
for文を使ってイメージの1pixelを中心とした、9*9pixelのブロックの標準偏差を求め、それを1pixelずつずらしイメージの全てのpixelにその処理を行いたいです。
このとき、イメージの端のpixelを中心とすると、数値のない空白の部分が出来ると思うのですが、その部分をどうやってプログラムすれば良いのか分からないです。
しっかりと、9*9pixelのブロックがイメージの中に収まる部分はプログラムとして書けたのですが…
ご教授おねがいします。
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 近傍処理とブロック処理 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!