A Procedure to Integrate a CIS Sensor in an Additive Manufacturing Machine for In-Situ Digitizing of Deposited Material Layers