Automated acquisitions in microscopy may come along with strong illumination artifacts due to poor physical imaging conditions. Such artifacts obviously have direct consequences on the efficiency of an image analysis algorithm and on the quantitative measures. In this paper, we propose a method to correct illumination artifacts on biological images. This correction is based on orthogonal polynomial modeling, combined with stationary maximization criteria. To validate the proposed method we show that we improve particle detection algorithm.