image thumbnail

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.

139 Downloads

Updated 20 Aug 2016

From GitHub

View license on GitHub

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 (2021). 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

Community Treasure Hunt

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

Start Hunting!
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.