Supported hardware devices
Supported model: DFG/USB2pro analog frame grabbers with USB interface
Supported platforms
Installation
Device configuration settings
-
Type =
"ICCapturing"
-
AcquisitionRate
Default = "125"
-
LocalTimeOffsetSec
Default = "0"
-
DeviceName Requested device name (e.g.
"DFG/USB2-lt"
).
-
VideoNorm Requested video norm (e.g.
"PAL_B"
or "NTSC_M"
)
-
VideoFormat Requested video format string (for example
"Y800"
is an 8 bit monochrome video format). For backward compatibility (will be removed in the future) also the frame size may be defined in this attribute (for example "Y800 (640x480)"
).
-
FrameSize Requested size of the video frame.
Default = "640 480"
-
InputChannel Name of the IC capturing device input channel (e.g.
"01 Video: SVideo"
).
-
ICBufferSize Number of frames the IC capturing device should store in a temporary buffer.
Default = "50"
-
DataSources Exactly one
DataSource
child element is required
Example configuration file PlusDeviceSet_Server_ImagingControlsVideoCapture.xml
<PlusConfiguration version="2.0">
<DataCollection StartupDelaySec="1.0" >
<DeviceSet
Name="PlusServer: ImagingControls video capture device"
Description="Broadcasting acquired video through OpenIGTLink"
/>
<Device
Id="VideoDevice"
Type="ICCapturing"
DeviceName="DFG/USB2-lt"
VideoNorm="NTSC_M"
VideoFormat="Y800"
FrameSize="640 480"
InputChannel="01 Video: SVideo" >
<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>