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

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Image Analyst
Image Analyst il 4 Feb 2018
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 Commenti
Image Analyst
Image Analyst il 11 Feb 2018
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 il 11 Feb 2018
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.

Accedi per commentare.

Più risposte (1)

Jos (10584)
Jos (10584) il 1 Feb 2018
help blockproc
(if you have the Image Processing Toolbox)
  1 Commento
ramya
ramya il 4 Feb 2018
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?

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by