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 30th January 2021, 19:50   #1  |  Link
zkri
Registered User
 
Join Date: Jan 2021
Posts: 2
Question about negative blur function

Hello everyone,
How does negative blur/sharpen work? Does .blur(-1,1) sharpen horizontally only? (Does that even nake sense?) Or it functions as .sharpen(1)
zkri is offline   Reply With Quote
Old 30th January 2021, 20:44   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 9,002
See for Yourself [ Blur(-1) is same as Sharpen(1) ::: Blur max is 1.58, Sharpen max is 1.0 ]

Code:
ITS = 20  # for 20 iterations of blur(-1,1)

C = ColorBars

Eval(StringRepeater("C",".Blur(-1,1)",ITS))

Return Last

Function StringRepeater(String BaseS, String RepS, int n) { # https://forum.doom9.org/showthread.php?p=1878193#post1878193
    # Add n instances of repeat string RepS, to base string BaseS.
    return (n>=1) ? StringRepeater(BaseS+RepS,RepS,n-1):BaseS
}



EDIT: or Blur(1,-1)


EDIT: For horizontal Sharpen only, use 0 for vertical. blur(-1,0)
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 30th January 2021 at 21:29.
StainlessS 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 03:12.


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