Author Topic: Figured out how to give color to images.  (Read 1825 times)

0 Members and 1 Guest are viewing this topic.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Figured out how to give color to images.
« on: May 01, 2016, 01:50:40 AM »

Left = My edit. | Right = Original.

Took me 3 hours to figure out how to create an almost perfect restoration procedure. It involves some guessing, and is a bit tedious but it works.
Wanted to show off a bit. :3

PS. I totally didn't stay up until 4 AM making the above edit... and until 5 AM showing it off...
« Last Edit: May 01, 2016, 12:15:47 PM by LuaTenshi »
I cry every time I see that I am not a respected member of this community.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Figured out how to give color to images.
« Reply #1 on: May 02, 2016, 12:17:50 PM »
Hey, my forum time says you posted only at 2:50AM- that's not bad at all!  ;D What program/library did you use to do the restoration?

.. Better than that time I worked on XGUI all night till 7AM once...
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Figured out how to give color to images.
« Reply #2 on: May 02, 2016, 11:13:25 PM »
Hey, my forum time says you posted only at 2:50AM- that's not bad at all!  ;D What program/library did you use to do the restoration?

I used Photoshop. I am a photoshop queen!

I have no idea about the math/logic behind it because the Photoshop code is probably so closely guarded that the adobe CEO has it on an encrypted USB inside a signal/bullet/bomb proof suitcase surgically attached to his arm, while he sleeps in his underground bunker in a forest filled with highly trained guard animals, and automated turrets.

What you do is you negate the color you don't want via the "color" filter in photoshop and then bring back some colours where you feel you need them.
« Last Edit: May 02, 2016, 11:17:52 PM by LuaTenshi »
I cry every time I see that I am not a respected member of this community.

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Figured out how to give color to images.
« Reply #3 on: May 03, 2016, 05:57:13 AM »
I would imagine Photoshop's color filter is just "adding" that color to all of the pixels. Something like taking the mean of each pixel's color and the color filter.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.