smistad / FAST

A framework for high-performance medical image processing, neural network inference and visualization
https://fast.eriksmistad.no
BSD 2-Clause "Simplified" License
433 stars 101 forks source link

Add support for forwarding IGTL String messages in the OpenIGTLinkStreamer #163

Closed androst closed 1 year ago

androst commented 1 year ago

Passing IGTL String messages could be convenient in several projects. Now Transform, Image and Status is supported, and the code provided is based on that with the aim of supporting String. In addition a simple data object called FASTString based on std::string is added for object passing. The naming was quasi random, so please update if preferred.

The code runs fine when the only channel is the String, however, combined with Image type (and probably others) it fails and the image channel seem to coup the lambda function provided in the test. Not sure if the error is in RunLambda or the OpenIGTLinkStreamer code. Any ideas?