volshow

버전 1.0.0.0 (4.31 KB) 작성자: Jesse Knight
A flexible function (GUI) for showing multiple image volumes with scroll wheel functionality.
다운로드 수: 370
업데이트 날짜: 2016/3/2

라이선스 보기

% VOLSHOW is a flexible function for displaying multiple volume images tightly
% on the same figure. Mouse scroll wheel scrolls the z dimension.
% Padding between images, grid dimensions, contrast scale, and
% colourmaps can be specified. Attributes apply to all images. Best
% results with same sized images. Grayscale or colour images.
%
% Input arguments: (any order)
% images(s) - any number of 3D grayscale or colour images. Rendered in the
% order they are presented, top to bottom, left to right.
% * The x-dimension of any image should not have a size of 3,
% else it will be confused for a colourmap.
% * multiple volumes should have the same 3rd dimension.
% * if using colour volumes, the colour channels should be the
% last dimension.
%
% padval - decimal value on the interval (0, 0.5) dictating the relative
% padded spacing between images.
% Default: 0.005
%
% gridstr - string like "5x2", specifying the number of images to tile
% horizontally (5) and vertically (2)
% Default: as square as possible, wider bias
%
% minmax - minmax specification for contrast scaling, as in imshow(I,[]).
% array of size: 1 by 2, or a empty array: []
% Default: []
%
% colourmap - colourmap used for displaying images:
% array of size: M by 3 or a colourmap function
% Default: curent default figure colormap
%
% * if 2+ non-image arguments are given, only the last one is used.
%
% Examples:
%
% timshow(I1, I2, I3, I4, hot, 0, [0,1], '4x1');
% Show volumes I1, I2, I3, I4 using the hot colourmap, with no
% space between, contrast from 0 to 1, and in a horizontal line.
%
% timshow(DB(:).I);
% Show all volume fields .I in the struct array DB using the
% default figure colourmap, automatic contrast scaling per image,
% with 0.5% of total figure size padded between, and arranged as
% close to square as possible.
%
% Jesse Knight 2015

인용 양식

Jesse Knight (2025). volshow (https://www.mathworks.com/matlabcentral/fileexchange/55711-volshow), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2011a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Display Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0