Home    MontiVision DirectShow SDK Documentation Prev Next
MontiVision Development Kit
Product Release Notes
What's new?
Installation
Overview
Components
The MontiVision Workbench
How to use the Workbench
How to insert an Filter
How to make a connction between two filter
How to change filter properties
How to get mediatypes of a pin or connection
How to delete a connection
How to delete a filter
How to find a filter
How to select a filter, pin or connection
How to make a video visible
How to preview a video stream
Workbench Menus and Commands
File menu commands
Edit menu commands
View menu commands
Graph menu commands
Extras menu commands
Help menu commands
Context menu commands
Status Bar
Toolbar
Sorting Filters
MontiVision DirectShow Filter
Common filter functions
MV Absolute Difference
MV Advanced Optical Flow
MV Affine Transformation
MV Alignment
MV Audio Test Source
MV Batch Image File Source
MV Background Subtraction
MV Bayer To Gray
MV Bayer To RGB
MV Bitmap Overlay
MV Blob Counter
MV Blob Finder
MV BlockRecording
MV Buffer Access
MV Camera Calibration
MV Camera Syncronisation
MV Camera Undistortion
MV Color Filter
MV Color Channel Mixer
MV Color Space Converter
MV Color To Gray
MV Color Twist
MV Constant Framerate
MV Convolution
MV Cooccurrence
MV Crop
MV Deinterlace
MV DeInterlace Temporal
MV Delay
MV Demo Source
MV Demultiplexer
MV DPS Renderer
MV DPS Source
MV Dyadic Arithmetic
MV Dyadic Logic
MV Fast Color Filter
MV Frame Access
MV Gauge
MV GDI Overlay
MV Gray To Color
MV Image File Source
MV Image Grabber
MV Image File Renderer
MV Integral
MV Inverse
MV I/O Bool Source
MV I/O Comparator
MV I/O Logic
MV I/O Not
MV I/O Renderer
MV I/O RS232
MV I/O RS232 Trigger Source
MV I/O Switch Source
MV I/O Textfile Renderer
MV I/O Textfile Source
MV I/O To String
MV IP Camera Source
MV Look Up Table
MV Mean
MV Mean Profile
MV Merge Frames
MV Mirror
MV MJPEG Compressor
MV MJPEG Decompressor
MV Mondic Arithmetic
MV Mondic Logic
MV Morphology
MV Motion Detection
MV Motion Direction
MV Multi File Writer
MV Network Renderer
MV Network Source
MV Nonlinear Filter
MV Object Tracker
MV Optical Flow
MV Playlist Source
MV Polar
MV Presence Detection
MV Profile
MV Recording
MV ReInterlace
MV Resize
MV Resized Rotation
MV Rotate90
MV Rotation
MV Segmentation
MV Select Mediatype
MV Separate Fields
MV Smooth Sequence
MV Splitter
MV Text Overlay
MV Ticker Overlay
MV Topography
MV Trigger Source
MV Video File Overlay
MV Video Overlay
MV Video Scaler
MV Watchdog
MV Zoom
Filter Event Mechanism
MontiVision DirectShow Filter SDK
Create a new Filter SDK DLL
Implement your custom Algorithm
Register the Filter SDK DLL
Use the new DirectShow Filter
Debugging a DirectShow Filter
Configure a Filter SDK DirectShow Filter
MontiVision Smart ActiveX Control
MV Smart Control Functions
MV Smart Control Interfaces
IMVSmartControl
IMVSCFilterGraph
IMVSCFilterGraph2
IMVSCVideoWindow
IMVSCVideoWindow2
IMVSCFullScreen
IMVSCSetFile
IMVSCSetSourceFilter
IMVSCSelectInput
IMVSCSetupVideoStream
IMVSCSetupVideoStream2
IMVSCClock
IMVSCFilterProperties
IMVSCLog
IMVSCCameraControl
IMVSCFilterEvents
IMVSCMediaSeeking
IMVSCMediaSeeking2
IMVSCQualityProperties
IMVSCFilterData
IMVSCCommonProperties
IMVSCExtDeviceControl
IMVSCVideoControl
IMVSCAnalogVideoFormat
IMVSCTVTuner
IMVSCTVAudio
Application Development with the MV Smart Control
Visual Basic 6.0
Visual Basic .NET
Visual C++ 6.0
Visual C++ .NET
Borland Delphi
MV Smart Control Samples
AviPlay Sample
CropVideo Sample
DirFinder Sample
FindObject Sample
FullScreen Sample
ImageStream Sample
IP Camera Sample
LiveDraw Sample
LoadFromString Sample
LumeneraCameraProperties Sample
MotionDetection Sample
PutBitmap Sample
SendReceiveRS232 Sample
MV Smart Control How To's
How to handle Input Events (Mouse, Keyboard) of the Video Window
How to Select and Configure a Video Input Device
How to handle Multiple Video Outputs
How to use Fullscreen Functionality
How to access the Results of a MontiVsion DirectShow Filter
MontiVision Utility ActiveX Controls
Video Source Combo Box
Video Format Combo Box
Video Size Combo Box
Input Selection Combo Box
Frame Rate Combo Box
Seeking Slider
Filter Property Page Display
Trigger Button
MontiVision I/O Controls
MVIODisplay
MVIOMonitor
MVIOLed
MVIOOutput
VMR Wrapper ActiveX Control
MV VMR Wrapper Interfaces
IMVVMRWrapper
IMVVMRFilterConfig
IMVVMRMixerControl
IMVVMRMixerBitmap
MV VMR Wrapper Sample Applications
VMR Control Sample
VMR Bitmap Overlay Sample
Extended Video Source ActiveX Control
MV Extended Video Source Control Interfaces
IMVExtendedVideoSource Interface
IMVLumeneraCustomConfig Interface
_IMVExtendedVideoSourceEvents Interface
MontiVision Tools
Getting Started
Create a MontiVision Project
Create a MontiVision Project using the MontiVision Workbench
Create new DirectShow Filters using the MontiVision Filter SDK
Use the new DirectShow Filter in your MontiVision Project
Integrate the MontiVision Project into your Application
Distribute your Application
Distributing your Applications
Application Development Examples
Apply standard Image Processing Operators to a Video Stream
Process a Sequence of Still Images, Do Batch Processing
Make your Existing Algorithms DirectShow compatible
Creating your own Image/Video Processing DirectShow Filters
Access the Image Data of a Video Stream directly from within a Windows Application
Capture Still Images from a running Video Stream
Convert a Video Stream to a Sequence of Still Images or vice versa
Sample Applications using the Smart Control
Camera Calibration
Additional HowTo's
How to Set Up Visual C++ for the MontiVision Development Kit
How to Set Up Borland Delphi for the MontiVision Development Kit
How to Set Up Borland Delphi 2005 for the MontiVision Development Kit
Interface Reference
_IMVFilterPropertyControlEvents
_IMVSeekingSliderEvents
_IMVSmartControlEvents
_ISelectInputComboBoxEvents
_IVideoFormatComboBoxEvents
_IVideoSizeComboBoxEvents
_IVideoSourceComboBoxEvents
IMVAbout
IMVAdvancedOpticalFlow
IMVAdvancedOpticalFlow2
IMVAffineTransformation
IMVAlignment
IMVAudioTestSource
IMVAutoCalcSetup
IMVBackgroundSubtraction
IMVBatchFileSource2
IMVBatchFileSource3
IMVBatchFileSource
IMVBinary
IMVBitmapOverlay
IMVBitmapOverlay2
IMVBlobCounter
IMVBlobCounter2
IMVBlobCounter3
IMVBlobCounter4
IMVBlobFinder
IMVBlobFinder2
IMVBlobFinder3
IMVBlobPostProcessing
IMVBlobPreProcessing
IMVBlockRecording
IMVBufferAccess
IMVBufferAccessCallbackC
IMVBufferAccessCallbackVB
IMVCameraCalibration
IMVCameraSync
IMVCameraUndistortion
IMVColor
IMVColorChannelMixer
IMVColorTwist
IMVConstantFramerate
IMVConvolution
IMVCooccurrence
IMVCrop
IMVCrypt
IMVDeinterlace
IMVDeInterlaceTemporal
IMVDelay
IMVDemoSource
IMVDemoSource2
IMVDPSRenderer
IMVDPSSource
IMVDyArith
IMVDyLogic
IMVEnumAudioEncoder
IMVEnumVideoEncoder
IMVFastColor
IMVFilterData
IMVFilterEvents
IMVFilterInfo
IMVFilterPropertyControl
IMVFilterSDK
IMVFrameAccess
IMVFrameAccessCallbackC
IMVFrameAccessCallbackVB
IMVGauge
IMVGaugeCalculations
IMVGDIOverlay
IMVGray
IMVGrayToColor
IMVGrid
IMVHistogram
IMVHistogram2
IMVHistogram3
IMVImageCapture
IMVImageCapture2
IMVImageCapture3
IMVImageFileSource
IMVImageFileSource2
IMVImageFileSource3
IMVImageInfo
IMVIntegral
IMVIOBoolSource
IMVIOBoolSource2
IMVIOComparator
IMVIOIntRenderer
IMVIOIntSource
IMVIOIntSource2
IMVIOLogic
IMVIONot
IMVIORenderer
IMVIORS232
IMVIORS232DataASCII
IMVIORS232DataHex.htm
IMVIORS232RxTxConnection
IMVIORS232TriggerSource
IMVIOSwitchSource
IMVIOTextfileRenderer
IMVIOTextfileSource
IMVIOToString
IMVIPCameraSource
IMVIPCameraSource2
IMVLinFilter
IMVLookUpTable
IMVMask
IMVMean
IMVMeanProfile
IMVMerger
IMVMirror
IMVMonArith
IMVMonLogic
IMVMorphology
IMVMotionDetection
IMVMotionDetection2
IMVMotionDirection
IMVMultiFileWriter
IMVNetworkReceiveInfo
IMVNetworkRenderer
IMVNetworkRenderer2
IMVNetworkRenderer3
IMVNetworkSendInfo
IMVNetworkSource
IMVNetworkSource2
IMVNonLinFilter
IMVObjectTracker
IMVOpticalFlow
IMVOpticalFlow2
IMVPlaylist
IMVPlaylistSource
IMVPolar
IMVPresenceDetection
IMVProfile
IMVRecording
IMVRegionOfInterest
IMVReinterlace
IMVResize
IMVResizedRotation
IMVRotate90
IMVRotation
IMVSCAnalogVideoFormat
IMVSCCameraControl
IMVSCCommonProperties
IMVSCClock
IMVSCExtDeviceControl
IMVSCFilterData
IMVSCFilterEvents
IMVSCFilterGraph
IMVSCFilterGraph2
IMVSCFilterProperties
IMVSCFullScreen
IMVSCLog
IMVSCMediaSeeking
IMVSCMediaSeeking2
IMVSCQualityProperties
IMVSCSelectInput
IMVSCSetFile
IMVSCSetSourceFilter
IMVSCTVTuner
IMVSCTVAudio
IMVSCVideoControl
IMVSCSetupVideoStream
IMVSCSetupVideoStream2
IMVSCVideoWindow
IMVSCVideoWindow2
IMVSeekingSlider
IMVSetImageFormat
IMVSmartControl
IMVSeparateFields
IMVSmoothSequence
IMVTextOverlay
IMVTextOverlay2
IMVTextOverlay3
IMVTickerOverlay
IMVTickerOverlay2
IMVTopography
IMVTrigger
IMVTriggerFilter
IMVVideoFileOverlay
IMVVideoScaler
IMVVMRFilterConfig
IMVVMRMixerBitmap
IMVVMRMixerControl
IMVVMRWrapper
IMVWatchdog
IMVZoom
IMVZoomConfig
ISelectInputComboBox
IVideoFormatComboBox
IVideoSizeComboBox
IVideoSourceComboBox

