Info

此问题已关闭。 请重新打开它进行编辑或回答。

how i call function with different parameter.i want call each crop image and want to calculate color feature

1 次查看(过去 30 天)
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);

回答(1 个)

Image Analyst
Image Analyst 2014-6-21
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

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by