Skip to content

Graphical User Interfaces

The qim3d library provides a set of custom made GUIs that ease the interaction with the available tools.

Reference

The GUIs available in qim3d are built using Gradio: https://github.com/gradio-app/gradio

@article{abid2019gradio,
title = {Gradio: Hassle-Free Sharing and Testing of ML Models in the Wild},
author = {Abid, Abubakar and Abdalla, Ali and Abid, Ali and Khan, Dawood and Alfozan, Abdulrahman and Zou, James},
journal = {arXiv preprint arXiv:1906.02569},
year = {2019},
}

In general, the GUIs can be launched directly from the command line. For details see here.

qim3d.gui.data_explorer

The GUI can be launched directly from the command line:

qim3d gui --data-explorer

Or launched from a python script

import qim3d

app = qim3d.gui.data_explorer.Interface()
app.launch()

Data explorer GUI

qim3d.gui.local_thickness

Reference

Dahl, V. A., & Dahl, A. B. (2023, June). Fast Local Thickness. 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW). https://doi.org/10.1109/cvprw59228.2023.00456

@inproceedings{Dahl_2023, title={Fast Local Thickness}, 
url={http://dx.doi.org/10.1109/CVPRW59228.2023.00456}, 
DOI={10.1109/cvprw59228.2023.00456}, 
booktitle={2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)}, 
publisher={IEEE}, 
author={Dahl, Vedrana Andersen and Dahl, Anders Bjorholm}, 
year={2023}, 
month=jun }

The GUI can be launched directly from the command line:

qim3d gui --local-thickness

Or launched from a python script

import qim3d

app = qim3d.gui.local_thickness.Interface()
app.launch()

Local thickness GUI

qim3d.gui.iso3d

The GUI can be launched directly from the command line:

qim3d gui --iso3d

Or launched from a python script

import qim3d

app = qim3d.gui.iso3d.Interface()
app.launch()

Iso3d GUI

qim3d.gui.annotation_tool

The GUI can be launched directly from the command line:

qim3d gui --annotation-tool

Or launched from a python script

import qim3d

vol = qim3d.examples.NT_128x128x128
annotation_tool = qim3d.gui.annotation_tool.Interface()

# We can directly pass the image we loaded to the interface
app = annotation_tool.launch(vol[0])
gui-annotation_tool

qim3d.gui.layers2d

The GUI can be launched directly from the command line:

qim3d gui --layers

Or launched from a python script

import qim3d

layers = qim3d.gui.layers2d.Interface()
app = layers.launch()
gui-layers