how divide image to blocks?
Show older comments
I want to divided image to non-overlapping blocks, then I will appliy DWT on each block
can any one help me with this please
Accepted Answer
More Answers (1)
KALYAN ACHARJYA
on 9 Mar 2019
Edited: madhan ravi
on 9 Mar 2019
result=blockproc(image,[m n],fun)
Which processes the image by applying the function fun to each distinct block of size [m n] and concatenating the results into the output result matrix. You have to create the function
Also you can look for sliding window (one by one pixel), check
kernel=create window
result=conv2(image, kernel, 'same');
If it still unclear, let me know?
Categories
Find more on Neighborhood and Block Processing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!