ViewImage -- a multidimensional complex image viewer
It's often the case that we'd like to view an N-dimensional matrix as an image. In medical imaging, usually 3D datasets are (complex-valued) 3D (or more) grayscale matricies with numbers that can be of any size.
Viewimage is a script that has been kicking around on "sneakernet" for a long time to provide a convenient way to view slices through the stack without having to write statements such as "figure; set(gcf,'color','w'); imagesc(abs(image(:,:,1))); axis equal; axis off; colormap grayscale; ...'' over and over again. Just viewimage(image).
You can scroll through images with the mousewheel, or by left clicking and dragging up/down. Right clicking and dragging adjusts brightness and contrast. Simple tools are provided to save/restore white-levels, plot a point through the z-stack, and plot an ROI of interest through the z-stack. Other functions, such as setting a default zoom, are available as key/value pairs.
Zitieren als
Jack (2024). ViewImage -- a multidimensional complex image viewer (https://www.mathworks.com/matlabcentral/fileexchange/66757-viewimage-a-multidimensional-complex-image-viewer), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > Images > Display Image >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |