Introduction - If you have any usage issues, please Google them yourself
For image retrieval, including matlab comes graycomatrix, and graycoprops two m files, and four m-files used to extract image texture features and image retrieval based on image texture features extracted