IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#90 closed defect (fixed)

psImageRebin - clarification of functionality.

Reported by: robert.desonia@… Owned by: eugene
Priority: high Milestone:
Component: PSLib SDRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

I need clarification on the expected functionality of psImageRebin. Is the
scale assumed to be 1/n, where n is an integer? If not, the issue of how to
handle subpixels comes into play and makes the routine an order of magnitude
more complicated to implement (area weighted statistics?).

If scale is to be 1/n, I suggest defining the scale parameter as the integer n
above, i.e., the number of pixels to bin together in each dimension.

-rdd

Change History (2)

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

Eric pointed me to the ADD; Does ADD section 1.2.1.1 apply to how psImageRebin
should function as well?

comment:2 by eugene, 22 years ago

Resolution: fixed
Status: newclosed

I agree: this function is doing integer rebinning, not arbitrary remapping (we
are defining that one for the future for other purposes).

The scale should be the binning factor, and it should be an integer.

(there should also be the opposite function, psImageResample, which expands each
pixel to NxN pixels. This would require some interpolation options.)

Note: See TracTickets for help on using tickets.