1. A method of performing infrared image processing on infrared image data, the method comprising: receiving one or more infrared image frames of the infrared image data; calculating a median value of an X-shaped kernel surrounding each pixel of the infrared image frame; and providing a low-frequency reference frame based on the calculating.