I have a data set of 10000 images I want to process half of them by using jpeg_read command and save them in separate folder kindly help me in this regards I am new to Matlab.

1 Ansicht (letzte 30 Tage)
try
jobj = jpeg_read(COVER); % JPEG image structure
DCT = jobj.coef_arrays{1}; % DCT plane
catch
error('ERROR (problem with the cover image)');
end

Antworten (0)

Kategorien

Mehr zu Convert Image Type 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!

Translated by