CogPatInspectRunParams ClassCognex VisionPro
Provides access to PatInspect run-time parameters. The run-time parameters are used to indicate how the PatInspect inspection will be performed and what data will be generated as part of the PatInspect result.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.PatInspect CogPatInspectRunParams

Namespace: Cognex.VisionPro.PatInspect
Assembly: Cognex.VisionPro.PatInspect (in Cognex.VisionPro.PatInspect.dll) Version: 65.1.0.0
Syntax

[SerializableAttribute]
public class CogPatInspectRunParams : CogObjectBase, 
	ICogNetInternal, IDisposable, ICloneable, ISerializable, ICogHasChanged, 
	ICogChangedEvent

The CogPatInspectRunParams type exposes the following members.

Constructors

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

  NameDescription
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 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 methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
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 methodResumeAndRaiseChangedEvent
Re-enables raising of the Changed event after SuspendChangedEvent has been called. Also raises the Changed event if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent.
Public methodSuspendChangedEvent
Temporarily suspends the raising of the Changed event. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberSfComputeCorrelationScore
This bit will be set in the EventArgs of a Changed event every time the value returned by ComputeCorrelationScore may have changed.
Public fieldStatic memberSfDifferenceImages
This bit will be set in the EventArgs of a Changed event every time the value returned by DifferenceImages may have changed.
Public fieldStatic memberSfDifferenceImagesRaw
This bit will be set in the EventArgs of a Changed event every time the value returned by DifferenceImagesRaw may have changed.
Public fieldStatic memberSfMatchImages
This bit will be set in the EventArgs of a Changed event every time the value returned by MatchImages may have changed.
Public fieldStatic memberSfNeighborhoodHeight
This bit will be set in the EventArgs of a Changed event every time the value returned by NeighborhoodHeight may have changed.
Public fieldStatic memberSfNeighborhoodWidth
This bit will be set in the EventArgs of a Changed event every time the value returned by NeighborhoodWidth may have changed.
Public fieldStatic memberSfNormalizationMode
This bit will be set in the EventArgs of a Changed event every time the value returned by NormalizationMode may have changed.
Public fieldStatic memberSfTailHigh
This bit will be set in the EventArgs of a Changed event every time the value returned by TailHigh may have changed.
Public fieldStatic memberSfTailLow
This bit will be set in the EventArgs of a Changed event every time the value returned by TailLow may have changed.
Top
Properties

  NameDescription
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
Public propertyComputeCorrelationScore
If true then the result object will contain a score indicating the correlation between the trained pattern image and the run-time match image.
Public propertyDifferenceImages
The difference images that will be created at run-time. Images indicate differences between the normalized input image and trained pattern image after thresholding is performed. Specified by ORing together the desired difference image constants.
Public propertyDifferenceImagesRaw
The raw difference images that will be created at run-time. Images indicate raw differences between the normalized input image and trained pattern image with no thresholding performed. Specified by ORing together the desired difference image constants.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyMatchImages
The match images that will be created at run-time. Specified by ORing together the desired match image constants.
Public propertyNeighborhoodHeight
The height in pixels of the neighborhood to be used when NormalizationMode is either LocalCorrection or LocalCorrectionEnhanced.
Public propertyNeighborhoodWidth
The width in pixels of the neighborhood to be used when NormalizationMode is either LocalCorrection or LocalCorrectionEnhanced.
Public propertyNormalizationMode
Normalization mode to be applied to the input image prior to performing the intensity difference operation.
Public propertyTailHigh
The percentage of pixels to discard on the high end of the grey scale spectrum prior to performing tail matching normalization. Only applicable if match tails is selected for the NormalizationMode.
Public propertyTailLow
The percentage of pixels to discard on the low end of the grey scale spectrum prior to performing tail matching normalization. Only applicable if match tails is selected for the NormalizationMode.
Top
Events

  NameDescription
Public eventChanged
Occurs when one or more parts of the object's state may have changed.
Top
Remarks

Provides access to PatInspect run-time parameters, which are used to indicate how the PatInspect inspection will be performed and what data will be generated as part of the PatInspect result.

See Also