Giter VIP home page Giter VIP logo

xctdiff's Introduction

XctDiff: Reconstruction of CT Images with Consistent Anatomical Structures from a Single Radiographic Projection Image

[Paper] [Dataset] [BibTeX]

XctDiff Demo

The XctDiff is capable of reconstructing CT images with consistent anatomical structures from a single radiographic projection image. This will be able to be extended to more meaningful work, such as quantitative body composition analysis, expanding medical datasets, and so on.

Getting Started

conda env create -f environment.yml

Training

First, we need to train a 3D perceptual compression encoder:

python main.py --cfg_path models/autoencoder/autoencoder_vq_32x32x32_8.yaml --gpus=2 --max_steps 80000

Then, we need to train an encoder to convert X-ray images to 3D features:

python main.py --cfg_path models/embedding/embedding_32x32x32_8.yaml --gpus=2 --max_steps 50000

Finally, we integrate the two components and jointly train a latent generative model

python main.py --cfg_path /home/first/XctDiff/models/ldm/ldm_32x32x32_8.yaml --gpus=2 --max_steps 100000

It is worth noting that for training, we need to specify two component pre-training weight files in the configuration file ckpt_path

Inference

python .py --cfg_path models/ldm/ldm_32x32x32_8.yaml --input_path demo/1002.png  --ckpt_path checkpoint/xctdiff.ckpt

Citation

xctdiff's People

Contributors

qingze-bai avatar

Stargazers

BJywhy avatar Ji Seung Yang avatar  avatar cgnerds avatar Congcong Wang avatar  avatar 2021103169韩宝金 avatar ZX avatar

Watchers

 avatar

Forkers

drwaish bjy12

xctdiff's Issues

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.