IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#507 closed defect (fixed)

Region conventions

Reported by: Paul Price Owned by: Paul Price
Priority: high Milestone:
Component: PSLib SDRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

psLib is adopting the C convention that the first pixel is 0,0. The FITS
standard says it should be 1,1. Image regions in the header (e.g., DATASEC) are
generally written following the FITS standard, e.g., [1:2048,1:4096]. Does this
mean that psRegionFromString/psRegionToString must convert to/from psLib
convention, or do we introduce a new function to perform the conversion? We
also need to be careful about whether functions treat regions as inclusive or
exclusive of the boundary (esp. the upper limit).

Change History (1)

comment:1 by Paul Price, 21 years ago

Resolution: fixed
Status: newclosed

psLibRegionFromString and psLibRegionToString do the conversion.

Note: See TracTickets for help on using tickets.