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

如何将CDD数据集的label图像灰度值从0-255转换成0-1 #13

Open
stiwfmjX opened this issue Jul 19, 2022 · 0 comments
Open

如何将CDD数据集的label图像灰度值从0-255转换成0-1 #13

stiwfmjX opened this issue Jul 19, 2022 · 0 comments

Comments

@stiwfmjX
Copy link

您好,我想用CDD数据集进行训练,但是我发现CDD数据集里的label图片是灰度图,每个像素点的灰度值介于0-255之间,我不知道怎么将图片变为值只有0和255的二值图,请问您是怎么处理灰度值介于0-255之间的像素的呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant