View Full Version : New Chroma Cleaner from Mohan -"DeVeed"
Pookie
5th January 2007, 13:04
Designed to address the "Green Gunk" chroma noise (see source below). Fast - 19 fps unprocessed; 15fps with DeVeed.
Source
http://img4.glowfoto.com/images/2007/01/05-0419273659T.png (http://www.glowfoto.com/viewimage.php?img=05-041927L&y=2007&m=01&t=png&rand=3659&srv=img4)
DeVeed(pgu=9)
http://img4.glowfoto.com/images/2007/01/05-0420559761T.png (http://www.glowfoto.com/viewimage.php?img=05-042055L&y=2007&m=01&t=png&rand=9761&srv=img4)
Thanks for this one, VC :)
Other New Filters Over there as Well - "Nirmalam"-> an adaptive noise reducer, "Weedfn"-> a spatial denoiser, and "SegmentedAmp"-> a powerful watershed based image enhancer. Many filters work in RGB in addition to YV12 and YUY.
http://www.avisynth.org/vcmohan/
ADLANCAS
5th January 2007, 15:31
Sorry, I see no difference!
unskinnyboy
5th January 2007, 16:04
Well, denoising is happening with DeVeed alright, but it is very subtle (even when you use the strongest parameters). DeVeed might get you a compressibility boost of 1-2% on a full length movie encode, but nothing more. Do a Subtract(..)+Levels(127,1,129,0,255) to see the differences between the the input/output clips for yourself.
Haven't looked at the other filters yet.
Pookie
6th January 2007, 10:31
ADLANCAS - You must be able to see it in this example (look on her face)
http://img205.imageshack.us/img205/7869/compareis2.th.png (http://img205.imageshack.us/my.php?image=compareis2.png)
The other choice is using fft3dgpu on the chroma planes, but you take a performance hit to 8.5fps
unskinnyboy - I think the goal on this one isn't compressibility, but rather transcoding speed.
zambelli
6th January 2007, 10:35
ADLANCAS - You must be able to see it in this example (look on her face)
That is indeed very subtle! Are those green-yellowish spots the result of bad chroma subsampling or bad CCD?
Blue_MiSfit
6th January 2007, 10:41
very subtle, but when you switch back and forth a lot it becomes apparent. Remarkable that such a subtle detail could be removed. I like it!
The other choice is using fft3dgpu on the chroma planes, but you take a performance hit to 8.5fps
Not if you have a lightning fast GPU :) For me it runs almost realtime
Pookie
6th January 2007, 10:45
Not if you have a lightning fast GPU :) For me it runs almost realtime
Now I'm the one with the green face :D
zambelli - I believe the answer is "yes"
Fizick
6th January 2007, 11:55
It is probably pure spatial filter.
ADLANCAS
6th January 2007, 23:29
Itīs very subtle, but maybe (not) more visible on movement :D
Jack Cox
12th February 2007, 02:04
Does anyone else get weird red halos when using this?
Boulder
12th February 2007, 13:23
Could you elaborate a bit, some screenshots and your script would be good to see.
Jack Cox
12th February 2007, 22:16
The script is just mpeg2source and DeVeed() nothing else since I'm just testing out the filter.
Without DeVeed:
http://img475.imageshack.us/img475/7417/withoutng3.jpg
With DeVeed:
http://img475.imageshack.us/img475/4683/deveedll1.jpg
Basically the only way to get rid of the halos is to make the cleaner completely ineffective.
Pookie
12th February 2007, 23:03
I don't see halos, although if you don't like the results of Daveed, you can use
fft3dfilter(plane=3, sigma=3)
Jack Cox
12th February 2007, 23:17
I don't see halos, although if you don't like the results of Daveed, you can use
fft3dfilter(plane=3, sigma=3)
Look at the red wires, there is a halo of red around them. It's like its shifting the chroma.
Jack Cox
12th February 2007, 23:22
http://img71.imageshack.us/img71/7950/withoutdeveedqc2.jpg
http://img71.imageshack.us/img71/9421/deveedmb2.jpg
Jack Cox
12th February 2007, 23:30
In case the grain is interferring with you seeing it here is the same shot but denoised.
http://img45.imageshack.us/img45/3097/degrainwithoutti0.jpg
http://img125.imageshack.us/img125/8857/degraindeveedrx2.jpg
Pookie
13th February 2007, 00:05
You can pm vcmohan and ask. He's a good hearted soul.
He's got another similar but different chroma cleaner
http://avisynth.org/vcmohan/WeedFN/WeedFN.html
vcmohan
13th February 2007, 10:57
Really surprised at the results got by Jack Cox. Today I processed with the following code.
<code>
wit=imagereader("d:\transPlugins\images\withoutng3.jpg",0,1,25,false).crop(2,2,0,0)
wit = selectodd(wit).converttoYuy2()
deveed(wit)
</code>
The result is ;-
http://img355.imageshack.us/img355/5354/witdveed0ky4.jpg (http://imageshack.us)
I have also examined using subtract. I did not find the artefacts mentioned by Jack Cox
Boulder
13th February 2007, 11:03
I think he should upload a sample clip of the original unprocessed source, a couple of frames should do? Chances are that it'll only show up when using DeVeed on the original YV12 video.
Jack Cox
13th February 2007, 18:42
I think he should upload a sample clip of the original unprocessed source, a couple of frames should do? Chances are that it'll only show up when using DeVeed on the original YV12 video.
I could, but it's not source related. Anything I've tried it on I get the same effect.
Jack Cox
13th February 2007, 18:45
Really surprised at the results got by Jack Cox. Today I processed with the following code.
<code>
wit=imagereader("d:\transPlugins\images\withoutng3.jpg",0,1,25,false).crop(2,2,0,0)
wit = selectodd(wit).converttoYuy2()
deveed(wit)
</code>
I have also examined using subtract. I did not find the artefacts mentioned by Jack Cox
Why are you converting to YUY2? Does this not work for YV12 stuff? Maybe that's the problem.
Jack Cox
13th February 2007, 18:50
Just to show its nothing related to the source here's from another source:
The entirety of the script is:
mpeg2source("thing.d2v")
DeVeed()
http://img106.imageshack.us/img106/7893/withoutgy7.th.jpg (http://img106.imageshack.us/my.php?image=withoutgy7.jpg)
http://img251.imageshack.us/img251/1852/deveedbb7.th.jpg (http://img251.imageshack.us/my.php?image=deveedbb7.jpg)
vcmohan
14th February 2007, 04:15
Why are you converting to YUY2? Does this not work for YV12 stuff? Maybe that's the problem.
Sorry for that. When I use image reader I get RGB24. So I have converted to YUY2. Even after conversion to YV12() I do not see the artefacts displayed by you.
I processed the next image using conversion to YV12. The result is:
http://img253.imageshack.us/img253/7773/dveed70dm3.jpg (http://imageshack.us)
When I subtract this from your result I get a lot of difference. May be due to cropping, but did not seem to be.
I am equally perplexed.
Boulder
14th February 2007, 07:36
What Avisynth versions do you both use? Maybe that's the place where the answer to the difference lies.
vcmohan
14th February 2007, 13:47
I use 2.5.6 . But will it make or should avisynth not ensure that no difference occurs due to this version change?
Boulder
14th February 2007, 13:53
One never knows.. I asked so that any Avisynth weirdness can be counted out.
Jack Cox
15th February 2007, 02:39
2.5.7 here.
vcmohan
19th February 2007, 11:02
Sorry. I just realised that I had two versions of deveed on my disk and probably the wrong one was on my site. I have corrected it. Please try this one. Once again sorry for inconvenience.
Boulder
19th February 2007, 20:27
Is the working version available on your site? I tried downloading it but it seems to be identical to the one I already have on my HD.
vcmohan
20th February 2007, 04:00
The one on the site is the correct one. I checked again. I thought that since for a few weeks I could not access my site, I might not have updated it. But it looks it was updated. It is working fine.
Jack Cox
22nd February 2007, 22:34
The one on the site is the correct one. I checked again. I thought that since for a few weeks I could not access my site, I might not have updated it. But it looks it was updated. It is working fine.
So no idea why its causing the chroma shift that happens on every source that I've tested it on?
vcmohan
23rd February 2007, 03:53
I am at a loss as on my system I do not find this problem. Incidentally why your jpgs have odd dimensions? YV12 should have dimensions divisible by 4 .
May be some other user tries on his system to see whether he also gets same problem. request boulder or pookie to try.
Boulder
23rd February 2007, 12:16
I'll try it later today when I get home. I actually was thinking about doing that earlier but forgot.
Boulder
23rd February 2007, 17:12
I couldn't get such artifacts. The only thing that I noticed was that the red color bleeds slightly with DeVeed but there's no halo such as in Jack Cox's sample images.
unskinnyboy
24th February 2007, 21:59
I had previously noticed the red color chroma bleeding, but I wasn't really sure if it was really happening or if it was just my eyes.
Did some checking now and unless it's my eyes again, here it is:
http://img9.imagepile.net/img9/thmb32035iozo9.png (http://img9.imagepile.net/view.php?file=32035iozo9.png)
vcmohan
25th February 2007, 03:18
In the default mode the u and v correction limits are different. Please try with your own values. My old eyes could not detect the bleeding.
Boulder
25th February 2007, 15:38
A small issue: str must be 1-8, not 1-10 as in the docs.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.