Click or drag to resize

CIMUCRCInexact Method

Computes a CRC Checksum on an image and allows you to specify number of bits of floats/doubles to drop so that the CRC will be same even of this are changed.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static int CRCInexact(
	CGXNETCore gxNetShared,
	CIMG img,
	int pul_crc,
	int float_bits,
	int double_bits
)

public static int CRCInexact(
	CGXNETCore gxNetShared,
	CIMG img,
	int pul_crc,
	int float_bits,
	int double_bits
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
img
Type: GeoEngine.Core.GXNetXCIMG
Input image
pul_crc
Type: SystemInt32
Starting CRC (use <define>CRC_INIT_VALUE</define> if none)
float_bits
Type: SystemInt32
<define>IMU_FLOAT_CRC_BITS</define>
double_bits
Type: SystemInt32
<define>IMU_DOUBLE_CRC_BITS</define>

Return Value

Type: Int32
CRC value
Remarks
Very useful for testing where the last bits of accuracy are not as important.
See Also