applying functions to patches of an image then reassembling
2 views (last 30 days)
hi there, sorry I am new to matlab
I have matrix size 600x1000 that is an image. I want to apply a function to each 51x51 patch of this image so that I gain 1 output from every patch then but them back into a 2D matrix where the outputs represent the position of the 51x51 patch within the image to make a plot.
thanks for your help
Shubham Rawat on 4 Dec 2020
You may look into this question, it is doing the same what you wanted:
Convert image into Patches of size 64*64 and get each patch - MATLAB Answers - MATLAB Central (mathworks.com)
Hope This Helps!