Adaptive Primal-Dual Splitting Methods for Statistical Learning and Image Processing