#305 closed defect (fixed)
psImageStats does not work on a sub-image
| Reported by: | Paul Price | Owned by: | |
|---|---|---|---|
| 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)
Change History (6)
by , 21 years ago
| Attachment: | psImageStatsBug.c added |
|---|
comment:1 by , 21 years ago
| Status: | new → assigned |
|---|
comment:2 by , 21 years ago
| Cc: | added |
|---|
comment:4 by , 21 years ago
| Keywords: | VERIFIED added |
|---|
comment:5 by , 21 years ago
| Keywords: | VERIFIED removed |
|---|
Note:
See TracTickets
for help on using tickets.

C code demonstrating the bug.