Spectral Decomposition in Deep Networks for Segmentation of Dynamic Medical Images