mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

analysis/

mg_radon.pro

includes main-level program

Routines

top mg_radon

result = mg_radon(arr [, /backproject], nrho=nrho, ntheta=ntheta [, rho=fltarr] [, theta=fltarr] [, dx=float] [, dy=float] [, nx=float] [, ny=float] [, xmin=float] [, ymin=float])

Pure IDL implementation of the RADON routine.

Return value

fltarr

Parameters

arr in required type=fltarr

array to transform or backproject

Keywords

backproject in optional type=boolean

set to perform backprojection instead of forward Radon transform

nrho
ntheta
rho in optional type=fltarr
theta in optional type=fltarr
dx in optional type=float default=1.0
dy in optional type=float default=1.0
nx in optional type=float

when doing a backprojection, this specifies x-size of the output; the default is:

floor(2 * ((drho * nrho / 2.) / sqrt(_dx * _dx + _dy * _dy)) + 1.)

ny in optional type=float

when doing a backprojection, this specifies y-size of the output; the default is:

floor(2 * ((drho * nrho / 2.) / sqrt(_dx * _dx + _dy * _dy)) + 1.)

xmin in optional type=float default=- _dx * (_nx - 1.) / 2.
ymin in optional type=float default=- _dy * (_ny - 1.) / 2.

Other attributes

Todo:

implement forward projection

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 93
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.