Efficient Algorithms for Global Optimization Methods in Computer Vision