How to load a sequence of images, to be accessed by IMAGESC

4 views (last 30 days)
I want to load a sequence of images, of which this is the first one. What is wrong with this code so that I can't see the image? My goal is to load pic1(2,:,:,:), pic1(3,:,:,:), and so forth.
fp1 = 'B1.jpg';
pic1(1,:,:,:) = imread(fp1);
p1 = pic1(1,:,:,:);
imagesc(p1)

Answers (1)

Mandar
Mandar on 31 Jan 2023
I understand that you want to load the sequence of the images.
Refer the following documentation link to know perform operation of sequence of images.

Tags

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!