新增核心功能:RGB与语义分割图像横向拼接显示,单窗口对比#3241
Merged
Merged
Conversation
donghaiwang
approved these changes
Dec 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修改概述:
新增RGB与语义分割图像横向拼接显示功能,单窗口直观对比原始画面与分割结果,优化图像格式一致性
修改的详细描述
经过了什么样的测试?
测试步骤与结果:
python src/carla_semantic_stitch.py;① 拼接窗口正常显示(2048×720分辨率),左为RGB画面,右为语义分割彩色画面;
② 车辆/行人/道路等语义类别颜色区分清晰,与RGB画面时序完全同步;
③ 无拼接格式报错(alpha通道移除生效);
④ 按'q'/Ctrl+C退出后,所有资源清理干净,CARLA可正常复用;
⑤ 视角跟随无抖动,NPC自动驾驶行为稳定。
运行效果
动图、视频、截图等
2025-12-15.102823.-.Trim.-.Trim.-.Trim.mp4