Changeset 20708 for trunk/magic/remove/src/streaksremove.c
- Timestamp:
- Nov 12, 2008, 1:45:20 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/magic/remove/src/streaksremove.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove/src/streaksremove.c
r20699 r20708 1349 1349 cellToChip(&chipCoord, sfiles->astrom, cellCoord); 1350 1350 1351 #ifdef notdef 1352 // Shouldn't need this but for raw images I'm getting 1353 // x = warpedPixels->numCols for cell xy70 when cell.x = 0 1354 // Perhaps cell_x0 should be IMNPIX-1 since IMNPIX is in the 1 based system of the fits 1355 // headers 1356 if (chipCoord.x < 0 || chipCoord.x >= sfiles->warpedPixels->numCols) { 1357 return false; 1358 } 1359 if (chipCoord.y < 0 || chipCoord.y >= sfiles->warpedPixels->numRows) { 1360 return false; 1361 } 1362 #endif 1351 1363 1352 1364 return psImageGet(sfiles->warpedPixels, chipCoord.x, chipCoord.y) ? true : false; … … 1532 1544 } 1533 1545 1546 #ifdef NOTYET 1534 1547 if (psMetadataLookupBool(&status, config->arguments, "REPLACE")) { 1535 1548 // swap the instances for the input and output … … 1561 1574 } 1562 1575 } 1563 psFree(ourNebServer); 1576 #endif // REPLACE, REMOVE 1577 nebServer(ourNebServer); 1564 1578 psFree(config); 1565 1579 pmConceptsDone(); 1566 1580 pmConfigDone(); 1567 1581 psLibFinalize(); 1568 #ifdef notyet1569 #endif1570 1582 1571 1583 // PAU
Note:
See TracChangeset
for help on using the changeset viewer.
