IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4998


Ignore:
Timestamp:
Sep 12, 2005, 10:47:12 AM (21 years ago)
Author:
gusciora
Message:

Added the row0 and col0 inits for the pmReadoutAllocs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/test/tst_pmMaskBadPixels.c

    r4770 r4998  
    1717 *  @author Ross Harman, MHPCC
    1818 *
    19  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    20  *  @date $Date: 2005-08-16 01:10:36 $
     19 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     20 *  @date $Date: 2005-09-12 20:47:12 $
    2121 *
    2222 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9999    //    pmReadout *inReadout = pmReadoutAlloc(0, 0, inImage1);
    100100    pmReadout *inReadout = pmReadoutAlloc(NULL);
     101    inReadout->row0 = 0;
     102    inReadout->col0 = 0;
    101103    inReadout->image = inImage1;
    102104    mask1->data.PS_TYPE_MASK_DATA[24][24]=1;
     
    117119    //    pmReadout *inReadout2 = pmReadoutAlloc(0, 0, inImage2);
    118120    pmReadout *inReadout2 = pmReadoutAlloc(NULL);
     121    inReadout2->row0 = 0;
     122    inReadout2->col0 = 0;
    119123    inReadout2->image = inImage2;
    120124    PRINT_MATRIX(mask2, U8, "Data mask:");
     
    134138    //    pmReadout *inReadout3 = pmReadoutAlloc(0, 0, inImage3);
    135139    pmReadout *inReadout3 = pmReadoutAlloc(NULL);
     140    inReadout3->row0 = 0;
     141    inReadout3->col0 = 0;
    136142    inReadout3->image = inImage3;
    137143    mask3->data.PS_TYPE_MASK_DATA[24][24]=1;
     
    155161    //    pmReadout *inReadout4 = pmReadoutAlloc(0, 0, inImage4);
    156162    pmReadout *inReadout4 = pmReadoutAlloc(NULL);
     163    inReadout4->row0 = 0;
     164    inReadout4->col0 = 0;
    157165    inReadout4->image = inImage4;
    158166    inReadout4->mask = mask4i;
     
    173181    //    pmReadout *inReadout5 = pmReadoutAlloc(0, 0, inImage5);
    174182    pmReadout *inReadout5 = pmReadoutAlloc(NULL);
     183    inReadout5->row0 = 0;
     184    inReadout5->col0 = 0;
    175185    inReadout5->image = inImage5;
    176186    pmMaskBadPixels(inReadout5, NULL, 0, 100.0, 1, 10);
     
    186196    //    pmReadout *inReadout6 = pmReadoutAlloc(0, 0, NULL);
    187197    pmReadout *inReadout6 = pmReadoutAlloc(NULL);
     198    inReadout6->row0 = 0;
     199    inReadout6->col0 = 0;
    188200    inReadout6->mask = mask6;
    189201    pmMaskBadPixels(inReadout6, mask6, 0, 100.0, 1, 10);
     
    201213    //    pmReadout *inReadout7 = pmReadoutAlloc(0, 0, inImage7);
    202214    pmReadout *inReadout7 = pmReadoutAlloc(NULL);
     215    inReadout7->row0 = 0;
     216    inReadout7->col0 = 0;
    203217    inReadout7->image = inImage7;
    204218    inReadout7->mask = mask7i;
     
    218232    //    pmReadout *inReadout8 = pmReadoutAlloc(0, 0, inImage8);
    219233    pmReadout *inReadout8 = pmReadoutAlloc(NULL);
     234    inReadout8->row0 = 0;
     235    inReadout8->col0 = 0;
    220236    inReadout8->image = inImage8;
    221237    inReadout8->mask = mask8i;
     
    237253    inReadout9->image = inImage9;
    238254    inReadout9->mask = mask9i;
     255    inReadout9->row0 = 0;
     256    inReadout9->col0 = 0;
    239257    *(int*)&inReadout9->col0 = 150;
    240258    *(int*)&inReadout9->row0 = 150;
     
    254272    //    pmReadout *inReadout10 = pmReadoutAlloc(0, 0, inImage10);
    255273    pmReadout *inReadout10 = pmReadoutAlloc(NULL);
     274    inReadout10->row0 = 0;
     275    inReadout10->col0 = 0;
    256276    inReadout10->image = inImage10;
    257277    inReadout10->mask = mask10i;
     
    271291    //    pmReadout *inReadout11 = pmReadoutAlloc(0, 0, inImage11);
    272292    pmReadout *inReadout11 = pmReadoutAlloc(NULL);
     293    inReadout11->row0 = 0;
     294    inReadout11->col0 = 0;
    273295    inReadout11->image = inImage11;
    274296    inReadout11->mask = mask11i;
Note: See TracChangeset for help on using the changeset viewer.