Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 3.85 KB

File metadata and controls

77 lines (53 loc) · 3.85 KB
layout default-layout
title CScaledBarcodeImageUnit Class - Dynamsoft Barcode Reader C++ Edition API Reference
description API reference for the CScaledBarcodeImageUnit class in Dynamsoft Barcode Reader C++ Edition, an intermediate result unit containing a scaled barcode image used to improve decoding of small or low-resolution barcodes.
keywords GetImageData, SetImageData, CScaledBarcodeImageUnit, api reference

CScaledBarcodeImageUnit Class

The CScaledBarcodeImageUnit class represents a unit that contains scaled up barcode image. It inherits from the CIntermediateResultUnit class.

Definition

Namespace: dynamsoft::dbr::intermediate_results

Assembly: DynamsoftBarcodeReader

Inheritance: [CIntermediateResultUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html) -> CScaledBarcodeImageUnit

class CScaledBarcodeImageUnit: public CIntermediateResultUnit

Methods

Method Description
GetImageData Gets the scaled up barcode image data.
SetImageData Sets the scaled up image data.
Methods Inherited from [CIntermediateResultUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html):
[GetHashId]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#gethashid) Gets the hash ID of the unit.
[GetOriginalImageHashId]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#getoriginalimagehashid) Gets the hash ID of the original image.
[GetOriginalImageTag]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#getoriginalimagetag) Gets the image tag of the original image.
[GetType]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#gettype) Gets the type of the intermediate result unit.
[Clone]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#clone) Creates a copy of the intermediate result unit.
[SetHashId]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#sethashid) Sets the hash ID of the unit.
[SetOriginalImageHashId]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#setoriginalimagehashid) Sets the hash ID of the original image.
[SetOriginalImageTag]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#setoriginalimagetag) Sets the image tag of the original image.
[Retain]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#retain) Increases the reference count of the unit.
[Release]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#release) Decreases the reference count of the unit.
[GetTransformMatrix]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#gettransformmatrix) Gets the transformation matrix via TransformMatrixType.
[SetTransformMatrix]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result-unit.html#settransformmatrix) Sets the transformation matrix via TransformMatrixType.

GetImageData

Gets the scaled up barcode image data.

virtual const CImageData* GetImageData() const = 0;

Return value

Returns a pointer to the scaled up image of the barcode.

See Also

[CImageData]({{ site.dcvb_cpp_api }}core/basic-structures/image-data.html)

SetImageData

Sets the scaled up image data.

virtual int SetImageData(const CImageData* imgData) = 0;

Parameters

[in] imgData The pointer to the scaled up image data.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

[CImageData]({{ site.dcvb_cpp_api }}core/basic-structures/image-data.html)