I am PhD student in Mechatronics from Australia
Watch this Author's files
Could you please add (opt_qcar) or send it to me (email@example.com). I saw your simulation on youtube for optimization. Could you please explain what was f1 in your m.file line 17?
could you please explain to me why you plus and minus 0.5 to the following line of ASM_MAkeAppearanceModel2D
% Get the pixel profiles of every landmark perpendicular to the contour
P = (TrainingData(i).Vertices-0.5)*scale+0.5;