IMVLumeneraCustomConfig

The IMVLumeneraCustomConfig Interface from the MontiVision Extended Video Source Control provides methods to use custom properties from Lumenera cameras.

Methods:

LuGetCorrectionMatrix Get the current corretion matrix from a Lumenera camera.
LuGetDemosaicMethod Get the demosaic method from a lumenera camera.
LuGetFlipping Get the flipping parameter from a Lumenera camera.
LuGetGain Get tha gain value from a Lumenera camera.
LuGetHue Get the hue value from a lumenera camera.
LuGetProperty Get a custom property value.
LuGetPropertyRange Get a custom property range value.
LuGetSaturation Get the saturation values from a Lumenera camera.
LuGetWhiteBalance Get the white balance values from a lumenera camera.
LuIsAvailable Check if a filter provides the Lumenera custom interfaces.
LuSetCorrectionMatrix Set the correction matrix from a Lumenera camera.
LuSetDemosaicMethod Set the demosaic method from a lumenera camera.
LuSetFlipping Set the flipping parameter from a Lumenera camera.
LuSetGain Set the gain value from a Lumenera camera.
LuSetHue Set the hue value from a Lumenera camera.
LuSetProperty Set a custom property value.
LuSetSaturation Set the saturation values for a Lumenera camera.
LuSetWhiteBalance Set the white balance values from a Lumenera camera.
SetImageParams Set image parameters like brightness, contrast and gamma from a Lumernera camera.

