IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#331 closed defect (fixed)

psImageStats lacks const arguments

Reported by: Paul Price Owned by: robert.desonia@…
Priority: high Milestone:
Component: imageops Version: unspecified
Severity: minor Keywords:
Cc:

Description

Implementation is:
psStats* psImageStats(

psStats* stats, /< defines statistics to be calculated
psImage* in,
/< image (or subimage) to calculate stats
psImage* mask, /< mask data for image (NULL ok)
psS32 maskVal
/< mask Mask for mask

);

Specification is:
psStats *psImageStats(psStats *stats,

const psImage *in,
const psImage *mask,
unsigned int maskVal);

Use of psImageStats as implemented requires casting away "const" (yuk!).

Change History (3)

comment:1 by robert.desonia@…, 21 years ago

Resolution: fixed
Status: newclosed

thanks for pointing this out. I also corrected psImageHistogram.

The fix will be in the next release.

comment:2 by Paul Price, 20 years ago

Keywords: VERIFIED added

Bug has been resolved.... closing.

comment:3 by Paul Price, 20 years ago

Keywords: VERIFIED removed

Bugs have been fixed... closing.

Note: See TracTickets for help on using tickets.