a folder have 30 images (.jpg), i have to index it and read the image one after another for further processing.how to index it and read it?

조회 수: 2 (최근 30일)
reading image one after another

답변 (2개)

KSSV
KSSV 2018년 5월 8일
images = dir('*.jpg') ; % you are in the folder of images
N = length(images) ; % Total number of images
% loop fo reach image
for i = 1:N
I = imread(imahes(i).name) ;
% do what you want
end

Image Analyst
Image Analyst 2018년 5월 8일

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by