←Select platform

Threshold Property

Summary

A number indicating the color threshold.

Syntax
C#
C++/CLI
Python
public int Threshold {get; set;} 
public:  
   property Int32 Threshold 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 
Threshold # get and set (RasterCompareOptions) 

Property Value

A valid number. The default value is 30.

Remarks

The Threshold defines the range in color values allowed that can still be considered the same color. The distance is calculated in Euclidean RGB color space using the following equation:

Threshold Equation
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Compare Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.