How can I can determine local region in the imag

조회 수: 1 (최근 30일)
hamed abdulaziz
hamed abdulaziz 2014년 2월 19일
댓글: Image Analyst 2014년 2월 20일
Hi ALL;
How can I can determine local regions in the image (like in the below image) for extaract some local features from each sub region sepearatly,please could anyone provide matlab code to do this job
,thanks to All

답변 (1개)

Image Analyst
Image Analyst 2014년 2월 19일
You can use regular indexing, or use mat2cell(). Both are shown in the FAQ with code examples: http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F
  댓글 수: 2
hamed abdulaziz
hamed abdulaziz 2014년 2월 19일
Thank you for response,I am interested with way to split the image up into blocks is to use indexing for 'cameraman.tif' ,but how can I deal with each block sepearatly to extact the local features because in the demo the blocks inside for loop,please could adapt/change it for this job,and thank you very much.
Image Analyst
Image Analyst 2014년 2월 20일
I'm not sure what you're asking. Inside the loop it gives you the subimage. You can then do whatever you want with it, such as passing it to a function that does whatever you want with it, such as some custom code to extract features (like you said). What do I have to adapt/change for you? Just put in a single line to call your feature finding function.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by