**0**wrote:

Dear all,

I have some questions concerning the function "computeFeatures.haralick" in the EBImage package.

At first, things that I have hopefully understood:

The function computes 13 GLCM features for every object in an image. Thus, it computes the GLCM in the same way as eCognition does, which makes me happy :-)

- However, I have not found what is meant by **haralick.scales**? I have got different results depending on the scale.

- Does the results in the output matrix contain for each GLCM features the** mean or range value** and of **how many directions**?

- Is there any possibility to calculate the **GLCM per direction** (i.e. 45°)?

- What is meant by "**haralick.nbins**"? - Is that the matrix needed to calcualte the GLCMs? For example eCognition uses a 256 x 256 matrix, thus I would set this parameter to 256.

I found this page "http://earlglynn.github.io/RNotes/package/EBImage/Haralick-Textural-Features.html" which helped me to understand the GLCM, but the questions under "EBImage Explorations" are still open.

I would be very pleased to get any reply :-)

Kind regards

**540**• written 2.5 years ago by jenesaispas1990 •

**0**