how to apply 8x8 window to image of size 720x1280?

2 ビュー (過去 30 日間)
ramya
ramya 2018 年 2 月 1 日
コメント済み: ramya 2018 年 2 月 11 日
Hi, I have an image of size 720x1280. I need to apply the sliding window and block processing (neighborhood)operations to the image. the 8x8 window should be applied. Can you suggest anything

採用された回答

Image Analyst
Image Analyst 2018 年 2 月 4 日
See my attached demo. In one of them I compute standard deviations of the blocks. Adapt it to change the block sizes to whatever you want.
  5 件のコメント
Image Analyst
Image Analyst 2018 年 2 月 11 日
preeti, I'm getting the last image as this:
Explain how that is scrambled, and what you expect it to look like. Keep in mind that I can't build a turnkey self-driving car application for you. So be short, and specific.
ramya
ramya 2018 年 2 月 11 日
ohkay sir i will explain what exactly i want my last output to look like.i will explain this with help of the attached file.plz see to that.... my 3rd and 4th image are first two images then i have converted these 2 images into window size of 8 shown in 5th and 6th ,plotted standard deviation ,found graythresh. .based on graythresh level whichever is greater i have to plot one from 2 images i have taken.i am getting 9th image as my output where as i should get exactly like 2nd image..blocks have changed position.hope i have explained properly.

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

その他の回答 (1 件)

Jos (10584)
Jos (10584) 2018 年 2 月 1 日
help blockproc
(if you have the Image Processing Toolbox)
  1 件のコメント
ramya
ramya 2018 年 2 月 4 日
thank u,but i have used mat2cell i have got the results.but i am not able to find standard deviation between two frames.suggest some code related to this?

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

Community Treasure Hunt

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

Start Hunting!

Translated by