MATLAB Answers

How to setup the step size for sliding window

4 ビュー (過去 30 日間)
Aravind Prabhu Gopala Krishnan
Aravind Prabhu Gopala Krishnan 2021 年 7 月 24 日
For example am having the gray image of size 256x256 and am using blockproc or something like that to move the sliding window of size 8x8 through my image, my question is, i want to move this sliding window for step size of 3 pixels.

回答 (1 件)

Image Analyst
Image Analyst 2021 年 7 月 25 日
You need to use blockproc(). It can do a sliding window that moves in "jumps" of 3 pixels. Please adapt the attached demo.
  1 件のコメント
Aravind Prabhu Gopala Krishnan
Aravind Prabhu Gopala Krishnan 2021 年 7 月 25 日
Thank you sir

サインインしてコメントする。

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by