added difference merge function
first version of fov segmentation