IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#305 closed defect (fixed)

psImageStats does not work on a sub-image

Reported by: Paul Price Owned by: robert.desonia@…
Priority: high Milestone:
Component: imageops Version: 0.4.0
Severity: normal Keywords:
Cc: george.gusciora@…

Description

psImageStats assumes that data is contiguous, and hence does not work on a
sub-image:

junkData->data.V = in->data.V[0]; since psImage data is contiguous...

I will attach code demonstrating the bug.

Workaround is to psImageCopy() the sub-image and do statistics on that.

Attachments (1)

psImageStatsBug.c (1.1 KB ) - added by Paul Price 21 years ago.
C code demonstrating the bug.

Download all attachments as: .zip

Change History (6)

by Paul Price, 21 years ago

Attachment: psImageStatsBug.c added

C code demonstrating the bug.

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

Status: newassigned

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

Cc: george.gusciora@… added

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

Resolution: fixed
Status: assignedclosed

fixed in CVS head.

comment:4 by Paul Price, 21 years ago

Keywords: VERIFIED added

comment:5 by Paul Price, 21 years ago

Keywords: VERIFIED removed
Note: See TracTickets for help on using tickets.