#50 closed defect (remind)
psImageSlice/psImageCut/psImageRadialCut use of psStats parameter
| Reported by: | Owned by: | eugene | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | PSLib SDRS | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
These functions take a psStats input, but what if the option specifies more than
one statistic to be calculated; can I assume that is a fatal error?
Also, it seems abit blotted to pass a psStats when only options (and possibly
min/max) will be used. Maybe there should be a struct defined that just has the
input parameters within psStats and use that in psStats and a parameter om these
functions.
-rdd
Change History (4)
comment:1 by , 22 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 22 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:3 by , 22 years ago
| Resolution: | → remind |
|---|---|
| Status: | reopened → closed |
comment:4 by , 22 years ago
we should continue to consider if the psStats and psStatsOptions types should be
refined to reduce the information passed into functions like psImageRebin which
only use the structures as input information.

only one statistic should be specified in the input psStats structure. it
should be an error if more than one is specified.