Changeset 21409 for trunk/psastro/src/psastroMaskUpdates.c
- Timestamp:
- Feb 6, 2009, 4:03:34 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroMaskUpdates.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroMaskUpdates.c
r21183 r21409 1 /** @file psastroMaskUpdates.c 2 * 3 * @brief 4 * 5 * @ingroup libpsastro 6 * 7 * @author IfA 8 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-07 02:03:34 $ 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 */ 12 1 13 # include "psastroInternal.h" 2 14 … … 17 29 void psastroMaskRectangle (psImage *mask, psImageMaskType value, int x0, int y0, int x1, int y1); 18 30 19 // create a mask or mask regions based on the collection of reference stars that are 20 // in the vicinity of each chip 31 /** 32 * create a mask or mask regions based on the collection of reference stars that * are in the vicinity of each chip 33 */ 21 34 bool psastroMaskUpdates (pmConfig *config) { 22 35 … … 327 340 } 328 341 329 // convert chip coords to cell coords, given known cell 342 /** 343 * convert chip coords to cell coords, given known cell 344 */ 330 345 bool pmCellCoordsForChip (float *xCell, float *yCell, pmCell *cell, float xChip, float yChip) { 331 346 … … 351 366 } 352 367 353 // convert chip coords to cell coords, given known cell 368 /** 369 * convert chip coords to cell coords, given known cell 370 */ 354 371 bool pmChipCoordsForCell (float *xChip, float *yChip, pmCell *cell, float xCell, float yCell) { 355 372 … … 412 429 } 413 430 414 // identify the quadrant and draw the correct line 431 /** 432 * identify the quadrant and draw the correct line 433 */ 415 434 void psastroMaskLine (psImage *mask, psImageMaskType value, double x1, double y1, double x2, double y2, int dW) { 416 435 … … 440 459 } 441 460 442 // use the Bresenham line drawing technique 443 // integer-only Bresenham line-draw version which is fast 461 /** 462 * use the Bresenham line drawing technique 463 * integer-only Bresenham line-draw version which is fast 464 */ 444 465 void psastroMaskLineBresen (psImage *mask, psImageMaskType value, int X1, int Y1, int X2, int Y2, int dW, int swapcoords) { 445 466
Note:
See TracChangeset
for help on using the changeset viewer.
