| Algorithm 1: Adaptive Bridge Controller (ABC) | ||
| [1] |
Input: Self-denoised tensors (), Mid-level semantic tensors () |
|
| [2] | Output: Semantic guidance for CMD | //Flow from clean sensor to noisier sensor |
| 1: | begin ABC module | |
| 2: | for each input do | |
| 3: | Common latent space | |
| 4: | ||
| 5: | Bidirectional Cross-attention | //Parallel operation |
| 6: | ||
| 7: | ||
| 8: | Calculate reliability scores for both modalities | |
| 9: | //Reliability for LiDAR | |
| 10: | //Reliability for Camera | |
| 11: | //Reliability difference | |
| 12: | //gating function | |
| 13: | if then | //LiDAR is more reliable |
| 14: | guidance mode ← “LiDAR to Camera” | //LiDAR guides Camera |
| 15: | semantic tensor ← | //LiDAR semantic tensor as cleane |
| 16: | noisy tensor ← | //Camera as noisy modality |
| 17: | else | |
| 18: | guidance mode ← “Camera_to_LiDAR” | //If Camera is more reliable |
| 19: | semantic tensor ← | //Use Camera semantic tensor |
| 20: | noisy tensor ← | //LiDAR is noisy |
| 21: | end if | |
| 22: | The guidance (semantic flow decision) | |
| 23: | ||
| 24: | return guidance | |
| 25: | end for | |
| 26: | End | |