2D and 3D photoresist line roughness characterization