Installation
See Latest Releases:
$ git clone https://github.com/ashkanpakzad/AirQuant.git
In MATLAB:
>>> % Change folder to cloned AirQuant directory.
>>> cd AirQuant
>>> % Run AirQuantAddPath to add all the AirQuant directories to your MALTAB path.
>>> AirQuantAddPath
>>> % AirQuantAddPath will warn you if you don't have required toolboxes installed.
That’s it! Why not try running one of the Tutorials?
OPTIONAL: Add AirQuant to your MATLAB path permanently
This requires configuring your `startup.m`
file to find AirQuant. startup.m is a file that MATLAB looks for and runs every time you start it.
Run in MATLAB:
>>> % Your startup file is likely here.
>>> edit ~/Documents/MATLAB/startup.m
Add lines to run the addpath functions of each package, edit paths to the correct locations.
>>> run path/to/AirQuant/AirQuantAddPath.m
Save and run `startup.m`
or restart MATLAB to take effect.
Required Toolboxes
MATLAB 2022a (>9.12)
MATLAB Signal Processing Toolbox (>8.3)
MATLAB Image Processing Toolbox (>11.0)
MATLAB Curve Fitting Toolbox (>3.5.10)
MATLAB Statistics and Machine Learning Toolbox (>12.0)
Optional Toolboxes
Parallel Computing Toolbox
For GPU utilisation in patch interpolation (to measure tube diameters).
Optional Dependencies
Pulmonary Toolkit - For in-built skeletonisation algorithm.
For skeletonisation dependency, clone this specific version of PTK:
$ git clone https://github.com/ashkanpakzad/pulmonarytoolkit.git
$ cd pulmonarytoolkit
$ git checkout nifti-gz-load-import
Packaged Dependencies
Please note that each package has its own licenses.
skel2graph3d-matlab - convert binary skeleton images into graphs.
ellipse - robustly fit ellipses to points.
linspecer - beautiful contrasting colours.
MatlabProgressBar - tqdm progress style feedback.
skeleton3d-matlab - A 3D thinning skeletonisation algorithm.
ellipsePerimeter - ellipse perimeter computation.