#44 closed defect (fixed)
psImageFFT doesn't recycle any psImage
| Reported by: | 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 , 22 years ago
| Status: | new → assigned |
|---|
comment:2 by , 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 , 22 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
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);

I suspect this was an oversight.