Multiple images to separate figures

1 Ansicht (letzte 30 Tage)
alona p
alona p am 9 Dez. 2021
Beantwortet: Rahul am 13 Sep. 2024
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 !

Antworten (1)

Rahul
Rahul am 13 Sep. 2024
I understand that you wish to display images with different filters in different figures which you have obtained from a '.mat' file.
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!

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by