Get or set Y sampling.
Namespace: Cognex.VisionPro.Implementation.InternalAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 85.1.0.0
Syntax
Property Value
Type: Int32Implements
ICogAcqSample SampleYEvents
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the value changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The new value is < 0. |
Remarks
Sets or gets y-sampling. You can use subsampling to reduce the image size and may result in faster acquisitions. Subsample values specify the ration of full-frame pixels to sampled pixels. For example, setting SampleY to 8 specifies an 8:1 reduction in the number of pixels along the y-axis.
If SampleValuesLocked is True, changing this value sets SampleY to the same value.
Default Value: 1, no subsampling
See Also