#102 closed enhancement (fixed)
psImageRebin doesn't know of a mask, but should it?
| Reported by: | Owned by: | eugene | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | PSLib SDRS | Version: | unspecified |
| Severity: | minor | Keywords: | |
| Cc: |
Description
Since this function is doing statistics, part of me doth thinks it should have a
mask like psImageStats.
Do you see not needing a mask for this function? I don't know if you would want
to use a bad pixel in the rebinning, for instance.
(Since I'm using the psVectorStats under the hood, it is not too hard to add
this in as it handles the mask checking)
Change History (3)
comment:1 by , 22 years ago
| Status: | new → assigned |
|---|
comment:2 by , 22 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:3 by , 22 years ago
These have been added to the SDRS (apart from the "restrict"s, which have been
dropped).
Note:
See TracTickets
for help on using tickets.

you are right. any of these functions (like psImageCut and psImageRebin) which
apply a particular statistic need to have the mask and maskVal passed in as well.
I'll add it to the SDRS like this:
psVector *psImageSlice(psVector *out, const psImage *input,
and
psVector *psImageCut(psVector *out, const psImage *input,
and
psVector *psImageRadialCut(psVector *out, const psImage *input,
and
psImage *psImageRebin(psImage *out, const psImage *in,
and in any of these functions, mask may be NULL, in which case it is ignored.