Skip to main content

NiftiProcessing

A nifti file processing tool

Under development

This software has NOT been approved for medical analysis/diagnosis. Please use other approved software in for medical use.

Options

positional arguments:
  path                  Path to file

optional arguments:
  -h, --help            show this help message and exit
  --precision {32,64}   Sets datatype precision in float32 or 64
  --info, -i            Outputs .nii file metadata
  --plot PLOT, -p PLOT  Plots image of 2nd/3rd dimension in .nii file 
                        (Requires MatplotLib)
  --align, -a           Orients .nii file in MNI152 space
  --normalize, -n       Normalizes .nii file values within set values 
                        (Default: 0.,1.)
  --normalize-lower     Lower value for normalization (Default: 0.)
  --normalize-upper     Lower value for normalization (Default: 0.)
  --rotate, -r          Rotates .nii file by 90 degress in 1st and 2nd dimension
  --output, -o          Filename for .nii file generation 
                        (Note: Currently erases orginal metadata)

Usage Examples

# Orients nifti file to MNI152 space
$ niftiprocessing sample.nii.gz -a -o output.nii.gz

# Plot slice 150 with matplotlib
$ niftiprocessing sample.nii.gz -p 150

Actions to implement:

Input

  • Single
  • Batch (directory)

Tools

  • resize
  • resize with pad
  • resize with crop
  • flip
  • rotate
  • invert
  • denoise
  • normalize
  • align

Information

  • scan information

Visualize

  • terminal drawing output for orientation

Output

  • Single
  • Batch (directory)

Release files for niftiprocessing 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for niftiprocessing 0.0.5
File Size Uploaded
niftiprocessing-0.0.5.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for niftiprocessing 0.0.5
File Interpreter ABI Platform
niftiprocessing-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / niftiprocessing-0.0.5.tar.gz

Download URL niftiprocessing-0.0.5.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4ead7a4609e1609dc698ea83a1d281fc5731e63333874bcf62a61cdb0dce9f0d
BLAKE2b-256 checksum
How to use checksums
1410f86536290e48273fd3947c5d89964b9dd79a25996c95633a3d0928c63801
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.3

Release files / niftiprocessing-0.0.5-py3-none-any.whl

Download URL niftiprocessing-0.0.5-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
327ff45938e005f2174da130135b4bbd845e16defff4e85e69edf2f6358c14ee
BLAKE2b-256 checksum
How to use checksums
072e7d6774355e03befbb9c8acb9c04e919f0e003c07f82837451aaa6c453d8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page