Log in

View Full Version : Question on LimitedSharpen


LilScrappy
15th February 2013, 23:30
Nice filter but how to encode same as source, with little sharpen and better picture what script code to use ?

jmartinr
16th February 2013, 12:04
Just encode as is, and sharpen a bit when playing.

x265
16th February 2013, 12:39
MPEG2Source("D:\Users\x265\Desktop\VTS_01_1.d2v", cpu=0)

LimitedSharpen()

movmasty
8th March 2013, 09:14
Never use sharpen filters
use instead contrast/leves ones
to encode noise is not a good idea

Or use sharpen only when playing as said jmartinr

Didée
13th March 2013, 21:54
use instead contrast/leves ones
Bad idea if the source is blurry, but otherwise has correct contrast/levels (globally) to start with.

And OTOH: a sharpen filter is exactly a contrast/levels filter. Just that it works on local contrast, instead of global.

Never use sharpen filters
to encode noise is not a good idea
Easy. Or at least not hard. Just sharpen with bypassing the noise.

source = original
calm = original.Denoise()
sharp = calm.MakeSharp()
sharpdiff = MakeDiff(calm,sharp)
result = source.AddDiff(sharpdiff)

Not particularly ingenious (everything stands & falls with the quality of the chosen "Denoise()" filter, which is absolutely source dependent), but the rookies tend to like the result, usually. ;)

movmasty
16th March 2013, 14:28
And OTOH: a sharpen filter is exactly a contrast/levels filter. Just that it works on local contrast, instead of global.There is more in most od the sharpen filters.


Bad idea if the source is blurry, but otherwise has correct contrast/levels (globally) to start with.
A blurry source doesnt have really correct contrast/levels,
but you could use limited contrast together with reducing gamma

We need a focus/clarify filter as in photoshop.

Didée
16th March 2013, 16:03
There is more in most od the sharpen filters.
I'm talking generic sharpen filters. A generic sharpen filter increases the difference between a pixel and its neighborhood. This is exactly "increase local contrast".
Of course, if you compare with any IdoMoreComplexThingsThanAnyOther_Sharpen() filter, then yes, maybe it does a bit more than that. But such are not really the topic here.

A blurry source doesnt have really correct contrast/levels,
but you could use limited contrast together with reducing gamma
Why should a blurry source necessarily have wrong levels or contrast? If there is a source with correct levels, and you apply a blurring filter, then the source still has corrrect levels and contrast. Globally, that is. For locally, you could require a filter that increases local contrast. Hmh, what could that be ... oh, wait! A sharpen filter could do that! :)

We need a focus/clarify filter as in photoshop.
Highpassing the lowpass of a selected freq.band at times can work wonders.