Skip to content

Matlab code to stitch an image to another using graphcut.

License

GPL-3.0, BSD-2-Clause licenses found

Licenses found

GPL-3.0
LICENSE
BSD-2-Clause
license.txt
Notifications You must be signed in to change notification settings

mineshmathew/Image-Stitching-using-Graphcut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

88dc27b · Jul 14, 2016

History

9 Commits
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Jul 14, 2016
Uses A wrapper library for Boykov and Kolmogorov max-flow/min-cut ... (c) 2008 Michael Rubinstein, WDI R&D and IDC
#################################

Ref : http://www.cc.gatech.edu/cpl/projects/graphcuttextures/
################################
1. Run the image_synthesis.m with the follwing arguments
	first argument - your first image - image 1
	second argument - image on which the first needs to be overlaid - image 2
2.User interaction
	A)User has to choose the offset of the image 1 with respect to image 2. The image 2 will be displayed and user is asked to select the position where he/she wants to place the top left corner of the image 1, on image 2.
 	B)Pixels in the image 2 which is not covered after placing the image 1 are taken as the ones that should compulsorily come from image 2. 
	C)Now the image 1 is displayed to the user and he is asked to choose rectangular area, which he wants to compulsorily belong to image 1 in the final output image.
	D)See this 1 minute video for  better understanding of the process http://www.youtube.com/watch?v=qiGggrQpgD4( turn on annotations)
3. there are three outputs .
	alignment image- image showing alignment of image 1 over image 2 and constraints set by the user
	label image - labels for each pixel after graph cut
	output image - final synthesized image

About

Matlab code to stitch an image to another using graphcut.

Resources

License

GPL-3.0, BSD-2-Clause licenses found

Licenses found

GPL-3.0
LICENSE
BSD-2-Clause
license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published