ThresholdType Class |
Namespace: Emgu.CV.CvEnum
The ThresholdType type exposes the following members.
Name | Description | |
---|---|---|
![]() | CompareTo | Compares this instance to a specified object and returns an indication of their relative values. (Inherited from Enum.) |
![]() | Equals | Returns a value indicating whether this instance is equal to a specified object. (Inherited from Enum.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the hash code for the value of this instance. (Inherited from Enum.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetTypeCode | Returns the type code of the underlying type of this enumeration member. (Inherited from Enum.) |
![]() | HasFlag | Determines whether one or more bit fields are set in the current instance. (Inherited from Enum.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Converts the value of this instance to its equivalent string representation. (Inherited from Enum.) |
![]() | ToString(IFormatProvider) | Obsolete. This method overload is obsolete; use ToString. (Inherited from Enum.) |
![]() | ToString(String) | Converts the value of this instance to its equivalent string representation using the specified format. (Inherited from Enum.) |
![]() | ToString(String, IFormatProvider) | Obsolete. This method overload is obsolete; use ToString(String). (Inherited from Enum.) |
Name | Description | |
---|---|---|
![]() ![]() | Binary |
value = value > threshold ? max_value : 0
|
![]() ![]() | BinaryInv |
value = value > threshold ? 0 : max_value
|
![]() ![]() | Mask |
Mask
|
![]() ![]() | Otsu |
use Otsu algorithm to choose the optimal threshold value;
combine the flag with one of the above CV_THRESH_* values
|
![]() ![]() | ToZero |
value = value > threshold ? value : 0
|
![]() ![]() | ToZeroInv |
value = value > threshold ? 0 : value
|
![]() ![]() | Triangle |
Use Triangle algorithm to choose the optimal threshold value
|
![]() ![]() | Trunc |
value = value > threshold ? threshold : value
|
![]() | value__ |