Header file: IMVLumeneraCustomConfig.h
Interface definition language file: IMVLumeneraCustomConfig.idl
Typelib: MVLumeneraCustomConfig
Interface ID: IID_IMVLumeneraCustomConfig

 

Custom Properties

The next table contains the custom properties from the lumerners cameras. The description based on the lumenera SDK dokumentation. To get more infomation about these properties look at the camera documentation or contact the hadware vendor. Maybe some custom properties from lumernera cameras are not listed in the table but you can use these additional properties with this interface. 

Poperty Value Description
MV_LUCUSTOM_WHITEBAL_U 0 unused
MV_LUCUSTOM_WHITEBAL_V 1 unused
MV_LUCUSTOM_GAIN 2 The analog global gain for the capture pin output. The value is a multiplication factor of 0x1000. Applicable flag: Lucam_Prop_Auto_Flag.
MV_LUCUSTOM_GAIN_RED 3 The specific color gains for the capture pin output. The values are a multiplication factor of 0x1000. Applicable flag: Lucam_Prop_Auto_Flag. Setting / clearing the Lucam_Prop_Auto_Flag flag for one of these properties will do the same for all colors.
MV_LUCUSTOM_GAIN_GREEN1 4 The specific color gains for the capture pin output. The values are a multiplication factor of 0x1000. Applicable flag: Lucam_Prop_Auto_Flag. Setting / clearing the Lucam_Prop_Auto_Flag flag for one of these properties will do the same for all colors.
MV_LUCUSTOM_GAIN_GREEN2 5 The specific color gains for the capture pin output. The values are a multiplication factor of 0x1000. Applicable flag: Lucam_Prop_Auto_Flag. Setting / clearing the Lucam_Prop_Auto_Flag flag for one of these properties will do the same for all colors.
MV_LUCUSTOM_GAIN_BLUE 6 The specific color gains for the capture pin output. The values are a multiplication factor of 0x1000. Applicable flag: Lucam_Prop_Auto_Flag. Setting / clearing the Lucam_Prop_Auto_Flag flag for one of these properties will do the same for all colors.
MV_LUCUSTOM_STARTPOS 7 The start position of the capture pin output from the sensor array. The 16 lsb of the 32 bit value are the X start position. The 16 msb are the Y start position. The value set will take effect the next time the capture pin is connected.
MV_LUCUSTOM_STILL_STARTPOS 8 The start position of the still pin output from the sensor array. The 16 lsb of the 32 bit value are the X start position. The 16 msb are the Y start position. The value set will take effect the next time the still pin is connected.
MV_LUCUSTOM_STILL_EXPOSURE 9 The exposure in microseconds for the still capture output. This value may not take effect until the still pin is connected. This property should not be read.
MV_LUCUSTOM_STILL_GAIN 10 The analog global gain for the still pin output. The value is a multiplication factor of 0x1000. This value may not take effect until the still pin is connected. This property should not be read.
MV_LUCUSTOM_STILL_GAIN_RED 11 The specific color gains for the capture pin output. The values are a multiplication factor of 0x1000. This value may not take effect until the still pin is connected. This property should not be read.
MV_LUCUSTOM_STILL_GAIN_GREEN1 12 The specific color gains for the capture pin output. The values are a multiplication factor of 0x1000. This value may not take effect until the still pin is connected. This property should not be read.
MV_LUCUSTOM_STILL_GAIN_GREEN2 13 The specific color gains for the capture pin output. The values are a multiplication factor of 0x1000. This value may not take effect until the still pin is connected. This property should not be read.
MV_LUCUSTOM_STILL_GAIN_BLUE 14 The specific color gains for the capture pin output. The values are a multiplication factor of 0x1000. This value may not take effect until the still pin is connected. This property should not be read.
MV_LUCUSTOM_STILL_STROBE_DELAY 15 The delay in microseconds between the occurrence of a trigger and the strobe output. . This value may not take effect until the still pin is connected.
MV_LUCUSTOM_RESET 16 Set a value of 0 to reset the camera hardware.
MV_LUCUSTOM_VERSION 17 Use with LuCustomGetRange() only. The default value represent the serial number of the camera. The maximum value represent the driver version. The 8 lsb of the minimum value are the firmware major version. The next 8 bits are the firmware minor version. The next 8 bits are the FPGA major version. The last 8 bits are the FPGA minor version number.
MV_LUCUSTOM_BINNING 18 Binning / subsampling factor of the capture pin output.
Bits 0-7: X factor. Must not be 0.
Bits 8-15: When 0: subsample in the X direction. When 1: bin the X direction.
Bits 16-23: Y factor. Must not be 0.
Bits 24-31: When 0: subsample in the Y direction. When 1: bin the Y direction.
This property will not take effect until the capture pin is connected.
MV_LUCUSTOM_STILL_BINNING 19 Binning / subsampling factor of the still pin output.
Bits 0-7: X factor. Must not be 0.
Bits 8-15: When 0: subsample in the X direction. When 1: bin the X direction.
Bits 16-23: Y factor. Must not be 0.
Bits 24-31: When 0: subsample in the Y direction. When 1: bin the Y direction.
This property will not take effect until the still pin is connected.
MV_LUCUSTOM_EXTERN_INTERFACE 20 Read only. When the value read is 1: The camera is connected to a USB 1 port. When the value read is 2: The camera is connected to a USB 2.0 port.
MV_LUCUSTOM_STILL_DYN_RANGE 21 unused
MV_LUCUSTOM_STILL_KNEE1_EXPOSURE 22 Lu12X only. Time delay in microseconds of the exposure knees. These properties may not take effect until the still pin is connected. Setting a value of 0 or higher than the still exposure will disable the knee.
MV_LUCUSTOM_STILL_KNEE2_EXPOSURE 23 Lu12X only. Time delay in microseconds of the exposure knees. These properties may not take effect until the still pin is connected. Setting a value of 0 or higher than the still exposure will disable the knee.
MV_LUCUSTOM_STILL_KNEE3_EXPOSURE 24 Lu12X only. Time delay in microseconds of the exposure knees. These properties may not take effect until the still pin is connected. Setting a value of 0 or higher than the still exposure will disable the knee.
MV_LUCUSTOM_VIDEO_KNEE 25 Lu12X only. Video knee for the capture pin output.
MV_LUCUSTOM_STILL_SHUTTER_TYPE 26 Lu10X, Lu20X, Lu30X only. The shutter type for the still pin images. A value of 0 selects global shutter. 1 selects rolling shutter. This property will not take effect until the still pin is connected.
MV_LUCUSTOM_STILL_EXPOSURE_DELAY 27 For snapshots, this is the delay in microseconds between the trigger and the start of exposure.
MV_LUCUSTOM_THRESHOLD 28 Lu050 only. The threshold for the count/filter mode. The value range from 0 to 255.
MV_LUCUSTOM_SPECIAL_MODE 29
MV_LUCUSTOM_AUTO_EXP_TARGET 30 RGET The luminance target for the auto exposure and auto gain functions. The value ranges from 0 to 255.
MV_LUCUSTOM_EXPOSURE 31 The exposure in microseconds. Applicable flag: Lucam_Prop_Auto_Flag. Note: The IAMVideoProcAmp interface supports exposure, but it does not allow to set it as precisely as this property.
Custom property table

