Result of the histogram operation.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.ImageProcessing CogHistogramResult
Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 75.0.0.0
Syntax
The CogHistogramResult type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogHistogramResult | Constructs a new instance of this class. | |
| CogHistogramResult(IntPtr) | Constructs a new instance of this class using com pointer. | |
| CogHistogramResult(CogHistogramResult) | Constructs a new instance of this class as a deep copy of the given instance. |
Methods
| Name | Description | |
|---|---|---|
| Clone | Returns a deep copy of this class instance. Derived classes that implement Clone should override this method; other clients who wish to clone this instance should call ICloneable.Clone. See also CogSerializer.DeepCopyObject | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| CreateResultGraphics | Creates a composite result graphic containing child graphics specified by the GraphicOptions which is a bitwise combination of CogHistogramResultGraphicConstants. | |
| Dispose | ||
| Dispose(Boolean) | ||
| Equals | (Inherited from Object.) | |
| Finalize | (Overrides Object Finalize .) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetClassName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetComponentName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetConverter |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultEvent |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultProperty |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEditor |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetHistogram | Returns the histogram. | |
| GetInverseCumulativeGreyLevel | Returns the histogram bin index such that the specified percentage of pixels fall at or below that histogram bin index. The returned grey level is guaranteed to be at least the minimum histogram bin index that contains a non-zero pixel count. | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetMinimumWGVThreshold | Returns a threshold using data from this histogram. The computed threshold is appropriate for segmenting an image into object and background pixels and is often used to compute a segmentation threshold for blob analysis. The returned threshold divides the histogram data into two groups such that the combined variance within the groups is a minimum. | |
| GetMinimumWGVThreshold(Int32, Int32, Double ) | Returns a threshold using data from the given range of this histogram. The computed threshold is appropriate for segmenting an image into object and background pixels and is often used to compute a segmentation threshold for blob analysis. The threshold computation includes the left index value but excludes the right index value. This range must include at least two nonzero bins. The returned threshold will be within the range. This threshold divides the histogram data into two groups such that the combined variance within the groups is a minimum. | |
| GetObjectData | ||
| GetProperties |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetProperties( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Maximum | Returns the maximum histogram bin index that contains a non-zero pixel count. | |
| Mean | Returns the arithmetic mean (average) pixel value in the histogram. The pixel value is grey-level. | |
| Median | Returns the histogram bin index of the bin containing the median (middle) pixel value in the histogram. This is the histogram bin index where half of the distribution of pixel values is above and half below it. | |
| Minimum | Returns the minimum histogram bin index that contains a non-zero pixel count. | |
| Mode | Returns the histogram bin index of the bin containing the modal (most common) pixel value in the histogram. This is the histogram bin index with the greatest pixel count. | |
| NumSamples | Returns the total number of pixels in the histogram. | |
| StandardDeviation | Returns the standard deviation of the pixel values in the histogram. | |
| Variance | Returns the variance of the pixel values in the histogram. |
Remarks
The histogram result that the tool generated.
See Also