Notes: Image Processing and Numerical Optimization