←Select platform

Threshold Property

Summary

Gets or sets the threshold value used to determine which pixels are going to be filtered.

Syntax
C#
VB
Objective-C
C++
Java
public int Threshold { get; set; } 
Public Property Threshold As Integer 
@property (nonatomic, assign) NSInteger threshold 
public int getThreshold() 
public void setThreshold(int value) 
public: 
property int Threshold { 
   int get(); 
   void set (    int ); 
} 

Property Value

Threshold value used to determine which pixels are going to be filtered. If the difference determined for a pixel is less than this value, the pixel is set to 0. If the difference is greater, the filter will be applied to the pixel. This property only accepts positive values.

Example

Refer to EdgeDetectEffectCommand.

Requirements

Target Platforms

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

Leadtools.ImageProcessing.Effects Assembly