how to create a block of 5x5 pixel in image
Hi, i have to select a 5X5 block of pixel in a mat image. How can i create of window of 5X5 block.
Hi, i have to select a 5X5 block of pixel in a mat image. How can i create of window of 5X5 block.
Asked: 2014-10-20 07:10:55 -0600
Seen: 275 times
Last updated: Oct 20 '14
By using a region of interest. More info on this can be found here. Scroll a bit down and start reading :)
I dont want to create matrix. i m already having a mat image, i want to select its 5x5 pixel from origin. and then want to find local standard deviation of it. like stdfilt() function
Well then again, if you had read correctly you could see that there is a region of interest parameter that you can use. Basically what you then do is:
That will do the trick for you...