can now output and visualize upsampled patches from dictionary