The class represents a sample path (eVision.ELine on which we sample the pixel values to find the strong edge-crossings). More...
Public Member Functions | |
| None | __init__ (self, eVision.ELine line) |
| Constructs a eVision.ESamplePath. | |
| None | __init__ (self, eVision.EPoint center, float pathLength, float pathAngle) |
| Constructs a eVision.ESamplePath. | |
| None | __init__ (self, eVision.EPoint center, float pathLength) |
| Constructs a eVision.ESamplePath. | |
| None | __init__ (self, eVision.EPoint center) |
| Constructs a eVision.ESamplePath. | |
| None | __init__ (self) |
| Constructs a eVision.ESamplePath. | |
| None | __init__ (self, eVision.ESamplePath other) |
| Constructs a eVision.ESamplePath. | |
| None | CopyParametersTo (self, eVision.ESamplePath other) |
| Copy the parameter to the other object. | |
| bool | IsEqual (self, eVision.ESamplePath other) |
| Compares this object with the other object. | |
| eVision.EPoint | GetMeasuredPoint (self, int index) |
| Coordinates of a sample point, measured along this sample path. | |
| eVision.EPoint | GetMeasuredPoint (self) |
| Coordinates of a sample point, measured along this sample path. | |
| eVision.EPeak | GetMeasuredPeak (self, int index) |
| Returns information pertaining to the default derivative peak, along one of the sample paths of the gauge. | |
| eVision.EPeak | GetMeasuredPeak (self) |
| Returns information pertaining to the default derivative peak, along one of the sample paths of the gauge. | |
| None | Plot (self, eVision.EDrawAdapter|None graphicContext, eVision.EPlotItem plotItems, eVision.EPlotDecorationOptions opts, float width, float height, float originX, float originY) |
| Draws the profile of the sample paths of the gauge, as defined by eVision.EPlotItem. | |
| None | Plot (self, eVision.EDrawAdapter|None graphicContext, eVision.EPlotItem plotItems, eVision.EPlotDecorationOptions opts, float width, float height, float originX) |
| Draws the profile of the sample paths of the gauge, as defined by eVision.EPlotItem. | |
| None | Plot (self, eVision.EDrawAdapter|None graphicContext, eVision.EPlotItem plotItems, eVision.EPlotDecorationOptions opts, float width, float height) |
| Draws the profile of the sample paths of the gauge, as defined by eVision.EPlotItem. | |
| None | Measure (self, eVision.EROIBW8 pSrc, eVision.EFrame frame) |
| Measure the peaks in the image, potentially applying normalization. | |
| None | Measure (self, eVision.EROIBW8 pSrc) |
| Measure the peaks in the image, potentially applying normalization. | |
| None | Measure (self, eVision.EROIBW8 pSrc, eVision.ERegion region, eVision.EFrame frame) |
| Measure the peaks in the image, potentially applying normalization. | |
| None | Measure (self, eVision.EROIBW8 pSrc, eVision.ERegion region) |
| Measure the peaks in the image, potentially applying normalization. | |
| None | DrawTransition (self, eVision.EDrawAdapter|None graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath. | |
| None | DrawTransition (self, eVision.EDrawAdapter|None graphicContext, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath. | |
| None | DrawTransition (self, eVision.EDrawAdapter|None graphicContext, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath. | |
| None | DrawTransition (self, eVision.EDrawAdapter|None graphicContext, eVision.EFrame frame, float zoomX) |
| Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath. | |
| None | DrawTransition (self, eVision.EDrawAdapter|None graphicContext, eVision.EFrame frame) |
| Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath. | |
| None | DrawTransition (self, eVision.EDrawAdapter|None graphicContext, eVision.EPoint org, eVision.EPoint end, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath. | |
| None | DrawTransition (self, eVision.EDrawAdapter|None graphicContext, eVision.EPoint org, eVision.EPoint end, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath. | |
| None | DrawTransition (self, eVision.EDrawAdapter|None graphicContext, eVision.EPoint org, eVision.EPoint end, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath. | |
| None | DrawTransition (self, eVision.EDrawAdapter|None graphicContext, eVision.EPoint org, eVision.EPoint end, eVision.EFrame frame, float zoomX) |
| Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath. | |
| None | DrawTransition (self, eVision.EDrawAdapter|None graphicContext, eVision.EPoint org, eVision.EPoint end, eVision.EFrame frame) |
| Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath. | |
| None | DrawPath (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the sample path represented by the object. | |
| None | DrawPath (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the sample path represented by the object. | |
| None | DrawPath (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the sample path represented by the object. | |
| None | DrawPath (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX) |
| Draws the sample path represented by the object. | |
| None | DrawPath (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame) |
| Draws the sample path represented by the object. | |
| eVision.ELine | SamplePath (self) |
| Line along which the edge-crossing points are measured. | |
| SamplePath (self, eVision.ELine value) | |
| Line along which the edge-crossing points are measured. | |
| eVision.EPoint | Center (self) |
| Center of the sample path. | |
| Center (self, eVision.EPoint value) | |
| Center of the sample path. | |
| float | Length (self) |
| Length of the path along which measure. | |
| Length (self, float value) | |
| Length of the path along which measure. | |
| float | Angle (self) |
| Angle of the path along which we measure. | |
| Angle (self, float value) | |
| Angle of the path along which we measure. | |
| float | Tolerance (self) |
| Tolerance (half-length of the path). | |
| Tolerance (self, float value) | |
| Tolerance (half-length of the path). | |
| float | ToleranceAngle (self) |
| Alias for eVision.ESamplePath.Angle. | |
| ToleranceAngle (self, float value) | |
| Alias for eVision.ESamplePath.Angle. | |
| bool | HVConstraint (self) |
| Status of the restriction on the orientation of the sample path. | |
| HVConstraint (self, bool value) | |
| Status of the restriction on the orientation of the sample path. | |
| int | Thickness (self) |
| Number of parallel segments used to extract the data profile. | |
| Thickness (self, int value) | |
| Number of parallel segments used to extract the data profile. | |
| int | Smoothing (self) |
| Number of pixels used for the low-pass filtering operation. | |
| Smoothing (self, int value) | |
| Number of pixels used for the low-pass filtering operation. | |
| eVision.ETransitionType | TransitionType (self) |
| Transition type to measure. | |
| TransitionType (self, eVision.ETransitionType value) | |
| Transition type to measure. | |
| eVision.ETransitionChoice | TransitionChoice (self) |
| Transition choice used to select the sample point corresponding to eVision.ESamplePath.TransitionIndex. | |
| TransitionChoice (self, eVision.ETransitionChoice value) | |
| Transition choice used to select the sample point corresponding to eVision.ESamplePath.TransitionIndex. | |
| int | TransitionIndex (self) |
| The sample point to select as default. | |
| TransitionIndex (self, int value) | |
| The sample point to select as default. | |
| int | Threshold (self) |
| Threshold level used to delimit significant peaks in the data profile. | |
| Threshold (self, int value) | |
| Threshold level used to delimit significant peaks in the data profile. | |
| int | MinAmplitude (self) |
| Offset added to the Threshold when a peak is to be detected. | |
| MinAmplitude (self, int value) | |
| Offset added to the Threshold when a peak is to be detected. | |
| int | MinArea (self) |
| Minimum area value. | |
| MinArea (self, int value) | |
| Minimum area value. | |
| bool | TransitionRectangularSamplingArea (self) |
| Flag indicating whether the sampling area remains a rectangle when rotated, instead of becoming a parallelogram. | |
| TransitionRectangularSamplingArea (self, bool value) | |
| Flag indicating whether the sampling area remains a rectangle when rotated, instead of becoming a parallelogram. | |
| int | NumMeasuredPoints (self) |
| Number of edge-crossing points along the sample path. | |
| list[eVision._eVision.EPoint] | MeasuredPoints (self) |
| Coordinates of all edge-crossing points, measured along the sample path of a gauge. | |
| list[eVision._eVision.EPeak] | MeasuredPeaks (self) |
| Returns information pertaining to the derivative peaks associated with all the edge-crossing point, such as their area, amplitude, start, length and center. | |
| int | DefaultPointIndex (self) |
| The default edge-crossing point measured, chosen according to the transition choice parameter. | |
| bool | Valid (self) |
| Flag indicating if at least one valid transition has been found. | |
Static Public Member Functions | |
| eVision.EPen | GetDrawingPen (eVision.EPlotItem plotItem) |
| Gets a standard drawing pen for the specified plot item. | |
The class represents a sample path (eVision.ELine on which we sample the pixel values to find the strong edge-crossings).
The sample path can be directly specified as a eVision.ELine object though eVision.ESamplePath.SamplePath or through eVision.ESamplePath.Center, eVision.ESamplePath.Length and eVision.ESamplePath.Angle.
The measurement of the sample path is done with eVision.ESamplePath.Measure. It will find eVision.ESamplePath.NumMeasuredPoints whose positions can be accessed with eVision.ESamplePath.GetMeasuredPoint or eVision.ESamplePath.MeasuredPoints. The characteristics of the edge-crossing can be accessed with eVision.ESamplePath.GetMeasuredPeak or eVision.ESamplePath.MeasuredPeaks.
The profile and derivatives of the sample path can be plotted with eVision.ESamplePath.Plot.
Remarks:
License(s): EasyGauge
| None eVision.ESamplePath.__init__ | ( | self, | |
| eVision.ELine | line ) |
Constructs a eVision.ESamplePath.
| line | Line segment representing the sample path |
| None eVision.ESamplePath.__init__ | ( | self, | |
| eVision.EPoint | center, | ||
| float | pathLength, | ||
| float | pathAngle ) |
Constructs a eVision.ESamplePath.
| center | Center of the sample path |
| pathLength | Length of the sample path |
| pathAngle | Angle of the sample path |
| None eVision.ESamplePath.__init__ | ( | self, | |
| eVision.EPoint | center, | ||
| float | pathLength ) |
Constructs a eVision.ESamplePath.
| center | Center of the sample path |
| pathLength | Length of the sample path |
| None eVision.ESamplePath.__init__ | ( | self, | |
| eVision.EPoint | center ) |
Constructs a eVision.ESamplePath.
| center | Center of the sample path |
| None eVision.ESamplePath.__init__ | ( | self | ) |
Constructs a eVision.ESamplePath.
| None eVision.ESamplePath.__init__ | ( | self, | |
| eVision.ESamplePath | other ) |
Constructs a eVision.ESamplePath.
| other | Other eVision.ESamplePath object to copy from. |
| float eVision.ESamplePath.Angle | ( | self | ) |
Angle of the path along which we measure.
| eVision.ESamplePath.Angle | ( | self, | |
| float | value ) |
Angle of the path along which we measure.
| eVision.EPoint eVision.ESamplePath.Center | ( | self | ) |
Center of the sample path.
| eVision.ESamplePath.Center | ( | self, | |
| eVision.EPoint | value ) |
Center of the sample path.
| None eVision.ESamplePath.CopyParametersTo | ( | self, | |
| eVision.ESamplePath | other ) |
Copy the parameter to the other object.
| other | Object to copy the parameters to. |
| int eVision.ESamplePath.DefaultPointIndex | ( | self | ) |
The default edge-crossing point measured, chosen according to the transition choice parameter.
| None eVision.ESamplePath.DrawPath | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame ) |
Draws the sample path represented by the object.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the gauge is located. |
| None eVision.ESamplePath.DrawPath | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the sample path represented by the object.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the gauge is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| None eVision.ESamplePath.DrawPath | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the sample path represented by the object.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the gauge is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| None eVision.ESamplePath.DrawPath | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the sample path represented by the object.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the gauge is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| None eVision.ESamplePath.DrawPath | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the sample path represented by the object.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the gauge is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
| None eVision.ESamplePath.DrawTransition | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFrame | frame ) |
Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath.
| graphicContext | Handle of the device context on which to draw. |
| frame | Frame of reference in which the path is located. |
| None eVision.ESamplePath.DrawTransition | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath.
| graphicContext | Handle of the device context on which to draw. |
| frame | Frame of reference in which the path is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| None eVision.ESamplePath.DrawTransition | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath.
| graphicContext | Handle of the device context on which to draw. |
| frame | Frame of reference in which the path is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| None eVision.ESamplePath.DrawTransition | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath.
| graphicContext | Handle of the device context on which to draw. |
| frame | Frame of reference in which the path is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| None eVision.ESamplePath.DrawTransition | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath.
| graphicContext | Handle of the device context on which to draw. |
| frame | Frame of reference in which the path is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
| None eVision.ESamplePath.DrawTransition | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EPoint | org, | ||
| eVision.EPoint | end, | ||
| eVision.EFrame | frame ) |
Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath.
| graphicContext | Handle of the device context on which to draw. |
| org | Origin point used to specify the drawing position. |
| end | End point used to specify the drawing position. |
| frame | Frame of reference in which the path is located. |
| None eVision.ESamplePath.DrawTransition | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EPoint | org, | ||
| eVision.EPoint | end, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath.
| graphicContext | Handle of the device context on which to draw. |
| org | Origin point used to specify the drawing position. |
| end | End point used to specify the drawing position. |
| frame | Frame of reference in which the path is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| None eVision.ESamplePath.DrawTransition | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EPoint | org, | ||
| eVision.EPoint | end, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath.
| graphicContext | Handle of the device context on which to draw. |
| org | Origin point used to specify the drawing position. |
| end | End point used to specify the drawing position. |
| frame | Frame of reference in which the path is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| None eVision.ESamplePath.DrawTransition | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EPoint | org, | ||
| eVision.EPoint | end, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath.
| graphicContext | Handle of the device context on which to draw. |
| org | Origin point used to specify the drawing position. |
| end | End point used to specify the drawing position. |
| frame | Frame of reference in which the path is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| None eVision.ESamplePath.DrawTransition | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EPoint | org, | ||
| eVision.EPoint | end, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the transition symbol between the points org and end if specified or between the origin and end of the eVision.ESamplePath.SamplePath.
| graphicContext | Handle of the device context on which to draw. |
| org | Origin point used to specify the drawing position. |
| end | End point used to specify the drawing position. |
| frame | Frame of reference in which the path is located. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
|
static |
Gets a standard drawing pen for the specified plot item.
| plotItem | Plot item for which to get a standard pen. |
| eVision.EPeak eVision.ESamplePath.GetMeasuredPeak | ( | self | ) |
Returns information pertaining to the default derivative peak, along one of the sample paths of the gauge.
Remarks:
If index is left unchanged from its default value (i.e. ~0 = 0xFFFFFFFF), the default edge-crossing point is inspected. This default point is chosen according to the transition choice parameter that is managed by the eVision.ESamplePath.TransitionChoice property.
If you want to query more than 10 points, using eVision.ESamplePath.MeasuredPeaks should be faster.
| eVision.EPeak eVision.ESamplePath.GetMeasuredPeak | ( | self, | |
| int | index ) |
Returns information pertaining to the default derivative peak, along one of the sample paths of the gauge.
Remarks:
If index is left unchanged from its default value (i.e. ~0 = 0xFFFFFFFF), the default edge-crossing point is inspected. This default point is chosen according to the transition choice parameter that is managed by the eVision.ESamplePath.TransitionChoice property.
If you want to query more than 10 points, using eVision.ESamplePath.MeasuredPeaks should be faster.
| index | Index of the edge-crossing point along the probed line segment, between 0 and eVision.ESamplePath.NumMeasuredPoints (excluded). |
| eVision.EPoint eVision.ESamplePath.GetMeasuredPoint | ( | self | ) |
Coordinates of a sample point, measured along this sample path.
Remarks:
These coordinates pertain to the World space.
If index is left unchanged from its default value (i.e. ~0 = 0xFFFFFFFF), the default edge-crossing point is inspected. This default point is chosen according to the transition choice parameter that is managed by the eVision.ESamplePath.TransitionChoice property.
If you want to query more than 10 points, using eVision.ESamplePath.MeasuredPoints should be faster.
| eVision.EPoint eVision.ESamplePath.GetMeasuredPoint | ( | self, | |
| int | index ) |
Coordinates of a sample point, measured along this sample path.
Remarks:
These coordinates pertain to the World space.
If index is left unchanged from its default value (i.e. ~0 = 0xFFFFFFFF), the default edge-crossing point is inspected. This default point is chosen according to the transition choice parameter that is managed by the eVision.ESamplePath.TransitionChoice property.
If you want to query more than 10 points, using eVision.ESamplePath.MeasuredPoints should be faster.
| index | Index of the edge-crossing point along the probed line segment, between 0 and eVision.ESamplePath.NumMeasuredPoints (excluded). |
| bool eVision.ESamplePath.HVConstraint | ( | self | ) |
Status of the restriction on the orientation of the sample path.
| eVision.ESamplePath.HVConstraint | ( | self, | |
| bool | value ) |
Status of the restriction on the orientation of the sample path.
| bool eVision.ESamplePath.IsEqual | ( | self, | |
| eVision.ESamplePath | other ) |
Compares this object with the other object.
Note that the class only compares its parameters and not the computations dependent variables.
| other | Other eVision.ESamplePath object. |
| float eVision.ESamplePath.Length | ( | self | ) |
Length of the path along which measure.
| eVision.ESamplePath.Length | ( | self, | |
| float | value ) |
Length of the path along which measure.
| None eVision.ESamplePath.Measure | ( | self, | |
| eVision.EROIBW8 | pSrc ) |
Measure the peaks in the image, potentially applying normalization.
| pSrc | Image. |
| None eVision.ESamplePath.Measure | ( | self, | |
| eVision.EROIBW8 | pSrc, | ||
| eVision.EFrame | frame ) |
Measure the peaks in the image, potentially applying normalization.
| pSrc | Image. |
| frame | Frame of reference in which the path is located. |
| None eVision.ESamplePath.Measure | ( | self, | |
| eVision.EROIBW8 | pSrc, | ||
| eVision.ERegion | region ) |
Measure the peaks in the image, potentially applying normalization.
| pSrc | Image. |
| region | eVision.ERegion associated with the image. |
| None eVision.ESamplePath.Measure | ( | self, | |
| eVision.EROIBW8 | pSrc, | ||
| eVision.ERegion | region, | ||
| eVision.EFrame | frame ) |
Measure the peaks in the image, potentially applying normalization.
| pSrc | Image. |
| region | eVision.ERegion associated with the image. |
| frame | Frame of reference in which the path is located. |
| list[eVision._eVision.EPeak] eVision.ESamplePath.MeasuredPeaks | ( | self | ) |
Returns information pertaining to the derivative peaks associated with all the edge-crossing point, such as their area, amplitude, start, length and center.
Remarks:
If you want to query less than 10 peaks, using eVision.ESamplePath.GetMeasuredPeak should be faster.
| list[eVision._eVision.EPoint] eVision.ESamplePath.MeasuredPoints | ( | self | ) |
Coordinates of all edge-crossing points, measured along the sample path of a gauge.
Remarks:
These coordinates pertain to the World space.
If you want to query less than 10 points, using eVision.ESamplePath.GetMeasuredPoint should be faster.
| int eVision.ESamplePath.MinAmplitude | ( | self | ) |
Offset added to the Threshold when a peak is to be detected.
| eVision.ESamplePath.MinAmplitude | ( | self, | |
| int | value ) |
Offset added to the Threshold when a peak is to be detected.
| int eVision.ESamplePath.MinArea | ( | self | ) |
Minimum area value.
Remarks:
A transition is detected if its derivative peak reaches Threshold + MinAmplitude value, and then declared valid if the area between the peak curve and the horizontal at level Threshold reaches the MinArea value.
| eVision.ESamplePath.MinArea | ( | self, | |
| int | value ) |
Minimum area value.
Remarks:
A transition is detected if its derivative peak reaches Threshold + MinAmplitude value, and then declared valid if the area between the peak curve and the horizontal at level Threshold reaches the MinArea value.
| int eVision.ESamplePath.NumMeasuredPoints | ( | self | ) |
Number of edge-crossing points along the sample path.
| None eVision.ESamplePath.Plot | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EPlotItem | plotItems, | ||
| eVision.EPlotDecorationOptions | opts, | ||
| float | width, | ||
| float | height ) |
Draws the profile of the sample paths of the gauge, as defined by eVision.EPlotItem.
Remarks:
The data will be plotted with the current pen of the eVision.EDrawAdapter. If there is no pen set, then the following color will be used:
| graphicContext | Handle of the device context on which to draw. |
| plotItems | Boolean combination of eVision.EPlotItem members, that indicates which items must be displayed. |
| opts | Options to control the drawing of the plot decorations (axes, ticks, etc.). |
| width | Width of the plot. |
| height | Height of the plot. |
| None eVision.ESamplePath.Plot | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EPlotItem | plotItems, | ||
| eVision.EPlotDecorationOptions | opts, | ||
| float | width, | ||
| float | height, | ||
| float | originX ) |
Draws the profile of the sample paths of the gauge, as defined by eVision.EPlotItem.
Remarks:
The data will be plotted with the current pen of the eVision.EDrawAdapter. If there is no pen set, then the following color will be used:
| graphicContext | Handle of the device context on which to draw. |
| plotItems | Boolean combination of eVision.EPlotItem members, that indicates which items must be displayed. |
| opts | Options to control the drawing of the plot decorations (axes, ticks, etc.). |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
| None eVision.ESamplePath.Plot | ( | self, | |
| eVision.EDrawAdapter | None | graphicContext, | ||
| eVision.EPlotItem | plotItems, | ||
| eVision.EPlotDecorationOptions | opts, | ||
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY ) |
Draws the profile of the sample paths of the gauge, as defined by eVision.EPlotItem.
Remarks:
The data will be plotted with the current pen of the eVision.EDrawAdapter. If there is no pen set, then the following color will be used:
| graphicContext | Handle of the device context on which to draw. |
| plotItems | Boolean combination of eVision.EPlotItem members, that indicates which items must be displayed. |
| opts | Options to control the drawing of the plot decorations (axes, ticks, etc.). |
| width | Width of the plot. |
| height | Height of the plot. |
| originX | Origin point coordinates of the plot along the X axis. |
| originY | Origin point coordinates of the plot along the Y axis. |
| eVision.ELine eVision.ESamplePath.SamplePath | ( | self | ) |
Line along which the edge-crossing points are measured.
| eVision.ESamplePath.SamplePath | ( | self, | |
| eVision.ELine | value ) |
Line along which the edge-crossing points are measured.
| int eVision.ESamplePath.Smoothing | ( | self | ) |
Number of pixels used for the low-pass filtering operation.
Remarks:
To reduce the effect of noise, the profile data can be low-pass filtered along the point location gauge direction.
| eVision.ESamplePath.Smoothing | ( | self, | |
| int | value ) |
Number of pixels used for the low-pass filtering operation.
Remarks:
To reduce the effect of noise, the profile data can be low-pass filtered along the point location gauge direction.
| int eVision.ESamplePath.Thickness | ( | self | ) |
Number of parallel segments used to extract the data profile.
Remarks:
To reduce the effect of noise and/or strengthen a transition, several parallel profiles can be accumulated.
| eVision.ESamplePath.Thickness | ( | self, | |
| int | value ) |
Number of parallel segments used to extract the data profile.
Remarks:
To reduce the effect of noise and/or strengthen a transition, several parallel profiles can be accumulated.
| int eVision.ESamplePath.Threshold | ( | self | ) |
Threshold level used to delimit significant peaks in the data profile.
| eVision.ESamplePath.Threshold | ( | self, | |
| int | value ) |
Threshold level used to delimit significant peaks in the data profile.
| float eVision.ESamplePath.Tolerance | ( | self | ) |
Tolerance (half-length of the path).
| eVision.ESamplePath.Tolerance | ( | self, | |
| float | value ) |
Tolerance (half-length of the path).
| float eVision.ESamplePath.ToleranceAngle | ( | self | ) |
Alias for eVision.ESamplePath.Angle.
| eVision.ESamplePath.ToleranceAngle | ( | self, | |
| float | value ) |
Alias for eVision.ESamplePath.Angle.
| eVision.ETransitionChoice eVision.ESamplePath.TransitionChoice | ( | self | ) |
Transition choice used to select the sample point corresponding to eVision.ESamplePath.TransitionIndex.
| eVision.ESamplePath.TransitionChoice | ( | self, | |
| eVision.ETransitionChoice | value ) |
Transition choice used to select the sample point corresponding to eVision.ESamplePath.TransitionIndex.
| int eVision.ESamplePath.TransitionIndex | ( | self | ) |
The sample point to select as default.
| eVision.ESamplePath.TransitionIndex | ( | self, | |
| int | value ) |
The sample point to select as default.
| bool eVision.ESamplePath.TransitionRectangularSamplingArea | ( | self | ) |
Flag indicating whether the sampling area remains a rectangle when rotated, instead of becoming a parallelogram.
| eVision.ESamplePath.TransitionRectangularSamplingArea | ( | self, | |
| bool | value ) |
Flag indicating whether the sampling area remains a rectangle when rotated, instead of becoming a parallelogram.
| eVision.ETransitionType eVision.ESamplePath.TransitionType | ( | self | ) |
Transition type to measure.
| eVision.ESamplePath.TransitionType | ( | self, | |
| eVision.ETransitionType | value ) |
Transition type to measure.
| bool eVision.ESamplePath.Valid | ( | self | ) |
Flag indicating if at least one valid transition has been found.