-
Notifications
You must be signed in to change notification settings - Fork 3
Fiji Command – Deconvolution (Microtubules)
This page helps you getting started with the Fiji command for deconvolution of 2D microtubules images.
The command can be used to enhance images of microtubules. In the background, a TensorFlow model is downloaded and applied to the image.
Install and setup Fiji as described in the Installation Instructions.
Download exemplary image data or use your own images for the following steps.
Start Fiji and open an image by choosing a file on your computer.
For this model, the image must be a 2D grayscale image or a timeseries of 2D grayscale images.
To run the model choose Plugins > CSBDeep > Demo > Deconvolution - Microtubules
. A new window with parameters will pop up.
- Number of tiles: Number of tiles the image is split into to prevent memory issues. Increase this value if the Fiji process uses too much memory and Batch size is already at 1.
- Overlap between tiles: How much the tiles overlap. 32 is a good value to prevent border artifacts if Number of tiles is greater than 1.
- Batch size: Number of 2D planes executed in parallel. Decrease this number if the Fiji process uses too much memory.
After that, the command will run. A new window will pop up which informs you about the status of the execution.
The command will output two images: called 'result' and 'control':
- result: The location parameter μ of a Laplace distribution. Can be interpreted as the reconstructed image.
- control: The scale parameter b of a Laplace distribution. This value is high if the network was less sure about the real value of the image.
NOTE: The control image is currently not shown by the plugin.
See the supplemental material for more detailed information.
If the image processed at once is too large the model will allocate too much memory and fail with an out of memory exception or consume all the available system memory. The plugin solves this problem by tiling the image into multiple smaller images and merging them again after the model was executed.
You can decrease the number of images processed in parallel by setting a lower value for the parameter 'Batch size'.
Running the model is computationally expensive and will take some time. Try the following things to speed it up:
-
Use a GPU: Neural networks can be executed much more efficiently on GPUs.
If you have access to a more or less powerful Nvidia GPU you should use it. See Installation Instructions - GPU support
The progress window will display a warning if you do not use a GPU:
-
Use a more powerful computer: If you have access to a powerful computer use it rather than your laptop.