Most microscope software provides options for line average or line integrate as a function that helps the signal to noise ratio when taking an image. The math behind line average seems straight forward, but not so much for line integrate.
Line average takes X number of scans per pixel and averages the scans into a final pixel intensity. The same principal of multiple scans for a single pixel is taken for line integrate, but the math involved in the integration of the intensity is not clear to me. I assume it involves summing pixel intensity and operating on that somehow, but it simultaneously is able to reduce noise in the system so I am not sure what else it is doing.