Changeset 4998
- Timestamp:
- Sep 12, 2005, 10:47:12 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psModules/test/tst_pmMaskBadPixels.c (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/tst_pmMaskBadPixels.c
r4770 r4998 17 17 * @author Ross Harman, MHPCC 18 18 * 19 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $20 * @date $Date: 2005-0 8-16 01:10:36$19 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2005-09-12 20:47:12 $ 21 21 * 22 22 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 99 99 // pmReadout *inReadout = pmReadoutAlloc(0, 0, inImage1); 100 100 pmReadout *inReadout = pmReadoutAlloc(NULL); 101 inReadout->row0 = 0; 102 inReadout->col0 = 0; 101 103 inReadout->image = inImage1; 102 104 mask1->data.PS_TYPE_MASK_DATA[24][24]=1; … … 117 119 // pmReadout *inReadout2 = pmReadoutAlloc(0, 0, inImage2); 118 120 pmReadout *inReadout2 = pmReadoutAlloc(NULL); 121 inReadout2->row0 = 0; 122 inReadout2->col0 = 0; 119 123 inReadout2->image = inImage2; 120 124 PRINT_MATRIX(mask2, U8, "Data mask:"); … … 134 138 // pmReadout *inReadout3 = pmReadoutAlloc(0, 0, inImage3); 135 139 pmReadout *inReadout3 = pmReadoutAlloc(NULL); 140 inReadout3->row0 = 0; 141 inReadout3->col0 = 0; 136 142 inReadout3->image = inImage3; 137 143 mask3->data.PS_TYPE_MASK_DATA[24][24]=1; … … 155 161 // pmReadout *inReadout4 = pmReadoutAlloc(0, 0, inImage4); 156 162 pmReadout *inReadout4 = pmReadoutAlloc(NULL); 163 inReadout4->row0 = 0; 164 inReadout4->col0 = 0; 157 165 inReadout4->image = inImage4; 158 166 inReadout4->mask = mask4i; … … 173 181 // pmReadout *inReadout5 = pmReadoutAlloc(0, 0, inImage5); 174 182 pmReadout *inReadout5 = pmReadoutAlloc(NULL); 183 inReadout5->row0 = 0; 184 inReadout5->col0 = 0; 175 185 inReadout5->image = inImage5; 176 186 pmMaskBadPixels(inReadout5, NULL, 0, 100.0, 1, 10); … … 186 196 // pmReadout *inReadout6 = pmReadoutAlloc(0, 0, NULL); 187 197 pmReadout *inReadout6 = pmReadoutAlloc(NULL); 198 inReadout6->row0 = 0; 199 inReadout6->col0 = 0; 188 200 inReadout6->mask = mask6; 189 201 pmMaskBadPixels(inReadout6, mask6, 0, 100.0, 1, 10); … … 201 213 // pmReadout *inReadout7 = pmReadoutAlloc(0, 0, inImage7); 202 214 pmReadout *inReadout7 = pmReadoutAlloc(NULL); 215 inReadout7->row0 = 0; 216 inReadout7->col0 = 0; 203 217 inReadout7->image = inImage7; 204 218 inReadout7->mask = mask7i; … … 218 232 // pmReadout *inReadout8 = pmReadoutAlloc(0, 0, inImage8); 219 233 pmReadout *inReadout8 = pmReadoutAlloc(NULL); 234 inReadout8->row0 = 0; 235 inReadout8->col0 = 0; 220 236 inReadout8->image = inImage8; 221 237 inReadout8->mask = mask8i; … … 237 253 inReadout9->image = inImage9; 238 254 inReadout9->mask = mask9i; 255 inReadout9->row0 = 0; 256 inReadout9->col0 = 0; 239 257 *(int*)&inReadout9->col0 = 150; 240 258 *(int*)&inReadout9->row0 = 150; … … 254 272 // pmReadout *inReadout10 = pmReadoutAlloc(0, 0, inImage10); 255 273 pmReadout *inReadout10 = pmReadoutAlloc(NULL); 274 inReadout10->row0 = 0; 275 inReadout10->col0 = 0; 256 276 inReadout10->image = inImage10; 257 277 inReadout10->mask = mask10i; … … 271 291 // pmReadout *inReadout11 = pmReadoutAlloc(0, 0, inImage11); 272 292 pmReadout *inReadout11 = pmReadoutAlloc(NULL); 293 inReadout11->row0 = 0; 294 inReadout11->col0 = 0; 273 295 inReadout11->image = inImage11; 274 296 inReadout11->mask = mask11i;
Note:
See TracChangeset
for help on using the changeset viewer.
