Open ffvoigt opened 5 years ago
using the code as describer in "add_images_to_series()" the resliced volume seems to have the lines ordered sequencially rather than rotated. See picture below with original slice (left) and resliced (right)
I think you have to open the stack differently in Fiji: Import as raw, then set the X & Y according to the stack parameters (e.g. 2048 pixel width for X times number of z-steps for Y). Number of images should be 2048. For a YZ reslice, you have to change the import values accordingly.
I have now linked the reslicing and maxproj to delegates of the AcquisitionManagerWindows. By default all values are "no", namely unless the user changes the this from the gui no max projection or reslicing is computed. The are some IFs statement in mesoSPIM_camera.py that check whether the value is "no" or "yes" and in case compute and save the reslicing or the max projection. The Wizard still needs to be implemented
Can you put this in a branch somewhere where I can see it?
This is intended both to streamline quality control checks and to debug acquisitions.
Users should be able to select one of the following options for each row in the Acquisition Manager:
This way, for a single stack, multiple datasets can be created on the fly:
This will require touching the following parts of the code:
Here is some code from my experiments with this in the camera thread:
In
prepare_stack()
:In
add_images_to_stack()
:In
end_stack()
, one should make sure to delete theself.yz_stack
object as it might need a lot of memory.