Changeset 1159 for trunk/src/geometry_calib.m
- Timestamp:
- Jul 12, 2024, 4:12:28 PM (3 months ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.