项目介绍

xinario/SAGAN 是一个托管在 GitHub 上的开源项目,主要使用 Lua 编写,目前获得 141 个 Star、32 次 Fork。

仓库全名
xinario/SAGAN
Star 数
141
Fork 数
32
未关闭 Issue
8

README 摘要

SAGAN Update 2019.01.22 For those who want to use the piglet dataset for CT denoising research and use this work as a baseline, please refer to this issue for details on how I used it. Update 2018.03.27 The piglet dataset we used in the publication is now open for download! Please find the link in my personal webpage. (Note: for non-commercial use only) This repo provides the trained denoising model and testing code…

完整内容见 GitHub 原始 README 或本页 。

常见问题

SAGAN 用什么语言开发?

主要使用 Lua 编写,目前有 141 个 Star。

如何获取 SAGAN 的源码?

可以直接克隆仓库:git clone https://github.com/xinario/SAGAN.git,默认分支为 master;安装与运行步骤见仓库 README。

SAGAN 最近还在维护吗?

仓库最近一次更新为 2022年1月4日,当前有 8 个未关闭 Issue;Star 数为 141,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Sharpness-aware Low Dose CT Denoising Using Conditional Generative Adversarial Network

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Lua
MATLAB
Python

贡献者

README

SAGAN

Update 2019.01.22

For those who want to use the piglet dataset for CT denoising research and use this work as a baseline, please refer to this issue for details on how I used it.

Update 2018.03.27

The piglet dataset we used in the publication is now open for download! Please find the link in my personal webpage. (Note: for non-commercial use only)

This repo provides the trained denoising model and testing code for low dose CT denoising as described in our paper. Here are some randomly picked denoised results on low dose CTs from this kaggle challenge.

How to use

To better use this repo, please make sure the dose level of the LDCTs are larger than 0.71 mSv.

Prerequistites

  • Linux or OSX
  • NVIDIA GPU
  • Python 3.x
  • Torch7

Getting Started

  • Install Torch7
  • Install torch packages nngraph and hdf5
luarocks install nngraph
luarocks install hdf5
  • Install Python 3.x (recommend using Anaconda)
  • Install python dependencies
pip install -r requirements.txt
  • Clone this repo:
git clone [email protected]:xinario/SAGAN.git
cd SAGAN
  • Download the pretrained denoising model from here and put it into the “checkpoints/SAGAN” folder

  • Prepare your test set with the provided python script

#make a directory inside the root SAGAN folder to store your raw dicoms, e.g. ./dicoms
mkdir dicoms
#then put all your low dose CT images of dicom format into this folder and run
python pre_process.py  --input ./dicoms --output ./datasets/experiment/test
#all your test images would now be saved as uint16 png format inside folder ./datasets/experiment/test. 

  • Test the model:
DATA_ROOT=./datasets/experiment name=SAGAN which_direction=AtoB phase=test th test.lua
#the results are saved in ./result/SAGAN/latest_net_G_test/result.h5
  • Display the result with a specific window, e.g. abdomen. Window type can be changed to ‘abdomen’, ‘bone’ or ‘none’
python post_process.py --window 'abdomen'

Now you can view the result by open the html file index.html sitting in the root folder

Citations

If you find it useful and are using the code/model/dataset provided here in a publication, please cite our paper:

Yi, X. & Babyn, P. J Digit Imaging (2018). https://doi.org/10.1007/s10278-018-0056-0

Acknowlegements

Code borrows heavily from pix2pix

评论

暂无评论