an image manipulation function
#include "dip_manipulation.h"
dip_Error dip_Shift ( in, out, shift, killNy )
binary, integer, float, complex
This function shifts an image in the Fourier Domain. All frequiencies larger than the Nyquist frequency are set to zero if killNy is true. It performs:
out = Real(InverseFourierTransform(GeneratePhase(shift) * FourierTransform( in ))
Data type | Name | Description |
dip_Image | in | Input image |
dip_Image | out | Output image |
dip_FloatArray | shift | Shift array |
dip_Boolean | killNy | set frequencies > Nyquist to zero? |