The presentation shows computation of textural features based on Markov random fields. This features describes spatial relations in the texture and they are further transformed into illumination invariants, which are invariant to illumination spectrum and robust to the direction of the light source.