TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Color-Diffusion: using diffusion models to colorize black and white images

311 pointsby dvrpalmost 2 years ago

13 comments

erwannmillonalmost 2 years ago
Btw, I did this in pixel space for simplicity, cool animations, and compute costs. Would be really interesting to do this as an LDM (though of course you can&#x27;t really do the LAB color space thing, unless you maybe train an AE specifically for that color space. )<p>I was really interested in how color was represented in latent space and ran some experiments with VQGAN clip. You can actually do a (not great) colorization of an image by encoding it w&#x2F; VQGAN, and using a prompt like &quot;a colorful image of a woman&quot;.<p>Would be fun to experiment with if anyone wants to try, would love to see any results if someone wants to build
评论 #36993183 未加载
评论 #36993066 未加载
data-ottawaalmost 2 years ago
Off topic: this has an absolutely 90’s sci-fi movie effect watching the gifs, it’s funny how the tech just wound up looking like that.
评论 #36992464 未加载
ChrisArchitectalmost 2 years ago
Author&#x27;s writeup on this from May: <a href="https:&#x2F;&#x2F;medium.com&#x2F;@erwannmillon&#x2F;color-diffusion-colorizing-black-and-white-images-with-diffusion-models-269828f71c81" rel="nofollow noreferrer">https:&#x2F;&#x2F;medium.com&#x2F;@erwannmillon&#x2F;color-diffusion-colorizing-...</a>
asciimovalmost 2 years ago
I’m not a fan of b&amp;w colorization. Often the colors are wrong, either outright color errors (like choices for clothing or cars) or often not taking in to account lighting conditions (late in day shadows but midday brightness).<p>Then there is the issue of B&amp;W movies. Using this kind of tech might not give pleasing results as the colors used for sets and outfits were chosen to work well for film contrast and not for story accuracy. That “blue” dress might really be green. (Please, just leave B&amp;W movies the way they are.)
评论 #36993451 未加载
评论 #36994021 未加载
评论 #36993860 未加载
评论 #36995997 未加载
评论 #37000657 未加载
评论 #36993211 未加载
评论 #36993464 未加载
buildbotalmost 2 years ago
Does it work on arbitrary image sizes?<p>One of the nice features of the somewhat old Deoldify colorizer is support for any resolution. It actually does better than photoshops colorization: <a href="https:&#x2F;&#x2F;blog.maxg.io&#x2F;colorizing-infrared-images-with-photoshop&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;blog.maxg.io&#x2F;colorizing-infrared-images-with-photosh...</a><p>Edit - technically, I suppose, the way Deoldify works is by rendering the color at a low resolution and then applying the filter to a higher resolution using OpenCV. I think the same sub-sampling approach could work here...
评论 #36992722 未加载
snvzzalmost 2 years ago
All the examples are portraits of people.<p>I have to wonder whether it works well with anything else.
评论 #36991406 未加载
realusernamealmost 2 years ago
Is there anything that exists right now with diffusion models to improve poor VHS coloring? The coloring does exist so I would not want to replace a red shirt by a blue shirt for example but it&#x27;s just not very accurate.
quickthrower2almost 2 years ago
That is so 2023 and so 1993 at the same time!
ameliusalmost 2 years ago
Could this type of modeling be used to generate segmentations of images?
aziaziazialmost 2 years ago
How much would it cost to colorize a movie with a fork of this?
评论 #36992082 未加载
评论 #36992134 未加载
评论 #36992078 未加载
iamflimflam1almost 2 years ago
I wonder if this can be used for color correction in videos.
jurassicalmost 2 years ago
This is a cool party trick, but I don&#x27;t see a need for this in any real applications. Black and white is its own art form, and a lot of really great black and white images would look like absolute garbage if you could convert them to color. This is because the things that make a great black and white image (dramatic contrasts, emphasis on shape&#x2F;geometry, texture, etc) can lose a lot of their impact when you introduce color. Our aesthetic tolerance for contrast seems significantly reduced in color because our expectations for the image are more anchored in how things look in the real world. And colors which can be very pleasing in some images are just distracting in others.<p>So all this is to say.... I don&#x27;t think there would be commercial demand to, say, &quot;upgrade&quot; classic movies with color. Those films were shot by cinematographers who were steeped in the black &amp; white medium and made lighting and compositional choices that take greatest advantage of those creative limitations.
评论 #36992849 未加载
评论 #36992504 未加载
评论 #36992557 未加载
评论 #36993792 未加载
评论 #36995982 未加载
评论 #36992910 未加载
评论 #36992694 未加载
评论 #36992811 未加载
bemusedthrow75almost 2 years ago
Colourising old photographs is the banal apotheosis application of diffusion AI.<p>It&#x27;s the pinnacle of the whole thing: &quot;imagine it for me in a way that conforms to my contemporary expectations&quot;.<p>If you&#x27;re going to colourise images, have the decency to do it by hand. If possible on a print with brushes.<p>Edit: didn&#x27;t think this would be popular. Maybe it&#x27;s the historical photography nerd in me, but colourising images without effort and thought is like smashing vintage glass windows for the fun of it: cultural vandalism.
评论 #36992333 未加载
评论 #36991770 未加载
评论 #36991849 未加载
评论 #36992122 未加载
评论 #36991832 未加载
评论 #36992301 未加载
评论 #36991720 未加载
评论 #36992174 未加载