IDX=kmeans(mgd,2); I need help that how to display next output image .
1 view (last 30 days)
Show older comments
my project is on text detection G is my input gray image and mgd is maximum gradient difference and k=2which means text and non text. IDX is a vector of value 1,2.
0 Comments
Answers (1)
Image Analyst
on 1 Mar 2014
I didn't understand much of that, but you can use image(), imshow(), or imagesc() to display images.
See my image segmentation tutorial if you'd like to crop out chunks of an image and display them individually. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
5 Comments
Image Analyst
on 2 Mar 2014
That does not display anything. You need to use image() or imshow() to display the array.
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!