The purpose of the plane estimator tool is to find the best fitting plane to a surface in a range image.
This plane estimator tool allows the user to fit a plane using pixels specified in a region or specified 2D point locations. This class encapsulates all of the classes needed to perform plane estimation on a range image.
The plane is returned in the SelectedSpaceName3D units specified in the range image.
System MarshalByRefObject
System.ComponentModel Component
Cognex.VisionPro.Implementation CogComponentBase
Cognex.VisionPro.Implementation CogSerializableComponentBase
Cognex.VisionPro.Implementation CogSerializableChangedEventComponentBase
Cognex.VisionPro.Implementation CogToolBase
Cognex.VisionPro3D Cog3DRangeImagePlaneEstimatorTool
Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 87.0.0.0
The Cog3DRangeImagePlaneEstimatorTool type exposes the following members.
| Name | Description | |
|---|---|---|
| Cog3DRangeImagePlaneEstimatorTool |
Construct a default Cog3DRangeImagePlaneEstimatorTool object.
| |
| Cog3DRangeImagePlaneEstimatorTool(Cog3DRangeImagePlaneEstimatorTool) |
Construct a deep copy of the supplied Cog3DRangeImagePlaneEstimatorTool object.
| |
| Cog3DRangeImagePlaneEstimatorTool(SerializationInfo, StreamingContext) |
Serialization constructor for Cog3DRangeImagePlaneEstimatorTool object.
|
| Name | Description | |
|---|---|---|
| CheckRunConditions |
Check for run conditions including data binding.
(Inherited from CogToolBase.) | |
| CheckRunConditionsNoThrow |
Check for run conditions including data binding,
returning an exception for the first problem
encountered.
(Inherited from CogToolBase.) | |
| Clone | (Overrides CogToolBase Clone .) | |
| CreateCurrentRecord |
Creates a new set of records that represents the tool's current state.
(Inherited from CogToolBase.) | |
| CreateLastRunRecord |
Creates a new set of records that represents the tool's last-run state.
(Inherited from CogToolBase.) | |
| 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.) | |
| Dispose | Releases all resources used by the Component. (Inherited from Component.) | |
| Dispose(Boolean) | (Overrides Component Dispose(Boolean).) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetClassName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetComponentName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetConverter |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetDefaultEvent |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetDefaultProperty |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetEditor |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetEvents |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetEvents( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetObjectData |
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableComponentBase.) | |
| GetProperties |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetProperties( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogComponentBase.) | |
| GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) | |
| 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.) | |
| InternalCreateCurrentRecord | (Overrides CogToolBase InternalCreateCurrentRecord(ICogRecord, Int32).) | |
| InternalCreateLastRunRecord | (Overrides CogToolBase InternalCreateLastRunRecord(ICogRecord, Int32, Int32).) | |
| InternalRun | (Overrides CogToolBase InternalRun(String ).) | |
| 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.) | |
| OnChanged(Int64) |
This method should be called internally whenever the object's state may
have changed.
(Inherited from CogSerializableChangedEventComponentBase.) | |
| OnChanged(CogChangedEventArgs) |
This method may be called internally whenever a derived object's state
may have changed and the derived object expresses this change via a
derived CogChangedEventArgs class.
(Inherited from CogSerializableChangedEventComponentBase.) | |
| OnDeserialization | (Inherited from CogToolBase.) | |
| OnRan |
Raises the Ran event.
(Inherited from CogToolBase.) | |
| OnRunning |
Raises the Running event.
(Inherited from CogToolBase.) | |
| ResumeAndRaiseChangedEvent |
Re-enables raising of the Changed event after SuspendChangedEvent
has been called, and 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.
(Inherited from CogSerializableChangedEventComponentBase.) | |
| Run |
Runs the tool. This method is guaranteed to not throw an
exception. Any exception generated in the course of running
the tool will be caught and packaged in the tool's
RunStatus.Exception. Should this occur, the tool's RunStatus.Result
will be set to Error and its RunStatus.Message will reference the
message that accompanied the exception. It is the user's
responsibility to examine the tool's RunStatus after calling Run.
(Inherited from CogToolBase.) | |
| SetRunStatus |
Cognex Internal use only.
(Inherited from CogToolBase.) | |
| SuspendChangedEvent |
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.
(Inherited from CogSerializableChangedEventComponentBase.) | |
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
| Name | Description | |
|---|---|---|
| CurrentRecordEnable_ |
Gets or sets the flags specifying the records to include based on the
tool's current state. The derived class exposes this as a
strongly-typed enum property.
(Inherited from CogToolBase.) | |
| LastRunLastRunRecordDiagEnable_ |
Gets or sets the flags specifying the records to create during the next
invocation of the Run method.
(Inherited from CogToolBase.) | |
| LastRunRecordDiagEnable_ |
Gets or sets the flags specifying the diagnostics records to include
based on the tool's last-run state. The derived class exposes this as
a strongly-typed enum property.
(Inherited from CogToolBase.) | |
| LastRunRecordEnable_ |
Gets or sets the flags specifying the records to include based on the
tool's last-run state. The derived class exposes this as a
strongly-typed enum property.
(Inherited from CogToolBase.) | |
| ProcessingTimeAdjustment_ |
Gets or sets the amount to offset reported tool processing time.
(Inherited from CogToolBase.) | |
| SfCurrentRecordEnable |
This bit will be set in the EventArgs of a Changed event every time
the value returned by CurrentRecordEnable may have changed.
| |
| SfInputImage |
This bit will be set in the EventArgs of a Changed event every time
the value returned by InputImage may have changed.
| |
| SfLastRunRecordDiagEnable |
This bit will be set in the EventArgs of a Changed event every time
the value returned by LastRunRecordDiagEnable may have changed.
| |
| SfLastRunRecordEnable |
This bit will be set in the EventArgs of a Changed event every time
the value returned by LastRunRecordEnable may have changed.
| |
| SfNextSf | ||
| SfRegion |
This bit will be set in the EventArgs of a Changed event every time
the value returned by Region may have changed.
| |
| SfResult |
This bit will be set in the EventArgs of a Changed event every time
the value returned by Results may have changed.
| |
| SfRunParams |
This bit will be set in the EventArgs of a Changed event every time
the value returned by RunParams may have changed.
|
| Name | Description | |
|---|---|---|
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) | |
| ChangedEventSuspended |
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.
(Inherited from CogSerializableChangedEventComponentBase.) | |
| Container | Gets the IContainer that contains the Component. (Inherited from Component.) | |
| CurrentRecordEnable |
Enable creation of records by bitwise ORing the appropriate
Cog3DRangeImagePlaneEstimatorCurrentRecordConstants.
| |
| DataBindings |
Gets the data bindings for the tool.
(Inherited from CogToolBase.) | |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) | |
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) | |
| FailOnInvalidDataBinding |
Specifies that the Run method is to fail if executed while one or more
data bindings are invalid.
(Inherited from CogToolBase.) | |
| HasChanged | (Inherited from CogSerializableChangedEventComponentBase.) | |
| InputImage |
Gets or sets the input range image for use in plane estimation.
| |
| LastRunRecordDiagEnable |
Enable creation of records by bitwise ORing the appropriate
Cog3DRangeImagePlaneEstimatorLastRunRecordDiagConstants.
| |
| LastRunRecordEnable |
Enable creation of records by bitwise ORing the appropriate
Cog3DRangeImagePlaneEstimatorLastRunRecordConstants.
| |
| Name |
Gets or sets a user-supplied name for the tool.
(Inherited from CogToolBase.) | |
| Region |
Gets or sets the optional 2D region that specifies a portion of the
input image to be used for plane estimation. The
RegionMode
property specifies exactly how this region will be applied to the
InputImage.
| |
| Result |
Gets the results from the last call to the Run method.
A new instance of Cog3DRangeImagePlaneEstimatorResult is created for each
run of the tool.
| |
| RunParams |
Gets or sets the run parameters (operator) for this Cog3DRangeImagePlaneEstimatorTool.
| |
| RunStatus |
Gets general information about the last call to the tool's
Run function. Note that serious errors that occur within
the tool's Run method may only be detected by examining the
RunStatus after calling Run. It is the user's responsibility
to examine the tool's RunStatus after calling Run.
(Inherited from CogToolBase.) | |
| Site | Gets or sets the ISite of the Component. (Inherited from Component.) | |
| StateFlags |
Returns the complete set of state flags supported on this object. The
flags may be indexed by name as shown in the following C# code snippet:
if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventComponentBase.) | |
| UserData |
Gets a CogDictionary object that can be used to store application-specific information.
(Inherited from CogToolBase.) |
| Name | Description | |
|---|---|---|
| Changed |
This event is raised when one or more parts of the object's state may
have changed.
(Inherited from CogSerializableChangedEventComponentBase.) | |
| Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.) | |
| Ran |
Event that is raised at the end of the tool's Run method.
(Inherited from CogToolBase.) | |
| Running |
Event that is raised at the start of the tool's Run method.
(Inherited from CogToolBase.) |
When FitMethod is set to Area: Range image pixels that meet the following criteria are used to fit the plane:
1) must be contained within the 2D region of interest of the range image. No region means all of the input image.
2) must be marked as "Care" if an input image mask is provided.
3) must be marked as "Visible" in the range image's visible pixel mask.
Pixels that meet these conditions are used to fit the plane and are counted in NumberOfPointsUsedInEstimationWhen FitMethod is set to Points: Range image pixels that meet the following criteria are used to fit the plane:
1) must be contained within the range image boundaries.
2) must be marked as "Visible" in the range image's visible pixel mask.
Pixels that meet these conditions are used to fit the plane and are counted in NumberOfPointsUsedInEstimation