It measures the degree and nature of textures within images and objects to quantify their roughness and smoothness.