Restoring images degraded by adverse weather remains a significant challenge due to the highly non-uniform and spatially heterogeneous nature of weather-induced artifacts, e.g., fine-grained rain streaks versus widespread haze. Accurately estimating the underlying degradation can intuitively provide restoration models with more targeted and effective guidance, enabling adaptive processing strategies. To this end, we propose a Morton-Order Degradation Estimation Mechanism (MODEM) for adverse weather image restoration. Central to MODEM is the Morton-Order 2D-Selective-Scan Module (MOS2D), which integrates Morton-coded spatial ordering with selective state-space models to capture long-range dependencies while preserving local structural coherence. Complementing MOS2D, we introduce a Dual Degradation Estimation Module (DDEM) that disentangles and estimates both global and local degradation priors. These priors dynamically condition the MOS2D modules, facilitating adaptive and context-aware restoration. Extensive experiments and ablation studies demonstrate that MODEM achieves state-of-the-art results across multiple benchmarks and weather types, highlighting its effectiveness in modeling complex degradation dynamics. Our code will be released at https://github.com/hainuo-wang/MODEM.git.
翻译:恢复因恶劣天气而退化的图像仍然是一个重大挑战,这源于天气引起的伪影具有高度非均匀和空间异质性的特点,例如细粒度雨纹与广泛雾霾。准确估计潜在的退化可以直观地为恢复模型提供更具针对性和有效的指导,从而实现自适应处理策略。为此,我们提出了一种用于恶劣天气图像恢复的Morton序退化估计机制(MODEM)。MODEM的核心是Morton序二维选择性扫描模块(MOS2D),该模块将Morton编码的空间排序与选择性状态空间模型相结合,以捕获长程依赖关系,同时保持局部结构连贯性。作为MOS2D的补充,我们引入了双重退化估计模块(DDEM),用于解耦并估计全局和局部退化先验。这些先验动态地调节MOS2D模块,促进自适应和上下文感知的恢复。大量的实验和消融研究表明,MODEM在多个基准测试和天气类型上实现了最先进的结果,突显了其在建模复杂退化动态方面的有效性。我们的代码将在 https://github.com/hainuo-wang/MODEM.git 发布。