ImageBuffer1 Property
Applies To
Vision Object: ImageOp
Description
Sets and returns the first source image buffer to be used for the SubtractAbs operation.
Usage
VGet Sequence.Object.ImageBuffer1 , var
VSet Sequence.Object.ImageBuffer1, value
- Sequence
- String variable containing a sequence name.
- Object
- Name of an object or string variable containing an object name. The object must exist in the specified sequence.
- var
- Integer variable that will contain the value of the property.
- value
- Integer value or expression for the new value of the property.
Values
ImageBuffer1: -1, 0-10
- 1 - File the image data
- 0 the camera image buffer
- 1-10 - the global image buffers that are shared between all sequences in the project.
Default: 0
Remarks
Specifies the image buffer number where the first source image data of the SubtractAbs operation is stored. When ImageBuffer1 is set to “File”, the image data will be acquired from the image file set in the ImageBuffer1File property and the sequence will be executed.
SubtractAbs operation outputs the difference between two images of image butters specified by ImageBuffer1 property and ImageBuffer2 property.
For setting method of the image buffer, refer to ImageBuffer Property.
ImageBuffer Property
See Also
ImageOp Object, ImageBuffer Property, ImageBuffer2 Property