How to display vid variable in the form of image from mat file?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I downloaded AV Letters dataset for AVSR. It consists of mat file. I read mat file which consists of two variable.
load A1_Anya-lips.mat;
Output-
siz [60 60 27]
vid [4800 27]
when i disply vid variable, image is not displayed.
How i can display that?
0 Kommentare
Antworten (1)
yanqi liu
am 29 Nov. 2021
yes,sir,may be use the reshape and display as image,such as
clc; clear all; close all;
load A1_Anya-lips.mat
for i = 1 : siz(3)
a = reshape(vid(:,i), siz(1), siz(2));
figure(1);
subplot(3,9,i); imshow(a, []);
end
0 Kommentare
Siehe auch
Kategorien
Mehr zu National Instruments Frame Grabbers finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!