Changed generate priors to be a function and added in computation of the average image intensity values for the foreground and backgorund. Also made a function for u,v to weight conversion
Merge branch 'master' of https://github.com/animesh-garg/videoSeg
Merge branch 'master' of https://github.com/animesh-garg/videoSeg

Conflicts:
	src/generate_priors.m

Merged generate priors with shubham. Now it uses the startup script and can support downsampling