Bilateral filter-based adaptive nonuniformity correction for infrared focal-plane array systems