#1  
10-04-2012, 02:39 AM
Pate Pate is offline
Free Member
 
Join Date: Aug 2011
Location: Jyväskylä, Finland
Posts: 9
Thanked 1 Time in 1 Post
Hi!

Sorry for the somewhat vague title, but the first problem is that I don't know the correct term for the problem I am curious about. It is sort of edge-enhancement halo, but seems to only happen after bright areas (on a scanline) switch to dark areas. This seems to cause the next luma values to drop below the base level, then jump back up, and only after that the luma value levels to the correct (dark) value.

I believe this was present already in the analogue TV antenna signal when I originally (in 1985) recorded this VHS tape I am trying to digitize.

Is there a way to remove (or minimize) this kind of a picture problem, without blurring or otherwise destroying the picture quality otherwise?

Here attached is an example capture image, see for example the edge where the white shirt switches to black jacket. There is also some halos around the hand and the microphone stand, around his hair, etc.

Any hope for improving this problem?

Thanks!


Attached Images
File Type: jpg EchoHalo.jpg (101.0 KB, 55 downloads)
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
10-04-2012, 07:14 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 376 Times in 342 Posts
That white edge on the black lapel -- the left side, from his point of view -- is a halo. And in a way, it is an echo.

The technical term for this is "ringing".

This is most commonly found on video or still images that have been artificially sharpened. In the digital domain, most sharpening methods add the appearance of sharpness by putting lighter pixels next to darker ones. In the analog domain, it's caused by oscillations in frequency -- and may be intentional or accidental. In both cases, it's faux sharpening. It's not possible to actually add detail, but it can give the appearance of sharpening. The added contrast along edges is what gives this appearance.

Fixes for it tend to be limited or impossible, because it's an embedded image/signal damage. It's not really reversible.

There are times when what appears to be ringing isn't actually ringing, but chroma shifts. Remember that luminance data has the full resolution (i.e., 728x480), while chroma has half to a quarter of the resolution. Because of resolution differences of the actual color data, any mild chroma offset can create a mix of color bleeding and ringing-like artifacts.

However, based on other points in the image, I don't see any chroma offset.

Now then..

If you're determined to correct this, then there may be some methods worth trying by using Avisynth.
Overall, these tend to be more poorly documented than some of the more common Avisynth filters and scripts, so experimentation will likely be required to find the perfect settings.

Deringing is, at the core, blurring the video in those areas. It's not magical removal. So keep that in mind. The scripts essentially search for the ringing issues, then attempt to blur the halos away, possibly even clone them out. As with any other filter that attempts to correct isolated portions of an image, it's possible to run into false positives on the detection, resulting in a video with added artifacts elsewhere.

Proceed with caution.


Attached Files
File Type: zip fixvhsoversharp_25_dll_20030723.zip (16.7 KB, 9 downloads)

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
  #3  
10-04-2012, 08:42 AM
Pate Pate is offline
Free Member
 
Join Date: Aug 2011
Location: Jyväskylä, Finland
Posts: 9
Thanked 1 Time in 1 Post
Thanks for the very informative and thorough reply! (I decided to become a premium member while reading your reply. If even such badly formulated questions get such an expert handling, your site is well worth supporting! ).

I do not want to introduce additional artifacts, even though this ringing is a bit distracting. I'll experiment with the options you gave, thanks for digging them up!

Pate
Reply With Quote
  #4  
10-04-2012, 11:44 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 376 Times in 342 Posts
Quote:
Originally Posted by Pate View Post
Thanks for the very informative and thorough reply! (I decided to become a premium member while reading your reply. If even such badly formulated questions get such an expert handling, your site is well worth supporting! ).
Thanks very much.

Quote:
I'll experiment with the options you gave, thanks for digging them up!
Feel free to attach a short sample clip (16MB max) to this thread, and we can try to run a few tests on it, too.

The most complicated aspects will be:
- Getting Avisynth up and running properly, if you've never done it before.
- Finding the exact versions of plugins. Some DLLs, like Masktools, may be a bit of a nuisance.
- And then finally, playing with settings will take experimentation.

Avisynth is setup here, and several versions of Masktools are available, so I can try to run a quick test between some other projects.
I'm somewhat curious myself, as to how well this may work.

Generally speaking, ringing looks worse the larger the picture gets. A 13" CRT tube TV won't be anywhere near as noticeable as a 60" 1080p HDTV. So be sure that you're judging video fairly -- especially when VHS is the source. I prefer to monitor on a 30-36" CRT or EDTV (sub-HDTV LCD). If that looks good, then it's tested against 55-60" 1080p screens, just for the sake of curiosity.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
  #5  
10-04-2012, 01:33 PM
Pate Pate is offline
Free Member
 
Join Date: Aug 2011
Location: Jyväskylä, Finland
Posts: 9
Thanked 1 Time in 1 Post
Yeah, I actually only noticed the problem after looking at the result of my avisynth conversion full-screen on my 90" projector screen.

I think I will let it be, I experimented with some settings but did not find the result to have sufficient improvement over the original to warrant spending more time with it.

I am somewhat familiar with Avisynth in general (used it many years ago when converting HDTV captures to XviD), but I am not sure whether I have yet found the best filters and plugins for VHS enhancement work. Though, based on what I have managed to get done already, I am pretty surprised at how good the result turns out to be. I keep forgetting it is not a DVD playing, as the result almost looks like one. I suppose this is mostly due to my finally using a JVC S-VHS deck with TBC/DNR, instead of the old poor normal VHS deck I used before.

Pate
Reply With Quote
  #6  
10-04-2012, 02:15 PM
juhok juhok is offline
Free Member
 
Join Date: Sep 2009
Posts: 379
Thanked 108 Times in 88 Posts
My comment on Avisynth denoising (was doing it anyway for elsewhere) http://cdn4.digitalFAQ.com/juhok/Play7_noise_ULY0.avi (UTVideo 4:2:0).
MVTools via SMDegrain with strong prefilter and one of the noisiest sources I've seen. It's not perfect but dimishing returns and stuff.
Reply With Quote
The following users thank juhok for this useful post: lordsmurf (10-05-2012)
Reply




Thread Tools



 
All times are GMT -5. The time now is 04:28 AM