The article focuses on two 3D optical imaging technologies and the application of these technologies to nondestructive testing: laser line scanning and structured light. Both technologies determine depth based on triangulation between a light source, the object under inspection, and a camera sensor. Both technologies have demonstrated accuracy, precision, and probabilities of detection sufficient to meet the demands of nondestructive testing. The second part of the article focuses on the application of 3D imaging in the assessment of corrosion on pipelines. In this application, 3D imaging is used to identify areas of corrosion, determine the maximum amount of metal loss, extract the river bottom profile, and calculate the remaining strength of a pipeline. Keywords: optical testing, 3D imaging, laser scanning, structured light, pipeline, corrosion profile, metal loss, maximum allowable pressure.