summaryrefslogtreecommitdiff
path: root/macros/ifftshift.sci
blob: 0d79a517be644ea4053db4d81707a35618acdd2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function new_image = ifftshift(image)
	
	image_list = mattolist(image)
	
	out = opencv_ifftshift(image_list)
	
	sz = size(out)
	for i = 1 : sz
		new_image(:, :, i) = out(i)
	end	
	
endfunction