Infrared temperature measurement and increasing infrared measurement accuracy in the context of machining process