Resource Base
Table of contents
Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.

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.

Is this page helpful?

YesYes NoNo

In this article:

Version 2.2.10

    • version 2.2.10
    • Version 2.x
      • Version 2.2.10
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
    Change +