iradon
我nverse Radon transform
句法
Description
Examples
比较被过滤和未经过滤的反射
创建幻影的图像。显示图像。
P = phantom(128); imshow(P) title('Original image')
Perform a Radon transform of the image.
r = ra(p,0:179);
执行过滤后的反射。
i1 = iradon(r,0:179);
Perform unfiltered backprojection.
i2 = iradon(r,0:179,“线性”,,,,'没有任何');
显示重建的图像。
Figure subplot(1,2,1) imshow(I1,[]) title('Filtered Backprojection')subplot(1,2,2) imshow(I2,[]) title('Unfiltered Backprojection')
单个角度检查重投影
创建幻影的图像。
P = phantom(128);
Perform a Radon transform of the image, then get the projection vector corresponding to a projection at a 45 degree angle.
r = ra(p,0:179);r45 = R(:,46);
Perform the inverse Radon transform of this single projection vector. Theiradon
syntax does not allow you to do this directly, because ifTheta
是标量,它被视为增量。您可以通过将投影向量的两个副本传递,然后将结果除以2来完成任务。
我= iradon([[r45 r45], [45 45])/2;
显示结果。
imshow(i,[])标题(“ 45度的重投影”)
我nput Arguments
r
-Parallel beam projection data
numeric column vector|numeric matrix
Parallel beam projection data, specified as one of the following.
我F
Theta
是标量,然后指定r
作为包含ra transfort的数字柱向量Theta
学位。我F
Theta
是向量,然后指定r
作为一个二维矩阵,其中每列是其中一个角度的ra转换Theta
。
数据类型:单身的
|double
|int8
|int16
|int32
|int64
|UINT8
|uint16
|UINT32
|Uint64
|逻辑
Theta
-投影角
numeric vector|numeric scalar|[[]
投影角(in degrees), specified as one of the following.
Value | Description |
---|---|
numeric vector | 投影角。角度之间必须具有相等的间距。 |
numeric scalar | 我ncremental angle between projections. Projections are taken at anglesm*theta ,,,,wherem = 0,1,2,...,大小( 。 |
[[] |
Automatically set the incremental angle between projections to180/大小(R,2) |
数据类型:double
Interp
-插值类型
“线性”
(默认)|'nearest'
|'spline'
|'pchip'
|'v5cubic'
用于在背部投影中使用的插值类型,指定为这些值之一,以提高准确性和计算复杂性的顺序列出。
Value |
Description |
---|---|
|
Nearest-neighbor interpolation |
|
Linear interpolation |
|
Spline interpolation |
'pchip' |
保存形状的分段立方插值 |
'v5cubic' |
MATLAB中使用的立方卷积®5 |
数据类型:char
|细绳
Filter
-筛选
'Ram-Lak'
(默认)|'Shepp-logan'
|'Cosine'
|“锤”
|'Hann'
|'None'
筛选to use for frequency domain filtering, specified as one of these values.
Value |
Description |
---|---|
|
裁剪的拉姆拉克或坡道过滤器。该过滤器的频率响应是| |
|
Multiplies the Ram-Lak filter by a |
|
Multiplies the Ram-Lak filter by a |
|
通过锤子窗口将Ram-Lak过滤器乘以 |
|
将拉姆拉克过滤器乘以汉恩窗口 |
'None' |
No filtering.iradon 返回未经过滤的反向投影数据。 |
数据类型:char
|细绳
频率_SCALING
-比例因子
1
(默认)|范围内的正数(0,1]
缩放频率轴的比例因子,该频率轴(指定为正数(0,1)。频率_SCALING
小于1,然后压缩过滤器以适合频率范围[0,频率_SCALING]
,,,,in normalized frequencies; all frequencies above频率_SCALING
设置为0
。
output_size
-重建图像中的行和列数
正整数
输出参数
我
-Grayscale image
numeric matrix
灰度图像,作为数字矩阵返回。如果输入投影数据r
是数据类型单身的
, 然后我
is单身的
; otherwise我
isdouble
。
数据类型:单身的
|double
H
- 频率响应
numeric vector
Frequency response of the filter, returned as a numeric vector.
数据类型:double
Algorithms
iradon
assumes that the center of rotation is the center point of the projections, which is defined asceil(大小(R,1)/2)
。
iradon
使用过滤后的投影算法执行逆radon变换。该过滤器直接在频域中设计,然后乘以投影的FFT。在过滤之前,将投影零填充到2的功率,以防止空间域别名并加速FFT。
references
[1] Kak,A。C.和M. Slaney,计算机断层扫描成像原理,纽约,纽约,IEEE出版社,1988年。
扩展功能
GPU数组
Accelerate code by running on a graphics processing unit (GPU) using Parallel Computing Toolbox™.
Usage notes and limitations:
这个函数的GPU实现支持o万博1manbetxnly nearest-neighbor and linear interpolation methods.
For more information, see我mage Processing on a GPU。
版本历史记录
Open Example
You have a modified version of this example. Do you want to open this example with your edits?
MATLAB Command
您单击了与此MATLAB命令相对应的链接:
通过在MATLAB命令窗口中输入该命令。Web浏览器不支持MATLAB命令。万博1manbetx
Select a Web Site
选择一个网站以获取可用的翻译内容,并查看本地事件和优惠。根据您的位置,我们建议您选择:。
You can also select a web site from the following list:
如何获得最佳网站性能
选择中国网站(中文或英语)以获得最佳场地性能。其他Mathworks乡村网站未针对您所在的访问进行优化。
Americas
- América Latina(Español)
- Canada(English)
- United States(English)