CogIPOneImageSampleConvolve ClassCognex VisionPro 9.24
Class that performs a simultaneous separable convlution and sampling. A common use of this is downsampling with Gaussian smoothing.
Inheritance Hierarchy

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

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

[SerializableAttribute]
public class CogIPOneImageSampleConvolve : CogObjectBase, 
	ICogNetInternal, IDisposable, ICogIPOneImageOperator, ICogIPOneImageOperatorParams, ICloneable, 
	ISerializable, ICogHasChanged, ICogChangedEvent

The CogIPOneImageSampleConvolve type exposes the following members.

Constructors

  NameDescription
Public methodCogIPOneImageSampleConvolve 
Constructs a new instance of this class.
Public methodCogIPOneImageSampleConvolve(IntPtr)
Constructs a new instance of this class using com pointer.
Public methodCogIPOneImageSampleConvolve(CogIPOneImageSampleConvolve)
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 methodDispose 
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
Perform a single image operation using the input image and region to produce the output image.
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 methodGetKernelXValue
Get the X axis kernel value at the specified index.
Public methodGetKernelYValue
Get the Y axis kernel value at the specified index.
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 methodSetGaussSample
Configure both the X axis and Y axis kernels to perform Gaussian sampling at the specified sample rates. The X axis sigma will be approximately 0.5 * floor(SampleX), while the Y axis sigma will be approximately 0.5 * floor(SampleY). This method may modify any or all of SampleX, SampleY, KernelXSize, KernelYSize, as well as the actual kernel values returned by GetKernelXValue(...) or GetKernelYValue(...).
Public methodSetGaussSigma
Configure both the X axis and Y axis kernels to perform Gaussian sampling at the specified sigma, leaving the sampling rate (SampleX, SampleY) unchanged. This method may modify any or all of KernelSizeX, KernelSizeY, as well as the actual kernel values returned by GetKernelXValue(...) or GetKernelYValue(...).
Public methodSetKernelXValue
Set the X axis kernel value at the specified index to the specified value.
Public methodSetKernelYValue
Set the Y axis kernel value at the specified index to the specified value.
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
Protected field__com
Protected field__disposed
Protected fieldStatic member__factory
Protected fieldStatic memberCreator
Public fieldStatic memberSfEnabled
This bit will be set in the EventArgs of a Changed event every time the value returned by Enabled may have changed.
Public fieldStatic memberSfGetKernelXValue
This bit will be set in the EventArgs of a Changed event every time the value returned by GetKernelXValue may have changed.
Public fieldStatic memberSfGetKernelYValue
This bit will be set in the EventArgs of a Changed event every time the value returned by GetKernelYValue may have changed.
Public fieldStatic memberSfKernelXSize
This bit will be set in the EventArgs of a Changed event every time the value returned by KernelXSize may have changed.
Public fieldStatic memberSfKernelYSize
This bit will be set in the EventArgs of a Changed event every time the value returned by KernelYSize may have changed.
Public fieldStatic memberSfOperatorName
This bit will be set in the EventArgs of a Changed event every time the value returned by OperatorName may have changed.
Public fieldStatic memberSfSampleX
This bit will be set in the EventArgs of a Changed event every time the value returned by SampleX may have changed.
Public fieldStatic memberSfSampleY
This bit will be set in the EventArgs of a Changed event every time the value returned by SampleY 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 propertyEnabled
Whether this one image operator will be used to compute the output image.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyKernelXSize
Get or set the size of the X axis kernel. Directly setting this property to a larger value will cause new X kernel elements, each with an initial value of zero, to be added. Directly setting this property to a smaller value will cause existing X kernel elements to be discarded. Note that directly setting this property is considered an advanced usage.
Public propertyKernelYSize
Get or set the size of the Y axis kernel. Directly setting this property to a larger value will cause new Y kernel elements, each with an initial value of zero, to be added. Directly setting this property to a smaller value will cause existing Y kernel elements to be discarded. Note that directly setting this property is considered an advanced usage.
Public propertyOperatorName
Returns/sets a displayable operator name.
Public propertySampleX
Get or set the sample rate in the X direction. To specify sampling every third pixel in the X direction, set SampleX to 3.0. Note that non-integer sampling is fully supported.
Public propertySampleY
Get or set the sample rate in the Y direction. To specify sampling every third pixel in the Y direction, set SampleY to 3.0. Note that non-integer sampling is fully supported.
Top
Events

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