Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[General Issue]如何更有效的使用tiff格式(或img格式)的图像? #198

Closed
tms2003 opened this issue May 21, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@tms2003
Copy link

tms2003 commented May 21, 2024

我想尝试一下paddlers中的一些内容,比如:变化检测。但是手中的材料都是tiff的大图(或shape图/img图)。
现有的教程都没有一个使用了这些格式的,主要是显示查看不大方便。
我使用tools中的split.py进行了大图切分,切成了小图,但仍然是tiff格式的。
是否有一些示例或步骤可以更好的演示这些格式的图像应当如何被有效的利用?

@tms2003 tms2003 added the question Further information is requested label May 21, 2024
@github-actions github-actions bot added triage new issue/PR waiting to be dealed and removed triage new issue/PR waiting to be dealed labels May 21, 2024
@Bobholamovic
Copy link
Member

你好,PaddleRS支持直接使用TIFF、IMG等格式的图像,而不需要将它们转换为PNG、JPEG等视觉领域常见的图像格式,从而保留和利用图像中存储的地理空间信息。对于TIFF、IMG等格式的图像,包括split.py脚本的切分结果,可以使用ArcGIS、ENVI等遥感专业软件查看。此外,如果你确实需要将图像转换为PNG、JPEG等格式,可以考虑使用PaddleRS的波段选择标准化数据变换算子处理paddlers.transforms.decode_image解码的图像,然后使用OpenCV、scikit-image等库将图像保存为预期的格式。

@tms2003 tms2003 closed this as completed May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants