Repository navigation
语义分割与RGB融合叠加显示功能 - #4189
Merged
Merged
语义分割与RGB融合叠加显示功能#4189
Conversation
donghaiwang
approved these changes
Dec 21, 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图像融合叠加显示功能,支持透明度调节,重构多视角可视化布局,全兼容原有语义计数/目标高亮/热力图等功能
修改的详细描述
semantic_rgb_fusion:实现RGB图像(底层)与语义分割图像(上层)的透明叠加,通过alpha参数(0~1)调节语义层透明度(默认0.3),兼顾RGB真实场景视觉效果与语义类别辨识度;函数内自动生成语义彩色图,叠加融合说明文字和关键类别颜色提示,无视觉遮挡。Fusion Alpha参数实时显示,融合图标题标注「Semantic-RGB Fusion」,窗口名称同步更新为CARLA Multi-View + Semantic-RGB Fusion + Count + Highlight,命名与功能完全匹配。经过了什么样的测试?
1.操作系统:Windows 11
2. Python版本:3.7.16(CARLA 0.9.15官方推荐版本)
3. 测试流程:
q或Ctrl+C退出,验证摄像头/行人/车辆资源是否完全清理。运行效果
2025-12-21.101534.mp4
动图、视频、截图等