Properties | |
boolean | AffectOriginX [get, set] |
If an edge could be found using the Execute method the origin X of the image used in the control is set to the X position of the first edge found. More... | |
boolean | AffectOriginY [get, set] |
If an edge could be found using the Execute method the origin Y of the image used in the control is set to the Y position of the first edge found. More... | |
long | Density [get, set] |
Defines the density that used to scan the image data. Valid values are in the range from 100 to 1000. Higher value result in higher accuracy while lower values result in higher speed. It is recommended to use the default value. More... | |
long | EdgeCount [get] |
Returns the number of edges found. To retrieve the information about a specific edge you have to set its index first using the EdgeIndex property. Valid values are 0 to EdgeCount -1. The position of the edge is returned in the PX and PY properties, the quality is returned in the PQuality property. All these properties are read only. Use the MaxEdgeCount property to define the maximum number of edges to be found. More... | |
long | EdgeIndex [get, set] |
Used to set the index of the edge to access. Valid values are 0 to EdgeCount -1. The position of the edge is returned in the PX and PY properties, the quality is returned in the PQuality property. All these properties are read only. More... | |
boolean | Entire [get, set] |
If this property is set to TRUE the complete image will be used to detect a vertical edge (horizontal detection). More... | |
__int3264 | Image [get, set] |
Defines the image object that is assigned to the Common Vision Edge Control. More... | |
long | MaxEdgeCount [get, set] |
Use this property to define the maximum number of edges you want to detect. More... | |
long | PlaneIndex [get, set] |
Defines the color plane to be used if the image assigned to the control consists of more than one plane. Valid values are 0 to ImageDimension (cvEdge.Image). If you specify an invalid value the CVCError will be fired. More... | |
EdgePolarity | Polarity1 [get, set] |
Defines the polarity of the edge. The polarity defines the direction of the edge (see EdgePolarity for more information). More... | |
EdgePolarity | Polarity2 [get, set] |
Defines the polarity of the the second edge of an edge pair. The polarity defines the direction of the edge (see EdgePolarity for more information). More... | |
double | PQuality [get] |
Returns the quality of the currently selected edge at index EdgeIndex. Indicates the quality of detection, depending on the method used ( see SearchMode property). More... | |
double | PX [get] |
Returns the x-position of the currently selected edge at index EdgeIndex. More... | |
double | PY [get] |
Returns the y-position of the currently selected edge at index EdgeIndex. More... | |
boolean | ResetCS [get, set] |
Indicates if the coordinate of the image will be reset. If this property is set to TRUE the coordinate system of the image will set in the Execute method so that it is based on the top, left corner and aligned to the X and Y axis of the image without scaling. The coordinate system is set on the top, left corner before the Execute method is executed. More... | |
SearchFunction | SearchFunction [get, set] |
Defines the search function being used in the Execute method. More... | |
SearchMode | SearchMode [get, set] |
Defines the search mode being used in the Execute method. More... | |
double | Threshold1 [get, set] |
Defines the threshold used to detect the edge. This property is used by all search functions. As the edge tool supports virtually any bit depth valid values are in the range of 0 to 2^ImageDataType(img, PlaneIndex) - 1. E.g 0 to 255 for 8Bit images or 0 to 1023 for 10Bit images. Notice that if you are using a simple threshold SearchMode the threshold is defined in gray values while in the other modes the threshold is defined by gray value differences (contrast) resulting in much lower values. More... | |
double | Threshold2 [get, set] |
Defines the threshold used to detect the second edge of an edge pair. This property is used only for the SEARCHFUNCTION_EDGEPAIR SearchFunction. As the edge tool supports virtually any bit depth valid values are in the range of 0 to 2^ImageDataType(img, PlaneIndex) - 1. E.g 0 to 255 for 8Bit images or 0 to 1023 for 10Bit images. Notice that if you are using a simple threshold SearchMode the threshold is defined in gray values while in the other modes the threshold is defined by gray value differences (contrast) resulting in much lower values. More... | |
double | X0 [get, set] |
Defines X0-coordinate of the area in which the control tries to find edges. More... | |
double | X1 [get, set] |
Defines X1-coordinate of the area in which the control tries to find edges. More... | |
double | X2 [get, set] |
Defines X2-coordinate of the area in which the control tries to find edges. More... | |
double | Y0 [get, set] |
Defines Y0-coordinate of the area in which the control tries to find edges. More... | |
double | Y1 [get, set] |
Defines Y1-coordinate of the area in which the control tries to find edges. More... | |
double | Y2 [get, set] |
Defines Y2-coordinate of the area in which the control tries to find edges. More... | |
|
getset |
If an edge could be found using the Execute method the origin X of the image used in the control is set to the X position of the first edge found.
[in,out] | AffectOriginX | If TRUE the coordinate system of the image used will be modified in the Execute method. |
|
getset |
If an edge could be found using the Execute method the origin Y of the image used in the control is set to the Y position of the first edge found.
[in,out] | AffectOriginY | If TRUE the coordinate system of the image used will be modified in the Execute method. |
|
getset |
Defines the density that used to scan the image data. Valid values are in the range from 100 to 1000. Higher value result in higher accuracy while lower values result in higher speed. It is recommended to use the default value.
[in,out] | Density | Density to be used. |
|
get |
Returns the number of edges found. To retrieve the information about a specific edge you have to set its index first using the EdgeIndex property. Valid values are 0 to EdgeCount -1. The position of the edge is returned in the PX and PY properties, the quality is returned in the PQuality property. All these properties are read only. Use the MaxEdgeCount property to define the maximum number of edges to be found.
[out] | EdgeCount | Number of edges found. |
|
getset |
Used to set the index of the edge to access.
Valid values are 0 to EdgeCount -1. The position of the edge is returned in the PX and PY properties, the quality is returned in the PQuality property. All these properties are read only.
[in,out] | EdgeIndex | Index to access. |
|
getset |
If this property is set to TRUE
the complete image will be used to detect a vertical edge (horizontal detection).
TRUE
the area passed by the X0, Y0, X1, Y1, X2 and Y2 properties is ignored. [in,out] | Entire | TRUE indicates that complete image will be used, FALSE specifies that area of interest will be used. |
|
getset |
|
getset |
Use this property to define the maximum number of edges you want to detect.
[in,out] | MaxEdgeCount | Maximum number of edges to detect. |
|
getset |
Defines the color plane to be used if the image assigned to the control consists of more than one plane. Valid values are 0 to ImageDimension (cvEdge.Image). If you specify an invalid value the CVCError will be fired.
[in,out] | PlaneIndex | Plane index of image to access. |
|
getset |
Defines the polarity of the edge. The polarity defines the direction of the edge (see EdgePolarity for more information).
[in,out] | Polarity1 | Defines the polarity of the edge (see EdgePolarity for more information). |
|
getset |
Defines the polarity of the the second edge of an edge pair. The polarity defines the direction of the edge (see EdgePolarity for more information).
[in,out] | Polarity2 | Defines the polarity of the edge (see EdgePolarity for more information). |
|
get |
Returns the quality of the currently selected edge at index EdgeIndex. Indicates the quality of detection, depending on the method used ( see SearchMode property).
[out] | PQuality | Quality of the selected index. |
|
get |
Returns the x-position of the currently selected edge at index EdgeIndex.
[out] | PX | x-position of the currently selected edge. |
|
get |
Returns the y-position of the currently selected edge at index EdgeIndex.
[out] | PY | y-position of the currently selected edge. |
|
getset |
Indicates if the coordinate of the image will be reset. If this property is set to TRUE
the coordinate system of the image will set in the Execute method so that it is based on the top, left corner and aligned to the X and Y axis of the image without scaling. The coordinate system is set on the top, left corner before the Execute method is executed.
[in,out] | ResetCS | If TRUE the coordinate system will been reset. |
|
getset |
Defines the search function being used in the Execute method.
[in,out] | SearchFunction | Sets the search mode (see SearchFunction for more information). |
|
getset |
Defines the search mode being used in the Execute method.
[in,out] | SearchMode | Sets the search mode (see SearchMode for more information). |
|
getset |
Defines the threshold used to detect the edge. This property is used by all search functions. As the edge tool supports virtually any bit depth valid values are in the range of 0 to 2^ImageDataType(img, PlaneIndex) - 1. E.g 0 to 255 for 8Bit images or 0 to 1023 for 10Bit images. Notice that if you are using a simple threshold SearchMode the threshold is defined in gray values while in the other modes the threshold is defined by gray value differences (contrast) resulting in much lower values.
[in,out] | Threshold1 | Threshold used to detect the edge. |
|
getset |
Defines the threshold used to detect the second edge of an edge pair. This property is used only for the SEARCHFUNCTION_EDGEPAIR SearchFunction. As the edge tool supports virtually any bit depth valid values are in the range of 0 to 2^ImageDataType(img, PlaneIndex) - 1. E.g 0 to 255 for 8Bit images or 0 to 1023 for 10Bit images. Notice that if you are using a simple threshold SearchMode the threshold is defined in gray values while in the other modes the threshold is defined by gray value differences (contrast) resulting in much lower values.
[in,out] | Threshold2 | Threshold used to detect the edge. |
|
getset |
Defines X0-coordinate of the area in which the control tries to find edges.
TRUE
these values will be ignored and the complete image will be used instead to detect a vertical edge (horizontal detection). [in,out] | X0 | XO-coordinate of the area of interest. |
|
getset |
Defines X1-coordinate of the area in which the control tries to find edges.
TRUE
these values will be ignored and the complete image will be used instead to detect a vertical edge (horizontal detection). [in,out] | X1 | X1-coordinate of the area of interest. |
|
getset |
Defines X2-coordinate of the area in which the control tries to find edges.
TRUE
these values will be ignored and the complete image will be used instead to detect a vertical edge (horizontal detection). [in,out] | X2 | X2-coordinate of the area of interest. |
|
getset |
Defines Y0-coordinate of the area in which the control tries to find edges.
TRUE
these values will be ignored and the complete image will be used instead to detect a vertical edge (horizontal detection). [in,out] | Y0 | Y0-coordinate of the area of interest. |
|
getset |
Defines Y1-coordinate of the area in which the control tries to find edges.
TRUE
these values will be ignored and the complete image will be used instead to detect a vertical edge (horizontal detection). [in,out] | Y1 | Y1-coordinate of the area of interest. |
|
getset |
Defines Y2-coordinate of the area in which the control tries to find edges.
TRUE
these values will be ignored and the complete image will be used instead to detect a vertical edge (horizontal detection). [in,out] | Y2 | Y2-coordinate of the area of interest. |