Resource Base
Table of contents

CandidateQuadEdgesUnit

The CandidateQuadEdgesUnit class represents an intermediate result unit whose type is candidate quad edges.

Definition

Namespace: com.dynamsoft.ddn.intermediate_results

Assembly: DynamsoftDocumentNormalizer.aar

class CandidateQuadEdgesUnit extends IntermediateResultUnit

Methods Summary

Methods Description
getCandidateQuadEdges Get an array of edges. It includes all edges that candidate quadrilaterals assembling.
getCount Get the number of edges.
getCandidateQuadEdge Get an edge.
removeAllCandidateQuadEdges Remove all edges.
removeCandidateQuadEdge Remove an edge.
addCandidateQuadEdge Add an edge.
setCandidateQuadEdge Set an edge.

getCandidateQuadEdges

Get an array of edges. It includes all edges that candidate quadrilaterals assembling.

Edge[] getCandidateQuadEdges();

Return Value

Get an array of Edge.

getCount

Get the number of edges.

int getCount();

Return Value

The number of edges.

getCandidateQuadEdge

Get the Edge object at the specified index.

Edge getCandidateQuadEdge(int index);

Parameters

[in] index: The index of the edge.

Return Value

The Edge object as the specified edge.

removeAllCandidateQuadEdges

Remove all edges.

void removeAllCandidateQuadEdges();

removeCandidateQuadEdge

Remove the Edge object at the specified index.

int removeCandidateQuadEdge(int index);

Parameters

[in] index: The index of the edge.

Return Value

Returns the ErrorCode if failed. Otherwise, returns 0.

addCandidateQuadEdge

Add a new Edge object to the unit.

int addCandidateQuadEdge(Edge edge, Matrix matrixToOriginalImage);

Parameter

[in] edge: The edge to be added.

[in] matrixToOriginalImage: The matrix to the original image.

setCandidateQuadEdge

Set the Edge object at the specified index.

int setCandidateQuadEdge(int index, Edge edge, Matrix matrixToOriginalImage);

Parameters

[in] index: The index of the edge.

[in] edge: The edge to be set.

[in] matrixToOriginalImage: The matrix to the original image.

Return Value

Returns the ErrorCode if failed. Otherwise, returns 0.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 2.x
    • Version 2.2.10
    • Version 2.0.20
    • Version 2.0.10
    • Version 2.0.10
  • Version 1.x
    • Version 1.0.30
    • Version 1.0.21
    • Version 1.0.20
    • Version 1.0.12
    • Version 1.0.11
    • Version 1.0.10
    • Version 1.0.0
    • Version 1.0.30
    • Version 1.0.21
    • Version 1.0.20
    • Version 1.0.12
    • Version 1.0.11
    • Version 1.0.10
    • Version 1.0.0
    • Version 1.0.5
    • Version 1.0.4
    • Version 1.0.3
    • Version 1.0.2
    • Version 1.0.1
    • Version 1.0.0
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support