Displaying Images after feature extraction
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a image and have extracted texture features
g=rgb2gray(g);
glcm=graycomatrix(g);
F=graycoprops(glcm,'Contrast','Homogeneity','Correlation','Energy'});
contrast=F.Contrast;
homogeneity=F.Homogeneity;
correlation=F.Correlation;
energy=F.Energy;
now how to display the image as below
in result i have res=[contrast energy homogeneity]
based upon the feature exracted feature result please tell how to apply kmeans on images
0 comentarios
Respuestas (1)
Amith Kamath
el 17 de En. de 2013
If you have four images in I, J, K and L, you could do this,
figure
subplot(2,2,1); imshow(I)
subplot(2,2,2); imshow(J)
subplot(2,2,3); imshow(K)
subplot(2,2,4); imshow(L)
As for kmeans, http://openclassroom.stanford.edu/MainFolder/DocumentPage.php?course=MachineLearning&doc=exercises/ex9/ex9.html may be a good resource to start with.
6 comentarios
Image Analyst
el 19 de En. de 2013
Editada: Image Analyst
el 19 de En. de 2013
Did you see the middle part of my comment above, where I showed you how to display a number as a text label on your GUI or in the command window? P.S., to make it easier on us, you might use Firefox, which has a spell checker built into it. Please proofread your comments because all too frequently they don't make sense:
vale
noun
1. a valley.
2. the world, or mortal or earthly life: this vale of tears.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!