How can I can determine local region in the imag
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157029/image.jpeg)
,thanks to All
0 commentaires
Réponses (1)
Image Analyst
le 19 Fév 2014
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 commentaires
Image Analyst
le 20 Fév 2014
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.
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!