Orthogonal Viewer for Grayscale Image Stack

Version 1.1.0.0 (2.29 KB) by CY Y
Orthoviewer takes a grayscale image stack and displays its orthogonal views.
148 Downloads
Updated 20 Aug 2016

Orthoviewer displays orthogonal views of an image stack.
Example usage:

close all
clear
load mri

D = squeeze(D);

% Resize image to make it larger
D2 = zeros(size(D).*[4 4 1], 'uint8');
for ii = 1: size(D,3)
D2(:, :, ii) = imresize(D(:, :, ii), 4);
end

D3 = zeros(size(D2).*[1 1 4], 'uint8');
for ii = 1 : size(D2, 2)
D3(:, ii, :) = imresize(squeeze(D2(:, ii, :)),...
[ size(D2,1), size(D2, 3)*4]);
end

orthoviewer(D3)

Cite As

CY Y (2024). Orthogonal Viewer for Grayscale Image Stack (https://github.com/joe-of-all-trades/orthoviewer), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Read, Write, and Modify Image in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.1.0.0

Updated description to include example usage.
Polished code and improved dragging behavior.
linked to github

1.0.0.0

Added example usage

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.