Multiple images to separate figures
显示 更早的评论
Hi, i have several images with deferent filters (a,b,c) that saved as one .mat file. The ussie that i try to solve is a separate image for separate figure.
This one gives me only one picture at the time with filter a:
A = scan.Point.Filter(a).Pic;
imshow(A, []);
But I need multiple pictures with this filter at separate figures.
I've tried to use
imshow(A, []);
igure, imshow(A(:,:,:,1))
figure, imshow(A(:,:,:,2))
but obviosly i'm doing it in wrong way becous i need to determin it somehow at A = scan.Point.Filter(a).Pic;
Please help !
回答(1 个)
Rahul
2024-9-13
0 个投票
I understand that you wish to display images with different filters in different figures which you have obtained from a '.mat' file.
You can follow this MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/538319-how-to-display-images-in-separate-figures
This answer explains how you can leverage a loop for obtaining different images in different figures using the 'figure' and 'imshow' functions iteratively inside the loop.
You can refer to the following MATLAB documentations to know more about these functions:
Hope this helps!
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!