IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#44 closed defect (fixed)

psImageFFT doesn't recycle any psImage

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

Description

Most functions that returns a psImage takes a psImage parameter to recycle. The
FFT functions, however, do not. Is this just an oversite, or was that on purpose?

The same question applies to psVectorFFT, btw.

-rdd

Change History (4)

comment:1 by Paul Price, 22 years ago

Status: newassigned

I suspect this was an oversight.

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

I propose the following prototype changes:

psImage* psImageFFT(psImage* out, const psImage* in, int flags);
psImage* psImageReal(psImage *out, const psImage* in);
psImage* psImageImaginary(psImage *out, const psImage* in);
psImage* psImageComplex(psImage* out, psImage *real, const psImage *imag);
psImage* psImageConjugate(psImage *out, const psImage *in);
psImage* psImagePowerSpectrum(psImage* out, const psImage* in);

comment:3 by Paul Price, 22 years ago

Resolution: fixed
Status: assignedclosed

Fixed the image ones, and checked that this was mirrored for the vectors:

psVector *psVectorFFT(psVector *out, const psVector *in, psFFTFlags direction);
psVector *psVectorReal(psVector *out, const psVector *in);
psVector *psVectorImaginary(psVector *out, const psVector *in);
psVector *psVectorComplex(psVector *out, psVector *real, psVector *imag);
psVector *psVectorConjugate(psVector *out, const psVector *in);
psVector *psVectorPowerSpectrum(psVector *out, const psVector *in);

comment:4 by Paul Price, 22 years ago

* Bug 48 has been marked as a duplicate of this bug. *

Note: See TracTickets for help on using tickets.