I have problem, i want looping to read image in order. Result that i want eg. 1. jpg, 2.jpg, 3.jpg, 4.jpg, 5.jpg, 6.jpg, 7.jpg, 8.jpg, 9.jpg, 10.jpg, 11.jpg, 12.jpg. But, the result that i get 1. jpg, 10.jpg, 11.jpg, 12.jpg, 2.jpg, 3.jpg, 4.jpg, 5.jpg, 6.jpg, 7.jpg, 8.jpg, 9.jpg I use code
hasil = dir(*jpg);for d=1: length(hasil) a = imread('%d.jpg', d);end
Best Answer