Page MenuHomePhabricator

Allow processing of more than one device output in MITK-US
Closed, ResolvedPublic

Description

MITK-US currently only allows acquisition and processing of one mitk::Image. For applications such as photoacoustics or doppler imaging, usually two images of the same dimension are acquired, the first being the conventional US image, the second the specific (e.g., PA, doppler) image.
As mitk::USImageSource is not implemented as the source of an MITK image pipeline due to performance reasons (see

).

To overcome this issue, a possible solution that integrates nicely into the current structure of MITK-US is the following (see

MITK-US_AdaptionsForMoreThanOneImage.jpg (2×3 px, 424 KB)
):

  • In mitk::USImageSource and its respective subclasses the mitk::Image that is returned by GetNextImage() and used as parameter in GetNextRawImage() should be replaced by a vector of images (std::vector<mitk::Image::Pointer>)
  • In mitk::USDevice and its respective subclasses the m_Image member should also be replaced by a vector of images and be transferred into the outputs of the class, which is, in this case, the source of an MITK filter pipeline that can have more than one output.
  • For application within the mitk::USDiPhasUSImageSource, the acquired data should be stored in two separate mitk::Images that will then be passed on as a vector of images.

Event Timeline

seitela triaged this task as Normal priority.Feb 13 2018, 7:36 PM
seitela created this task.
seitela updated the task description. (Show Details)

Reverted QmitkUltrasoundSupport.cpp to last working version (https://phabricator.mitk.org/source/mitk/browse/T22595-NavigationModules-2016.11.3-igt/Plugins/org.mitk.gui.qt.ultrasound/src/internal/UltrasoundSupport.cpp) and applied changes related to having a vector of images instead of one. Testing with a webcam as a video device worked well. Adaptions have still to be made for the photoacoustics related classes.

@sattler @kirchnth does this functionality now work with the photoacoustic applications or are there still changes to the classes of the US module necessary?

i think it works ... next week we will know for certain

seitela claimed this task.