Skip to content
Snippets Groups Projects
viz.md 1.1 KiB
Newer Older
  • Learn to ignore specific revisions
  • # Data visualization
    
    fima's avatar
    fima committed
    The `qim3d`libray aims to provide easy ways to explore and get insights from volumetric data. 
    
    !!! Example
        ```python
        import qim3d
    
        img = qim3d.examples.shell_225x128x128
        qim3d.viz.slices(img, n_slices=15)
        ```
    
        ![Grid of slices](assets/screenshots/viz-slices.png)
    
    
    fima's avatar
    fima committed
    !!! Example
        ```python
        import qim3d
    
        vol = qim3d.examples.bone_128x128x128
        qim3d.viz.slicer(vol)
        ```
        ![viz slicer](assets/screenshots/viz-slicer.gif)
    
    
    !!! Example
        ```python
        import qim3d
    
        vol = qim3d.examples.fly_150x256x256
        qim3d.viz.orthogonal(vol, cmap="magma")
        ```
        ![viz orthogonal](assets/screenshots/viz-orthogonal.gif)
    
    
    
    fima's avatar
    fima committed
    !!! Example
        ```python
        import qim3d
    
    fima's avatar
    fima committed
        vol = qim3d.examples.bone_128x128x128
        qim3d.viz.vol(vol) 
        ```
    
    fima's avatar
    fima committed
    
    
        <iframe src="https://platform.qim.dk/k3d/fima-bone_128x128x128-20240221113459.html" width="100%" height="500" frameborder="0"></iframe>
    
    ::: qim3d.viz.img
        options:
            members:
    
    s184058's avatar
    s184058 committed
                - slices
    
    fima's avatar
    fima committed
                - slicer
                - orthogonal
    
    fima's avatar
    fima committed
    ::: qim3d.viz.k3d
        options:
            members:
                - vol