检查文件是否包含背景
- 将文件拖入QGis中,等待文件加载完成

- 打开Identify Features功能

-
点击图片边缘位置获取栅格像素信息
image-20220329143422112.png
像素信息包含4个波段,分别代表RGBA。
当前鼠标所指位置,看似无背景,但实际存在透明度为0,颜色为(255,255,206)的背景

记录发现的背景RGB值。
去除背景
- 在使用CesiumLab切图的过程中,点击配置,背景透明选项选择透明色,数据填入上一步获取到的背景RGB值

点击图片边缘位置获取栅格像素信息
像素信息包含4个波段,分别代表RGBA。
当前鼠标所指位置,看似无背景,但实际存在透明度为0,颜色为(255,255,206)的背景
记录发现的背景RGB值。
本文标题:tiff格式数据去除背景教程
本文链接:https://www.haomeiwen.com/subject/ckojprtx.html
网友评论