PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
IntelRealSense camera

This device allow you to process two kind of images. The first image is in RGB and the second image is a Depth image.

Supported hardware devices

Supported platforms

Requires recent Intel processor.

License

This module allow you to use the IntelRealSense suite of combined RGB and Depth cameras.

Developed by MACBIOIDI-ULPGC & IACTEC-IAC group

The MIT License (MIT)

Copyright (c) 2017 Eavise Research Group

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Installation

Device configuration settings

  • attribute.png
    Type = "IntelRealSense"
    required.png
  • attribute.png
    UseRealSenseColorizer Choose whether or not to use the RealSense colorized or send raw depth data.
    optional.png
    Default = "FALSE"
  • attribute.png
    AlignDepthStream Choose whether to align RGB and depth streams. You must have both and RGB and a depth stream in your config to enable this option.
    optional.png
    Default = "FALSE"
  • element.png
    DataSources One DataSource child element is required per stream from the RealSense.
    required.png
    • element.png
      DataSource
      required.png
    • attribute.png
      FrameType Type of stream to capture.
      required.png
      • RGB
      • DEPTH
    • attribute.png
      FrameSize Size of the video stream in pixels. Consult the RealSense documentation for your device to find appropriate frame size / frame rate combinations.
    • attribute.png
      FrameRate Acquisition frequence for this stream.
    • attribute.png
      PortUsImageOrientation
      optional.png
      Default = "UN"

Example configuration file PlusDeviceSet_Server_IntelRealSenseVideo.xml

<PlusConfiguration version="2.3">
<DataCollection StartupDelaySec="1.0" >
<DeviceSet
Name="PlusServer: Intel RealSense camera "
Description="Broadcasting acquired RGB and Depth video through PlusServer from Intel RealSense 3D camera"
/>
<Device
Id="VideoDevice"
Type="IntelRealSense"
UseRealSenseColorizer="TRUE"
AlignDepthStream="TRUE">
<DataSources>
<DataSource Type="Video" Id="VideoRGB" FrameType="RGB" FrameSize="640 480" FrameRate="30" PortUsImageOrientation="UN" />
<DataSource Type="Video" Id="VideoDEPTH" FrameType="DEPTH" FrameSize="640 480" FrameRate="30" PortUsImageOrientation="UN" />
</DataSources>
<OutputChannels>
<OutputChannel Id="VideoStreamRGB" VideoDataSourceId="VideoRGB" />
<OutputChannel Id="VideoStreamDEPTH" VideoDataSourceId="VideoDEPTH" />
</OutputChannels>
</Device>
</DataCollection>
<PlusOpenIGTLinkServer
MaxNumberOfIgtlMessagesToSend="1"
MaxTimeSpentWithProcessingMs="50"
ListeningPort="18944"
SendValidTransformsOnly="true"
OutputChannelId="VideoStreamRGB" >
<DefaultClientInfo>
<MessageTypes>
<Message Type="IMAGE" />
</MessageTypes>
<ImageNames>
<Image Name="ImageRGB" EmbeddedTransformToFrame="ImageRGB" />
</ImageNames>
</DefaultClientInfo>
</PlusOpenIGTLinkServer>
<PlusOpenIGTLinkServer
MaxNumberOfIgtlMessagesToSend="1"
MaxTimeSpentWithProcessingMs="50"
ListeningPort="18945"
SendValidTransformsOnly="true"
OutputChannelId="VideoStreamDEPTH" >
<DefaultClientInfo>
<MessageTypes>
<Message Type="IMAGE" />
</MessageTypes>
<ImageNames>
<Image Name="ImageDEPTH" EmbeddedTransformToFrame="ImageDEPTH" />
</ImageNames>
</DefaultClientInfo>
</PlusOpenIGTLinkServer>
</PlusConfiguration>