CogHistogramResult ClassCognex VisionPro 9.24
Result of the histogram operation.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.ImageProcessing CogHistogramResult

Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 91.0.0.0
Syntax

[SerializableAttribute]
public class CogHistogramResult : CogObjectBase, 
	ICogNetInternal, IDisposable, ICloneable, ISerializable

The CogHistogramResult type exposes the following members.

Constructors

  NameDescription
Public methodCogHistogramResult 
Constructs a new instance of this class.
Public methodCogHistogramResult(IntPtr)
Constructs a new instance of this class using com pointer.
Public methodCogHistogramResult(CogHistogramResult)
Constructs a new instance of this class as a deep copy of the given instance.
Top
Methods

  NameDescription
Protected methodattachCom
Protected methodClone
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
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodCreateResultGraphics
Creates a composite result graphic containing child graphics specified by the GraphicOptions which is a bitwise combination of CogHistogramResultGraphicConstants.
Public methodDispose 
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize (Overrides Object Finalize .)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHistogram
Returns the histogram.
Public methodGetInverseCumulativeGreyLevel
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.
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetMinimumWGVThreshold 
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.
Public methodGetMinimumWGVThreshold(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.
Protected methodGetObjectData
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Protected field__com
Protected field__disposed
Protected fieldStatic member__factory
Protected fieldStatic memberCreator
Top
Properties

  NameDescription
Public propertyMaximum
Returns the maximum histogram bin index that contains a non-zero pixel count.
Public propertyMean
Returns the arithmetic mean (average) pixel value in the histogram. The pixel value is grey-level.
Public propertyMedian
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.
Public propertyMinimum
Returns the minimum histogram bin index that contains a non-zero pixel count.
Public propertyMode
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.
Public propertyNumSamples
Returns the total number of pixels in the histogram.
Public propertyStandardDeviation
Returns the standard deviation of the pixel values in the histogram.
Public propertyVariance
Returns the variance of the pixel values in the histogram.
Top
Remarks

The histogram result that the tool generated.

See Also