Methods for colour matching/colour grading

  • Reply
  • Print
Max_Rebo's avatar
RE: Methods for colour matching/colour grading
This is something I've been looking at for my '97 SE project, I found the same problems with colourlike i.e. the grainy result, and like you realised I would need to approximate values for a smooth curve.

another way to improve the results (you may already be doing this but I know some people don't) is making sure your two sample histograms are taken from exactly the same frames from each source.

I tried to implement the method from the paper Laserman mentioned by rotating the colourspace in avisynth and using repeated iterations of colourlike, but this resulted in further problems because the rotations had to be normalized to 255 which lead to further graininess when it was rotated back. (am I making any sense?)

In the end I decided the only way I would get suitable results was to write a new Avisynth pluggin based on the paper Laserman mentioned and using a method similar to colourlike but smoothing out the target histogram and including several random colour-space rotations within the pluggin. Basically you'll never get a really good result without considering multiple colour-spaces as there is a problem with crosstalk between the colour channels (which is something the author of colourlike was willing to admit)

Therefore I am currently learning C++ (I have previous programming experience but not in anything C based) hopefully I'll have something useful in a couple of weeks.

However, considering the limitations of colourlike your results are already quite good.
Last edited on June 10, 2008 at 1:13 PM by Max_Rebo
pittrek's avatar
RE: Methods for colour matching/colour grading

Sorry but can anybody give me a link to the colourlike filter ?

The link in the doom9 thread does not work :(

pittrek's avatar
RE: Methods for colour matching/colour grading
Moth3r said:

http://avisynth.org/warpenterprises/files/colourlike_25_dll_20050825.zip

 

Thanks a lot :)

Sluggo's avatar
RE: Methods for colour matching/colour grading

It would be interesting to plug the lost scenes of Luke and Biggs into that program.

Kiss a wookiee, kick a droid.  Fly the Falcon through an asteroid.

Master Qui-Gon's avatar
RE: Methods for colour matching/colour grading
Sluggo said:

It would be interesting to plug the lost scenes of Luke and Biggs into that program.

 

Yeah that should definitely be done!

Master Qui-Gon 

ThrowgnCpr's avatar
RE: Methods for colour matching/colour grading

wow, thats pretty cool!! it would make for a great plug-in to a video editor.

bkev's avatar
RE: Methods for colour matching/colour grading

So, anyone gonna plug that into Luke & Biggs' scene?


  C3PX said:

The Star Wars you see today is not the Star Wars I grew up with, and I am fine with that, it is just a memory now, something that glimpses of can be seen by peering into boxes stored away in my basement, and that recollections of can be shared with people who grew up with it in a similar was to myself, like many of the people on this board. What more could I ask for?

negative1's avatar
RE: Methods for colour matching/colour grading

ok, got the pureimage program, lots of fun to play with, and very quick..

but you still need to tweak parameters...but it does a lot of work for you..

doing one image at a time, could work, if you use the same reference images

per scene.... not sure if you could automate it though..

http://img402.imageshack.us/img402/8155/pure001testskh8.jpg

later

-1

[no GOUT in HD?->gout stabilize  ->color correction ->upscaling to HD ->GOUT IN HD !] <no i still don't like newsgroups, just not as badly!>

Orinoco_Womble's avatar
RE: Methods for colour matching/colour grading

I was just having a look at the autodesk combustion page and they mentioned that one of the things they say it can do is quote: "Precise and automatic color matching of footage from different sources".  This might be the sort of thing that you're after Moth3r.  Has anyone looked into this s/w or used it before and can comment?

If television is chewing gum for the mind, then the prequels are the worlds first visual laxative.

Thundercracker's avatar
RE: Methods for colour matching/colour grading

 

I decided to try out the demo for the PureImage program and I must say I am very impressed with the results. It's pretty accurate. Not sure how it could be applied for video, I tried a couple ideas but it didn't work out.

It would be great if this could be used somehow. I know color correcting manually on my project continually makes me want to pull my hair out.

Anyone have any suggestions on what source in terms of color would be best to test out besides the GOUT?

 

Here's a couple random frames using the GOUT as reference (Top is SE, Middle is GOUT, Bottom is Adjusted):

And here's a short clip by recoloring and saving each frame then converting the sequence to avi (which is very time consuming).

http://www.sendspace.com/file/fj56gu

 

Last edited on November 17, 2008 at 10:47 AM by Thundercracker
Thundercracker's avatar
RE: Methods for colour matching/colour grading

Okay, edited in the GOUT images to previous post. Middle image is the GOUT. Although I didn't do it for the images above, a levels adustment also helps the color matched images since they can be a bit washed out.

Sorry about the framerate on the clip.


Thundercracker's avatar
RE: Methods for colour matching/colour grading

I found a somewhat faster way of applying this to a sequence of images so I've been experimenting with this quite a bit. Here's a couple more clips:

Han-Rebel Base

http://www.sendspace.com/file/781nbm

Luke/Taun-Taun

http://www.sendspace.com/file/jie7is

I don't think it's perfect but it's definitely the closest color matcher I've seen so far. Not all the shots I've tried so far have come out great but I think's that due more to the gout quality. For example, spaces scenes don't come out well at all and the snow scenes aren't that great either or are inconsistent.

Last edited on November 19, 2008 at 3:09 AM by Thundercracker
Orinoco_Womble's avatar
RE: Methods for colour matching/colour grading

It would be interesting to see this process applied to the very first pic that Moth3r posted of the pre-THX LD.

If television is chewing gum for the mind, then the prequels are the worlds first visual laxative.

Thundercracker's avatar
RE: Methods for colour matching/colour grading

Has anyone tried this avisynth plugin: http://avisynth.org/vcmohan/HistogramAdjust/HistogramAdjust.html before?

Adjusts the histogram of a frame by either equalizing it or by matching with histogram of another image, or with given histogram table of values.

 

Orinoco_Womble, I did try the PureImage program on the shots Moth3r posted but they didn't come out well at all.

Last edited on December 9, 2008 at 11:54 PM by Thundercracker
Orinoco_Womble's avatar
RE: Methods for colour matching/colour grading

Yeah, I had a go on Moth3rs shots as well and I totally agree with you.  Didn't work unfortunately :(

If television is chewing gum for the mind, then the prequels are the worlds first visual laxative.

skyjedi2005's avatar
RE: Methods for colour matching/colour grading

I tried restoring a scan of a 70mm film cel of return of the jedi using that PureImage demo.  i used the a frame from the gout as the color source.   Ended up looking like shit because of the quality of the scan, the guy who did those reference photos probably used a platbed scanner.

Vader did not end up looking too bad but Jejerrods image was, bad is an understatement.

Also i thought while watching the gout of jedi that the image had good colors and was sharper than i ever seen it, then i noticed the detail levels on the blacks being noticeably bad because of dvnr they looked washed out and almost grey.

Now not sure if this was the software i was using to playback the movie, nero showtime.

Last edited on September 2, 2009 at 4:51 PM by skyjedi2005

" A special effect without a story is a pretty boring thing" - George Lucas

There is only 1 Star Wars Trilogy.  1977-1983. 

Members reading this topic: None