Changeset 910 for trunk/src/series/civ_series.m
- Timestamp:
- Jun 13, 2015, 7:20:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_series.m
r908 r910 1024 1024 if sizemask > 1/2% eliminate point if more than half of the correlation box is masked 1025 1025 F(ivec)=3; % 1026 utable(ivec)=0; 1027 vtable(ivec)=0; 1026 1028 else 1027 1029 image1_crop=image1_crop.*~mask1_crop;% put to zero the masked pixels (mask1_crop='true'=1) … … 1042 1044 F(ivec)=3; 1043 1045 end 1044 if F(ivec)~=3 1046 if F(ivec)==3 1047 utable(ivec)=0; 1048 vtable(ivec)=0; 1049 else 1045 1050 %mask 1046 1051 if checkmask … … 1099 1104 catch ME 1100 1105 F(ivec)=3; 1106 disp(ME.message) 1101 1107 end 1102 1108 else … … 1127 1133 %http://urapiv.wordpress.com 1128 1134 peaky = y; 1129 if y <= npy-1 && y > =11135 if y <= npy-1 && y > 1 1130 1136 f0 = log(result_conv(y,x)); 1131 1137 f1 = log(result_conv(y-1,x)); … … 1136 1142 end 1137 1143 peakx=x; 1138 if x <= npx-1 && x > =11144 if x <= npx-1 && x > 1 1139 1145 f0 = log(result_conv(y,x)); 1140 1146 f1 = log(result_conv(y,x-1));
Note: See TracChangeset
for help on using the changeset viewer.