Reputation: 3520
I have an image of size (H,W). I would like to get histograms of each patch of size [N,N] from that image. These patches should have half overlap. What is the fast way to do it?
If I use blockproc
in Matlab I think I won't be able to get overlapping patches.
Upvotes: 0
Views: 239
Reputation: 114926
You can use blockproc
for overlapping blocks. just use the 'BorderSize'
property.
Upvotes: 1