digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: FixVHSOversharp (Beta) (http://www.digitalfaq.com/archives/avisynth/2851-avisynth-fixvhsoversharp-beta.html)

kwag 07-31-2003 08:26 PM

Quote:

Originally Posted by morsa
Not exactly.I just thought that , if the filter works a line at a time and it only can remove the vertical edges, turning the image would give me the horizontal ones as if they were vertical.So...

Well if that's the case, and the way I see it (please correct me if I'm wrong :!: ), if the edges are the highest frequency component (edges), then a frame could be "High passed" with a filter to retrieve only the high frequency components, then inverted 180 degrees, and re-applied to the full frame. The effect would be 100% cancellation ONLY on the frequency domain being targetted.
But then again, maybe I'm thinking in a "analog" representation :roll:

-kwag

MrTibs 08-01-2003 11:08 AM

@Kwag
To be honest, I'm not sure I understand your comments on this issue. It is true that the oversharp spike is often a high frequency wave but not always. Often the overshapend edges that preceed the edge have more of a sawtooth shape. (If not fixed properly, you get a ringing effect.) On the other hand, Kwag, your suggestion is the ideal solution for this kind of problem. (More thought required here. - How do you write a high pass filter?)

@morsa
As for correcting the oversharp problem above and below edges, this is simply an issue of a dumb programmer. Your suggestion is quite correct, that I could rotate the frame and re-scan. I expect it to be very slow but it could work for now. In the end I need to learn how to program in C++. For now, however, you could use this http://www.avisynth.org/index.php?page=Turn filter to get around the problem.

Could you post your filter script? I am interested on how you achieved good results with the existing filter. I would like to take those setting into consideration when writing the FixDV version.

morsa 08-03-2003 11:56 PM

OK, but don't expect them very soon, cause I'm really busy these days testing this filter and a deconvolution one.Also I'm restoring a whole feature movie from a friend of mine and FixOversharp seems to be the right candidate to correct some shots a stupid cameraman oversharpenned thinking was good.

morsa 08-05-2003 05:25 PM

If anyone is interested my approach of making two passes of fixVHS gave good results.
I apply it before deinterlacing and make a second pass but with the image turned left.All the black borders dissapeared.

MrTibs 10-29-2003 12:50 AM

In case anyone is still watching this forum, I am working on new FixOverhsarp filters. It uses a new correction method that is safe for text and stripes. There will be filter for VHS and DV.

morsa 10-29-2003 01:27 PM

Great to hear some fresh news.I thought further development was stopped.
Could you tell me something more about the new method?

MrTibs 10-29-2003 03:38 PM

The existing method copies brightness values from after the halo, the new method tries to undo the over correction.

The method or "idea" came out of my NoLogo (aka Logo_blend) filter. I am sitll having trouble with blending the halo edges so more work is needed. Once that is done, I'll add a vertical filter as well.

Like everyone else, I thought the filter was almost there but produced too many errors. I'm hoping the new version will solve that.

Preliminary results have been pretty good but the filter still isn't ready for general use yet.

vhelp 11-01-2003 08:30 PM

Hi MrTibs.. :)

I have some questions, if you don't mind sparing some time answering them.

Ok, I'm curious about your filters for VHS sources. My quesiton is, was
this filter created around a given capture card or codec ??
Some examples..
* DV: - - - - advc-100, pass-through etc.
* Analog - - dc10+, ati-tv wonder etc.
.
.
just curious which one was this filter created for, if any.


The other question, will these filters have YUV and/or YV12 support or will
you create separate one for each (my preference) ??

Thanks for taking the time on my posts.

-vhelp

MrTibs 11-03-2003 12:09 AM

I have an old Asus V3000 that I use for capturing. The reason I'm stuck with such an ancient card is the result of incompatibilities between ATI and Asus motherboards. (Yes, I am bitter.) Anyway, normally my capture card wouldn't be able to keep up but a nice fellow in Russia wrote a driver in assembler so that it could. My card tops out at 352x480 in YUY2 so the filter was created to work with those restrictions. Of course I pretty much only use Huffy when I am trying to get a good capture.

I never imagined that anyone would use the VHS filter with DV sources so support for DV resolutions hadn't even occurred to me. Still, if people are trying to use it for DV then I am happy to try to re-write it to with DV support. (Unfilter just isn't strong enough to do the job sometimes.) First, I feel I need to improve the filter on VHS first. (I have VHS tapes piled up waiting for the new filter.) Later, I'll request sample video from users to develop the DV version.

As for YV12 support, yes I think I should add it and I think, I'll keep them separate as you suggested. Personally, I don't use Avisynth 2.5 because it runs slowly on my AMD systems but I will add support for it in the future. (I am a pretty poor C++ programmer so it takes time.)

The biggest challenge I have is not going off to write filters that I have brewing in my head.

vhelp 11-03-2003 12:21 AM

hi MrTibs,

Yes, do take you time :)

There is no rush. Anyways.., I was just curious, and that's why I asked all
the fun questions earlier. And, thanks for clearing that up w/ us and your
special capture card'n Russian driver hehe :)

I'm a bit exhausted myself. Ben working on filteirng and things w/ my DV
footage.

I think we are all a bit burnt out these days. Work is getting to me, and I'm
finding myself slacking off in my surfing and stuff. Anyways, thanks again.

-vhelp


All times are GMT -5. The time now is 06:38 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.