VolumeSlider is a powerful plugin for Flika, a Python-based image processing suite designed for bioimaging applications. This plugin specializes in the visualization, manipulation, and analysis of multi-dimensional image data, particularly 3D volumes and time series data commonly generated in light sheet microscopy and other volumetric imaging techniques.
- Multi-dimensional Data Visualization: Easily navigate through 3D volumetric data and time series.
- Orthogonal View Display: Simultaneously view XY, XZ, and YZ planes of your volumetric data.
- Data Transformation: Apply shear transformations to correct for light sheet angular distortions.
- Overlay Capabilities: Compare multiple datasets by overlaying them with adjustable opacity and blending modes.
- ROI Analysis: Analyze regions of interest with line profile tools and cross-sectional views.
- DF/F0 Calculation: Calculate and visualize ratio changes for time series data.
- 3D Visualization: View your data in 3D using scatter plots, texture plots, and volume rendering.
- Export Options: Export data to various formats including Numpy arrays and Imaris (.ims) files.
- Batch Processing: Process multiple files with consistent parameters for high-throughput analysis.
- Flika (latest version)
- Python 3.6+
- Required packages: numpy, PyQt5/PySide2, pyqtgraph, matplotlib, scikit-image, h5py, OpenGL
- Clone this repository into your Flika plugins directory:
git clone https://github.com/your-username/flika-volumeSlider.git ~/.flika/plugins/volumeSlider
- Start Flika and the plugin should appear in the plugins menu.
- Launch the Plugin: From Flika's menu, select
Plugins → VolumeSlider → VolumeSlider - Load Data: Choose to work with the current active window or load a numpy array
- Set Volume Parameters: Specify the number of slices per volume
- Navigate: Use the slice slider to browse through the volume
- Process: Apply operations like baseline subtraction, ratio DF/F0, etc.
The 3D viewer provides multiple visualization options:
- Orthogonal Views: View top, side, and front projections of your data
- 3D Scatter Plot: View thresholded points in 3D space
- Texture Plot: View volumetric data as textured planes in 3D
- Subtract Baseline: Remove background signal
- Ratio DF/F0: Calculate change relative to a baseline period
- Apply Filters: Apply Gaussian filters with adjustable parameters
- Data Transformation: Correct for light sheet angle distortions
- Export to Window: Create a new Flika window from processed data
- Export to Array: Save processed data as a numpy array
- Export to Imaris: Save in .ims format for visualization in Imaris software
The plugin provides extensive control over data overlays:
- Opacity Control: Adjust transparency of overlaid datasets
- Color Map Selection: Choose from various color maps for better visualization
- Blending Modes: Select different blending methods (Source Over, Overlay, Plus, Multiply)
Process multiple files with the same parameters:
- Select "Batch Process" in the main VolumeSlider dialog
- Set your processing parameters
- Select an input directory containing your files
- Start processing
volumeSlider_Start.py: Entry point for the pluginvolumeSlider_Main.py: Core functionality and data handlingvolumeSlider_Main_GUI.py: Main interface componentsvolumeSlider_3DViewer.py: 3D visualization componentshelperFunctions.py: Utility functionsoverlayOptions.py: Controls for overlay appearancetexturePlot.py: 3D texture visualizationexportIMS.py: Imaris file export functionalitytiffLoader.py: Functions to load TIFF files
- Memory Issues: For large datasets, ensure your system has sufficient RAM
- Display Problems: Update your graphics drivers for optimal 3D visualization
- File Format Errors: Ensure your data is properly formatted (tiff, numpy arrays)
Contributions to improve VolumeSlider are welcome. Please feel free to submit pull requests or create issues for bugs and feature requests.
This plugin is released under the MIT License.
- Flika Team for creating the core platform
- Contributors to pyqtgraph, numpy, and scikit-image