zarathoustra Posted February 21, 2010 Share Posted February 21, 2010 You can download now: See link in next post (Updated 2010-02-21) Color Inpainting This plugin colors gray areas in a picture where colors are only known in few parts of the picture. If your picture is already fully colored, applying this filter will NOT change anything. Quick steps: 1) Open a color picture. 2) Make a rectangle selection in the middle of the picture. 3) Apply Adjustement -> Black and white to the selection 4) Deselect. 5) Apply this filter (Color -> Color inpainting) It will color the area where you removed it. The plugin implements "Fast Image and Video Colorization Using Chrominance Blending", Yatziv and Sapiro, 2006. Manual Color This plugin lets you colorize a selection with the color of your choice. Quick steps: 1) Open a black and white picture. (Or turn a color picture into black and white) 2) make a selection with the lasso. 3) Apply Color -> Manual color with the color of your choice. Using together These two plugins are ment to be used together in real life scenario. It attempts to solve the problem of colorizing a completely black and white picture semi-automatically. Quick steps: 1) Open your black and white picture 2) Apply Adjustement -> Black and white, to make sure it's really black and white. Info: A black and white looking JPEG picture is not necessarily REALLY black and white. JPEG uses the fact your eyes are not too sensible to colors to seamlessly alter them. Then, a pixel that was a real shade of gray, after being saved in JPEG format, can become something that looks like a shade of gray but isn't. In this case, this plugin will detect such pixels as colored, and will not color them. Actually, it will even propagate that color which is a shade of gray. 3) Using the lasso and the "Manual color" plugin, colorize some parts of the picture. 4) Apply "Color inpainting" to color automatically the rest of the picture. 5) If you are not satisfied with the result, cancel, colorize more parts of the picture, and go to 4). Grayed: Recolored: Known issues [*:1vdxvq8o] Luminosity is not preserved. Quote Link to comment Share on other sites More sharing options...
zarathoustra Posted February 21, 2010 Author Share Posted February 21, 2010 Color Inpainting v1.0 (2010-02-21) ColorInpainting.2010-02-21.zip Quote Link to comment Share on other sites More sharing options...
Mike Ryan Posted February 21, 2010 Share Posted February 21, 2010 This is very impressive work. A+! I think it should be stickied... Quote Link to comment Share on other sites More sharing options...
csm725 Posted April 20, 2010 Share Posted April 20, 2010 Oh my god, that's seamless. Here are some before and afters: Before: B+W: After: If you want to put them in your original post, feel free to do so: Before: [img=http://img163.imageshack.us/img163/2529/colorin1.png] B+W: [img=http://img153.imageshack.us/img153/6984/colorin2.png] After: [img=http://img707.imageshack.us/img707/3969/colorin3.png] Quote My deviantART | Sig Battles | My Tutorials | csm725.com Click to enter or vote in the official Paint.NET competitions! COMPETITIONS: LOGO OF THE WEEK Link to comment Share on other sites More sharing options...
zarathoustra Posted April 21, 2010 Author Share Posted April 21, 2010 Thanks for the pictures, but i'm not working on this plugin for now. It was just a proof of concept. It shows that the technique in the paper I got can be successfully (and easily) implemented and gives good results and also that it's not fast enough for realtime unlike what the paper's authors said. Because they are implemented as filters, the interactivity is terrible, and luminosity is altered several times. It would be much nicer as a tool, in pdn's tool bar or with a canvas window like pyrochild's plugins. I'm not working on that now. Maybe later... who knows... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.