Abstract:To address severe stripe noise from inherent pixel defects in image sensors and the limitations of conventional correction approaches including frequent recalibration and detail loss induced by over-smoothing in global moment-matching, this paper presents a non-uniformity correction method based on optimal-segmentation moment matching for real-time processing under limited hardware resources. Initially,the input image is preprocessed via column feature analysis, followed by order-preserving blocking via the Fisher algorithm. Similar column blocks with differences below the threshold are merged using the union-find algorithm, and moment-matching correction is executed on each block to generate the corrected output. Experimental results show that the proposed method reduces the PRNU of the flat-field image from 4.86% to 0.80% and the DSNU from 1.73% to 0.77%; for a standard detail image with column stripes, the PSNR is improved from 22.48 dB to 33.21 dB, which is 1.66 dB and 7.04 dB higher than the two-point method (31.55 dB) and global moment matching (26.17 dB), respectively. The selection of the segment number k and the two thresholds is further justified by the experimental verification and sensitivity analysis, and the method is verified on images captured by a real image sensor. It effectively suppresses photo-response non-uniformity while preserving image details, and features favorable portability and hardware-friendliness for small-area, low-power scenarios.