Closed lulu1315 closed 8 years ago
ok sorry I've get it.RGB to HSV gives me what I need.
I have same problem. How do you obtain chrominance map of image? And how (using wich application...) can you rescale and combine it? Thanks.
I use ImageMagick ... something like this convert imagein.png -colorspace YUV -separate imageyuv%d.png you will have 3 images then resize imageyuv%d.png and recombine convert image_yuv_1.png image_yuv_2.png image_yuv_3.png -set colorspace YUV -combine -colorspace sRGB final.png
Thank you for your precious tip. I have another question: had I to resize all the three images that I obtain with string “convert imagein.png -colorspace YUV -separate imageyuv%d.png”? How do you make resize operation? Thank you. You are very precious for me. Geppe Inserra
imagemagick can resize : http://www.imagemagick.org/Usage/resize/
Many thanks! Then, i have to resize with imagemagick the three images (image_yuv_0.png, image_yuv_1.png, image_yuv_2.png) that i obtain with your initial string. Is that so?
Il giorno 15 giu 2017, alle ore 11:00, luc notifications@github.com ha scritto:
imagemagick can resize : http://www.imagemagick.org/Usage/resize/ http://www.imagemagick.org/Usage/resize/ — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/satoshiiizuka/siggraph2016_colorization/issues/9#issuecomment-308672613, or mute the thread https://github.com/notifications/unsubscribe-auth/AbyrPd3X991d4WjJYZ_XeBp_T8WA9YOgks5sEPLFgaJpZM4IpGpn.
Excuse me. I resized the three images, the i recombine… but final image loses resolution…. Sigh.
Il giorno 15 giu 2017, alle ore 11:00, luc notifications@github.com ha scritto:
imagemagick can resize : http://www.imagemagick.org/Usage/resize/ http://www.imagemagick.org/Usage/resize/ — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/satoshiiizuka/siggraph2016_colorization/issues/9#issuecomment-308672613, or mute the thread https://github.com/notifications/unsubscribe-auth/AbyrPd3X991d4WjJYZ_XeBp_T8WA9YOgks5sEPLFgaJpZM4IpGpn.
the first one (luminance) should come from your original image ... you rescale the u and v and then recombine
Thank you very muck. Now it works!!!
Il giorno 15 giu 2017, alle ore 12:19, luc notifications@github.com ha scritto:
the first one (luminance) should come from your original image ... you rescale the u and v and then recombine
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/satoshiiizuka/siggraph2016_colorization/issues/9#issuecomment-308691022, or mute the thread https://github.com/notifications/unsubscribe-auth/AbyrPYaNsvYjNkXCpid2S1TUgZ43a_FQks5sEQU9gaJpZM4IpGpn.
hello and thanks for all that. "Note that you can process a small imageto obtain the chrominance map and then rescale it and combine it with the original grayscale image for higher quality." how would you do that ? thanks in advance luc