E3DObjectExtractor is used to extract 3D objects from a ZMap. More...


Public Member Functions | |
| E3DObjectExtractor () | |
| Constructs an E3DObjectExtractor with default (invalid) values. | |
| E3DObjectExtractor (eVision.Easy3D.E3DObjectExtractor other) | |
| Copy constructor for E3DObjectExtractor. | |
| void | Load (string path) |
| Load the E3DObjectExtractor. The given ESerializer must have been created for reading. | |
| void | Load (eVision.ESerializer serializer) |
| Load the E3DObjectExtractor. The given ESerializer must have been created for reading. | |
| void | Save (string path) |
| Save the E3DObjectExtractor. The given ESerializer must have been created for writing. | |
| void | Save (eVision.ESerializer serializer) |
| Save the E3DObjectExtractor. The given ESerializer must have been created for writing. | |
| void | SetComputeFeature (eVision.Easy3D.E3DObjectFeature feature, bool enable) |
| Sets true if the feature should computed by the extractor, false otherwise. | |
| void | UnsetAllComputeFeatures () |
| Disables all features to be computed by the extractor. | |
| void | SetAllComputeFeatures () |
| Enables all features to be computed by the extractor. | |
| bool | GetComputeFeature (eVision.Easy3D.E3DObjectFeature feature) |
| Returns true or false depending if the feature should be computed by the extractor. | |
| int | Extract (eVision.Easy3D.EZMap8 zMap) |
| Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects. | |
| int | Extract (eVision.Easy3D.EZMap8 zMap, eVision.ERegion region) |
| Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects. | |
| int | Extract (eVision.Easy3D.EZMap16 zMap) |
| Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects. | |
| int | Extract (eVision.Easy3D.EZMap16 zMap, eVision.ERegion region) |
| Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects. | |
| int | Extract (eVision.Easy3D.EZMap32f zMap) |
| Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects. | |
| int | Extract (eVision.Easy3D.EZMap32f zMap, eVision.ERegion region) |
| Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects. | |
| int | Extract (eVision.Easy3D.EZMap zMap) |
| Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects. | |
| int | Extract (eVision.Easy3D.EZMap zMap, eVision.ERegion region) |
| Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX, float zoomY, float panX) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX, float zoomY) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (eVision.EDrawAdapter graphicContext, eVision.Easy3D.E3DObjectFeature feature) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (IntPtr graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (IntPtr graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX, float zoomY, float panX) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (IntPtr graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX, float zoomY) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (IntPtr graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (IntPtr graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (IntPtr graphicContext, eVision.Easy3D.E3DObjectFeature feature) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | AddToMesh (eVision.Easy3D.E3DObjectFeature feature, eVision.Easy3D.EMesh mesh) |
| For all extracted objects, adds a 3D representation (in the form of a list of triangles) of the given feature to the given mesh. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (System.Drawing.Graphics graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (System.Drawing.Graphics graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX, float zoomY, float panX) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (System.Drawing.Graphics graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX, float zoomY) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (System.Drawing.Graphics graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color, float zoomX) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (System.Drawing.Graphics graphicContext, eVision.Easy3D.E3DObjectFeature feature, eVision.ERGBColor color) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
| void | Draw (System.Drawing.Graphics graphicContext, eVision.Easy3D.E3DObjectFeature feature) |
| Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect. | |
Properties | |
| eVision.EFloatRange | LengthRange [get, set] |
| The extraction object length range in metric units. Length is the largest dimension of the object, expressed the ZMap coordinate system. | |
| eVision.EFloatRange | WidthRange [get, set] |
| The extraction object width range in metric units. Width is the smallest dimension of the object, expressed the ZMap coordinate system. | |
| eVision.EFloatRange | LocalHeightRange [get, set] |
| The extraction object local height range in metric units. Local height is the dimension of the object along the normal of the base plane. For a height based on the ZMap origin, use E3DObjectExtractor.LocalHeightRange. | |
| eVision.EFloatRange | ReferenceHeightRange [get, set] |
| The extraction object reference height range in metric units. Reference height is the dimension of the object along the ZMap Z axis from ZMap origin. For a height based on the object base plane, use E3DObjectExtractor.ReferenceHeightRange. | |
| eVision.EFloatRange | AspectRatioRange [get, set] |
| The extraction 2D aspect ratio range. The aspect ratio is the smallest dimension divided by the largest dimension, its value is always between 0 and 1. The smaller the ratio, the more elongated the object is. A value of 1 means a perfectly square object (length=width). | |
| eVision.EFloatRange | OrientationRange [get, set] |
| The allowed angle range of the oriented 2D rectangle region. This is the angle of the longest axis (the length of the object), in counter clockwise direction, from the horizontal axis. Valid values are between -90 and +90 degrees (or -Pi/2 and Pi/2 if angle unit is radians). | |
| eVision.EFloatRange | LocalTiltRange [get, set] |
| The allowed angle range of the object local tilt. This is the angle between the base plane and the object plane. A value of 0 means that the object top surface is parallel to its base. Valid values are between 0 and +90 degrees (or 0 and Pi/2 if angle unit is radians). | |
| eVision.EFloatRange | ReferenceTiltRange [get, set] |
| The allowed angle range of the object reference tilt. This is the angle between the object plane and the ZMap Z Axis. A value of 0 means that the object top surface is parallel to the ZMap XY plane. Valid values are between 0 and +90 degrees (or 0 and Pi/2 if angle unit is radians). | |
| eVision.EFloatRange | AreaRange [get, set] |
| The allowed area range for the objects. Area is expressed in the metric coordinate system. E.g, if the ZMap space is in mm, the area is in mm2. | |
| eVision.EFloatRange | VolumeRange [get, set] |
| The allowed volume range for the objects. Volume is expressed in the metric coordinate system. E.g, if the ZMap space is in mm, the volume is in mm3. | |
| bool | OverlappedObject [get, set] |
| Enable or disable the extraction of overlapped objects. | |
| float | OverlappedAreaRatio [get, set] |
| Set or Get the object area ratio applicable when the overlapped mode is enabled. The area ratio defines the minimum area difference between 2 extracted objects that overlap. E.g with a value of 4, the top object must have an area at least 4 times smaller than the bottom object (or the bottom object must have an area at least 4 times bigger than the top object). | |
| float | OverlappedHeightDifference [get, set] |
| Set or Get the object height difference applicable when the overlapped mode is enabled. That value defines the minimum height difference between 2 overlapped objects. | |
| float | ExtractionSensitivity [get, set] |
| Set or Get the extraction sensitivity. The sensitivity ranges from 0 (minimum sensitivity) to 1 (maximum sensitivity). With high sensitivity, the library tries to extract object that are mixed with their surrounding. Low sensitivity values tend to ignore faint objects. The default sensitivity value is 0.6. | |
| bool | ContourReinforce [get, set] |
| When contour reinforcement is enable, a filter is applied to the input image to detect and enhance the frontiers between objects. That option is interesting when objects to extract are in contact. The default state is false (OFF). | |
| eVision.Easy3D.E3DObject[] | Objects [get] |
| Returns the list of extracted objects. The objects are sorted from smallest area to largest area. | |
| eVision.ERegion | ObjectsMask [get] |
| Gets the ERegion composed of all the objects ZMap pixels. | |
| eVision.ERegion | BackgroundMask [get] |
| Gets the ERegion composed of background ZMap pixels (where there is not object). | |
E3DObjectExtractor is used to extract 3D objects from a ZMap.
License(s): Easy3DObject
| eVision.Easy3D.E3DObjectExtractor.E3DObjectExtractor | ( | ) |
Constructs an E3DObjectExtractor with default (invalid) values.
| eVision.Easy3D.E3DObjectExtractor.E3DObjectExtractor | ( | eVision.Easy3D.E3DObjectExtractor | other | ) |
Copy constructor for E3DObjectExtractor.
| other | The other E3DObjectExtractor that we will copy into this one. |
| void eVision.Easy3D.E3DObjectExtractor.AddToMesh | ( | eVision.Easy3D.E3DObjectFeature | feature, |
| eVision.Easy3D.EMesh | mesh ) |
For all extracted objects, adds a 3D representation (in the form of a list of triangles) of the given feature to the given mesh. If the feature is not defined for the E3DObject, this method has no effect.
| feature | The feature to draw, only 3D features are supported. |
| mesh | The mesh to add the graphics for. |
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
Drawing is done in the device context associated to the desired window.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
Drawing is done in the device context associated to the desired window.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | IntPtr | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | IntPtr | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | IntPtr | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | IntPtr | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | IntPtr | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | IntPtr | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.Easy3D.E3DObjectExtractor.Draw | ( | System.Drawing.Graphics | graphicContext, |
| eVision.Easy3D.E3DObjectFeature | feature, | ||
| eVision.ERGBColor | color, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the specified feature of all extracted objects in the given graphic context. If the feature is not defined for the E3DObject, this method has no effect.
| graphicContext | Graphic context on which to draw. |
| feature | The feature to draw. |
| color | The color in which to draw the feature (optional). |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
Drawing is done in the device context associated to the desired window.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| int eVision.Easy3D.E3DObjectExtractor.Extract | ( | eVision.Easy3D.EZMap | zMap | ) |
Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects.
| zMap | The source ZMap. |
| int eVision.Easy3D.E3DObjectExtractor.Extract | ( | eVision.Easy3D.EZMap | zMap, |
| eVision.ERegion | region ) |
Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects.
| zMap | The source ZMap. |
| region | The region of interest, only pixels inside the given region are considered for object extraction. |
| int eVision.Easy3D.E3DObjectExtractor.Extract | ( | eVision.Easy3D.EZMap16 | zMap | ) |
Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects.
| zMap | The source ZMap. |
| int eVision.Easy3D.E3DObjectExtractor.Extract | ( | eVision.Easy3D.EZMap16 | zMap, |
| eVision.ERegion | region ) |
Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects.
| zMap | The source ZMap. |
| region | The region of interest, only pixels inside the given region are considered for object extraction. |
| int eVision.Easy3D.E3DObjectExtractor.Extract | ( | eVision.Easy3D.EZMap32f | zMap | ) |
Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects.
| zMap | The source ZMap. |
| int eVision.Easy3D.E3DObjectExtractor.Extract | ( | eVision.Easy3D.EZMap32f | zMap, |
| eVision.ERegion | region ) |
Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects.
| zMap | The source ZMap. |
| region | The region of interest, only pixels inside the given region are considered for object extraction. |
| int eVision.Easy3D.E3DObjectExtractor.Extract | ( | eVision.Easy3D.EZMap8 | zMap | ) |
Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects.
| zMap | The source ZMap. |
| int eVision.Easy3D.E3DObjectExtractor.Extract | ( | eVision.Easy3D.EZMap8 | zMap, |
| eVision.ERegion | region ) |
Processes the ZMap and extracts a list of 3D objects matching the criteria. Returns the number of extracted objects.
| zMap | The source ZMap. |
| region | The region of interest, only pixels inside the given region are considered for object extraction. |
| bool eVision.Easy3D.E3DObjectExtractor.GetComputeFeature | ( | eVision.Easy3D.E3DObjectFeature | feature | ) |
Returns true or false depending if the feature should be computed by the extractor.
| feature | The feature that is computed or not. |
| void eVision.Easy3D.E3DObjectExtractor.Load | ( | eVision.ESerializer | serializer | ) |
Load the E3DObjectExtractor. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| void eVision.Easy3D.E3DObjectExtractor.Load | ( | string | path | ) |
Load the E3DObjectExtractor. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision.Easy3D.E3DObjectExtractor.Save | ( | eVision.ESerializer | serializer | ) |
Save the E3DObjectExtractor. The given ESerializer must have been created for writing.
| serializer | The ESerializer object that is written to. |
| void eVision.Easy3D.E3DObjectExtractor.Save | ( | string | path | ) |
Save the E3DObjectExtractor. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision.Easy3D.E3DObjectExtractor.SetAllComputeFeatures | ( | ) |
Enables all features to be computed by the extractor.
| void eVision.Easy3D.E3DObjectExtractor.SetComputeFeature | ( | eVision.Easy3D.E3DObjectFeature | feature, |
| bool | enable ) |
Sets true if the feature should computed by the extractor, false otherwise.
| feature | A feature from E3DObjectFeature. |
| enable | A bool to choose whether to enable or disable a feature. |
| void eVision.Easy3D.E3DObjectExtractor.UnsetAllComputeFeatures | ( | ) |
Disables all features to be computed by the extractor.
|
getset |
The allowed area range for the objects. Area is expressed in the metric coordinate system. E.g, if the ZMap space is in mm, the area is in mm2.
|
getset |
The extraction 2D aspect ratio range. The aspect ratio is the smallest dimension divided by the largest dimension, its value is always between 0 and 1. The smaller the ratio, the more elongated the object is. A value of 1 means a perfectly square object (length=width).
|
get |
Gets the ERegion composed of background ZMap pixels (where there is not object).
|
getset |
When contour reinforcement is enable, a filter is applied to the input image to detect and enhance the frontiers between objects. That option is interesting when objects to extract are in contact. The default state is false (OFF).
|
getset |
Set or Get the extraction sensitivity. The sensitivity ranges from 0 (minimum sensitivity) to 1 (maximum sensitivity). With high sensitivity, the library tries to extract object that are mixed with their surrounding. Low sensitivity values tend to ignore faint objects. The default sensitivity value is 0.6.
|
getset |
The extraction object length range in metric units. Length is the largest dimension of the object, expressed the ZMap coordinate system.
|
getset |
The extraction object local height range in metric units. Local height is the dimension of the object along the normal of the base plane. For a height based on the ZMap origin, use E3DObjectExtractor.LocalHeightRange.
|
getset |
The allowed angle range of the object local tilt. This is the angle between the base plane and the object plane. A value of 0 means that the object top surface is parallel to its base. Valid values are between 0 and +90 degrees (or 0 and Pi/2 if angle unit is radians).
|
get |
Returns the list of extracted objects. The objects are sorted from smallest area to largest area.
|
get |
Gets the ERegion composed of all the objects ZMap pixels.
|
getset |
The allowed angle range of the oriented 2D rectangle region. This is the angle of the longest axis (the length of the object), in counter clockwise direction, from the horizontal axis. Valid values are between -90 and +90 degrees (or -Pi/2 and Pi/2 if angle unit is radians).
|
getset |
Set or Get the object area ratio applicable when the overlapped mode is enabled. The area ratio defines the minimum area difference between 2 extracted objects that overlap. E.g with a value of 4, the top object must have an area at least 4 times smaller than the bottom object (or the bottom object must have an area at least 4 times bigger than the top object).
|
getset |
Set or Get the object height difference applicable when the overlapped mode is enabled. That value defines the minimum height difference between 2 overlapped objects.
|
getset |
Enable or disable the extraction of overlapped objects.
See E3DObjectExtractor.OverlappedAreaRatio and E3DObjectExtractor.OverlappedHeightDifference
|
getset |
The extraction object reference height range in metric units. Reference height is the dimension of the object along the ZMap Z axis from ZMap origin. For a height based on the object base plane, use E3DObjectExtractor.ReferenceHeightRange.
|
getset |
The allowed angle range of the object reference tilt. This is the angle between the object plane and the ZMap Z Axis. A value of 0 means that the object top surface is parallel to the ZMap XY plane. Valid values are between 0 and +90 degrees (or 0 and Pi/2 if angle unit is radians).
|
getset |
The allowed volume range for the objects. Volume is expressed in the metric coordinate system. E.g, if the ZMap space is in mm, the volume is in mm3.
|
getset |
The extraction object width range in metric units. Width is the smallest dimension of the object, expressed the ZMap coordinate system.