Property Flags

The flags from the table below based on the flags from the Lumenera SDK documentation.

Flag Value
Lucam_Prop_Presence_Flag 0x80000000
Lucam_Prop_Auto_Capable_Flag 0x40000000
Lucam_Prop_Use_Flag 0x00008000
Lucam_Prop_Auto_Flag 0x00004000
Custom flags table

Demosaic Methods

Values for the demosaic methods.

Method Value
MV_LUCAM_DM_NONE 0
MV_LUCAM_DM_FAST 1
MV_LUCAM_DM_HIGH_QUALITY 2
MV_LUCAM_DM_HIGHER_QUALITY 3

Correction Matrix Values

Values for the default corretion matrix methods.

Matrix Value
MV_LUCAM_CM_NONE 0
MV_LUCAM_CM_FLUORESCENT 1
MV_LUCAM_CM_DAYLIGHT 2
MV_LUCAM_CM_INCANDESCENT 3
MV_LUCAM_CM_XENON_FLASH 4
MV_LUCAM_CM_HALOGEN 5


Method IMVLumeneraCustomConfig::LuGetCorrectionMatrix

Declaration: Function LuGetCorrectionMatrix(Filter As String) As Long

Get the current corretion matrix from a Lumenera camera. The Correction Matrix table above contains all possible values.

