Giter Site home page Giter Site logo

ctlesspet's Introduction

CTlessPET

Install

pip install CTlessPET

Use

CTlessPET only requires an NAC-PET dataset and a CT dataset. The CT is used as the container for the synthetic CT, and can be an empty CT acquired before the patient enters the scanner. The NAC-PET should be reconstructed using OSEM with Time-of-Flight enabled but no PSF modeling. Reconstruction at should be at 440x440 matrix size with a 4 mm Gaussian post filter. Only Siemens Bigraph Vision scanners (including the Quarda) are supported.

Dicom data

Using a folder containing both NAC and CT data:

CTlessPET -i <input_folder> --output <output_folder>

or in seperate folders:

CTlessPET -i <input_NAC_folder> --CT <input_CT_folder> --output <output_folder>

Nifti data

CTlessPET -i <input_NAC_nii> --CT <input_CT_nii> --output <output_nii>

Choice of model

The network has been trained for FDG-PET (adult and pediatric) as well as H20-PET.

The type is automatically selected when running the model with dicom data. You can overwrite the choice of the model using the --model flag, e.g. --model FDG_Pediatric.

Optional arguments

You can change the batch size using --batch_size as well as overwrite the dose (--dose) and weight (--weight) given to the patient. This is otherwise automatically read from the dicom file (if supplied).

Installation with Cuda12

Install ONNX Runtime GPU (CUDA 12.x): pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/

https://onnxruntime.ai/docs/install/

Citation

image

If you are using CTlessPET, please cite the following Diganostics paper:

Montgomery ME, Andersen FL, d’Este SH, Overbeck N, Cramon PK, Law I, Fischer BM, Ladefoged CN. Attenuation Correction of Long Axial Field-of-View Positron Emission Tomography Using Synthetic Computed Tomography Derived from the Emission Data: Application to Low-Count Studies and Multiple Tracers. Diagnostics. 2023; 13(24):3661. https://doi.org/10.3390/diagnostics13243661

ctlesspet's People

Contributors

zax0s avatar drfling avatar claesnl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.