View multiplage tiff in app designer
Show older comments
I have the following function to import a Tiff-File, but it only shows the first slice of any tiff file. And I am currently not able to show the 2nd or nth slice in any way. How would this be possible?
function ImportTiffButtonPushed(app, event)
[file,path] = uigetfile('*.tif*');
if isequal(file,0)
else
imgPath = fullfile(path,file);
% open image and show it in the image box
tiffStack = imread(imgPath);
imshow(tiffStack, 'parent', app.UIAxes);
end
Accepted Answer
More Answers (0)
Categories
Find more on Display and Exploration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!