Mamba image restoration drops fixed scans: CoScan learns a per-image traversal and lifts three backbones
Mamba-based image restoration must flatten a 2D feature map into a 1D sequence, and a fixed scan order can split apart neighboring pixels in degraded images. CoScan learns the scan order from image content: a differentiable proxy evaluator supervises scan quality, multi-scale traversals are coarsened from a fine-level minimum spanning tree, and a frequency-domain saliency map picks the start. Plugged into MambaIR, EAMamba and MaIR, it improves low-light enhancement, deblurring, raindrop removal, dehazing and super-resolution benchmarks without adding computation overhead.