Assembly: Cognex.VisionPro.Trevista (in Cognex.VisionPro.Trevista.dll) Version: 87.0.0.0
Property Value
Type: Int32Depth calculation level. Larger values expand the region that affects a computed depth value. Default value is 20.
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected: |
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The supplied value is less than 0. |
If you are using Global depth mode, you should set the depth level to a number that is approximately the size (in pixels) of the entire surface over which you wish to compute the depth.
If you are using Local depth mode, you should set the depth level to a number that is bigger than the size (in pixels) of the local surface patch over which you wish to compute the depth. Notice that the depth computation in Local mode will become slower as you increase the DepthLevel.
A depth level of 0 is valid and has a unique behavior when in Global depth mode. In this case, the depth level will be treated as "infinite" and use all available data. If the Local depth mode is used, then a depth level of 0 will instead produce the same result as a depth level of 1.