How can we choose a block of pixels?

3 views (last 30 days)
Hi! I want to run a block matching search on two images. How can I choose the block of pixels?

Accepted Answer

Image Analyst
Image Analyst on 20 Sep 2014
Can you elaborate? Until then I can offer demos of blockproc (attached), normalized cross correlation, and non-linear filtering, and the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F
  5 Comments
Image Analyst
Image Analyst on 20 Sep 2014
Actually you probably want to do this in nlfilter since blockproc moves in "jumps" whereas nlfilter moves a pixel at a time, but the basica algorithm is the same.
monalisa tripathy
monalisa tripathy on 6 Mar 2016
Hi; I have a same assignment on SSD matching template. I could not follow/understand your earlier answer and code. Can you please create a single Matlab code by considering an example image to carry out SSD matching.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!