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

how to convert output gray image to rgb? #1

Open
twinsyssy1018 opened this issue Dec 7, 2016 · 1 comment
Open

how to convert output gray image to rgb? #1

twinsyssy1018 opened this issue Dec 7, 2016 · 1 comment

Comments

@twinsyssy1018
Copy link

hi ,thanks for your sharing. could you tell me how to convert the output gray image to color ? thank you very much.

@seunghwanyoo
Copy link
Owner

Hi, thanks for your interest.
Both input and output images are of RGB format. But it converts RGB into YCbCr and the algorithm is applied only to Y channel. For Cb and Cr channels, bicubic interpolation is used instead. At the end, Y channel and CbCr channels in high-resolution are combined and converted into RGB back (convert_y2rgb()).

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

2 participants