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;
I encounter this error after applying for my own 3D training data please help me:
Error in ASM_align_data3D (line 17)
Error in ASM_MakeShapeModel3D (line 16)
The vectors of my have different dimensions because using marching-cube create different vertices sizes. please hep me if possible.thanks
please help me, I have this message when I try use the analog input in simulink
The corresponding 'msfun_arduino_io_setup.tlc' file for the MATLAB S-function 'msfun_arduino_io_setup' in block 'arduinouno_servocontrol_potentiometer/Arduino IO Setup' must be located in the current working directory, the MATLAB S-function directory 'E:\Arduino\arduinoIO\simulink', or the directory 'E:\Arduino\arduinoIO\simulink\tlc_c'
Hi everyone,I applied this code on my images but in part of"% Show some eigenvector variations" my shape shown in incorrect direction and then in part "% Apply the ASM model onm the test image" shape moved in incorrect direction.Does anyone know about this?