scipy.stsci.image.translate

scipy.stsci.image.translate(a, sdx, sdy, output=None, mode='nearest', cval=0.0)

translate performs a translation of ‘a’ by (sdx, sdy) storing the result in ‘output’.

sdx, sdy are float values.

supported ‘mode’s include:
‘nearest’ elements beyond boundary come from nearest edge pixel. ‘wrap’ elements beyond boundary come from the opposite array edge. ‘reflect’ elements beyond boundary come from reflection on same array edge. ‘constant’ elements beyond boundary are set to ‘cval’

Previous topic

scipy.stsci.image.threshhold

Next topic

scipy.stsci.convolve.boxcar

This Page

Quick search