GithubHelp home page GithubHelp logo

hanyoseob / python-art Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 5.0 681 KB

Algebraic Reconstruction Technique (ART)

Home Page: https://github.com/hanyoseob/python-ART

Python 100.00%
algebraic-reconstruction-technique iterative-reconstruction mbir ct-reconstruction python-implementations

python-art's Introduction

ART

Title

Algebraic Reconstruction Technique (ART)

Abstract

The algebraic reconstruction technique (ART) is an iterative reconstruction technique used in computed tomography. It reconstructs an image from a series of angular projections (a sinogram). Gordon, Bender and Herman first showed its use in image reconstruction; whereas the method is known as Kaczmarz method in numerical linear algebra.

An advantage of ART over other reconstruction methods (such as filtered backprojection (FBP)) is that it is relatively easy to incorporate prior knowledge into the reconstruction process.

Definition

alt text

Results

alt text

python-art's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

python-art's Issues

ART

hello dear;
when I ran the code, I got this problem .

TypeError Traceback (most recent call last)
/var/folders/04/6zwtc3x93jz3v9tkgfbfsk7c0000gn/T/ipykernel_35174/3701552822.py in
5 niter = 2e2
6 bpos = True
----> 7 x_art = ART(A, AT, y, x0, mu, niter, bpos)

/var/folders/04/6zwtc3x93jz3v9tkgfbfsk7c0000gn/T/ipykernel_35174/2609942379.py in ART(A, AT, b, x, mu, niter, bpos)
27
28 def ART(A, AT, b, x, mu=1e0, niter=1e2, bpos=True):
---> 29 ATA = AT(A(np.ones_like(x)))
30
31 for i in range(int(niter)):

/var/folders/04/6zwtc3x93jz3v9tkgfbfsk7c0000gn/T/ipykernel_35174/3663427198.py in (y)
7
8 A = lambda x: radon(x, THETA, circle=False).astype(np.float32)
----> 9 AT = lambda y: iradon(y, THETA, circle=False, filter=None, output_size=N).astype(np.float32)/(np.pi/(2*len(THETA)))
10 AINV = lambda y: iradon(y, THETA, circle=False, output_size=N).astype(np.float32)

TypeError: iradon() got an unexpected keyword argument 'filter'

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.