Parameter:

Filter Label from the video source filter (lumenera camera).
C Prototype:

HRESULT LuGetCorrectionMatrix(BSTR Filter, LONG* value);


Method IMVLumeneraCustomConfig::LuGetDemosaicMethod

Declaration: Function LuGetDemosaicMethod(Filter As String) As Long

Get the demosaic method from a lumenera camera. The Demosaic Methods table above contains all possible method values.

Parameter:

Filter Label from the video source filter (lumenera camera).
C Prototype:

HRESULT LuGetDemosaicMethod(BSTR Filter, LONG* value);


Method IMVLumeneraCustomConfig::LuGetFlipping

Declaration: Sub LuGetFlipping(Filter As String, FlipX As Boolean, FlipY As Boolean)

Get the flipping parameter from a Lumenera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
FlipX Flipping along x-axis enabled.
FlipY Flipping along y-axis enabled.
C Prototype:

HRESULT LuGetFlipping(BSTR Filter, VARIANT_BOOL* FlipX, VARIANT_BOOL* FlipY);


Method IMVLumeneraCustomConfig::LuGetGain

Declaration: Function LuGetGain(Filter As String) As Double

Get tha gain value from a Lumenera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
C Prototype:

HRESULT LuGetGain(BSTR Filter, DOUBLE* value);


Method IMVLumeneraCustomConfig::LuGetHue

Declaration: Function LuGetHue(Filter As String) As Double

Get the hue value from a lumenera camera,  range from -180 to +180.

Parameter:

Filter Label from the video source filter (lumenera camera).
C Prototype:

HRESULT LuGetHue(BSTR Filter, DOUBLE* value);


Method IMVLumeneraCustomConfig::LuGetProperty

Declaration: Sub LuGetProperty(Filter As String, Property As Long, Value As Long, Flags As Long)

Get a custom property value.

Parameter:

Filter Label from the video source filter (lumenera camera).
Property Property value from the custom property table.
Value Current custom property value.
Flags Current custom flags.
C Prototype:

HRESULT LuGetProperty(BSTR Filter, LONG Property, LONG* Value, LONG* Flags);


Method IMVLumeneraCustomConfig::LuGetPropertyRange

Declaration: Sub LuGetPropertyRange(Filter As String, Property As Long, Min As Long, Max As Long, Stepping As Long, Default As Long, Flags As Long)

Get a custom property range value.

Parameter:

Filter Label from the video source filter (lumenera camera).
Property Property value from the custom property table.
Min Minimum value from the custom property.
Max Maximum value from the custom property.
Stepping Possible value steps for the property.
Default Default value for the property.
Flags Available property flags.
C Prototype:

HRESULT LuGetPropertyRange(BSTR Filter, LONG Property, LONG* Min, LONG* Max, LONG* Stepping, LONG* Default, LONG* Flags);


Method IMVLumeneraCustomConfig::LuGetSaturation

Declaration: Sub LuGetSaturation(Filter As String, SatU As Double, SatV As Double)

Get the saturation values from a Lumenera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
SatU Saturation value, normal is 1.0.
SatV Saturation value, normal is 1.0.
C Prototype:

HRESULT LuGetSaturation(BSTR Filter, DOUBLE* SatU, DOUBLE* SatV);


Method IMVLumeneraCustomConfig::LuGetWhiteBalance

Declaration: Sub LuGetWhiteBalance(Filter As String, WBU As Double, WBV As Double)

Get the white balance values from a lumenera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
WBU White balance value.
WBV White balance value.
C Prototype:

