ICogAcqSample InterfaceCognex VisionPro 9.8
Interface for subsampling.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.1.0.0
Syntax

public interface ICogAcqSample

The ICogAcqSample type exposes the following members.

Methods

  NameDescription
Public methodGetSupportedSampleXValues
Returns the set of values that may be used with the SampleX property.
Public methodGetSupportedSampleYValues
Returns the set of values that may be used with the SampleY property.
Top
Properties

  NameDescription
Public propertySampleValuesLocked
Returns whether SampleX and SampleY are locked together.If this property is true then setting either SampleX or SampleY will cause the other to be set to the same value.
Public propertySampleX
Get or set X sampling.
Public propertySampleY
Get or set Y sampling.
Top
Remarks

Subsamples acquired images. 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 SampleX to 8 specifies an 8:1 reduction in the number of pixels along the x-axis. SampleY specifies a reduction of pixels along the y-axis.

If the camera or frame grabber supports it, x and y subsampling are performed independently. If SampleValuesLocked is True, the x and y values must be the same; in this case setting either SampleX or SampleY causes the other value to change.

Supported on: 8100D, 8501, 8504

See Also