Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd September 2007, 22:35   #1  |  Link
Pookie
Registered User
 
Join Date: Apr 2005
Posts: 1,339
New Plugin from Kassandro - RemoveGrainHD

RemoveGrainHD 0.1
A collection of Avisynth 2.5x denoising filters

By Rainer Wittmann

http://www.removegrainhd.de.tf/

HD stands for High Definition, i.e. for high resolution input. For this kind of video RemoveGrain, which changes a pixel in terms of its eight direct neighbours, may be too narrow, because due to the high resolution noise often consists of pixel clusters rather than isolated pixels. Thus instead of RemoveGrain's 3x3 neighbourhood the filter RemoveGrainHD uses a rather arbitrary symmetric rectangle (preferrably but not neccessarily a square) around a pixel to process it. Of course not all the many RemoveGrain modes can be extended to this setting. In fact, the current version of RemoveGrainHD only contains the 4 original modes, with which RemoveGrain was started once. Nevertheless a useful Repair variant, which serves the same purpose as the Repair plugin of the RemoveGrain package, is included as well. There is even a spatio-temporal version called TemporalRemoveGrainHD, which has no counterpart in RemoveGrain at all. While RemoveGrain uses a very high level of parallelism - the SSE2/SSE3 version processes 16 pixels simultaneously - this is unfortunately no more possible for RemoveGrainHD. It is a rather ordinary C/C++ program without any inline assembler code. Nevertheless performance is not that bad thanks to some ideas, which I have taken from Tonny Petersen's (called tsp on the Doom9 forum) medianblur filter. However, there are some subtle changes, which should also improve Medianblur. Thus I have reimplemented Medianblur in this plugin. This filter is called Quantile, because it not only can calculate the median of an arbitrary surrounding rectangle but also arbitrary quantiles of these rectangels. The median then is just a special quantile. RemoveGrainHD can be emulated with an Avisynth script, which involves two instances of the filter Quantile and two Lutxy instances. However, such a script is substantially slower.
Pookie is offline   Reply With Quote
Old 2nd September 2007, 23:23   #2  |  Link
Prim3
Registered User
 
Join Date: Dec 2006
Posts: 47
Nice, I might try it sometime.

Thank-you!
Prim3 is offline   Reply With Quote
Old 3rd September 2007, 00:12   #3  |  Link
salehin
Learning
 
Join Date: Nov 2006
Location: Earth
Posts: 88
Thanks for the filter. Will give it a try. Have you tried using it on Std Def (SD) content? If so, can you please post some comparisons 9screenshots, small clips and etc). I'm still learning about the usage of filters and so your guides will be very helpful

Cheers

- Salehin
salehin is offline   Reply With Quote
Old 3rd September 2007, 01:49   #4  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,389
Splendid.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 3rd September 2007, 04:19   #5  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
OT: Is Kassandro still banned from the forums?

Or did he just decide not to post anymore?
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake?

Curly: Burned at the stake!

Moe: Why?

Curly: A hot steak is always better than a cold chop.
Revgen is offline   Reply With Quote
Old 3rd September 2007, 06:27   #6  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
I don't think he's banned, at least I remember him posting after the ban I recall him receiving. He probably just got bored of the D9 forum and decided to set up his own.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 29th November 2007, 09:52   #7  |  Link
Pookie
Registered User
 
Join Date: Apr 2005
Posts: 1,339
Version 0.3 (2007.11.26) : Completely new implementation (hopefully faster) of the RemoveGrainHD and TemporalRemoveGrainHD and a more flexible design with include skeletons of the entire plugin.
Pookie is offline   Reply With Quote
Old 31st August 2010, 17:38   #8  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 673
What differences have removegrain 1.0pre with removegrainhd? Does the optimized speed? Do you keep more detail?

Can anyone clarify these doubts and if its use is highly recommended that of removegrain?
Overdrive80 is offline   Reply With Quote
Old 31st August 2010, 18:43   #9  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,389
Blataneously simplified, RemoveGrainHD works with a bigger radius. Normal RemoveGrain works only on 3x3 pixel windows, i.e. when a pixel is processed, only the immediate neighbors of that pixel are considered. RemoveGrainHD can work on 3x3, 5x5,7x7, ... windows, also on non-square windows like e.g. 3x7 or 11x5, and has a bunch of new processing modes.

It may come handy for HD sources, since a plain 3x3 filter often is simply too small to make any reasonble filtering on HD content.

But then, it's still just basic filters, without any particular magic in themselves. The magic has to be introduced by the user, by making clever usage of the filter primitives.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 31st August 2010, 19:24   #10  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 673
Thanks Didée.
Overdrive80 is offline   Reply With Quote
Old 24th September 2010, 01:37   #11  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
Quote:
Originally Posted by Revgen View Post
OT: Is Kassandro still banned from the forums?

Or did he just decide not to post anymore?
He is still active on the Videoprocessing forum.
http://videoprocessing.11.forumer.co...topic.php?t=93
As a note of caution, I am posting this link merely to aid Revgen in his question and provide him with a source of information to go along with it, no other reason.

Last edited by Ranguvar; 24th September 2010 at 04:44.
Ranguvar is offline   Reply With Quote
Old 24th September 2010, 01:56   #12  |  Link
Usedocne
lurkster
 
Join Date: Jul 2009
Location: D9|D10
Posts: 123
Can't believe I've overlooked this filter. *downloads*

OT. It's a great shame the VE community is so fragmented.
Usedocne is offline   Reply With Quote
Old 2nd April 2015, 20:31   #13  |  Link
xekon
Registered User
 
Join Date: Jul 2011
Posts: 224
where can this be downloaded, appears link is dead. from what I can tell 0.5 was the latest release at some point.

Last edited by xekon; 2nd April 2015 at 20:34.
xekon is offline   Reply With Quote
Old 2nd April 2015, 20:37   #14  |  Link
captainadamo
Guest
 
Posts: n/a
Can be grabbed here.
  Reply With Quote
Old 24th February 2021, 14:43   #15  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,309
Project moved to github.

Check v0.6 at https://github.com/pinterf/RemoveGrainHD/releases

There are no changes in core or in any functionality.
The plugin was just moved to Avisynth 2.6 interface and get it built under VS2019. x64 version is available as well.

Not tested at all, I'm not using it in any scripts. Feedback is welcome.
pinterf is offline   Reply With Quote
Old 24th February 2021, 16:37   #16  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,542
Quote:
Originally Posted by pinterf View Post
Check v0.6 at
Thanks!

Wouldn't be more rational to move into RgTools, where RemoveGrain(SD) exists already?

P.S: When you have time, please consider to modernize dither filter, please.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 25th February 2021, 09:43   #17  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,309
This plugin is better left as a separated one. It has more common with MedianBlur than with RemoveGrain, and its internal logic is totally different.

New release: v0.7 to support Y8, YV16, YV411, YV24 and 8 bit planar RGB.
pinterf is offline   Reply With Quote
Old 25th February 2021, 10:02   #18  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
Thanks
kedautinh12 is offline   Reply With Quote
Old 26th February 2021, 09:41   #19  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
Thanks for the update, Ferenc.
FranceBB is offline   Reply With Quote
Old 4th March 2021, 21:03   #20  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
I opened discussion in github about using RemoveGrainHD in the scripts I do updates https://github.com/realfinder/AVS-Stuff/discussions/135 since I didn't did something like this before and RemoveGrainHD is not same as RemoveGrain
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:25.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.