TextureDetectionResultUnit
The TextureDetectionResultUnit
interface extends the IntermediateResultUnit
interface and represents a texture-detection result unit. This interface captures the results of texture analysis, specifically the spacing of texture patterns in both the x and y directions.
interface TextureDetectionResultUnit extends IntermediateResultUnit {
xSpacing: number;
ySpacing: number;
}
xSpacing
This value represents the detected horizontal distance in pixels between consecutive texture patterns, providing an indication of the texture’s density and orientation within the image.
ySpacing
The spacing between texture stripes in the y-direction. Similar to xSpacing
, this value measures the vertical distance between texture patterns. It offers insights into the vertical density and alignment of the texture within the image, contributing to the understanding of the texture’s characteristics and spatial distribution.