Workspace error for volume compounding

Dear ImFusion Team,

I would like to perform volume compounding on a set of labelmaps that I load as 2D image set. In order to do so, I set the modality of the image set to Ultrasound and convert it to a sweep by passing the corresponding tracking stream. All of these steps I perform with the help of a replay workspace.

When I call this workspace with ImFusionSuite everything works as expected. However, if I call it with ImFusionConsole, then I get the error: “Can not compute sweep compounding because less than two frames are selected!”

What could be the issue?

Thank you very much,
Miruna

Hi Miruna,
the issue arises if no selection is set at all. The ImFusion Suite automatically sets the selection to all frames if no selection was specified. However, the console does not do this “magic”.

There are two options to solve this:

  1. You can set the selection to all frames between the import and the compounding algorithm in the “Algorithm” section of the workspace:
<property name="Change Selection">
            <param name="first">0</param>
            <param name="last">99999</param>
            <param name="skip">0</param>
            <param name="execute">1</param>
            <param name="inputUids">"data0" </param>
            <param name="outputUids"/>
        </property>
  1. Alternatively, you can select the complete sweep directly in the compounding algorithm with the “Selection” property
		<property name="Sweep Compounding">
			<param name="backgroundIntensity">0</param>
			<param name="boundingBox">2</param>
			<param name="individualCompoundings">0</param>
			<param name="execute">1</param>
			<param name="inputUids">"data0" </param>
			<param name="outputUids">"data1" </param>
			<property name="Selection">
				<param name="first">0</param>
				<param name="last">99999</param>
				<param name="skip">0</param>
			</property>
		</property>

Thanks,
Christian

Hi Christian,

Thank you very much for your answer! This solved the issue.

Best,
Miruna