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

Color Degradation #123

Open
capucapon opened this issue May 18, 2021 · 2 comments
Open

Color Degradation #123

capucapon opened this issue May 18, 2021 · 2 comments

Comments

@capucapon
Copy link

Hi, when i use your code; the black and white outputs are pretty good but i get color degradation in multiple spots on the output images. Is there a way to fix this or am i doing it wrong? This type of issue already mentioned in this section as i see here however didn't get an answer. I atteched some related photos that i get the problem on as an example.
sea_boat_aerial_view_141932_512x512_result
sea_boat_aerial_view_141932_1280x1024

@Mrlawrance
Copy link

Maybe these pixels >255 or <0.
You can try to add
output[output>255.0]=255.0
output[output<0.0]=0.0
at line 599 in DCSCN.py.
May you can fix this problem.

@fangichao
Copy link

have you solved this problem? and how to solve it? thks!

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

3 participants