HRESULT LuGetWhiteBalance(BSTR Filter, DOUBLE* WBU, DOUBLE* WBV);


Method IMVLumeneraCustomConfig::LuIsAvailable

Declaration: Function LuIsAvailable(Filter As String) As Boolean

Check if a filter provides the Lumenera custom interfaces. Returns S_OK if avaiable or S_FALSE if the filter doesn't provides Lumernera custom functions.

Parameter:

Filter Label from the video source filter (lumenera camera).
C Prototype:

HRESULT LuIsAvailable(BSTR Filter, VARIANT_BOOL* value);


Method IMVLumeneraCustomConfig::LuSetCorrectionMatrix

Declaration: Sub LuSetCorrectionMatrix(Filter As String, Matrix As Long)

Set the correction matrix from a Lumenera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
Matrix New value from the Correction Matrix table.
C Prototype:

HRESULT LuSetCorrectionMatrix(BSTR Filter, LONG Matrix);


Method IMVLumeneraCustomConfig::LuSetDemosaicMethod

Declaration: Sub LuSetDemosaicMethod(Filter As String, DemosaicMethod As Long)

Set the demosaic method from a lumenera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
DemosaicMethod New value from the Demosaic Methods table.
C Prototype:

HRESULT LuSetDemosaicMethod(BSTR Filter, LONG DemosaicMethod);


Method IMVLumeneraCustomConfig::LuSetFlipping

Declaration: Sub LuSetFlipping(Filter As String, FlipX As Boolean, FlipY As Boolean)

Set the flipping parameter from a Lumenera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
FlipX Enable flipping arount the x-axis.
FlipY Enable flipping arount the y-axis.
C Prototype:

HRESULT LuSetFlipping(BSTR Filter, VARIANT_BOOL FlipX, VARIANT_BOOL FlipY);


Method IMVLumeneraCustomConfig::LuSetGain

Declaration: Sub LuSetGain(Filter As String, Gain As Double)

Set the gain value from a Lumenera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
Gain The new gain value.
C Prototype:

HRESULT LuSetGain(BSTR Filter, DOUBLE Gain);


Method IMVLumeneraCustomConfig::LuSetHue

Declaration: Sub LuSetHue(Filter As String, Hue As Double)

Set the hue value from a Lumenera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
Hue New hue value, range from -180 to +180
C Prototype:

HRESULT LuSetHue(BSTR Filter, DOUBLE Hue);


Method IMVLumeneraCustomConfig::LuSetProperty

Declaration: Sub LuSetProperty(Filter As String, Property As Long, Value As Long, Flags As Long)

Set a custom property value.

Parameter:

Filter Label from the video source filter (lumenera camera).
Property Property value from the custom property table.
Value New value for the cutom property.
Flags New flags for the custom property.
C Prototype:

HRESULT LuSetProperty(BSTR Filter, LONG Property, LONG Value, LONG Flags);


Method IMVLumeneraCustomConfig::LuSetSaturation

Declaration: Sub LuSetSaturation(Filter As String, SatU As Double, SatV As Double)

Set the saturation values for a Lumenera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
SatU New saturation value.
SatV New saturation value.
C Prototype:

HRESULT LuSetSaturation(BSTR Filter, DOUBLE SatU, DOUBLE SatV);


Method IMVLumeneraCustomConfig::LuSetWhiteBalance

Declaration: Sub LuSetWhiteBalance(Filter As String, WBU As Double, WBV As Double)

Set the white balance values from a Lumenera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
WBU New white balance value.
WBV New white balance value.
C Prototype:

HRESULT LuSetWhiteBalance(BSTR Filter, DOUBLE WBU, DOUBLE WBV);


Method IMVLumeneraCustomConfig::SetImageParams

Declaration: Sub SetImageParams(Filter As String, Brightness As Double, Contrast As Double, Gamma As Double)

Set image parameters like brightness, contrast and gamma from a Lumernera camera.

Parameter:

Filter Label from the video source filter (lumenera camera).
Brightness Brightness value from -100.0 to 100.0.
Contrast Contrast value from 0.0 to 10.0.
Gamma Gamma value from 0.1 to 10.0.
C Prototype:

HRESULT SetImageParams(BSTR Filter, DOUBLE Brightness, DOUBLE Contrast, DOUBLE Gamma);