필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Reading images in matlab

조회 수: 1 (최근 30일)
Balaji M. Sontakke
Balaji M. Sontakke 2017년 12월 13일
마감: MATLAB Answer Bot 2021년 8월 20일
Am using a database which is gathered from 100 persons, 3 images per persons of each of 4 different activities like act,bag,norm and ice. I want to read those images from a folder but I don't understand how to read it, following is the format of those images
p1_left_act_1 to p1_left_act_3,
p1_left_bag_1 to p1_left_bag_3,
p1_left_norm_1 to p1_left_norm_3,
p1_left_ice_1 to p1_left_ice_3

답변 (1개)

KSSV
KSSV 2017년 12월 13일
images = dir('.*jpg') ; % give your image extension
N = length(images) ; % total number of images
for I = 1:N % loop for each image
thisimage = images(I).name ;
% do what you want
end

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by