- Timestamp:
- Jul 12, 2024, 4:12:28 PM (4 months ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/geometry_calib.m
r1152 r1159 992 992 else 993 993 %S=skewness(double(reshape(A,1,[]))); 994 A=double( A);994 A=double(sum(A,3));%sum of ther three components for color images 995 995 A=A-mean(mean(A)); 996 S=mean(mean(A.*A.*A))/(mean(mean(A.*A)))^1.5 996 S=mean(mean(A.*A.*A))/(mean(mean(A.*A)))^1.5; %skewness used to istinguish white or black markers 997 997 grid_input.CheckWhite=sign(S);%propose white markers if image skewness>0, black markers otherwise 998 998 end -
trunk/src/script_delete_rdvision.m
r1123 r1159 5 5 %%%%%%%%%%%%%% CHOOSE THE ROOT FOLDER %%%%%%%%%% 6 6 7 RootDir=' DATA'7 RootDir='1_DATA' 8 8 %RootFolder=fullfile('/fsnet/project/coriolis/2018/18JEVERB',RootDir); 9 RootFolder=fullfile('/fsnet/project/edt/2021/21CORIOFARM',RootDir) 9 %RootFolder=fullfile('/fsnet/project/edt/2021/21CORIOFARM',RootDir) 10 RootFolder=fullfile('/fsnet/project/coriolis/2024/24PLUME',RootDir) 10 11 %ParamFile=fullfile(RootFolder,'extract_param.xml'); 11 12 %Param=xml2struct(ParamFile); … … 44 45 ind_rdvision=[]; 45 46 for isubsub=1:numel(ListNamesSubSub) 46 if ~isempty(regexp(ListNamesSubSub{isubsub},'^202 1-'))47 if ~isempty(regexp(ListNamesSubSub{isubsub},'^2024-')) 47 48 ind_rdvision=[ind_rdvision isubsub];%detect rdvision folders 48 49 end … … 84 85 if exist(ExtractFolder,'dir') && exist(PngFolder,'dir') 85 86 filename_seq=fullfile(ExtractFolder,'im.seq'); 87 try 86 88 s=ini2struct(filename_seq); 87 89 FileInfo=s.sequenceSettings; … … 90 92 else 91 93 status='bad seq file'; 94 end 95 catch ME 96 disp(['error in ' filename_seq]) 92 97 end 93 98 DirPng=dir(PngFolder);
Note: See TracChangeset
for help on using the changeset viewer.