Supported hardware devices
This device is deprecated, use MmfVideo device instead.
Compatible frame grabbers and webcams through Video for Windows interface.
Limitations: currently only certain color modes are supported, minor additional conversion routines may be needed for some devices.
Supported platforms
Installation
Device configuration settings
Example configuration file PlusDeviceSet_Server_VfwVideoCapture.xml
<PlusConfiguration version="2.0">
<DataCollection StartupDelaySec="2.0" >
<DeviceSet
Name="PlusServer: Video for Windows video capture device"
Description="Broadcasting acquired video through OpenIGTLink" />
<Device
Id="VideoDevice"
Type="VFWVideo" >
<DataSources>
<DataSource Type="Video" Id="Video" PortUsImageOrientation="MF" />
</DataSources>
<OutputChannels>
<OutputChannel Id="VideoStream" VideoDataSourceId="Video" />
</OutputChannels>
</Device>
<Device
Id="CaptureDevice"
Type="VirtualCapture"
BaseFilename="RecordingTest.igs.mha"
EnableCapturingOnStart="FALSE" >
<InputChannels>
<InputChannel Id="VideoStream" />
</InputChannels>
</Device>
</DataCollection>
<CoordinateDefinitions>
<Transform From="Image" To="Reference"
Matrix="
0.2 0.0 0.0 0.0
0.0 0.2 0.0 0.0
0.0 0.0 0.2 0.0
0 0 0 1" />
</CoordinateDefinitions>
<PlusOpenIGTLinkServer
MaxNumberOfIgtlMessagesToSend="1"
MaxTimeSpentWithProcessingMs="50"
ListeningPort="18944"
SendValidTransformsOnly="true"
OutputChannelId="VideoStream" >
<DefaultClientInfo>
<MessageTypes>
<Message Type="IMAGE" />
</MessageTypes>
<ImageNames>
<Image Name="Image" EmbeddedTransformToFrame="Reference" />
</ImageNames>
</DefaultClientInfo>
</PlusOpenIGTLinkServer>
</PlusConfiguration>