Impact Acquire SDK Python
|
mvVirtualDevice related camera settings(Device specific interface layout only). More...
Public Member Functions | |
__init__ (self, *args) | |
Constructs a new mvIMPACT.acquire.CameraSettingsVirtualDevice object. | |
Properties | |
aoiMode = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_aoiMode_get, doc=) | |
An enumerated integer property defining the used AOI mode for the image capture. | |
bayerMosaicParity = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_bayerMosaicParity_get, doc=) | |
An enumerated integer property defining the Bayer attribute assigned to the generated test image. | |
bufferPartCount = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_bufferPartCount_get, doc=) | |
An integer property defining the number of buffer part to transmit in each request. | |
channelBitDepth = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_channelBitDepth_get, doc=) | |
An integer property defining the channel bit depth for certain test image generation modes. | |
frameDelay_us = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_frameDelay_us_get, doc=) | |
An integer property defining a delay in us before the 'captured' image is returned to the user. | |
gain_dB = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_gain_dB_get, doc=) | |
A float property defining the gain in dB to be applied to the test image. | |
imageDirectory = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_imageDirectory_get, doc=) | |
A string property defining the directory to capture images from. | |
imageType = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_imageType_get, doc=) | |
An enumerated integer property defining what images shall be captured from hard disk. | |
paddingX = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_paddingX_get, doc=) | |
An integer property defining the padding(in bytes) in X-direction for certain test image generation modes. | |
tapsXGeometry = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_tapsXGeometry_get, doc=) | |
An enumerated integer property defining the way this camera transmits the pixel data in X direction. | |
tapsYGeometry = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_tapsYGeometry_get, doc=) | |
An enumerated integer property defining the way this camera transmits the pixel data in Y direction. | |
testImageBarWidth = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_testImageBarWidth_get, doc=) | |
An integer property defining the width (in pixels) of the different bars in certain test modes. | |
testMode = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_testMode_get, doc=) | |
An enumerated integer property defining the test mode use to generate the dummy images. | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
userData = property(lib_mvIMPACT_acquire.CameraSettingsVirtualDevice_userData_get, doc=) | |
A string property that will be copied into the user data property of each request. | |
mvVirtualDevice related camera settings(Device specific interface layout only).
__init__ | ( | self, | |
* | args ) |
Constructs a new mvIMPACT.acquire.CameraSettingsVirtualDevice object.
pDev | [in] A pointer to a mvIMPACT.acquire.Device object obtained from a mvIMPACT.acquire.DeviceManager object. |
settingName | [in] The name of the driver internal setting to access with this instance. A list of valid setting names can be obtained by a call to mvIMPACT.acquire.FunctionInterface.getAvailableSettings, new settings can be created with the function mvIMPACT.acquire.FunctionInterface.createSetting |
Reimplemented from CameraSettingsBase.
|
static |
An enumerated integer property defining the used AOI mode for the image capture.
This feature will only be visible, when the property mvIMPACT.acquire.CameraSettingsVirtualDevice.testMode is set to mvIMPACT.acquire.vdtmImageDirectory. Then this property will allow to enforce a certain image dimension ( mvIMPACT.acquire.camUser ) or to capture every image file in its original dimensions ( mvIMPACT.acquire.camFull ). Valid values for this property may be: mvIMPACT.acquire.camFull, mvIMPACT.acquire.camUser.
|
static |
An enumerated integer property defining the Bayer attribute assigned to the generated test image.
When images are acquired via a directory, or a Bayer test pattern is generated this can be used to specify the Bayer parity. mvIMPACT.acquire.bmpUndefined will set the buffers Bayer attribute thus will result in a grey(mono) buffer being returned.
Valid values for this property may be: mvIMPACT.acquire.bmpUndefined, mvIMPACT.acquire.bmpGR, mvIMPACT.acquire.bmpRG, mvIMPACT.acquire.bmpBG, mvIMPACT.acquire.bmpGB.
|
static |
An integer property defining the number of buffer part to transmit in each request.
This property is meant to test the multi-part buffer feature of Impact Acquire mainly. When set to 0 multi-part buffer handling is switched off. When set to a value greater than 0 the virtual device will transmit data in multi-part mode, meaning that mvIMPACT.acquire.Request.getBufferPartCount() will return a value larger than zero. Only when this is the case the properties belonging to the individual buffer parts are guaranteed to contain up to date data while then all properties whose name starts with image
within that request might not.
|
static |
An integer property defining the channel bit depth for certain test image generation modes.
When mvIMPACT.acquire.CameraSettingsBase.pixelFormat is NOT set to mvIMPACT.acquire.ibpfAuto, this this property will become invisible.
When mvIMPACT.acquire.CameraSettingsVirtualDevice.testMode is set to mvIMPACT.acquire.vdtmMovingMonoRamp, mvIMPACT.acquire.vdtmMovingBayerDataRamp or mvIMPACT.acquire.vdtmBayerWhiteBalanceTestImage this property will allow to define the pixel format for the test image.
|
static |
An integer property defining a delay in us before the 'captured' image is returned to the user.
|
static |
A float property defining the gain in dB to be applied to the test image.
The formula for given gain_dB
is
Example:
I.e. increasing the gain setting by 6dB corresponds to factor of 2.
The formula for given gain_x is
Where:
gain_dB:
Balluff gain value (logarithmic)
gain_x:
multiplicative gain
^
: power function
|
static |
A string property defining the directory to capture images from.
This feature will only be visible, when the property mvIMPACT.acquire.CameraSettingsVirtualDevice.testMode is set to mvIMPACT.acquire.vdtmImageDirectory.
See mvIMPACT.acquire.CameraSettingsVirtualDevice.imageType to find out how to configure what kind of images shall be captured from disk.
|
static |
An enumerated integer property defining what images shall be captured from hard disk.
This feature will only be visible, when the property mvIMPACT.acquire.CameraSettingsVirtualDevice.testMode is set to mvIMPACT.acquire.vdtmImageDirectory.
Valid values for this property may be: mvIMPACT.acquire.vditNone, mvIMPACT.acquire.vditBMP, mvIMPACT.acquire.vditPGM, mvIMPACT.acquire.vditPNG, mvIMPACT.acquire.vditJPG, mvIMPACT.acquire.vditTIFF, mvIMPACT.acquire.vditALL.
|
static |
An integer property defining the padding(in bytes) in X-direction for certain test image generation modes.
When mvIMPACT.acquire.CameraSettingsVirtualDevice.testMode is set to a mono format(not the weird packed ones!), mvIMPACT.acquire.vdtmMovingBayerDataRamp or mvIMPACT.acquire.vdtmBayerWhiteBalanceTestImage this property will allow to define the padding in bytes for each line. This will result in images where the line pitch differs from the width multiplied by the bytes per pixel value. E.g. a padding of 1 in X-direction and a width of 5 for a 16 bit mono format will result in a line pitch of 11 bytes(5*2 + 1).
|
static |
An enumerated integer property defining the way this camera transmits the pixel data in X direction.
Within the virtual device driver, modifying this property internally will only attach the corresponding attribute to the request buffer, thus might result in the tap sort filter to process the data. This is mainly meant for testing purposes.
Valid values for this property may be: mvIMPACT.acquire.cltxg1X, mvIMPACT.acquire.cltxg1X2, mvIMPACT.acquire.cltxg2X, mvIMPACT.acquire.cltxg2XE, mvIMPACT.acquire.cltxg2XM, mvIMPACT.acquire.cltxg1X3, mvIMPACT.acquire.cltxg3X, mvIMPACT.acquire.cltxg1X4, mvIMPACT.acquire.cltxg4X, mvIMPACT.acquire.cltxg2X2, mvIMPACT.acquire.cltxg2X2E, mvIMPACT.acquire.cltxg2X2M, mvIMPACT.acquire.cltxg4XE, mvIMPACT.acquire.cltxg1X8, mvIMPACT.acquire.cltxg8X, mvIMPACT.acquire.cltxg4X2, mvIMPACT.acquire.cltxg4X2E.
|
static |
An enumerated integer property defining the way this camera transmits the pixel data in Y direction.
Within the virtual device driver, modifying this property internally will only attach the corresponding attribute to the request buffer, thus might result in the tap sort filter to process the data. This is mainly meant for testing purposes.
Valid values for this property may be: mvIMPACT.acquire.cltyg1Y, mvIMPACT.acquire.cltyg1Y2, mvIMPACT.acquire.cltyg2YE.
|
static |
An integer property defining the width (in pixels) of the different bars in certain test modes.
|
static |
An enumerated integer property defining the test mode use to generate the dummy images.
When mvIMPACT.acquire.CameraSettingsBase.pixelFormat is NOT set to mvIMPACT.acquire.ibpfAuto, this this property will become invisible.
Valid values for this property may be: mvIMPACT.acquire.vdtmMovingRGBx888PackedImage, mvIMPACT.acquire.vdtmMovingRGB888PackedImage, mvIMPACT.acquire.vdtmMovingRGBx888PlanarImage, mvIMPACT.acquire.vdtmMovingMonoRamp, mvIMPACT.acquire.vdtmMovingYUV422PackedRamp, mvIMPACT.acquire.vdtmMovingYUV422PlanarRamp, mvIMPACT.acquire.vdtmMovingRGB101010PackedImage, mvIMPACT.acquire.vdtmMovingRGB121212PackedImage, mvIMPACT.acquire.vdtmMovingRGB141414PackedImage, mvIMPACT.acquire.vdtmMovingRGB161616PackedImage, mvIMPACT.acquire.vdtmMovingBayerDataRamp, mvIMPACT.acquire.vdtmBayerWhiteBalanceTestImage, mvIMPACT.acquire.vdtmImageDirectory, mvIMPACT.acquire.vdtmLeakyPixelTestImageMono8Bayer, mvIMPACT.acquire.vdtmMovingYUV422_UYVYPackedRamp, mvIMPACT.acquire.vdtmHorizontalMonoRamp, mvIMPACT.acquire.vdtmVerticalMonoRamp, mvIMPACT.acquire.vdtmMovingVerticalMonoRamp, mvIMPACT.acquire.vdtmHorizontalMono12Packed_V2Ramp, mvIMPACT.acquire.vdtmMovingBGR888PackedImage, mvIMPACT.acquire.vdtmMovingYUV444PackedRamp, mvIMPACT.acquire.vdtmMovingYUV444_UYVPackedRamp, mvIMPACT.acquire.vdtmMovingBGRPacked_V2Image, mvIMPACT.acquire.vdtmEmptyMonoBuffer, mvIMPACT.acquire.vdtmHorizontalMono12Packed_V1Ramp, mvIMPACT.acquire.vdtmHorizontalBayer12Packed_V1Ramp, mvIMPACT.acquire.vdtmHorizontalBayer12Packed_V2Ramp, mvIMPACT.acquire.vdtmMovingYUV411_UYYVYY_PackedRamp, mvIMPACT.acquire.vdtmMovingRGB888PlanarImage, mvIMPACT.acquire.vdtmHotAndColdPixelTestImageBayer, mvIMPACT.acquire.vdtmHotAndColdPixelTestImageRGB888Packed.
|
static |
|
static |
A string property that will be copied into the user data property of each request.
This e.g. can be used to assign a certain identifier to each image request.