image3

バージョン 1.2.0.0 (231 KB) 作成者: Anders Brun
Renders a 2-D image in 3-D space using a texture mapped rectangle, with several examples of uses.
ダウンロード: 7.4K
更新 2008/10/26

ライセンスの表示

Using image3 the user can display an image with arbitrary position and orientation in Matlabs 3-D space. It is fast, exact and mimic the well known image and imagesc commands.

The package also includes:

imagesc3, a scaled version of image3
slice3, display slices fast from 3-D volume data
box3, display a box from 3-D volume data
scatterim2, make a 2-D scatter plot using images

I originally created this code to make slices of medical MRI data, to be able to rotate and change them really fast. Since then I have found many uses of them, since image and imagesc are strange and pcolor and surf are usually too slow without modification. I also prefer to control exactly what is plotted and where, without the extra intelligence from Matlab that switches the x- and y-axis from time to time.

Remark: A lot of the code is pixel/voxel centered, instead of vertex centered. And all indices are assumed to start at 1. If you are clever enough to be annoyed by that, I am sure you know also how to add the extra magic to the transformation matrices to make them work the way you want it. A hint is to have a look at the box3.m code.

引用

Anders Brun (2024). image3 (https://www.mathworks.com/matlabcentral/fileexchange/21881-image3), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2008a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
謝辞

ヒントを与えたファイル: pcolor3, myslicer - make mouse-interactive slices of a 3-D volume

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

image3/html/

バージョン 公開済み リリース ノート
1.2.0.0

updated screenshot to make Myaa more justice... :-)