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.

2 views (last 30 days)
salman khan
salman khan on 18 Oct 2018
try
jobj = jpeg_read(COVER); % JPEG image structure
DCT = jobj.coef_arrays{1}; % DCT plane
catch
error('ERROR (problem with the cover image)');
end

Answers (0)

Community Treasure Hunt

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

Start Hunting!