dcnum.feat.feat_texture.tex_all

Functions

haralick_texture_features(mask[, image, image_bg, ...])

Compute Haralick texture features

Module Contents

dcnum.feat.feat_texture.tex_all.haralick_texture_features(mask, image=None, image_bg=None, image_corr=None)[source]

Compute Haralick texture features

The following texture features are excluded

  • feature 6 “Sum Average”, which is equivalent to 2 * bright_bc_avg since dclab 0.44.0

  • feature 10 “Difference Variance”, because it has a functional dependency on the offset value and since we do background correction, we are not interested in it

  • feature 14, because nobody is using it, it is not understood by everyone what it actually is, and it is computationally expensive.

This leaves us with the following 11 texture features (22 if you count avg and ptp): https://earlglynn.github.io/RNotes/package/EBImage/Haralick-Textural-Features.html

    1. tex_asm: (1) Angular Second Moment

    1. tex_con: (2) Contrast

    1. tex_cor: (3) Correlation

    1. tex_var: (4) Variance

    1. tex_idm: (5) Inverse Difference Moment

    1. tex_sva: (7) Sum Variance

    1. tex_sen: (8) Sum Entropy

    1. tex_ent: (9) Entropy

    1. tex_den: (11) Difference Entropy

    1. tex_f12: (12) Information Measure of Correlation 1

    1. tex_f13: (13) Information Measure of Correlation 2