IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#24 closed defect (fixed)

psImageAlloc() arguments

Reported by: gusciora@… Owned by: eugene
Priority: high Milestone:
Component: PSLib SDRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

Page 23 of the SDR specifies that an argument to the psImageAlloc() function is
of type "psType". The psType struct itself contains two members

data dimension
data element type

I think the data dimension type member is redundant, since it will always be
IMAGE for this function. Is that correct? If so, I think it will be easier to
change this argument to be of type psElemType.

By doing so, psImageAlloc() can simply be called with one of the elementary data
types. Otherwise we will have to create a dummyDataType variable and fill it
with PS_FLOAT, and PS_IMAGE, or whatever, whenever we call psImageAlloc().

Change History (1)

comment:1 by eugene, 22 years ago

Resolution: fixed
Status: newclosed

made the change to the SDRS

Note: See TracTickets for help on using tickets.