Preview nifti images on the terminal
Project description
niicat
This is a tool to quickly preview nifti images on the terminal. This can be helpful if you are working on a remote server via SSH and do not have a -X connection. It uses libsixel to display the images. Niicat can also display png, jpg or similar images.
Install:
pip install niicat
Usage:
niicat T1.nii.gz
Possible problems
If nothing is displayed check if your terminal supports sixel.
Per default niicat is trying to use libsixel-python. If this is causing problems you can also try using niicat with
the option -ic if you are using iterm2 (this will use imgcat from iterm2) or
with the option -lb (this will use libsixel-bin which can be installed via sudo apt install libsixel-bin).
Niicat was only tested on python >= 3.5.
Copyright
Copyright © German Cancer Research Center (DKFZ), Division of Medical Image Computing (MIC). Please make sure that your usage of this code is in compliance with the code license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file niicat-0.5.0.tar.gz.
File metadata
- Download URL: niicat-0.5.0.tar.gz
- Upload date:
- Size: 374.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7d7998e9881a29c187b7dd961df4395ec4b4bbf9982dddc0a32d6c58ebf69f2
|
|
| MD5 |
9e26472106c541003b004335e38175a1
|
|
| BLAKE2b-256 |
d71cfa0bfa6f44890edf73b86c9f69430b048efd0308816e3068c4ce5b54da35
|
File details
Details for the file niicat-0.5.0-py3-none-any.whl.
File metadata
- Download URL: niicat-0.5.0-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69f324e8c63b49783bbc03a7d02e5190980d144efb9d4ba3f5b9be7c34441f6d
|
|
| MD5 |
98fe30444a8cccfd5797708dc1a6f46d
|
|
| BLAKE2b-256 |
d05b637c835e0f72efd2f7eb50c532d0fd44d4652fbb19522c425c08876b0358
|