Table of contents

LayoutAnalysisParameter

The LayoutAnalysisParameter structure holds input parameters to guide the layout analysis.

Definition

Assembly: DynamsoftUtility

Header File: DynamsoftUtility.h

typedef struct LayoutAnalysisParameter
{
    LayoutPattern pattern;
    LayoutAxis axes[2];
    int inputImageWidth;
    int inputImageHeight;
    char reserved[32];
} LayoutAnalysisParameter;

Attributes

Attribute Type Description
pattern LayoutPattern Desired layout pattern.
axes LayoutAxis[2] Configuration for Primary (0) and Secondary (1) axes.
inputImageWidth int Width of the source image in pixels.
inputImageHeight int Height of the source image in pixels.

pattern

Desired layout pattern. Use LP_UNKNOWN for auto-detection.

LayoutPattern pattern = LP_UNKNOWN;

See Also

LayoutPattern

axes

Configuration for Primary (axis 0) and Secondary (axis 1) axes.

LayoutAxis axes[2];

See Also

LayoutAxis

inputImageWidth

Width of the source image in pixels. When provided, the engine uses this as a boundary reference to prevent inferred quads from extending beyond the image bounds. Default: 0 (no boundary check).

int inputImageWidth = 0;

inputImageHeight

Height of the source image in pixels. When provided, the engine uses this as a boundary reference to prevent inferred quads from extending beyond the image bounds. Default: 0 (no boundary check).

int inputImageHeight = 0;

This page is compatible for: