I am interested in using MATLAB to extract texture features using LBP for each pixel in an image and clustering them using K-means algorithm. Anyone with relevant knowledge or the MATLAB code should assist.
It is my sincere suggestion to you, rather than focusing on codes randomly on questions over here , first clear the back ground knowledge of these things. Then you can find it out by yourself. For matlab codes, mathworks is the place.
I have added this suggestion because on your most questions, I have figured it out. Once I was like this but later understood the value for understanding the background intuition first. Best of luck.
I have used the following function to calculate the probability density function for an image. http://www.mathworks.co.uk/matlabcentral/fileexchange/25057-texture-feature-extraction-gldm/content/GLDM/GLDM.m Can anyone tell me how I now go about extracting textural features such as contrast, mean, entropy etc.