Convex Optimization in Image Processing