summaryrefslogtreecommitdiff
path: root/macros/imfuse.sci
blob: b86e8e32a712d81c07f012f565d6d1a2954fdb35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function new_image = imfuse(image1, image2, method, scaling)
	
	image_list1 = mattolist(image1)
	image_list2 = mattolist(image2)
	out = opencv_imfuse(image_list1, image_list2, method, scaling)
	
	sz = size(out)
	
	for i=1:sz
		new_image(:, :, i) = out(i)
	end
	
endfunction