Functions | |
comrec (:)'] | |
CreateVRMLWithMarkers (1e-2, QREC, HAnimJointsNames, 'Human36', 'High',... 'RecTrajWithLeds.wrl', TOBS, HAnimMarkersNames, HAnimMarkersRGB) | |
exec ('../../../KickStart.sci') | |
execstr (LoadModule('.')) | |
execstr (LoadModule('../KinematicModel/Human36')) | |
execstr (LoadModule('../../../LagrangianModel/Human36')) | |
execstr (LoadModule('../../../Kernel/OptimizationTools')) | |
printf ('\nSaving results done...\n') | |
printf ('\nSaving results...\n') | |
printf ('\nReconstruction done...\n') | |
printf ('\nStarting Reconstruction...\n') | |
printf ('\nLoading file done...\n') | |
printf ('\nConsidered Subject:%s\n', Subject) | |
save ('Measures/ResultsMeasures/'+FilePath+'RecPosBin'+FileNumber, QREC) | |
SetAnatomicalLengths (GLOB_AnatLengths) | |
SetTag2JointLengths (GLOB_Tag2JointLengths) | |
if | size (filenames, 1) |
tags (:)'] | |
tic () | |
timer () | |
VisuTagsComparison (QREC, TOBS, TUTILISES) | |
WriteInCsvFile ('Measures/ResultsMeasures/'+FilePath+... 'COMPos'+FileNumber+'.csv', COMREC, COMRECText, VText) | |
WriteInCsvFile ('Measures/ResultsMeasures/'+FilePath+... 'TagPos'+FileNumber+'.csv', TAGS, TAGSText, VText) | |
WriteInCsvFile ('Measures/ResultsMeasures/'+FilePath+... 'RecPos'+FileNumber+'.csv', QREC', QRECText, VText) | |
Variables | |
COMREC = [COMREC | |
COMREC = [] | |
COMRECText = [] | |
end | |
end | |
end | |
end | |
end | |
end | |
end | |
end | |
clear Files1 Files2 Files3 Files4 | end |
filenames = [Files1 | |
if | filenames |
filenames = GLOB_Filenames | |
FileNumber | |
FilePath | |
Files2 | |
Files2 = sort(listfiles(getcwd()+'Measures/JXC-P+/'+Subject+'/*.csv')) | |
Files3 | |
Files3 = sort(listfiles(getcwd()+'Measures/JXC+P-/'+Subject+'/*.csv')) | |
Files4 | |
Files4 = sort(listfiles(getcwd()+'Measures/JXC+P+/'+Subject+'/*.csv')) | |
global | GLOB_AnatLengths |
global | GLOB_Filenames |
global | GLOB_Markers |
global | GLOB_Subject |
global | GLOB_Tag2JointLengths |
for | i |
for | i |
for | i |
for | i |
for | i |
for | i |
for | j |
Markers = GLOB_Markers | |
nb_iter = 100 | |
Nsamplings = size(TOBS, 2)/3 | |
NTAGS_INIT = 28 | |
q_init = (Minq1 + Maxq1)/2 | |
QREC = Reconstruction(q_init, Tobs, Tutilises, nb_iter, seuil) [QREC, qrec] | |
QREC = [] | |
global | QREC |
QRECText = [] | |
seuil = 0.0000001 | |
Subject = GLOB_Subject | |
TAGS = [TAGS | |
TAGS = [] | |
TAGSText = [] | |
Tobs = Tobs(Tutilises, :) | |
Tutilises = 1:NTAGS_INIT | |
Tutilises = Tutilises(TUTILISES(:, i)) | |
Tutilises = 1:NTAGS_INIT | |
VText = [VText, string(i)] | |
VText = ["Sample"] |
Email(s): Florence.Billet@inria.fr
comrec | ( | : | ) |
CreateVRMLWithMarkers | ( | 1e- | 2, | |
QREC | , | |||
HAnimJointsNames | , | |||
'Human36' | , | |||
'High' | , | |||
... 'RecTrajWithLeds.wrl' | , | |||
TOBS | , | |||
HAnimMarkersNames | , | |||
HAnimMarkersRGB | ||||
) |
exec | ( | '../../../KickStart.sci' | ) |
execstr | ( | LoadModule('.') | ) |
execstr | ( | LoadModule('../KinematicModel/Human36') | ) |
execstr | ( | LoadModule('../../../LagrangianModel/Human36') | ) |
execstr | ( | LoadModule('../../../Kernel/OptimizationTools') | ) |
printf | ( | '\nSaving results done...\n' | ) |
printf | ( | '\nSaving results...\n' | ) |
printf | ( | '\nReconstruction done...\n' | ) |
printf | ( | '\nStarting Reconstruction...\n' | ) |
printf | ( | '\nLoading file done...\n' | ) |
printf | ( | '\nConsidered Subject:%s\n' | , | |
Subject | ||||
) |
SetAnatomicalLengths | ( | GLOB_AnatLengths | ) |
SetTag2JointLengths | ( | GLOB_Tag2JointLengths | ) |
if size | ( | filenames | , | |
1 | ||||
) |
tags | ( | : | ) |
tic | ( | ) |
timer | ( | ) |
VisuTagsComparison | ( | QREC | , | |
TOBS | , | |||
TUTILISES | ||||
) |
WriteInCsvFile | ( | 'Measures/ResultsMeasures/'+FilePath+... 'COMPos'+FileNumber+'.csv' | , | |
COMREC | , | |||
COMRECText | , | |||
VText | ||||
) |
WriteInCsvFile | ( | 'Measures/ResultsMeasures/'+FilePath+... 'TagPos'+FileNumber+'.csv' | , | |
TAGS | , | |||
TAGSText | , | |||
VText | ||||
) |
WriteInCsvFile | ( | 'Measures/ResultsMeasures/'+FilePath+... 'RecPos'+FileNumber+'.csv' | , | |
QREC' | , | |||
QRECText | , | |||
VText | ||||
) |
COMREC = [] |
COMRECText = [] |
filenames = [Files1 |
if filenames |
Initial value:
= [] then Files1 = sort(listfiles(getcwd()+'Measures/JXC-P-/'+Subject+'/*.csv'))
global GLOB_AnatLengths |
global GLOB_Filenames |
global GLOB_Markers |
global GLOB_Subject |
global GLOB_Tag2JointLengths |
for i |
Initial value:
1:size(COMREC, 2)/3 COMRECText = [COMRECText, "COM_X"+string(i), ... "COM_Y"+string(i), "COM_Z"+string(i)]
for j |
nb_iter = 100 |
Nsamplings = size(TOBS, 2)/3 |
NTAGS_INIT = 28 |
QREC = [] |
global QREC |
QRECText = [] |
seuil = 0.0000001 |
TAGS = [] |
TAGSText = [] |
Tutilises = 1:NTAGS_INIT |
Tutilises = 1:NTAGS_INIT |
VText = ["Sample"] |
HuMAnS |