HoucaiGuo / OBSUM-code

OBSUM: An object-based spatial unmixing model for spatiotemporal fusion of remote sensing images
8 stars 0 forks source link

How to read the tif data with 4 channels? #1

Open panbaojing opened 1 month ago

panbaojing commented 1 month ago

How to read the tif data with 4 channels? The most common images are single channels or three channels. What does four channels mean?

HoucaiGuo commented 1 month ago

How to read the tif data with 4 channels? The most common images are single channels or three channels. What does four channels mean?

Thank you for your questions. Normally, 4-channel RS images contain the Blue, Green, Red, and Near-Infrared bands. You can use our code to directly read 4-channel images. Please see the defination of function read_raster() in functions.py, and its usage in other ###.py files. If you have any other questions, please feel free to contact me via GitHub or Email.

panbaojing commented 1 month ago

您好,可以再找您咨询一个问题么?为什么我的图片这么黑呢?我直接把tif的四个通道单通道成了图像,是否还需要额外的步骤呢?

粉色水晶 @.***

------------------ 原始邮件 ------------------ 发件人: "HoucaiGuo/OBSUM-code" @.>; 发送时间: 2024年5月21日(星期二) 凌晨0:32 @.>; @.**@.>; 主题: Re: [HoucaiGuo/OBSUM-code] How to read the tif data with 4 channels? (Issue #1)

How to read the tif data with 4 channels? The most common images are single channels or three channels. What does four channels mean?

Thank you for your questions. Normally, 4-channel RS images contain the Blue, Green, Red, and Near-Infrared bands. You can use our code to directly read 4-channel images. Please see the defination of function read_raster() in functions.py, and its usage in other ###.py files. If you have any other questions, please feel free to contact me via GitHub or Email.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

panbaojing commented 1 month ago

Hello, may I ask you another question? Why is my picture so black? I directly take out the single channel of tif data for imaging, do I need additional steps?

粉色水晶 @.***

------------------ 原始邮件 ------------------ 发件人: "HoucaiGuo/OBSUM-code" @.>; 发送时间: 2024年5月21日(星期二) 凌晨0:32 @.>; @.**@.>; 主题: Re: [HoucaiGuo/OBSUM-code] How to read the tif data with 4 channels? (Issue #1)

How to read the tif data with 4 channels? The most common images are single channels or three channels. What does four channels mean?

Thank you for your questions. Normally, 4-channel RS images contain the Blue, Green, Red, and Near-Infrared bands. You can use our code to directly read 4-channel images. Please see the defination of function read_raster() in functions.py, and its usage in other ###.py files. If you have any other questions, please feel free to contact me via GitHub or Email.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

HoucaiGuo commented 1 month ago

您好,可以再找您咨询一个问题么?为什么我的图片这么黑呢?我直接把tif的四个通道单通道成了图像,是否还需要额外的步骤呢? 粉色水晶 @. ------------------ 原始邮件 ------------------ 发件人: "HoucaiGuo/OBSUM-code" @.>; 发送时间: 2024年5月21日(星期二) 凌晨0:32 @.>; @*.**@*.>; 主题: Re: [HoucaiGuo/OBSUM-code] How to read the tif data with 4 channels? (Issue #1) How to read the tif data with 4 channels? The most common images are single channels or three channels. What does four channels mean? Thank you for your questions. Normally, 4-channel RS images contain the Blue, Green, Red, and Near-Infrared bands. You can use our code to directly read 4-channel images. Please see the defination of function read_raster() in functions.py, and its usage in other ###.py files. If you have any other questions, please feel free to contact me via GitHub or Email. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

你好,麻烦您用邮件给我发一下您的qq或者wx,我加一下您然后私聊吧。我的邮箱houcai.guo@unitn.it

panbaojing commented 1 month ago

微信:13368999478 啊啊啊啊太感谢您了!!!!

粉色水晶 @.***

 

------------------ 原始邮件 ------------------ 发件人: "HoucaiGuo/OBSUM-code" @.>; 发送时间: 2024年5月21日(星期二) 晚上8:46 @.>; @.**@.>; 主题: Re: [HoucaiGuo/OBSUM-code] How to read the tif data with 4 channels? (Issue #1)

您好,可以再找您咨询一个问题么?为什么我的图片这么黑呢?我直接把tif的四个通道单通道成了图像,是否还需要额外的步骤呢? 粉色水晶 @. … ------------------ 原始邮件 ------------------ 发件人: "HoucaiGuo/OBSUM-code" @.>; 发送时间: 2024年5月21日(星期二) 凌晨0:32 @.>; @.@.>; 主题: Re: [HoucaiGuo/OBSUM-code] How to read the tif data with 4 channels? (Issue #1) How to read the tif data with 4 channels? The most common images are single channels or three channels. What does four channels mean? Thank you for your questions. Normally, 4-channel RS images contain the Blue, Green, Red, and Near-Infrared bands. You can use our code to directly read 4-channel images. Please see the defination of function read_raster() in functions.py, and its usage in other ###.py files. If you have any other questions, please feel free to contact me via GitHub or Email. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

@.***

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>