Advancing Optical Metrology Through Computational Imaging Techniques