logo Sign In

Post #592435

Author
AntcuFaalb
Parent topic
Info: cleaning up dirty frames for scenes
Link to post in topic
https://originaltrilogy.com/post/id/592435/action/topic#592435
Date created
29-Aug-2012, 12:31 PM

althor1138 said:

RemoveDirtMC2  is used in the script I posted in post 2 or 3.  The workflow for the script is:

Stabilization (Depanestimate/Depanstabilize)

Dirt Removal (RemovedirtMC or RemovedirtMC2 depending on version)

Degraining (Mvanalysemulti/MVdegrainmulti)

optional interpolation(Manalyse/Mflowfps)

optional color adjustments (Coloryuv/autolevels/levels)

 

There are other parameters for sharpening and blurring but that's the basic gist of things.

 

Here's a page that has collected a lot of the motion comepensated dirt removers.  You'll notice removedirtmc is now up to version 4 and even removedirthq.  Each one uses the prior version to build upon, I think. So you can't call removedirtmc4 without also having 1,2, and 3.

 

I've seen that page before. The RemoveDirtMC2 has a bug. That is, it says "SelectEvery(clipb, 7, 1)", but it should say "SelectEvery(clipb, 7, 3)". Similarly, it says "SelectEvery(clipb, 5, 1)", but it should say "SelectEvery(clipb, 5, 2)". It only works because "SelectEvery(clipb, 3, 1)" makes sense for a value of 3 and everything else is commented-out.

Furthermore, I'm not too fond of the RemoveDirt function that RemoveDirtMC2 calls. The final call to RemoveGrain removes too much detail. If you use it on the infamous speeder shot in GOUT ANH, you'll see small background objects pseudo-randomly turn on and off.

My version fixes the aforementioned bug and manages to use (internally) a RemoveDirt that preserves detail. It's not perfect, but it's the best I've been able to cobble together from the various sources on the WWW.