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

2 次查看(过去 30 天)
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