IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#311 closed defect (fixed)

No function uses PS_INTERPOLATE_*_VARIANCE?

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

Description

The description for psImageInterpolateMode (section 4.6.3 in PSDC-430-007-12)
states that the *_VARIANCE enum values would require modification of a variance
image, but no function that uses psImageInterpolateMode has a variance image
input, as far as I can see.

Can you give me some additional information on implementation of the *_VARIANCE
interpolate modes?

-rdd

Attachments (1)

stacTransform.c (8.1 KB ) - added by Paul Price 21 years ago.
Demonstration of PS_INTERPOLATE_BILINEAR_VARIANCE

Download all attachments as: .zip

Change History (8)

comment:1 by Paul Price, 21 years ago

Status: newassigned

The VARIANCE options aren't to support current psLib or psModule functions, but
rather to support the image combination step. I use them in my prototype image
combination program.

The idea is this: we have an input image, which we need to shift (using
psImagePixelInterpolate). The input image has an associated variance image,
which tells us the errors in the flux values for each pixel (using Poisson
statistics --- square root of the number of counts, plus some other stuff).
We'd like an error map for the shifted image.

I have a modified version of the PS_INTERPOLATE_BILINEAR option available as a
guide.

by Paul Price, 21 years ago

Attachment: stacTransform.c added

Demonstration of PS_INTERPOLATE_BILINEAR_VARIANCE

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

Resolution: fixed
Status: assignedclosed

So, the interpolation will not interpolate on the image and variance image
simultaneously; that is where I went astray.

So, I assume that the variance versions of the pixel interpolate will be folded
into psLib, i.e., there will be lower level functions like
p_psImagePixelInterpolateBILINEAR_VARIANCE available and all the functions
taking a psImageInterpolateMode parameter will be cognizant of the variance
interpolation modes.

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

Resolution: fixed
Severity: criticalnormal
Status: closedreopened

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

Severity: normalcritical

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

Severity: criticalnormal

comment:6 by Paul Price, 21 years ago

Status: reopenedassigned

The VARIANCE options need to be available in psImagePixelIterpolate (I love that
function!) in order to allow doing general warping of images. I understand that
other functions that warp images (e.g., psImageRotate) use
psImagePixelInterpolate, so I don't expect it would be difficult to make them
use the VARIANCE options either; but this is not necessary immediately.

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

Resolution: fixed
Status: assignedclosed

I think that this is clearly understood now.

Note: See TracTickets for help on using tickets.