Git Product home page Git Product logo

pohl-michel / 3d-image-warping-using-nadaraya-watson-non-linear-regression Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 26.43 MB

Deforming a 3D image according to a given deformation vector field with Nadaraya-Watson regression; 3rd repo in a series of 3 repos associated with the research article "Prediction of the motion of chest internal points using an RNN trained with RTRL for latency compensation in lung cancer radiotherapy" (Pohl et al, Comput Med Imaging Graph, 2021)

Home Page: https://arxiv.org/abs/2207.05951

License: BSD 3-Clause "New" or "Revised" License

MATLAB 100.00%
deformable-image-registration healthcare nadaraya-watson

3d-image-warping-using-nadaraya-watson-non-linear-regression's Introduction

This repository is the third of a series of three repositories containing code that we used in the research corresponding to the following article:

Michel Pohl, Mitsuru Uesaka, Kazuyuki Demachi, Ritu Bhusal Chhatkuli, "Prediction of the motion of chest internal points using a recurrent neural network trained with real-time recurrent learning for latency compensation in lung cancer radiotherapy", Computerized Medical Imaging and Graphics, Volume 91, 2021, 101941, ISSN 0895-6111

You can access it with the following links:

The code in this repository deforms an original 3D image according to a certain deformation vector field (DVF), using Nadaraya-Watson regression. The two other repositories corresponding to the article mentioned above are the following:

Please kindly consider citing our published article if you use this code in your research. Also, please do not hesitate to look at the other two repositories mentioned above.

The left image below corresponds to the coronal cross-section of a 3D region of interest containing a lung tumor. The motion vectors representing the projection of a 3D motion field corresponding to breathing onto that cross-section are superimposed on the left image. That 3D motion field is defined at each voxel of the initial image. The output of the code is the warped 3D image, whose sagittal cross-section is displayed on the right.

This program can :

  • save cross sections and slices of the original images and the warped image
  • save the 3D warped image.
  • save the projection of the DVF along a y plane (for visualization).

The main script to execute is "Nadaraya_Watson_warping_main.m".

The behavior of the program is controlled by the beh_par structure, defined in load_behavior_parameters3D() and whose fields can be changed manually. The parameters for warping the initial image can be set manually inside the load_3Dwarp_par() function. The parameters concerning the display and the initial image are respectively contained inside the excel files "3Ddisp_par.xlsx" and "3Dim_seq_par.xlsx"

An input image example, named "original_image.dcm", as well as a deformation vector field, named "DVF_for_warping.mat" are provided. They represent the tumor of a patient with lung cancer and the motion of that tumor due to breathing. The image was acquired by a 16-slice helical CT simulator (Brilliance Big Bore, Philips Medical System) in Virginia Commonwealth University Massey Cancer Center, which comes from the 4D-Lung dataset of the Cancer Imaging Archive open database: https://wiki.cancerimagingarchive.net/display/Public/4D-Lung

The DVF is noisy along the edges of the initial image, as those areas respresent a challenge for optical flow methods.

3d-image-warping-using-nadaraya-watson-non-linear-regression's People

Contributors

pohl-michel avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

sgy1664

3d-image-warping-using-nadaraya-watson-non-linear-regression's Issues

Improve time performance

The code for image warping works but there may be ways to improve its time performance. For instance, the function "forward_warp3D" uses nested loops over the coordinates in the original image, but loops are slow in Matlab.

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.