# Michigan Image Reconstruction Toolbox (MIRT) - Matlab Version
https://github.com/JeffFessler/mirt
This directory contains various algorithms for image reconstruction and
other inverse problems such as image restoration and image registration.
It also contains code for related applications including MRI pulse design.
For many years this toolbox was posted as a (too large) .tgz file here:
http://web.eecs.umich.edu/~fessler/code/index.html
The github version is a work-in-progress.
All the code is here,
but to keep the repo size small,
the data and the compiled mex files are not included.
Currently one must still use the .tgz file
to get the complete version of the mex files and data.
To get some, but not all, of the mex files using the github repo,
one can run the script `ir_mex_build.m` from the repo's home directory.
To get some, but not all, of the data used in the examples,
this repo will automatically download data from a data repo at
https://github.com/JeffFessler/MIRTdata
and store it on your machine.
I will eventually work on some other way
to distribute the complete data and mex files.
This Matlab code is no longer being very actively maintained
because I am switching to using Julia instead. See:
https://github.com/JeffFessler/MIRT.jl
## GETTING STARTED
After installing the toolbox, use matlab's `path` functionality to put
the top level directory in its path (or launch matlab from that directory).
Then run the file `setup.m` that will add all the appropriate subdirectories
to the path. You may find it convenient to read `setup.m` and customize it.
When using this repo for the first time,
run the `ir_mex_build.m` script to create the mex files.
I recommend running and examining some of the files in the `example/` directory
or any of the many `..._example.m` files around, such as
`emission/eml_osem_example.m`
Many example files prompt you to hit enter before continuing,
so you (and I) can see the output of each stage before proceeding.
To change this behavior, execute `prompt run`.
(See `utilities/prompt.m` for help.)
A few examples may require the binary programs `wt` or `op` that are part
of Aspire. You can also get Aspire for free by following the instructions at
http://web.eecs.umich.edu/~fessler/aspire/index.html
There are also mex files that you may need:
`wtfmex` and `f3dmex` for example.
I distribute these only in linux/mac formats;
see `mex/` directory.
Part of my motivation for creating these files is to accompany a book on
image reconstruction that I am currently writing. If you have any problems
with these m-files, or any suggestions, I welcome your input!
Jeff Fessler, http://web.eecs.umich.edu/~fessler/
## Subdirectories (in alphabetical order):
* `align`
image registration tools
* `blob`
SPECT reconstruction with blob basis functions (not recommended)
* `contrib`
algorithms contributed by others. These directories are not added to
the path by setup.m so the user must modify the path to use them.
* `contrib/ppcd`
Test routines comparing WLS-CD, WLS-GCD, WLS-PPCD.
(These are mostly for internal UM use.)
* `ct`
Polyenergetic CT routines (beam hardening, dual energy, etc.)
* `data`
Data for examples (not in github version).
* `doc`
See the pdf file within (not in github version)
for some introductory documentation.
* `emission`
Algorithms for Poisson emission tomography PET/SPECT/ Poisson regression:
+ `eml_` emission maximum likelihood
+ `eql_` emission quadratically penalized likelihood
+ `epl_` emission penalized likelihood
* `example`
Example(s) of use. There are more examples in other directories too.
Running any of these examples is a good place to start!
* `fbp`
Filter-backproject reconstruction, including 2D parallel and fan-beam
and 3D Feldkamp (FDK) cone beam reconstruction.
* `general`
Some algorithms that work for generic image reconstruction problems.
* `graph`
Graphics functions.
* `mex`
MEX (matlab executables), including some C99 source code.
* `mri`
MR image reconstruction.
* `mri-rf`
MR pulse design tools, including Spectral-spatial pulse design
for phase precompensatory slice selection.
* `nufft`
Non-uniform FFT (NUFFT) tools.
* `octave` (not in github version)
Work towards making the code run with octave. No longer maintained.
* `penalty`
Functions associated with regularization.
* `systems`
System matrices and system matrix object classes.
If you are interested in edge-preserving image restoration
for a shift-invariant blur model with additive gaussian noise,
then start with `systems/Gblur_test.m` and `example/restore_example.m`
For 2D tomography, consider starting with `systems/Gomo2_strip.m`,
which is used in many of the examples.
* `transmission`
Algorithms for Poisson transmission tomography:
+ `tml_` transmission ML
+ `tql_` transmission quadratically penalized likelihood
+ `tpl_` transmission penalized likelihood
* `utilities`
Useful functions for image reconstruction algorithms.
* `wls`
Algorithms associated with the weighted least squares (WLS)
cost function and penalized versions thereof:
+ `pwls_` penalized weighted least squares
+ `qpwls_` quadraticaly penalized weighted least squares
Most algorithms also include a test routine...
## Additional notes:
Raymod Muzic has matlab routines for reading ECAT files available:
http://www.nuclear.uhrad.com/comkat
(I have not yet tried them myself.)
One of many annoying issues with Matlab is that it can store sparse matrices
only as doubles, wasting memory, and if you do `S * x`, where `S` is a
sparse matrix and `x` is a vector of class single, Matlab (as of 2016a)
gives an error message rather than politely upgrading `x` to a double.
The object `Gsparse.m` provides a work around for this.
Complain to Mathworks that they should fix this limitation.
Or use Julia.
Windows users:
Some of the subdirectories of the `systems` directory contain "links"
to m-files in other directories. (These are created using `ln -s` in
unix.) These links are also in the `.tar` file as soft links. But these
links may not be recognized by Windoze, resulting in various error messages.
They work fine on Mac OSX since it is unix "under the hood."
I recommend that you avoid using Windows.
But if you insist, then you will have to figure out how to fix those links
or copy the appropriate m-files into the appropriate directories.
Another problem is that apparently windoze is case insensitive.
I believe I have purged most of the m-files that had capitalized names now.
Nevertheless, at this point it would be better to just install linux instead.
Or switch to Julia.
## 2022 Mac Security work-around
Apparently recent versions of MacOS are very protective
and may delete `.mex` files in the interest of security.
The following command line instructions
(where `irt` refers to the name of the directory where you installed MIRT)
may help:
- `sudo xattr -r -d com.apple.quarantine irt`
- `sudo find irt -name \*.mexmaci64 -exec spctl --add {} \;`
### Deprecations:
Older versions included a subdirectory `freemat` that was intended
to try to make the code run with freemat
[freemat](http://freemat.sourceforge.net).
This is no longer supported; just use octave or Julia instead.
没有合适的资源?快使用搜索试试~ 我知道了~
毕业设计&课设-密歇根图像重建工具箱(MIRT)-Matlab版本.zip
共1568个文件
m:1187个
c:87个
h:50个
需积分: 0 0 下载量 115 浏览量
2024-01-08
23:06:58
上传
评论
收藏 2.03MB ZIP 举报
温馨提示
matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答! matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随
资源推荐
资源详情
资源评论
收起资源包目录
毕业设计&课设-密歇根图像重建工具箱(MIRT)-Matlab版本.zip (1568个子文件)
01-hydrogen 792B
02-helium 792B
03-lithium 792B
04-beryllium 792B
05-boron 792B
06-carbon-graphite 792B
07-nitrogen 792B
08-oxygen 792B
09-fluorine 792B
10-neon 792B
spectra.100 3KB
11-sodium 858B
spectra.110 3KB
12-magnesium 858B
spectra.120 3KB
13-aluminum 836B
spectra.130 4KB
14-silicon 836B
spectra.140 4KB
15-phosphorus 836B
spectra.150 4KB
16-sulfur 836B
spectra.160 4KB
17-chlorine 836B
18-argon 836B
19-potassium 836B
spectra.20 633B
20-calcium 836B
21-scandium 836B
22-titanium 836B
23-vanadium 836B
24-chromium 836B
25-manganese 836B
26-iron 836B
27-cobalt 836B
28-nickel 902B
29-copper 902B
spectra.30 903B
30-zinc 1KB
31-gallium 1KB
32-germanium 1KB
33-arsenic 1012B
34-selenium 1012B
35-bromine 1012B
36-krypton 1012B
37-rubidium 990B
38-strontium 990B
39-yttrium 1012B
spectra.40 1KB
40-zirconium 1012B
41-niobium 1012B
42-molybdenum 1012B
43-technetium 990B
44-ruthenium 990B
45-rhodium 1012B
46-palladium 1012B
47-silver 1012B
48-cadmium 990B
49-indium 990B
spectra.50 1KB
50-tin 990B
51-antimony 1012B
52-tellurium 1KB
53-iodine 1KB
54-xenon 1KB
55-cesium 1KB
56-barium 1KB
57-lanthanum 1KB
58-cerium 1KB
59-praseodymium 1KB
spectra.60 2KB
60-neodymium 1KB
61-promethium 1KB
62-samarium 1KB
63-europium 1KB
64-gadolinium 1KB
65-terbium 1KB
66-dysprosium 1KB
67-holmium 1KB
68-erbium 1KB
69-thulium 1KB
spectra.70 2KB
70-ytterbium 1KB
71-lutetium 1KB
72-hafnium 1KB
73-tantalum 1KB
74-tungsten 1KB
75-rhenium 1KB
76-osmium 1KB
77-iridium 1KB
78-platinum 1KB
79-gold 1KB
spectra.80 2KB
80-mercury 1KB
81-thallium 1KB
82-lead 4KB
82-lead 1KB
83-bismuth 1KB
84-polonium 1KB
85-astatine 1KB
共 1568 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16
资源评论
白话机器学习
- 粉丝: 8910
- 资源: 7681
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功