blockproc - histogram for each window
Show older comments
I read that blockproc allows me to create custom functions that will process sub-images in a sliding window fashion. I am not sure however, how I can accumulate the histogram of each sub-image. My input is an 8 bit image. The output should thus be a 3 dimensional array of [rows x cols x 256].
B = blockproc(A,[10 10],@histogram_function_here);
I hope someone can give me a link or some tips or the code itself.
Accepted Answer
More Answers (0)
Categories
Find more on Neighborhood and Block Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!