Multiple images to separate figures

조회 수: 1 (최근 30일)
alona p
alona p 2021년 12월 9일
답변: Rahul 2024년 9월 13일
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
Rahul 2024년 9월 13일
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!

카테고리

Help CenterFile Exchange에서 3-D Volumetric Image Processing에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by