PDA

View Full Version : how to sharpening a VHS-Cap in horizontal direction only?


scharfis_brain
9th November 2003, 01:56
I am searching for a method to only sharp in horizontal direction.
The purpose is, to get my VHS-Captures more crispy without affecting the vertical direction, that is already very crisp, due to the nature of VHS.

I would like to have a warpsharp-like sharpening effect.

Any Ideas?

jorel
9th November 2003, 03:29
hy scharfis_brain.

try with unfilter (Tom Barry)!

parameters from read-me:
UnFilter(HSharp, VSharp)
Valid values for each are from
-100 (max softness) through zero (neutral)
through +100 (max sharpness).

examples for test:
Unfilter(50,0)
encrease only horizontal
or
Unfilter(0,-50)
decrease only vertical.

scharfis_brain
9th November 2003, 03:39
vhs is way to blurred in horizontal direction.
unfilter doesn't catch it!

the only result, that I get with unfilter is amplified high frequency-noise...

vhelp
9th November 2003, 06:42
Hi scharfis_brain,

I know you're no dummy. But, what resolution are capturing at ??
And, are you resizing at all ??
.
.
can you post a sample clip (few frames from .avi is ok)

I'm curious, cause I do VHS's too. In fact, I just did a few today
w/ my advc-100 (was testing an new IVTC method) (see link below for more info)

* simple IVTC filter (vdub or AVIsynth) w/out decision making ? (http://forum.doom9.org/showthread.php?s=&postid=396773#post396773)

I think this method helps to keep the as much sharpness as possible,
w/out the tipicle "blending" that the other external IVTC methods sometimes
produce (pending upon source)

Give this some thought,
-vhelp

scharfis_brain
9th November 2003, 09:33
capped at 768x576
reduced to 480x576
and even unfilter(100,0) does only unnoticable sharpening.

I've tried the folling, that works pretty good and pretty slow:

function vhssharp(clip clip, int oversize)
{
y=clip.height
pointresize(clip,clip.width,y*oversize)

warpsharp(depth=160, blur=5, bump=128, cubic=-0.6)

crop(0,oversize/2,0,0).addborders(0,0,0,oversize/2)
pointresize(clip.width,y)
}

this reduces the vertical effects of the warpsharper... but slows down everything.

IMO values above 4 for oversize give good results...

but I doubt this is the only solution for horizontal-only sharpening...

vhelp
9th November 2003, 16:04
Hi scharfis_brain,

I'll have to try your filter out (out of curiosity) Hope I have all
the necessary .dll's :eek:
.
.
But, aren't you worried about the added sharpness increasing your
bitrate ??
..or, are you planning on authoring to DVD, then the increased bitrate
wouldn't matter so much (on a per disk, per movie, bases)

-vhelp

scharfis_brain
9th November 2003, 16:12
But, aren't you worried about the added sharpness increasing your
bitrate ??
..or, are you planning on authoring to DVD, then the increased bitrate
wouldn't matter so much (on a per disk, per movie, bases)

It is a low-motion progressive 4:3 - Source on VHS.
I plan to encode it for SVCD (480x576) at full SVCD-bitrate (CBR)
The Video is about 23 Minutes....

So I don't think, sharpening will make the Video blocky...

vhelp
9th November 2003, 16:19
.
.
oh.. :cool:

-vhelp

Boulder
9th November 2003, 17:11
How about Sharpen(1,0) ?

scharfis_brain
9th November 2003, 17:29
already tried.

doesn't give a noticable sharpening effect (amplifies moise, hehe)

on VHS, a contrast-step is about 3 to 5 pixels wide on 768 pixels resolution. unfilter() or sharp() are not able to produce a visual sharpening of this blurred horizontal contrast step.

Didée
9th November 2003, 19:08
Have you tried 'XSharpen' and 'UnsharpMask' coming with this (http://www.geocities.co.jp/SiliconValley-PaloAlto/2382/) WarpSharp.dll?
I guess you won't come around the vertical overdrive, though :(

- Didée

[edit]
Oops, just saw from your script that you're already using the "right" WarpSharp package, sorry.

[edit2]
Hmmm... since you are going to use an area sharpener anyway - perhaps it could turn out useful to run the source through 'FixVHSoversharp', prior to sharpening? It deals pretty good with horizontal EE, if present in the source.

scharfis_brain
9th November 2003, 20:02
My VHS VCR has an adjustable internal sharpening.
Its default gives a non-sharped VHS-picture, so there is no need for FixVHSOversharp.

But what is "EE"?

Boulder
9th November 2003, 20:25
Originally posted by scharfis_brain

But what is "EE"?

Edge enhancement?