From: Kadi on 18 Mar 2010 12:27 "Ulrich W." <ulrichw(a)sbox.*nospam*tugraz.at> wrote in message <44fead97$0$12384$3b214f66(a)aconews.univie.ac.at>... > So what is the problem? This topic is completely covered by matlab help > (GLCM, graycomatrix ...) > > http://www.mathworks.com/access/helpdesk/help/toolbox/images/index.html?/ > access/helpdesk/help/toolbox/images/f11-29651.html > > %select rectangle ROI: > image_roi = image(col_from:col_to, row_from:row_to); > %calc GLCM > glcm = graycomatrix(image_roi); > > > Ulrich > I am using 'roipoly' instead of 'imcrop' to extract the area of interest (AOI) as it defines the edges more accurately so can 'graycomatrix' be applied to only the pixels inside the AOI. 'graycomatrix' always takes an image which by default is a matrix as input. Can texture analysis be done on irregular regions?? Kadi
|
Pages: 1 Prev: Change the case of fieldnames of a structure Next: fit a curve to the dataset |