Calculus of variations and data fusion. Methods and examples.