cicwi / SliceRecon

This repository has moved to:
https://cicwi.github.io/RECAST3D
GNU General Public License v3.0
6 stars 4 forks source link

Option for reconstructions from a moving time window #4

Open adriaangraas opened 5 years ago

adriaangraas commented 5 years ago

Currently the reconstructor starts building slices after receiving a full projection series of size --group-size, and then waits for the next full batch. It would also be nice to have a "continuous mode". The reconstructor should then builds slices after receiving each (or a given a mount of) new projection(s).

The nice thing is that we then have more reconstructions in time, which gives higher refresh rates, but it requires that data is acquired in a continuous fashion (no gaps in time).

jwbuurlage commented 5 years ago

I think this could be a nice addition. The modes have a number of parameters.

The two modes should be the following two:

In either mode, incoming projections are queued until at least group_size have been received, which are then processed and uploaded together. For continuous, there should probably be a lock around all CUDA calls while a new group is being uploaded.

Currently, the mode is a hybrid version. During the first rotation we have a continuous mode, while after that it uses an alternating scheme.

To implement this:

adriaangraas commented 5 years ago

Okay, so this all is implemented in #8.

The implementation seems reasonably stable to me, although the implementation gets a bit hairy with all the different indices and offsets. Might be convenient to write a good abstraction for this later.

Would you like to have a look at this?