Resource Base
Table of contents

CIntermediateResultUnit

The CIntermediateResultUnit class represents an intermediate result unit used in image processing. It is an abstract base class with multiple subclasses, each representing a different type of unit such as pre-detected regions, localized barcodes, decoded barcodes, localized text lines, binary image, gray image, etc.

Definition

Namespace: dynamsoft::intermediate_results

Assembly: DynamsoftCore

class CIntermediateResultUnit 

Methods Summary

Method Description
GetHashId Gets the hash ID of the unit.
GetSourceImageHashId Gets the hash ID of the source image.
GetSourceImageTag Gets the image tag of the source image.
GetLocalToSourceImageTransformMatrix Gets the transformation matrix from local to source image coordinates.
SetLocalToSourceImageTransformMatrix Sets the transformation matrix from local to source image coordinates.
GetType Gets the type of the intermediate result unit.
Clone Creates a copy of the intermediate result unit.
SetHashId Sets the hash ID of the unit.
SetSourceImageHashId Sets the hash ID of the source image.
SetSourceImageTag Sets the image tag of the source image.
Retain Increases the reference count of the unit.
Release Decreases the reference count of the unit.
GetRotationTransformMatrix Gets the rotation transformation matrix of the original image relative to the rotated image.
SetRotationTransformMatrix Sets the rotation transformation matrix of the original image relative to the rotated image.

GetHashId

Gets the hash ID of the intermediate result unit.

const char* GetHashId() const

Return value

Returns the hash ID of the unit.

GetSourceImageHashId

Gets the hash ID of the source image.

const char* GetSourceImageHashId() const

Return value

Returns the hash ID of the source image.

GetSourceImageTag

Gets the image tag of the source image.

const CImageTag* GetSourceImageTag() const

Return value

Returns the image tag of the source image.

GetLocalToSourceImageTransformMatrix

Gets the transformation matrix from local to source image coordinates.

virtual void GetLocalToSourceImageTransformMatrix(double matrix[9]) const

Parameters

[out] matrix The transformation matrix.

SetLocalToSourceImageTransformMatrix

Sets the transformation matrix from local to source image coordinates.

virtual void SetLocalToSourceImageTransformMatrix(double matrix[9])

Parameters

[in] matrix The transformation matrix.

GetType

Gets the type of the intermediate result unit.

virtual IntermediateResultUnitType GetType() const = 0

Return value

Returns the type of the intermediate result unit.

Clone

Creates a copy of the intermediate result unit.

virtual CIntermediateResultUnit* Clone() const = 0

Return value

Returns a copy of the intermediate result unit.

SetHashId

Sets the hash ID of the intermediate result unit.

void SetHashId(const char* _hashId)

Parameters

[in] _hashId The hash ID to set.

SetSourceImageHashId

Sets the hash ID of the source image.

void SetSourceImageHashId(const char* _sourceImageHashId)

Parameters

[in] _sourceImageHashId The hash ID to set.

SetSourceImageTag

Sets the image tag of the source image.

void SetSourceImageTag(const CImageTag* _tag)

Parameters

[in] _tag The image tag to set.

Retain

Increases the reference count of the intermediate result unit.

virtual void Retain() = 0

Release

Decreases the reference count of the intermediate result unit.

virtual void Release() = 0

GetRotationTransformMatrix

Gets the rotation transformation matrix of the original image relative to the rotated image.

void GetRotationTransformMatrix(double matrix[9]) const;

Parameters

[out] matrix A double array which represents the rotation transform matrix.

SetRotationTransformMatrix

Sets the rotation transformation matrix of the original image relative to the rotated image.

void SetRotationTransformMatrix(double matrix[9]);

Parameters

[in] matrix A double array which represents the rotation transform matrix.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

version 3.0.0

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