Hi,
I am trying to use the transform embedded in OpenIGTLink “IMAGE” messages. In the Plus documentation about OpenIGTLink devices, it is specified about the ImageMessageEmbeddedTransformName attribute that :
ImageMessageEmbeddedTransformName If IMAGE message is received and this attribute is defined then the transform embedded in the message will be recorded as a transform, with the specified name (e.g., “ImageToReference”).
So I tried the following xml file:
<DataCollection StartupDelaySec="1.0" >
<DeviceSet
Name="PlusServer: Verasonics image sending"
Description="Broadcasting acquired ultrasound video acquired on the Verasonics system through OpenIGTLink" />
<Device
Id="Verasonics"
Type="OpenIGTLinkVideo"
MessageType="IMAGE"
ServerAddress="172.31.1.2"
ServerPort="18944"
IgtlMessageCrcCheckEnabled="false"
ReconnectOnReceiveTimeout="false"
UseReceivedTimestamps="false"
AcquisitionRate="40"
ReceiveTimeoutSec="30"
SendTimeoutSec="30"
ImageMessageEmbeddedTransformName="ImageToReference">
<DataSources>
<DataSource Type="Video" Id="Video" PortUsImageOrientation="MF" />
</DataSources>
<OutputChannels>
<OutputChannel Id="VideoStream" VideoDataSourceId="Video" />
</OutputChannels>
</Device>
</DataCollection>
<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>
With this setup file I have the following error :
|ERROR|075.812595| Unable to get custom transform status from name: ImageToReferenceTransformStatus| in /home/ldaunizeau/Devel/PlusServer/PlusBuild/PlusLib/src/PlusCommon/PlusTrackedFrame.cxx(488)
I don’t know what transform status are and I found no clue in the Plus documentation.
Thanks for your help !