How can we choose a block of pixels?

3 次查看(过去 30 天)
Hi! I want to run a block matching search on two images. How can I choose the block of pixels?

采纳的回答

Image Analyst
Image Analyst 2014-9-20
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 个评论
Image Analyst
Image Analyst 2014-9-20
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
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.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by