Quantcast
Channel: The Star Wars Trilogy - Tutorials
Viewing all 21 articles
Browse latest View live

Dr Dre's Magical Color Matching tool.

$
0
0

Written in MATLab, this great new tool can be used to match the colors of one image with that of another, with great accuracy. While this has a great many applications, it is also useful to Star Wars fans, struggling to color correct the official Blu-rays and DVDs to match the original versions they grew up with. It can also be used to match the colors of your replacement shot (where Greedo doesn't fire his blaster, or the Land Speeder cruises into Mos Eisley without being molested by CGI dinosaurs) with the surrounding footage, for a more seamless integration.

Here are some quick examples:

This is a scan of a 35mm frame from a theatrical print by Team Negative 1:

And here is the same frame from the Blu-ray:

Using Dr. Dre's tool, we can easily match the Blu-ray to the 35mm colors:

And since the latest version allows you to export the color change data as a LUT (lookup table), you need only match a single frame from each shot, and then can apply the LUT in DeVinci Resolve to an entire scene.

Any arguments over whether or not the Team Negative One scan, Harmy's Despecialized Edition, or your favorite laserdisc/VHS copy has the "Correct" colors is neither here nor there - using this tool you can recolor the Blu-ray or any version to match your own ideal Star Wars "Look". All you need is some sample frames from your preferred source.

Here we test it with a shot from an old, red faded print, and the results are very promising indeed...:

Look for more samples and tutorials on how to restore Star Wars, as soon as I can find the time to make them! In the meanwhile, I encourage you to download this tool and play with it.

ColorCorrectv1_3_pkg.zip (182 mb)

Instructions:

Extract the .exe file from the zip and run it to install the MATLAB runtime environment. In the directory where you downloaded the file to (and ran it) you will now find a new file called ColorCorrectv1_3.exe. You should be able to right click on it, and Run As Administrator, but that didn't work for me. I had to copy the file to:

C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32 

and run it from there (as Administrator) to make it work. The UI should be fairly self explanitory as it is just a set of buttons that you push more or less in order from top to bottom.

  1. Select a test image. This is the image that you want to change the colors OF. A figure will open, showing the image. You will be able to crop the frame, with your cursor. If you don’t want to crop the frame, close the figure window to be able to continue.
  2. Select a reference image. This is the image that you want to change the colors TO. A figure will open, showing the image. You will be able to crop the frame, with your cursor. If you don’t want to crop the frame, close the figure window to be able to continue.
  3. Build a color correction model. There are two model options: multi color space model (default), and single color space model. Multi space color space model is much more accurate, but also much slower (factor 10). Depending on the resolution/size of the images after cropping and your hardware, this may take 0-15 minutes (15 min for a 4K image) on an Intel Core i5. A figure will open showing you the test frame as it is being matched. With each iteration it should be closer to the reference. There is a stablization parameter that can be increased if there are artifacts in the colormatch/prediction. This may happen when color differences are extreme.
  4. Save the color correction model for later (optional).
  5. Import a color correction model (optional). Use this if you have already done steps 1-4 for an image in this shot and want to use the same settings again, e.g. for another shot in the same scene.
  6. Import any number of images, and color correct them with a color correction model you just built or imported. This will adjust all of the selected images to match the reference frame you selected in step 2. The images will be saved in a newly created directory named “Corrected” with the same name as the original images. Color correcting a frame may take anywhere between 5 and 20 seconds, depending on the resolution/size of the frame, and of course your hardware.
  7. Export a 3D LUT (lookup table) for use in other software programs, like Adobe After Effects (optional). For correct use, choose the sRGB setting in the software you want to use to import the LUT.

When building a color correction model you should consider the following:

  1. The model assumes the test and reference images (frames) are identical, aside from the color. In other words it’s important the images are cropped in the same way (to a reasonable degree). Incorrect cropping may lead to artifacts.
  2. When using a print or a low quality source as a reference, there may be color variations within the frame. For example some parts may be darker or brighter than others. If you use the full frame for building a color correction model, it will try and fail to reconcile these differences, resulting in artifacts. The best way to go, is to select a consistent part of the frame, select the same part for the reference, and then build the color correction model.
  3. In theory you can match any source to a reference, but there are limitations in practise. You have to consider that a limited color depth may result in artifacts. Crushed dark colors or blownout light colors are notoriously difficult to regrade, but they also may affect the color matching in other areas of the frame. In such cases increasing the stabilization parameter should reduce artifacts, but they are sometimes unavoidable.
  4. Although you could regrade an entire film, based on a single reference frame, this will probably not work in practice, because one reel may have degraded in a different way than another or one scene may have been color graded differently from another. In principle it is possible that each frame will have to be matched individually, but usually a film is graded on a scene by scene basis, so a single reference will suffice for a particular scene.

Please visit the original thread on OriginalTrilogy.com to learn more, or to contact the author of this tool.


How to clean up Team Negative One's Grindhouse Empire Strikes Back

$
0
0

Hello Star Wars Fans! In this video I'm going to show you how you can use PFClean to make some improvements to Team Negative One's Grindhouse Edition of The Empire Strikes Back.

While the Grindhouse Edition is a certainly a unique experience, probably as close as you and I are ever likely to get to watching an original 35mm film print of The Empire Strikes Back, some of you may want to try and clean it up a little bit, fix the colors that kind of fade in and out, stabilize the image, and remove some of the more distracting pieces of dirt. Or You may be interested in fixing up just a few short sections of the film so they can be used in your own "Despecialized" style project. Or perhaps you just want to learn how it might be done.

To demonstrate the techniques you'll need, I'm using the new "Personal Learning Edition" of PF-Clean 2015, which is free. All you have to do is visit their website at www.ThePixelFarm.co.uk, click on PFClean, scroll down to the bottom of the page where it says "Try PFClean for Free", and then you can download either a 15 day trial of the product or the PLE version which will not expire. Both are available for Mac, Windows or Linux.

It is important to note that the ability to export your cleaned footage is disabled in the PLE version. Let me repeat that. The Personal Learning version will not allow you to export your cleaned footage, it is designed only for you to hone your skills. However, the 15 day trial version will allow you to export your cleaned footage during the trial window.

In this video, I'll show you how to use some of the automated tools to stabilize the footage, clean up the dirt and dust and to reduce the pulsating colors:

Team Negative One Star Wars v2.0 sneak peek.

$
0
0

Version 1.0 was only completed a week ago, and in truth there are still some tweaks being made to that, but in the mean time work has already begun on v 2.0, with Empire and Jedi also being worked on.

The Spanish LPP cleaned for version 1.0 was just the beginning. As word of our project spread, collectors began sending us their prints of Star Wars, Empire and Jedi, many of which were better quality prints than our LPP. Our equipment was also upgraded over time to produce higher quality scans at 4k instead of 2k. Long story short, we ended up with more than one Technicolor print of Star Wars. Thank you to everyone involved in the acquisition and scanning of this particular print.

In this video, I'll demonstrate some experimental first steps for cleaning one of these Technicolor prints.

When using multiple versions of a film, whether they are to be sourced from 35mm as shown here, or from any combination of DVD, Blu-ray, laserdisc, VHS, etc. There are two key requirements that need to be met in order to successfully merge the sources.

  1. The colors of each source need to match as closely as possible.
  2. You need to be able to register the images as perfectly as possible (make sure the top image perfectly overlays the bottom image).

There are multiple ways to achieve both or these requirements, and we are experimenting with many of them, and I will go into greater detail about each method in future posts.

In this video, I use Dr. Dre's Color matching tool to match the colors of the LPP to the Technicolor print. Then I write a script in JavaScript that can be processed by Photoshop. Most of the work is done in Photoshop using actions I recorded, but the script is needed to manage the opening and closing of the files. The basic work flow looks like this:

First I prepare the sources. The 4k scan is scaled down to 2k, while the LPP is scaled up slightly from 1080p to 2k, and both are made to match as closely as possible when one is overlayed on top of the other. The LPP is also sharpened to help with the image registration and deflickered to help with the color matching. The Technicolor print is more closely cropped than the LPP which is good because that means the LPP can be used to repair damage all the way out to the very edge of the frame.

Since the processing is to be done in Photoshop, both sources are rendered as Tif image sequences. The technicolor print has a "dirt map" stored in the alpha channel, created by the scanner using an infrared camera. The dirt, scratches and emulsion damage on the surface of the film show up in black. Without the dirtmap, we could not fully automate the process, but we could still manually clean up the dirt by simply using the eraser tool in Photoshop. But that would take a lot longer!

Then all we have to do is open Photoshop, run the script and a lot of the dirt and scratches simply disappear. It doesn't remove all of the dirt - some of it is in the print rather than on it, and other techniques can be used to remove that if necessary.

While this process could be applied to a whole reel (or a whole film) all at once, I prefer to work on one shot at a time, because that way I can check the results right away, and try some alternate techniques if any step of the process fails.

Anyway, watch the video, and then if you want to you can read on to learn more:

Download the Photoshop script and actions:

PS_Files.zip (6.06 kb)

If you are still reading, I expect you want to learn more about what the actions are. Essentially, they perform the following steps:

  1. Select all and copy the LPP frame
  2. Paste the frame on top of the Tech, then rearrange the layers so that the Tech is back on top
  3. Align the layers using Photoshops Edit > Auto Align Layers feature.
  4. Adjust the levels of the Tech's Alpha channel, to make the gray areas black for cleaner looking results
  5. Create a layer mask based on the alpha channel in the tech, and reveal the LPP underneath in the areas that used to be filled with dirt and scratches.
  6. Apply the layer mask and merge the visible layers.

The script then closes this pair of files and opens the next to repeat the steps.

The most common problems are artifacts caused by either poor image registration, or mismatched colors. Scenes with a lot of motion, or that on their own appear quite abstract (wide shots of desert dunes, smoke filled corridors, motion blurs during the battle for Yavin) are hard to register automatically, while laser battles, particularly those that turn the whole frame pink for a frame, are hard to color match with Dre's tool, and I'll demonstrate some other techniques for dealing with these situations another time.

Tutorial, Stabilization with PF Clean

$
0
0

In this video, we use the Personal Learning Edition of PF Clean to demonstrate some of the ways you can stabilize footage using this software. If you watched our "How to clean up Team Negative One's Grindhouse Empire Strikes Back" video, you may recall that I simply dropped the auto stabilize effect into the stack and boom, the clip stabilized. It's important to realize that it's not always going to be that simple:

Ordinarily, we would crop the soundtrack and sprocket holes before beginning any clean up, but by leaving it all in place it allows us to easily demonstrate some of the issues you may face in your real world usage. For example, after adding the areas and doing the manual stabilization, having the soundtrack in place makes it very obvious what is wrong at the end of the clip because it is a bright white line moving across the screen. If we had cropped it off, the same thing may still have happened, but black on black would make it harder to see. (I have seen the same sort of thing happen in many scenes in the film, but this just illustrates it perfectly.)

Star Wars 1981 Crawl Restoration Demo part 1

$
0
0

In this informative tutorial you'll learn how to use motion trackers, stabilization, Find Edges, Threshold, Paint Bucket, Auto Trace, Masking, Shape layers, precomposition, and much more! I'm slowly working my way through hours of screen capture footage from Team Negative One, editing it down into what I hope to be useful tutorials. While I doubt many of you will be attempting this kind of film restoration any time soon, the techniques used can be applied to all sorts of other projects...

Why restore the '81 crawl? Well, because it is the version of the crawl we all grew up watching on TV, VHS, Betamax, Laserdisc, CED and at cinema re-releases in the '80s. It is also different to the '97 crawl. Not only does the Star Wars logo recede much more slowly, the starfield is unique (it is actually part of a starfield used in The Empire Strikes Back - presumably the starfield created for Star Wars was no longer usable and to most people, one star field looks much like another. I guess Star Wars fans though are not like most people. In 1997, for the Special Edition, the 1977 starfield was restored, but the 'Episode IV / A New Hope subtitle remained, and the Star Wars logo races away at double time. (Strangely, on the Spanish version of the crawl, the logo still moves at the much slower pace of the original film (and the 1981 version)).

Next time, we'll tackle the Pan Down which is considerably easier, and then the Flyover, which is even more challenging...

Restoring Color to a Faded Eastman Print of Star Wars

$
0
0

Why Does Some Old Film Turn Red?

Hello Star Wars fans. While this film is about restoring Star Wars, it is also about restoring film in general. As you can see, this reel of Star Wars is, well not's beat about the bush, it's pink. And this is a problem with a lot of 1970s film. In this video I am going to show you how to restore the color, but first let's answer the question many of you may be thinking:

Why Does Some Old Film Turn Red?

Really it depends on the process. Technicolor perfected the three-color process that defined early color film in 1932. The technique was expensive, involving three separate black and white film negatives, each capturing one-third of the full color spectrum (for this process the spectrum was divided into red, green, and blue - RGB). Each of the three negatives would be dyed in the complementary third of the spectrum they represented and then pressed into the emulsion for the final release print of the movie.

The Technicolor process was expensive, but provided the lush color that has come to characterize 1940’s blockbusters, and if you are lucky enough to own a Technicolor print of Gone with the Wind or The Wizard of Oz, I bet the colors are just as vibrant today as they were 75 years ago, because the dyes used by Technicolor barely fade at all.

Then Eastman Kodak came along with their Eastmancolor process. This type of film was both cheaper to process and cheaper by the foot, advantaging both cost-cutting studios and smaller releases with more limited print runs. Unlike Technicolor, which had to be shipped to Technicolor facilities, Eastmancolor could be developed in standard photo labs.

Technicolor’s share of the market began to sink, and by 1975 their facilities were being closed, ceding color film processing entirely to Eastmancolor.

But Eastmancolor had a major problem. The dye used in the cyan third of the spectrum (that's blue to those of you who are like me and only see the world in primary colors and look puzzled when our wives talk about colors like fuchsia), where was I? Oh yes, the blue dye used in the Eastmancolor process would fade to red and eventually clear while in storage. This has since been a nightmare for film preservation efforts for obvious reasons. And while color fade is a problem with poorly preserved film in general, the first 20 years of Eastmancolor prints are in particular danger. Eastmancolor film can fade to pink in as few as five years if not properly stored.

Eastman Kodak introduced low fade film in 1979, which improved the durability of the cyan dye, and by about 1982, most of the films sent to your local cinema were being printed on the new Low fade (LPP) stock.

It is worth noting that Low fade does not mean "no fade" but it is certainly a heck of a lot better.

so anyway, this reel of Star Wars was printed on the old Eastman stock and is now pink. This particular reel, by the way, is owned by -1 (of Team Negative One) and it was one of the first sets of reels that he acquired for his "Silver Screen Edition" pre-Special Edition version of Star Wars. He was kind enough to dig up the original 10-bit color, 1080p, scan made back in 2010? Something like that. At that time, the team could not find a way to digitally restore enough color to make the film watchable, at least not without a bunch of weird color artifacts. In the end, of course, he found a low fade print of the film and never looked back.

About a year ago, somebody calling himself Dr. Dre created an algorithm to almost perfectly match the colors of one image to another. I already demonstrated how his free tool was able to restore some other faded Eastman footage of Greedo and Han Solo with very impressive results (although there were still some obvious artifacts in the window behind them). Then a few weeks ago, I was trying to free up some Hard Disk space and I came across an 8-bit color, h264 compressed scan of this faded Eastman Reel. On a whim, I decided to run it through Dre's tools (I have been beta testing a new color balance/restoration algorithm he developed too) and the results were just astounding.

So I contacted -1, and requested the lossless, 10-bit color scan of the same reel, and he was kind enough to send it to me. So that is what you are looking at here...

The first thing we need to do is to is to find a good color reference. Since we all know the color timing on the 2004 DVD and the 2011 blu-ray is horrible, this leaves us with the 2006 Bonus DVD or a fan made project. In this case I'm using the "Star Wars 77" GOUT upscale by Team Blu. This is a 720p upscale of the 2006 Bonus DVD, with Color Corrections by YouToo. I like the colors in this version more so than Harmy's Despecialized Edition 2.5, but an unfortunate byproduct of the upscale is that there is a layer of almost static grain sitting on top of the action like a blanket, which was so annoying I couldn't watch it. But for our purpose here, which is just to copy the colors, it should work well.

Before starting this tutorial, I already ran through all the steps once with another color source, again by Team Blu, in this case their "V3" Edition, which was a GOUT sourced DVD, and this is how it turned out...

It's not perfect, the skin tones in particular are too red, at least on my screen, but this is probably the result of applying only one set of LUTs to the entire reel. Fixing it on a shot by shot basis will probably produce much better results, so that is what I am going to try now.

The first thing I need to do is select a shot to fix. Let's try this one with Han, Chewie, Luke and Leia heading back to the Falcon after emerging from the Trash compactor. (frames 6827-7205)

So if we trim the working area to just that shot... OK. Now we need to find the same shot in our color reference... And trim that one.

And crop off the black bars.

Now we'll import the faded footage and try to register the two as closely as possible. First let's shrink it down to match the 720p footage. Then set the mode to "Difference" and just try to manually line them up...

Close enough. OK. Before I go any further, let's test out a few commercial tools and see what they can do for us. First let's try the Auto Color effect in After Effects. Nope, that's not going to work. How about playing with the curves? Well, even if I knew what I was doing, it might take hours to get what is still going to look like a very washed out and faded color film.

So let's try RevisionFX RE:Match which retails for $89 ($329 for the Pro version). So if we apply that effect, set the color source to SW77. hmm. better. Let's try some different modes. Ok, histogram 2 does a pretty nice job actually. But we can do better.

Now to be fair, Re:Match was designed to address the problems of multi camera shoots - in other words matching the footage from camera one with that of camera two, and in my experience, if you have two sources that are already very similar it does do a pretty good job of matching them up.

Let's see what else do I have here? Boris Continum includes a "Color Match" effect. Despite the name, I think it is more of a Luma Match tool, designed to match the lighting conditions between two sets of footage of the same shot but from different cameras, but let's give it a try because the name of the effect implies that it can do what we want it to do....

[usercontrol: ~/user controls/SovrnContentAd.ascx]

I don't think you can buy just the Color Match Effect on it's own from Boris FX, it only comes bundled with other Effects, but these bundles start at $49.95 which isn't bad at all.

But let's back on track here and see what we can do using Dre's tools. First we are going to need some sample frames from both the faded version and our color reference. Rather than manually grabbing frames, let's create a new composition, based on this one, resize it to an SD resolution, and... How many frames do we have here? 378. 378 / 16 = about 23. So let's Enable Time Remapping, alt + click on the stopwatch and type in the following expression:  

n = 23;
n*time

What that will do, is give us only every 23rd frame, for a total of 16 frames. Instead of basing our color calculations on a single frame, we're going to create a montage of 16 frames. Let's trim this composition to 16 frames... And render it as a Tiff sequence. Now let's go back and switch the underlying source back to the color version. And render it again - but changing the destination. ok.

Now let's switch to Photoshop. Open the first image, increase the canvas size 400% from the top left corner. grab all the remaining images and drag them onto our canvas. If you have an earlier version of Photoshop you may find they all just open in their own windows. If that happens, you'll just have to use Ctrl + A to select all and Ctrl + C to copy and then switch back to the canvas and paste in each image, one at a time, but newer versions of Photoshop allow you to place each image on the canvas one at a time, which is exactly what we need here.

Ok, so there is our "Test" Image. Let's save that. Now let's do the same thing with the color images to create our "reference" image.

OK. Now comes the fun part. If we open up Dre's new Color Balance Tool (which is currently still in Beta and not available for download yet) and import our faded samples. And click "Build Color Balancing Model" in just a few seconds it balances the image, reducing the red and generally making it look much better. It is still very faded looking, which is to be expected, and this is about as good as you could get playing with the curves or color wheels in After Effects or Resolve. But this is only the first part of the process. First we Balance, then we Match. Let's save that LUT. And we should save the output image to use when matching.

OK. So now we open the Color Matching tool, which some of you may have seen before in my other tutorials, and which can be downloaded from the thread on OriginalTrilogy.com, or from here at TheStarWarsTrilogy.com. So we open up the balanced image as our "Test" Image, and crop off the white border. Then we open up our "Reference" image, no cropping required, and click "Build Color Matching Model", and wait for that to complete. Wow. Looks pretty good doesn't it? So let's save that LUT as "Match".

Let's also save the output image, because you may be wondering what happens if we skip the balancing step and jump straight to the Match. Well, let's try it... Still looks pretty good, and you may not even be able to see much of a difference, but in my experience balancing and then matching provides a much smoother image. There are often many artifacts that appear when you skip the balancing step.

Anyway, now we have our two LUT files, we can switch back to After Effects and apply them. And there you have it.

Now if we apply those LUTs to the whole reel, most of it still looks pretty great, but obviously repeating these steps for each scene will produce slightly better results.

So. There you have it. Hopefully you will find this video either helpful or entertaining, or perhaps even both; and the next time you see a faded 35mm trailer being sold dirt cheap on eBay because it is pink, you'll remember this video and buy it knowing that it can be restored.

Oh, and if you happen to work in Hollywood, restoring film, you know where to find me...

Related Content

[usercontrol: ~/user controls/MatchedContentAd.ascx]

Cleaning Up Team Negative One's Silver Screen Edition of Star Wars

$
0
0

I wanted to test out a number of different After Effect Noise Reduction plugins, and I knew that this 35mm version of Star Wars certainly has some noisy scenes. Would today's DNR (digital Noise Redution) tools cause the same kind of smearing and weirdness we see on the 2006 Bonus DVD, or have things improved a great deal since 1993?

Testing Digital Noise Reduction Plugins for After Effects, on the Star Wars SSE

Hello Star Wars fans!

Today I'm going to take a look at some of the commercial noise reduction plugins for After Effects, and show you how you might use them to improve the quality of Team Negative One's Silver Screen Edition.

One of the most common complaints I hear about the SSE is about how grainy it is, and I think that is because of scenes like this one. This is probably the second worst shot in terms of how grimy it looks, in the whole film. (we'll tackle the worst shot shortly.)

However, the fact is that if you saw this film in Theaters in 1977 or in any of the cinema re-releases in the 1980s, you'll know that this is how it actually looked. I have access to 4 or 5 different 35mm prints of Star Wars on various film stocks, including two Technicolor prints, the LPP used for the SSE, and the red faded Eastman print we were looking at last time, and they all look like this. If you look at this scene on the 16mm and 8mm prints, it's there too, and even on the laserdiscs and VHS copies, despite the low resolution, you can still see traces of these brown blobs, so there is no doubt in my mind that this is how it looked in 1977.

Is it supposed to look like this? Did George Lucas want it to look like this? I seriously doubt it, but by the time he got the film back from the lab he was out of time and money so that's how it looks. This is how it was for two decades so we didn't want to fix it for the Silver Screen Edition. If we had done so, we would have been accused by many of the same sort of revisionism that Lucas himself is guilty of.

But now that the original is out there, there is no reason why you can't fix it and make it the way YOU want to see it. So I'm here to show you how you can have your cake and eat it too. A lot of the footage used by Harmy to "despecialize" the official blu-ray actually came from the 2006 Bonus DVD, affectionatly known as the "GOUT" (George's Original Unaltered Trilogy), and he did some truly remarkable things to make that work seamlessly, but now that the Silver Screen Edition is out there, anyone with a little know how can go in and Despecialize the blu-ray or swap out shots from Harmy's masterpiece with real 1080p Star Wars.

Of course, just dropping this shot back in would be extremely jarring! Clearly it needs to be cleaned up some more.

So with that in mind, let's jump right in and try to fix up two of the grungiest shots of the SSE and make them ready for their Despecialized closeup.

We'll start with the Sandcrawler shot (a shot that was completely replaced in the Special Edition), which comes right after the "Look, Sir, Droids!" line when the stormtroopers check out the escape pod. The first thing I did was stabilize the shot using the VFX Warp Stabilizer effect in After Effects, because it was still a bit wobbly in the Silver Screen Edition and that affected the cleanup.

So here it is before we add any noise reduction effects. If we zoom in a little you can see it doesn't really look like film grain - it's just weird floating brown blobs, and this sort of color noise is present in a lot of scenes, particularly in the desert, but also on the Falcon. Perhaps it's the film stock used in the camera or maybe there was a stocking or some kind of weird filter on the camera. Whatever it is, let's see if we can reduce it to a more tolerable level.

RevisionFX offers two different Noise Reduction plugins for After Effects. The first one, called DE:Noise works pretty well here with just the default settings. The Sandcrawler moves so slowly that this scene is almost static, and because there isn't a lot of motion we can crank up the noise reduction a little without seeing any of the smearing or other problems that happen in high motion shots. With this effect, on this shot, though I don't see a lot of difference as I play with the settings. I don't know how much of it will come through on the screen capture, especially after YouTube recompresses it, but I'm not seeing a lot of changes here.

The second effect is called DE:Noise Frame Average. The default settings aren't nearly so impressive but if I tweak the threshold to about 40 and increase the frames Before and After to 2, it looks much better. Comparing it to the basic DE:Noise I think it is slightly better here, there are certainly fewer brown blobs.

The third effect by RevisionFX that I want to show you is their Deflicker Effect. For some reason this effect does a fantastic job of removing the noise while preserving detail, however if there is any kind of significant movement there is horrible smearing. Here though, it works pretty well using noise clean method #1 or #2.

[usercontrol: ~/user controls/AmazonContentAd.ascx]

Red Giant's Denoiser II does a nice job here too, the only change to the default settings I made here was to change the "Footage Source" to "film". Since most of the noise is in the blue channel, increasing the "Blue Offset" by 100% under "fine tuning" further improves the image. Overall, it looks smoother and cleaner than any of the RevisionFX.

BorisFX Noise Reduction Effect has a lot of tweakable settings, but I certainly didn't bother to read the manual to find out what they all do! But adjusting the sliders under Temporal and Spacial smoothing produces pretty nice results.

Finally, there is NeatVideo (which is also available for Virtualdub). I have been a customer of theirs since version 2.0, and of all the effects we have tried so far, I think this is the best one out there, and it is the one I use the most. It is able to almost completely remove all the those blobs from this shot, while retaining all the detail. You're probably thinking, that we're done - that this cleaned footage could now be dropped right into the blu-ray footage, though you might have to crank up the saturation and add a blue/magenta tint to it if you want it to match the blu-ray colors, but I mean it looks great, right?

But wait. Watch whap happens when you play it back. Look at the clouds. It's almost as if there is a heat haze up there. None of the other effeccts are having this problem. They don't get it so clean, but the clouds aren't changing shape either. The best solution here might be to use one of the other filters, and then apply Neat Video on top of that. I don't really like the idea of filtering it twice, but that might be the best solution here.

Let's move on to the next shot which is the Land Speeder entering Mos Eisley. This is without a doubt, the grungiest shot in the whole movie. So right off the bat let's show you the before and After, and then we'll take a look at how well the various plugins did. So here's the before - plenty of brown blobs. And here is after, again using the Neat Video 4 plugin. You'll notice that I added some color and a little film grain too. Now I think that looks really good given the source.

If you've watched Mike Verta's video on this shot, you'll notice that he managed to recover more detail, but then he was working with a 4k scan of the Technicolor print, while this is from a 2k scan of the LPP, which was itself a duplicate made from another 35mm print. So unfortunately the power lines visible in the blu-ray (and somewhat recovered in Legacy Edition) could not be recovered here.

I think it looks really good - until you look at the blu-ray. While there are obviously a ton of issues with the Blu-ray version - CGI dinosaurs, the speeder has had the bottom completely shaved off, and the colors are just hideous - but there is no denying that the level of detail and sharpness is a huge step up here. But again, the Blu-ray was able to recomposite many of the original elements directly from the camera negatives, so that is to be expected. I ran this shot through Dr Dre's Color Balance tool to create a LUT. Applying it, makes the colors a little more natural.

It looks like they also worked very hard to remove that smear of vasaline on the camera lens (you can see it moves with the camera) which was there to help obscure the wheels on the Speeder. But anyway, when compared to the Blu-ray it does seem like a bit of a let down, until of course you see all the CGI crap and you turn that layer off. From Before to After is still quite impressive, right?

Especially when compared to the next best official release: This is the same shot from the 2006 Bonus DVD. Now you remember when I talked about how we didn't need to worry about "temporal smearing" when working on the Sandcrawler shot, because there was no fast motion, well in this shot there is plenty of motion. Not only are the people moving, and the speeder is whizzing by, but the camera is panning too.

There are two basic kinds of cleanup techniques. Spacial Cleaning recruits nearby pixels from the same frame, and Temporal cleaning uses the pixels from the previous / next frame. As I scroll through the GOUT version here, what do you notice? See the guy's leg? It vanishes! Then the whole Guy just gets blurred out completely - He's the invisible man! This is what happens when using any kind of automated cleanup tools - though today the side effects are not nearly so bad. But it's why the Silver Screen Edition was cleaned manually, frame by frame whenever possible. The 2006 Bonus DVD uses a master created for the 1993 Definitive Edition Laserdiscs, and their automated cleanup process leaves a lot to be desired. And the fact that Neat Video was able to prevent this problem is really very impressive.

Let me show you how well that RevisionFX Deflicker tool worked here. As you can see, the static areas look fantastic, but the areas with motion are all smeary, with echos of past and future frames. Even the regular DE:Noise effect shows some smearing - look at the guys leg - and this is with the default settings. The Frame Average one, doesn't do much here on the default setting - just sort of blurs the brown blobs. Upping the threshold helps, but if we go as high as 40, which is what we used on the Sandcrawler shot, there is all kinds of smearing.

 Using the Red Giant Denoiser II with the same settings here as we used on the Sandcrawler just isn't good enough, and increasing the sensitivity creates some weird, wavy artifacts, similar to those we saw on the DVD, while washing out details, particularly on the ground.
 
 Here is the BorisFX plugin with the same settings we used on the Sandcrawler. Watch as I turn it on and off. See all that pixelation? And look at the tower - it is being blended into the sky.
 
 Which brings up back to the Neat Video plugin. all the brown blobs are just about gone, there is no smearing, and most of the detail is still there. It doesn't look quite so sharp, but that is an illusion.
 
 But anyway, that's about it for today, I look forward to seeing new projects featuring re-purposed Silver Screen Edition footage.

Related Content

[usercontrol: ~/user controls/MatchedContentAd.ascx]

Star Wars Project 4k77 Techniques


Star Wars Project 4k77 Sources

$
0
0

Sources

Hello Star Wars fans!

We've had a few questions about the 35mm sources we are using, so I figured I would just show you what they are. 

Most of project 4K77 will be either Eastman or Technicolor, supplemented by an upscaled Silver Screen Edition when needed, most notably at the reel changes. We are still waiting on a complete 4k scan of the Spanish LPP on which the Silver Screen Edition was based, but we do still have access to those reels, so if it became absolutely necessary we could make our own 4k scan of any given shot. But since both the Eastman and the Technicolor prints are sharper and less grainy, the LPP is really only being used as a repair layer and we can move ahead without that new scan.

Some of you may be wondering, "but are you using THAT Technicolor print, the one Mike Verta used for his Legacy Edition and that caused so much trouble earlier this year?" Well, we are using it as a color reference for sure, and it may be called upon to provide some frames if they are missing from other prints, occasionally even entire shots. As you may recall, Mike Verta himself sent us the entire Greedo Sequence from this print in 4k for us to use in the Silver Screen Edition and that's exactly what we did. But the fact is that we actually have access to another 35mm Technicolor print of Star Wars that has far less damage. And this is one that Mike Verta does not even have. Let me show you.

So this is the Tech that Mike used as the backbone of his Legacy Edition. As you can see, there is lots of damage, but the colors are really good. Still, it's a lot of work to clean that up.

Now this is our scan of the other Technicolor print. The colors are not so good, but that really doesn't matter because we have Dr. Dre and his wonderful algorithms that can almost perfectly match our scan to the other one. But just look at how much less damage there is! So, rest assured, when it comes to the Technicolor footage, we will be using our own scan over Mike's most of the time.

As you know we also have several Eastman Reels. Reel 1 is in pretty good shape despite the fading, but not all of the reels are so good. Here is the same sequence we were just looking at but on the Eastman stock:

Yikes, clearly our Technicolor scan is the best choice for this sequence. As you saw in our Techniques video, every shot is really a combination of prints, so really it would be our Tech laid on top of the Silver Screen Edition.

So there you have it. We pick the best source we have for each shot.

Download an extended preview.

How to remove some of the image warping in "Star Wars" using Adobe After Effects

$
0
0

Sem Skywalker recently posted a nice video on YouTube demonstrating how to fix some of the warping seen in Team Negative One's Silver Screen Edition:

While the technique works beautifully for this shot, and probably some others too, unfortunately it will not work on all of them. Any shot that contains a camera pan, or a lot of motion will end up more warped than before, but it is certainly worth trying out on any shot that exhibits this kind of problem, so I do recommend you try it out. Newer versions of PFClean also have some tools for dewarping, and perhaps we'll explore them in a later tutorial. Meanwhile, thanks to Sem for sharing this video with us. 

[usercontrol: ~/user controls/MatchedContentAd.ascx]

How to "GOUT Sync" Star Wars

$
0
0

Gout?

First of all, you may be wondering "what the hell is he talking about?!" Well, the "GOUT" is what fans affectionately call the 2006 Bonus DVDs of the original Star Wars Trilogy. It is short for 'George's Original Unaltered Trilogy'.

Why would you want to "GOUT Sync" a version of Star Wars?

Over the years, fans have created many fan edits of the original Star Wars films - some are already based on the 2006 Bonus DVDs, but many others are from VHS tapes, laserdiscs, Super 8 films, 16mm films, 35mm films, and the official Blu-rays. By matching each source, frame to frame with the American NTSC GOUT Bonus DVDs, fans can take advantage of the many official and fan created audio mixes, commentary, language and subtitle tracks. It also means that if there is a problem with the transfer, all you have to do is point to the GOUT frame number and everyone can be sure that they are talking about the same frame.

So, you just pop in the DVD and you are ready to synchronizing, frame by frame?

Unfortunately, it is a little more complicated than that. The American DVDs have "3:2 pulldown" to conform the frame rate from the original 23.976 fps to the NTSC standard which is 29.97 fps. I believe the European PAL discs are just sped up to 25 fps but I know that the PAL version of Return of the Jedi, for example, has 2 extra frames in one scene and is missing a frame in another when compared to the NTSC version of the same film... So preparing PAL references can be slightly more complex. Since I only have the NTSC versions, I shall focus on those for now.

How to Create a GOUT Reference to Synchronize To

The process for each (NTSC) film is the same, but for this example I will use Star Wars. The first thing you need to do is rip the DVD to your Hard Drive. You will need at least 15 GB of hard disk space, and a free tool like DVD Decrypter, or DVD Fab Decrypter. Using this ripping software, open the disc, make sure to copy "full disc" and specify the destination on your HDD. After ripping is finished, you need to demux the DVD-streams. For this you can use PgcDemux

Open the original Video_TS folder of you ripped GOUT-DVD and choose "VTS_03_0.IFO". Select "by PGC", select "demux video stream", "demux all audio streams", "demux all subpic streams" and "create CellTimes.txt". Deselect "create logfile", and deselect "create a PGC VOB". Specify the output folder - perhaps a new folder, called "demuxed". Then hit "process".

While you are waiting for that, Install Avisynth. Just grab the latest version. The 32bit version is recommended, even if you have a 64-bit version of Windows, simply because there are more plugins for it. You will also want to download and extract Virtualdub.

After processing is done you need to open DGIndex. Like Virtualdub, this little app comes in a zipped folder and in this folder you will find a file called "DGDecode.dll". You will need to copy this .dll into your Avisynth plugins directory - typically C:\Program Files (x86)\AviSynth\plugins.

Open DGIndex.exe, hit "File", "Open" and browse for the m2v file in the demuxed folder that you created earlier. A window pops up, hit "OK". IMPORTANT: If you use the NTSC-DVD for your encoding, hit "Video", "Field Operation", and select "Force Film". If you use the PAL-DVD as source, change nothing here.

Now hit "file" and "save project". Specify a project name (e.g. ANH) and specify the destination. To make things easier, you should save this "ANH.d2v" file in the same folder as you found the .m2v file you just opened. When that is done, you need to create an AVISynth script. Simply right click in your Demuxed folder, and choose New -> AviSynth Script and give it a name, e.g. ANH.avs. Open this script in any text editor and paste in this information:

LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\DGDecode.dll")
MPEG2Source("ANH.d2v").AssumeFPS(24000,1001).showframenumber(x=20,y=20).ShowSMPTE()

Now save the file, open Virtualdub, and either drag your script onto it or use File -> Open and browse to the file and open it. If all went according to plan, you should see the video in Vitualdub and the Star Wars title card should appear on frame 689. If it appears on any other frame, you have done something wrong - probably you forgot to set the field operation to Force Film in DGindex, so go back and try that step again. Once you have your gout reference, you need to add your other Star Wars source to your script and begin synchronization. The process will be the same for the NTSC versions of Empire and Jedi, though the Star Wars title card appears a frame earlier in Empire, on 688.

To synchronize the European PAL versions of the GOUT DVDs to the NTSC versions, you must also delete (and in the case of Jedi duplicate) some frames: 

For the PAL Version of Star Wars, use:

Mpeg2Source("ANH.d2v")
AssumeFPS(24000,1001)
DeleteFrame(144053).showframenumber(x=20,y=20).ShowSMPTE()

Note: The Star Wars title card of Star Wars appears on frame 689

For the PAL Version of The Empire Strikes Back, use:

Mpeg2Source("ESB.d2v")
AssumeFPS(24000,1001)
DeleteFrame(150204,150205).showframenumber(x=20,y=20).ShowSMPTE()

Note: The Star Wars title card of ESB appears on frame 688

For the PAL Version of Return of the Jedi, use:

Mpeg2Source("ROTJ.d2v")
AssumeFPS(24000,1001)
DuplicateFrame(141781)
DeleteFrame(68664,68665).showframenumber(x=20,y=20).ShowSMPTE()

Note: The Star Wars title card of Jedi appears on frame 689

How to GOUT Sync Star Wars from another Source

In this video, I am using a GOUT reference file I made earlier (and saved as an AVI) to synchronize a film reel to the GOUT. There are probably many other ways to do this, but I find this to be the quickest, easiest, and most frame accurate way to do it.

I didn't record the whole thing, because I assumed it would be a wee bit repetitive and boring to watch, but it only took about 20 minutes to sync the whole reel. Here is my final script:

Black = blankclip(width=848, height=360, fps=23.976, color=$000000, length=250).killAudio().ConvertToYV12()
tech = avisource("Reel2.avi").AssumeFPS(23.976).ConvertToYV12().showFrameNumber()
Gout = AviSource("StarWarsNTSCGoutSyncReference.avi").AssumeFPS(23.976).trim(27823,55748).Lanczos4Resize(848,320)

techA = Black.trim(0,64) + tech.trim(0,817)
techB = Black.trim(0,4) + tech.trim(818,929)
techC = Black.trim(0,16) + tech.trim(930,1187)
techD = Black.trim(0,5) + tech.trim(1188,2971)
techE = Black.trim(0,5) + tech.trim(2972,7229)
techF = Black.trim(0,4) + tech.trim(7230,26970)
techG = Black.trim(0,4) + tech.trim(26971,27350)
techH = Black.trim(0,4) + tech.trim(27351,27618)
techI = Black.trim(0,3) + tech.trim(27619,0)

techFinal = techA + techB + techC + techD + techE + techF + techG + techH + techI

StackVertical(GOUT,techFinal)


# Missing Gout Frame Numbers
#
# 27823-27887
# 28706-28710
# 28823-28839
# 29098-29103
# 30888-30893
# 35152-35156
# 54898-54902
# 55283-55287
# 55556-55559
# 55730-55748

[usercontrol: ~/user controls/MatchedContentAd.ascx]

Dr Dre's Magical Color Matching tool.

$
0
0

Written in MATLab, this great new tool can be used to match the colors of one image with that of another, with great accuracy. While this has a great many applications, it is also useful to Star Wars fans, struggling to color correct the official Blu-rays and DVDs to match the original versions they grew up with. It can also be used to match the colors of your replacement shot (where Greedo doesn't fire his blaster, or the Land Speeder cruises into Mos Eisley without being molested by CGI dinosaurs) with the surrounding footage, for a more seamless integration.

Here are some quick examples:

This is a scan of a 35mm frame from a theatrical print by Team Negative 1:

And here is the same frame from the Blu-ray:

Using Dr. Dre's tool, we can easily match the Blu-ray to the 35mm colors:

And since the latest version allows you to export the color change data as a LUT (lookup table), you need only match a single frame from each shot, and then can apply the LUT in DeVinci Resolve to an entire scene.

Any arguments over whether or not the Team Negative One scan, Harmy's Despecialized Edition, or your favorite laserdisc/VHS copy has the "Correct" colors is neither here nor there - using this tool you can recolor the Blu-ray or any version to match your own ideal Star Wars "Look". All you need is some sample frames from your preferred source.

Here we test it with a shot from an old, red faded print, and the results are very promising indeed...:

Look for more samples and tutorials on how to restore Star Wars, as soon as I can find the time to make them! In the meanwhile, I encourage you to download this tool and play with it.

ColorCorrectv1_2_pkg.zip (182 mb)

Instructions:

Extract the .exe file from the zip and run it to install the MATLAB runtime environment. In the directory where you downloaded the file to (and ran it) you will now find a new file called ColorCorrectv1_3.exe. You should be able to right click on it, and Run As Administrator, but that didn't work for me. I had to copy the file to:

C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32 

and run it from there (as Administrator) to make it work. The UI should be fairly self explanitory as it is just a set of buttons that you push more or less in order from top to bottom.

  1. Select a test image. This is the image that you want to change the colors OF. A figure will open, showing the image. You will be able to crop the frame, with your cursor. If you don’t want to crop the frame, close the figure window to be able to continue.
  2. Select a reference image. This is the image that you want to change the colors TO. A figure will open, showing the image. You will be able to crop the frame, with your cursor. If you don’t want to crop the frame, close the figure window to be able to continue.
  3. Build a color correction model. There are two model options: multi color space model (default), and single color space model. Multi space color space model is much more accurate, but also much slower (factor 10). Depending on the resolution/size of the images after cropping and your hardware, this may take 0-15 minutes (15 min for a 4K image) on an Intel Core i5. A figure will open showing you the test frame as it is being matched. With each iteration it should be closer to the reference. There is a stablization parameter that can be increased if there are artifacts in the colormatch/prediction. This may happen when color differences are extreme.
  4. Save the color correction model for later (optional).
  5. Import a color correction model (optional). Use this if you have already done steps 1-4 for an image in this shot and want to use the same settings again, e.g. for another shot in the same scene.
  6. Import any number of images, and color correct them with a color correction model you just built or imported. This will adjust all of the selected images to match the reference frame you selected in step 2. The images will be saved in a newly created directory named “Corrected” with the same name as the original images. Color correcting a frame may take anywhere between 5 and 20 seconds, depending on the resolution/size of the frame, and of course your hardware.
  7. Export a 3D LUT (lookup table) for use in other software programs, like Adobe After Effects (optional). For correct use, choose the sRGB setting in the software you want to use to import the LUT.

When building a color correction model you should consider the following:

  1. The model assumes the test and reference images (frames) are identical, aside from the color. In other words it’s important the images are cropped in the same way (to a reasonable degree). Incorrect cropping may lead to artifacts.
  2. When using a print or a low quality source as a reference, there may be color variations within the frame. For example some parts may be darker or brighter than others. If you use the full frame for building a color correction model, it will try and fail to reconcile these differences, resulting in artifacts. The best way to go, is to select a consistent part of the frame, select the same part for the reference, and then build the color correction model.
  3. In theory you can match any source to a reference, but there are limitations in practise. You have to consider that a limited color depth may result in artifacts. Crushed dark colors or blownout light colors are notoriously difficult to regrade, but they also may affect the color matching in other areas of the frame. In such cases increasing the stabilization parameter should reduce artifacts, but they are sometimes unavoidable.
  4. Although you could regrade an entire film, based on a single reference frame, this will probably not work in practice, because one reel may have degraded in a different way than another or one scene may have been color graded differently from another. In principle it is possible that each frame will have to be matched individually, but usually a film is graded on a scene by scene basis, so a single reference will suffice for a particular scene.

Please visit the original thread on OriginalTrilogy.com to learn more, or to contact the author of this tool.

How to clean up Team Negative One's Grindhouse Empire Strikes Back

$
0
0

Hello Star Wars Fans! In this video I'm going to show you how you can use PFClean to make some improvements to Team Negative One's Grindhouse Edition of The Empire Strikes Back.

While the Grindhouse Edition is a certainly a unique experience, probably as close as you and I are ever likely to get to watching an original 35mm film print of The Empire Strikes Back, some of you may want to try and clean it up a little bit, fix the colors that kind of fade in and out, stabilize the image, and remove some of the more distracting pieces of dirt. Or You may be interested in fixing up just a few short sections of the film so they can be used in your own "Despecialized" style project. Or perhaps you just want to learn how it might be done.

To demonstrate the techniques you'll need, I'm using the new "Personal Learning Edition" of PF-Clean 2015, which is free. All you have to do is visit their website at www.ThePixelFarm.co.uk, click on PFClean, scroll down to the bottom of the page where it says "Try PFClean for Free", and then you can download either a 15 day trial of the product or the PLE version which will not expire. Both are available for Mac, Windows or Linux.

It is important to note that the ability to export your cleaned footage is disabled in the PLE version. Let me repeat that. The Personal Learning version will not allow you to export your cleaned footage, it is designed only for you to hone your skills. However, the 15 day trial version will allow you to export your cleaned footage during the trial window.

In this video, I'll show you how to use some of the automated tools to stabilize the footage, clean up the dirt and dust and to reduce the pulsating colors:

Tutorial, Stabilization with PF Clean

$
0
0

In this video, we use the Personal Learning Edition of PF Clean to demonstrate some of the ways you can stabilize footage using this software. If you watched our "How to clean up Team Negative One's Grindhouse Empire Strikes Back" video, you may recall that I simply dropped the auto stabilize effect into the stack and boom, the clip stabilized. It's important to realize that it's not always going to be that simple:

Ordinarily, we would crop the soundtrack and sprocket holes before beginning any clean up, but by leaving it all in place it allows us to easily demonstrate some of the issues you may face in your real world usage. For example, after adding the areas and doing the manual stabilization, having the soundtrack in place makes it very obvious what is wrong at the end of the clip because it is a bright white line moving across the screen. If we had cropped it off, the same thing may still have happened, but black on black would make it harder to see. (I have seen the same sort of thing happen in many scenes in the film, but this just illustrates it perfectly.)

Star Wars 1981 Crawl Restoration Demo part 1

$
0
0

In this informative tutorial you'll learn how to use motion trackers, stabilization, Find Edges, Threshold, Paint Bucket, Auto Trace, Masking, Shape layers, precomposition, and much more! I'm slowly working my way through hours of screen capture footage from Team Negative One, editing it down into what I hope to be useful tutorials. While I doubt many of you will be attempting this kind of film restoration any time soon, the techniques used can be applied to all sorts of other projects...

Why restore the '81 crawl? Well, because it is the version of the crawl we all grew up watching on TV, VHS, Betamax, Laserdisc, CED and at cinema re-releases in the '80s. It is also different to the '97 crawl. Not only does the Star Wars logo recede much more slowly, the starfield is unique (it is actually part of a starfield used in The Empire Strikes Back - presumably the starfield created for Star Wars was no longer usable and to most people, one star field looks much like another. I guess Star Wars fans though are not like most people. In 1997, for the Special Edition, the 1977 starfield was restored, but the 'Episode IV / A New Hope subtitle remained, and the Star Wars logo races away at double time. (Strangely, on the Spanish version of the crawl, the logo still moves at the much slower pace of the original film (and the 1981 version)).

Next time, we'll tackle the Pan Down which is considerably easier, and then the Flyover, which is even more challenging...


Restoring Color to a Faded Eastman Print of Star Wars

$
0
0

Why Does Some Old Film Turn Red?

Hello Star Wars fans. While this film is about restoring Star Wars, it is also about restoring film in general. As you can see, this reel of Star Wars is, well not's beat about the bush, it's pink. And this is a problem with a lot of 1970s film. In this video I am going to show you how to restore the color, but first let's answer the question many of you may be thinking:

Why Does Some Old Film Turn Red?

Really it depends on the process. Technicolor perfected the three-color process that defined early color film in 1932. The technique was expensive, involving three separate black and white film negatives, each capturing one-third of the full color spectrum (for this process the spectrum was divided into red, green, and blue - RGB). Each of the three negatives would be dyed in the complementary third of the spectrum they represented and then pressed into the emulsion for the final release print of the movie.

The Technicolor process was expensive, but provided the lush color that has come to characterize 1940’s blockbusters, and if you are lucky enough to own a Technicolor print of Gone with the Wind or The Wizard of Oz, I bet the colors are just as vibrant today as they were 75 years ago, because the dyes used by Technicolor barely fade at all.

Then Eastman Kodak came along with their Eastmancolor process. This type of film was both cheaper to process and cheaper by the foot, advantaging both cost-cutting studios and smaller releases with more limited print runs. Unlike Technicolor, which had to be shipped to Technicolor facilities, Eastmancolor could be developed in standard photo labs.

Technicolor’s share of the market began to sink, and by 1975 their facilities were being closed, ceding color film processing entirely to Eastmancolor.

But Eastmancolor had a major problem. The dye used in the cyan third of the spectrum (that's blue to those of you who are like me and only see the world in primary colors and look puzzled when our wives talk about colors like fuchsia), where was I? Oh yes, the blue dye used in the Eastmancolor process would fade to red and eventually clear while in storage. This has since been a nightmare for film preservation efforts for obvious reasons. And while color fade is a problem with poorly preserved film in general, the first 20 years of Eastmancolor prints are in particular danger. Eastmancolor film can fade to pink in as few as five years if not properly stored.

Eastman Kodak introduced low fade film in 1979, which improved the durability of the cyan dye, and by about 1982, most of the films sent to your local cinema were being printed on the new Low fade (LPP) stock.

It is worth noting that Low fade does not mean "no fade" but it is certainly a heck of a lot better.

so anyway, this reel of Star Wars was printed on the old Eastman stock and is now pink. This particular reel, by the way, is owned by -1 (of Team Negative One) and it was one of the first sets of reels that he acquired for his "Silver Screen Edition" pre-Special Edition version of Star Wars. He was kind enough to dig up the original 10-bit color, 1080p, scan made back in 2010? Something like that. At that time, the team could not find a way to digitally restore enough color to make the film watchable, at least not without a bunch of weird color artifacts. In the end, of course, he found a low fade print of the film and never looked back.

About a year ago, somebody calling himself Dr. Dre created an algorithm to almost perfectly match the colors of one image to another. I already demonstrated how his free tool was able to restore some other faded Eastman footage of Greedo and Han Solo with very impressive results (although there were still some obvious artifacts in the window behind them). Then a few weeks ago, I was trying to free up some Hard Disk space and I came across an 8-bit color, h264 compressed scan of this faded Eastman Reel. On a whim, I decided to run it through Dre's tools (I have been beta testing a new color balance/restoration algorithm he developed too) and the results were just astounding.

So I contacted -1, and requested the lossless, 10-bit color scan of the same reel, and he was kind enough to send it to me. So that is what you are looking at here...

The first thing we need to do is to is to find a good color reference. Since we all know the color timing on the 2004 DVD and the 2011 blu-ray is horrible, this leaves us with the 2006 Bonus DVD or a fan made project. In this case I'm using the "Star Wars 77" GOUT upscale by Team Blu. This is a 720p upscale of the 2006 Bonus DVD, with Color Corrections by YouToo. I like the colors in this version more so than Harmy's Despecialized Edition 2.5, but an unfortunate byproduct of the upscale is that there is a layer of almost static grain sitting on top of the action like a blanket, which was so annoying I couldn't watch it. But for our purpose here, which is just to copy the colors, it should work well.

Before starting this tutorial, I already ran through all the steps once with another color source, again by Team Blu, in this case their "V3" Edition, which was a GOUT sourced DVD, and this is how it turned out...

It's not perfect, the skin tones in particular are too red, at least on my screen, but this is probably the result of applying only one set of LUTs to the entire reel. Fixing it on a shot by shot basis will probably produce much better results, so that is what I am going to try now.

The first thing I need to do is select a shot to fix. Let's try this one with Han, Chewie, Luke and Leia heading back to the Falcon after emerging from the Trash compactor. (frames 6827-7205)

So if we trim the working area to just that shot... OK. Now we need to find the same shot in our color reference... And trim that one.

And crop off the black bars.

Now we'll import the faded footage and try to register the two as closely as possible. First let's shrink it down to match the 720p footage. Then set the mode to "Difference" and just try to manually line them up...

Close enough. OK. Before I go any further, let's test out a few commercial tools and see what they can do for us. First let's try the Auto Color effect in After Effects. Nope, that's not going to work. How about playing with the curves? Well, even if I knew what I was doing, it might take hours to get what is still going to look like a very washed out and faded color film.

So let's try RevisionFX RE:Match which retails for $89 ($329 for the Pro version). So if we apply that effect, set the color source to SW77. hmm. better. Let's try some different modes. Ok, histogram 2 does a pretty nice job actually. But we can do better.

Now to be fair, Re:Match was designed to address the problems of multi camera shoots - in other words matching the footage from camera one with that of camera two, and in my experience, if you have two sources that are already very similar it does do a pretty good job of matching them up.

Let's see what else do I have here? Boris Continum includes a "Color Match" effect. Despite the name, I think it is more of a Luma Match tool, designed to match the lighting conditions between two sets of footage of the same shot but from different cameras, but let's give it a try because the name of the effect implies that it can do what we want it to do....

[usercontrol: ~/user controls/SovrnContentAd.ascx]

I don't think you can buy just the Color Match Effect on it's own from Boris FX, it only comes bundled with other Effects, but these bundles start at $49.95 which isn't bad at all.

But let's back on track here and see what we can do using Dre's tools. First we are going to need some sample frames from both the faded version and our color reference. Rather than manually grabbing frames, let's create a new composition, based on this one, resize it to an SD resolution, and... How many frames do we have here? 378. 378 / 16 = about 23. So let's Enable Time Remapping, alt + click on the stopwatch and type in the following expression:  

n = 23;
n*time

What that will do, is give us only every 23rd frame, for a total of 16 frames. Instead of basing our color calculations on a single frame, we're going to create a montage of 16 frames. Let's trim this composition to 16 frames... And render it as a Tiff sequence. Now let's go back and switch the underlying source back to the color version. And render it again - but changing the destination. ok.

Now let's switch to Photoshop. Open the first image, increase the canvas size 400% from the top left corner. grab all the remaining images and drag them onto our canvas. If you have an earlier version of Photoshop you may find they all just open in their own windows. If that happens, you'll just have to use Ctrl + A to select all and Ctrl + C to copy and then switch back to the canvas and paste in each image, one at a time, but newer versions of Photoshop allow you to place each image on the canvas one at a time, which is exactly what we need here.

Ok, so there is our "Test" Image. Let's save that. Now let's do the same thing with the color images to create our "reference" image.

OK. Now comes the fun part. If we open up Dre's new Color Balance Tool (which is currently still in Beta and not available for download yet) and import our faded samples. And click "Build Color Balancing Model" in just a few seconds it balances the image, reducing the red and generally making it look much better. It is still very faded looking, which is to be expected, and this is about as good as you could get playing with the curves or color wheels in After Effects or Resolve. But this is only the first part of the process. First we Balance, then we Match. Let's save that LUT. And we should save the output image to use when matching.

OK. So now we open the Color Matching tool, which some of you may have seen before in my other tutorials, and which can be downloaded from the thread on OriginalTrilogy.com, or from here at TheStarWarsTrilogy.com. So we open up the balanced image as our "Test" Image, and crop off the white border. Then we open up our "Reference" image, no cropping required, and click "Build Color Matching Model", and wait for that to complete. Wow. Looks pretty good doesn't it? So let's save that LUT as "Match".

Let's also save the output image, because you may be wondering what happens if we skip the balancing step and jump straight to the Match. Well, let's try it... Still looks pretty good, and you may not even be able to see much of a difference, but in my experience balancing and then matching provides a much smoother image. There are often many artifacts that appear when you skip the balancing step.

Anyway, now we have our two LUT files, we can switch back to After Effects and apply them. And there you have it.

Now if we apply those LUTs to the whole reel, most of it still looks pretty great, but obviously repeating these steps for each scene will produce slightly better results.

So. There you have it. Hopefully you will find this video either helpful or entertaining, or perhaps even both; and the next time you see a faded 35mm trailer being sold dirt cheap on eBay because it is pink, you'll remember this video and buy it knowing that it can be restored.

Oh, and if you happen to work in Hollywood, restoring film, you know where to find me...

Related Content

[usercontrol: ~/user controls/MatchedContentAd.ascx]

Cleaning Up Team Negative One's Silver Screen Edition of Star Wars

$
0
0

I wanted to test out a number of different After Effect Noise Reduction plugins, and I knew that this 35mm version of Star Wars certainly has some noisy scenes. Would today's DNR (digital Noise Redution) tools cause the same kind of smearing and weirdness we see on the 2006 Bonus DVD, or have things improved a great deal since 1993?

Testing Digital Noise Reduction Plugins for After Effects, on the Star Wars SSE

Hello Star Wars fans!

Today I'm going to take a look at some of the commercial noise reduction plugins for After Effects, and show you how you might use them to improve the quality of Team Negative One's Silver Screen Edition.

One of the most common complaints I hear about the SSE is about how grainy it is, and I think that is because of scenes like this one. This is probably the second worst shot in terms of how grimy it looks, in the whole film. (we'll tackle the worst shot shortly.)

However, the fact is that if you saw this film in Theaters in 1977 or in any of the cinema re-releases in the 1980s, you'll know that this is how it actually looked. I have access to 4 or 5 different 35mm prints of Star Wars on various film stocks, including two Technicolor prints, the LPP used for the SSE, and the red faded Eastman print we were looking at last time, and they all look like this. If you look at this scene on the 16mm and 8mm prints, it's there too, and even on the laserdiscs and VHS copies, despite the low resolution, you can still see traces of these brown blobs, so there is no doubt in my mind that this is how it looked in 1977.

Is it supposed to look like this? Did George Lucas want it to look like this? I seriously doubt it, but by the time he got the film back from the lab he was out of time and money so that's how it looks. This is how it was for two decades so we didn't want to fix it for the Silver Screen Edition. If we had done so, we would have been accused by many of the same sort of revisionism that Lucas himself is guilty of.

But now that the original is out there, there is no reason why you can't fix it and make it the way YOU want to see it. So I'm here to show you how you can have your cake and eat it too. A lot of the footage used by Harmy to "despecialize" the official blu-ray actually came from the 2006 Bonus DVD, affectionatly known as the "GOUT" (George's Original Unaltered Trilogy), and he did some truly remarkable things to make that work seamlessly, but now that the Silver Screen Edition is out there, anyone with a little know how can go in and Despecialize the blu-ray or swap out shots from Harmy's masterpiece with real 1080p Star Wars.

Of course, just dropping this shot back in would be extremely jarring! Clearly it needs to be cleaned up some more.

So with that in mind, let's jump right in and try to fix up two of the grungiest shots of the SSE and make them ready for their Despecialized closeup.

We'll start with the Sandcrawler shot (a shot that was completely replaced in the Special Edition), which comes right after the "Look, Sir, Droids!" line when the stormtroopers check out the escape pod. The first thing I did was stabilize the shot using the VFX Warp Stabilizer effect in After Effects, because it was still a bit wobbly in the Silver Screen Edition and that affected the cleanup.

So here it is before we add any noise reduction effects. If we zoom in a little you can see it doesn't really look like film grain - it's just weird floating brown blobs, and this sort of color noise is present in a lot of scenes, particularly in the desert, but also on the Falcon. Perhaps it's the film stock used in the camera or maybe there was a stocking or some kind of weird filter on the camera. Whatever it is, let's see if we can reduce it to a more tolerable level.

RevisionFX offers two different Noise Reduction plugins for After Effects. The first one, called DE:Noise works pretty well here with just the default settings. The Sandcrawler moves so slowly that this scene is almost static, and because there isn't a lot of motion we can crank up the noise reduction a little without seeing any of the smearing or other problems that happen in high motion shots. With this effect, on this shot, though I don't see a lot of difference as I play with the settings. I don't know how much of it will come through on the screen capture, especially after YouTube recompresses it, but I'm not seeing a lot of changes here.

The second effect is called DE:Noise Frame Average. The default settings aren't nearly so impressive but if I tweak the threshold to about 40 and increase the frames Before and After to 2, it looks much better. Comparing it to the basic DE:Noise I think it is slightly better here, there are certainly fewer brown blobs.

The third effect by RevisionFX that I want to show you is their Deflicker Effect. For some reason this effect does a fantastic job of removing the noise while preserving detail, however if there is any kind of significant movement there is horrible smearing. Here though, it works pretty well using noise clean method #1 or #2.

[usercontrol: ~/user controls/AmazonContentAd.ascx]

Red Giant's Denoiser II does a nice job here too, the only change to the default settings I made here was to change the "Footage Source" to "film". Since most of the noise is in the blue channel, increasing the "Blue Offset" by 100% under "fine tuning" further improves the image. Overall, it looks smoother and cleaner than any of the RevisionFX.

BorisFX Noise Reduction Effect has a lot of tweakable settings, but I certainly didn't bother to read the manual to find out what they all do! But adjusting the sliders under Temporal and Spacial smoothing produces pretty nice results.

Finally, there is NeatVideo (which is also available for Virtualdub). I have been a customer of theirs since version 2.0, and of all the effects we have tried so far, I think this is the best one out there, and it is the one I use the most. It is able to almost completely remove all the those blobs from this shot, while retaining all the detail. You're probably thinking, that we're done - that this cleaned footage could now be dropped right into the blu-ray footage, though you might have to crank up the saturation and add a blue/magenta tint to it if you want it to match the blu-ray colors, but I mean it looks great, right?

But wait. Watch whap happens when you play it back. Look at the clouds. It's almost as if there is a heat haze up there. None of the other effeccts are having this problem. They don't get it so clean, but the clouds aren't changing shape either. The best solution here might be to use one of the other filters, and then apply Neat Video on top of that. I don't really like the idea of filtering it twice, but that might be the best solution here.

Let's move on to the next shot which is the Land Speeder entering Mos Eisley. This is without a doubt, the grungiest shot in the whole movie. So right off the bat let's show you the before and After, and then we'll take a look at how well the various plugins did. So here's the before - plenty of brown blobs. And here is after, again using the Neat Video 4 plugin. You'll notice that I added some color and a little film grain too. Now I think that looks really good given the source.

If you've watched Mike Verta's video on this shot, you'll notice that he managed to recover more detail, but then he was working with a 4k scan of the Technicolor print, while this is from a 2k scan of the LPP, which was itself a duplicate made from another 35mm print. So unfortunately the power lines visible in the blu-ray (and somewhat recovered in Legacy Edition) could not be recovered here.

I think it looks really good - until you look at the blu-ray. While there are obviously a ton of issues with the Blu-ray version - CGI dinosaurs, the speeder has had the bottom completely shaved off, and the colors are just hideous - but there is no denying that the level of detail and sharpness is a huge step up here. But again, the Blu-ray was able to recomposite many of the original elements directly from the camera negatives, so that is to be expected. I ran this shot through Dr Dre's Color Balance tool to create a LUT. Applying it, makes the colors a little more natural.

It looks like they also worked very hard to remove that smear of vasaline on the camera lens (you can see it moves with the camera) which was there to help obscure the wheels on the Speeder. But anyway, when compared to the Blu-ray it does seem like a bit of a let down, until of course you see all the CGI crap and you turn that layer off. From Before to After is still quite impressive, right?

Especially when compared to the next best official release: This is the same shot from the 2006 Bonus DVD. Now you remember when I talked about how we didn't need to worry about "temporal smearing" when working on the Sandcrawler shot, because there was no fast motion, well in this shot there is plenty of motion. Not only are the people moving, and the speeder is whizzing by, but the camera is panning too.

There are two basic kinds of cleanup techniques. Spacial Cleaning recruits nearby pixels from the same frame, and Temporal cleaning uses the pixels from the previous / next frame. As I scroll through the GOUT version here, what do you notice? See the guy's leg? It vanishes! Then the whole Guy just gets blurred out completely - He's the invisible man! This is what happens when using any kind of automated cleanup tools - though today the side effects are not nearly so bad. But it's why the Silver Screen Edition was cleaned manually, frame by frame whenever possible. The 2006 Bonus DVD uses a master created for the 1993 Definitive Edition Laserdiscs, and their automated cleanup process leaves a lot to be desired. And the fact that Neat Video was able to prevent this problem is really very impressive.

Let me show you how well that RevisionFX Deflicker tool worked here. As you can see, the static areas look fantastic, but the areas with motion are all smeary, with echos of past and future frames. Even the regular DE:Noise effect shows some smearing - look at the guys leg - and this is with the default settings. The Frame Average one, doesn't do much here on the default setting - just sort of blurs the brown blobs. Upping the threshold helps, but if we go as high as 40, which is what we used on the Sandcrawler shot, there is all kinds of smearing.

 Using the Red Giant Denoiser II with the same settings here as we used on the Sandcrawler just isn't good enough, and increasing the sensitivity creates some weird, wavy artifacts, similar to those we saw on the DVD, while washing out details, particularly on the ground.
 
 Here is the BorisFX plugin with the same settings we used on the Sandcrawler. Watch as I turn it on and off. See all that pixelation? And look at the tower - it is being blended into the sky.
 
 Which brings up back to the Neat Video plugin. all the brown blobs are just about gone, there is no smearing, and most of the detail is still there. It doesn't look quite so sharp, but that is an illusion.
 
 But anyway, that's about it for today, I look forward to seeing new projects featuring re-purposed Silver Screen Edition footage.

Related Content

[usercontrol: ~/user controls/MatchedContentAd.ascx]

Star Wars Project 4k77 Techniques

Star Wars Project 4k77 Sources

$
0
0

Sources

Hello Star Wars fans!

We've had a few questions about the 35mm sources we are using, so I figured I would just show you what they are. 

Most of project 4K77 will be either Eastman or Technicolor, supplemented by an upscaled Silver Screen Edition when needed, most notably at the reel changes. We are still waiting on a complete 4k scan of the Spanish LPP on which the Silver Screen Edition was based, but we do still have access to those reels, so if it became absolutely necessary we could make our own 4k scan of any given shot. But since both the Eastman and the Technicolor prints are sharper and less grainy, the LPP is really only being used as a repair layer and we can move ahead without that new scan.

Some of you may be wondering, "but are you using THAT Technicolor print, the one Mike Verta used for his Legacy Edition and that caused so much trouble earlier this year?" Well, we are using it as a color reference for sure, and it may be called upon to provide some frames if they are missing from other prints, occasionally even entire shots. As you may recall, Mike Verta himself sent us the entire Greedo Sequence from this print in 4k for us to use in the Silver Screen Edition and that's exactly what we did. But the fact is that we actually have access to another 35mm Technicolor print of Star Wars that has far less damage. And this is one that Mike Verta does not even have. Let me show you.

So this is the Tech that Mike used as the backbone of his Legacy Edition. As you can see, there is lots of damage, but the colors are really good. Still, it's a lot of work to clean that up.

Now this is our scan of the other Technicolor print. The colors are not so good, but that really doesn't matter because we have Dr. Dre and his wonderful algorithms that can almost perfectly match our scan to the other one. But just look at how much less damage there is! So, rest assured, when it comes to the Technicolor footage, we will be using our own scan over Mike's most of the time.

As you know we also have several Eastman Reels. Reel 1 is in pretty good shape despite the fading, but not all of the reels are so good. Here is the same sequence we were just looking at but on the Eastman stock:

Yikes, clearly our Technicolor scan is the best choice for this sequence. As you saw in our Techniques video, every shot is really a combination of prints, so really it would be our Tech laid on top of the Silver Screen Edition.

So there you have it. We pick the best source we have for each shot.

Download an extended preview.

How to remove some of the image warping in "Star Wars" using Adobe After Effects

$
0
0

Sem Skywalker recently posted a nice video on YouTube demonstrating how to fix some of the warping seen in Team Negative One's Silver Screen Edition:

While the technique works beautifully for this shot, and probably some others too, unfortunately it will not work on all of them. Any shot that contains a camera pan, or a lot of motion will end up more warped than before, but it is certainly worth trying out on any shot that exhibits this kind of problem, so I do recommend you try it out. Newer versions of PFClean also have some tools for dewarping, and perhaps we'll explore them in a later tutorial. Meanwhile, thanks to Sem for sharing this video with us. 

[usercontrol: ~/user controls/MatchedContentAd.ascx]

Viewing all 21 articles
Browse latest View live