From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I store the values in the @D array in the below mentioned VI? Only the last row in the Array is populated with values from the image.

Hello Guys,

 

I am trying to build a sinogram from 180 projection images and I am not able to store the summed values into the array as it is moving the values and then populating all the rows except for the last with ZERO.

 

Thanks in advance.

 

 

 

 

0 Kudos
Message 1 of 2
(2,118 Views)

Your loop runs only three times, so all you can possibly populate is 3 rows.

 

Typically, you would initialize a shift register with the initialized array, then use replace array subset, feeding the modified array back into the shift register. However, in this case you could just autoindex the 1D array at the output tunnel to build the resulting 2D array.

 

Sorry, I am not familiar with sinograms. Do you have a link describing the algorithm?

0 Kudos
Message 2 of 2
(2,081 Views)