Changeset 2377 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 10/04/03 12:47:13 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MImgCleanTGB.cc
r2296 r2377 257 257 #include <TGFrame.h> // TGFrame 258 258 #include <TGLabel.h> // TGLabel 259 #include <TArrayC.h> // TArrayC 259 260 #include <TGTextEntry.h> // TGTextEntry 260 261 … … 481 482 Double_t sdev = sqrt(sq/w2 - mean*mean); 482 483 483 Byte_t *nb = new Byte_t[1000]; 484 memset(nb, 0, 577); 484 TArrayC n(fCam->GetNumPixels()); 485 Byte_t *nb = (Byte_t*)n.GetArray(); 486 //Byte_t *nb = new Byte_t[1000]; 487 //memset(nb, 0, 577); 485 488 486 489 for (Int_t i=0; i<entries; i++) … … 512 515 //CleanStep3(nb, 2, 3); 513 516 514 delete nb;515 516 517 return kTRUE; 517 518 }
Note:
See TracChangeset
for help on using the changeset viewer.