how i call function with different parameter.i want call each crop image and want to calculate color feature
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I_1=imcrop(I,[1 1 y/2 x/2]) figure,imshow(I_1); I_2=imcrop(I,[y/2 1 y/2 x/2]) figure,imshow(I_2); I_3=imcrop(I,[1 x/2 y/2 x/2]) figure,imshow(I_3); I_4=imcrop(I,[y/2 x/2 y/2 x/2]) figure,imshow(I_4);
Answers (1)
Image Analyst
on 21 Jun 2014
0 votes
So other than not being formatted properly, which you can fix after reading this, what's wrong with your cropping code?
Then do color segmentation. See my tutorials for that in my File Exchange. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!