how to choose 3*3 pixel block in a 512*512 gray image in matlab
4 views (last 30 days)
Show older comments
I have to take block with 3*3 pixels each time for an image with the size of 512*512. Kindly suggest Hoping for your early response
0 Comments
Accepted Answer
Ameer Hamza
on 22 May 2018
Edited: Ameer Hamza
on 22 May 2018
imageBlocks = mat2tiles(Image, [3 3])
imageBlocks will contain cell array of the 3x3 pixel blocks.
3 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!