Resource Base
Table of contents

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.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.2.10)
    • Version 2.x
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support