Go Back    Forum > Digital Video > Video Project Help > Restore, Filter, Improve Quality

Reply
 
LinkBack Thread Tools
  #1  
10-20-2022, 12:41 PM
banaguitar banaguitar is offline
Free Member
 
Join Date: Sep 2022
Posts: 12
Thanked 0 Times in 0 Posts
Hi,

is there any way to remove this halo and ghost effect?

https://drive.google.com/file/d/1j_T...ew?usp=sharing

I played the tape on different vcr and everywhere the same halo and ghost effect.


Attached Images
File Type: jpg Rework_beta008348.jpg (42.7 KB, 19 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-21-2022, 03:20 AM
lordsmurf's Avatar
lordsmurf lordsmurf is online now
Site Staff | Video
 
Join Date: Dec 2002
Posts: 14,051
Thanked 2,554 Times in 2,172 Posts
Avisynth can probably tackle much of that, maybe all.

I can't help with writing that script right now, so defer to some of our other members here, like lollo2 of themaster1. Maybe PM them, ask them to help you in this thread. Not in PM, but in the thread, so we can all see the script.

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
  #3  
10-21-2022, 03:21 AM
banaguitar banaguitar is offline
Free Member
 
Join Date: Sep 2022
Posts: 12
Thanked 0 Times in 0 Posts
Thank you lordsmurf

And here is the raw sample


Attached Files
File Type: avi sample.avi (66.48 MB, 16 downloads)
Reply With Quote
  #4  
10-21-2022, 09:07 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 676
Thanked 193 Times in 165 Posts
First of all you should try a new capture without any sharpening set active in the VCR or in the "capture device". Your sample is DV encoded, so I suspect a camera or an analog to dv converter.

Removing a strong halo always "destroys" the rest of the content; it's true that you can further process the video for removing noise and do some sharpening after the halo removal, but what was lost is lost.
In your sample the defect on the left of the person is very very difficult to process.

Here a quick 2 minutes attempt just to show the principle. The chroma shift is intentionally exaggerated and must be reduced. No deinterlace performed, it should be done because Dehalo_Alpha needs progressive material.
You can try to play with the parameters of the filters, apply Dehalo_Alpha twice with different set of parameters, etc..., but the best is to introduce a mask to preserve the rest of the area and only act on the edges. Again, try to re-capture if the defetcs are not already in the tape.

https://imgsli.com/MTMxMTcy

Code:
video_org=DirectShowSource("sample.avi")

# plugins directory
plugins_dir="C:\Users\giuse\Documents\VideoSoft\MPEG\AviSynth\extFilters\"

	# ChromaShift
loadPlugin(plugins_dir + "chromashift27\ChromaShift.dll")

	# Dehalo_alpha
Import(plugins_dir + "Dehalo_alpha\Dehalo_alpha_MT2.avsi")
	# Dither
Import(plugins_dir + "dither-1.28.0\mt_xxpand_multi.avsi")
loadPlugin(plugins_dir + "dither-1.28.0\win32\dither.dll")

	# MaskTools2
loadPlugin(plugins_dir + "masktools2-v2.2.23\x86\masktools2.dll")

### convert to YV16
video_org_yv16=video_org.convertToYV16()

### shifting chroma
video_cs_yv16=video_org_yv16.ChromaShift(C=-10)

### dehaloing
video_dehaloed_yv16=video_cs_yv16.Dehalo_alpha(rx=4,ry=4,darkstr=0.0,brightstr=1.2,lowsens=200,highsens=300)
 
### convert to YUY2
video_restored=video_dehaloed_yv16.convertToYUY2()

#return(subtitle(video_org,"video_org",size=20,align=2))

#return(subtitle(video_restored,"video_restored",size=20,align=2))

#interleave(\
stackhorizontal(\
subtitle(video_org,"video_org",size=20,align=2),\
subtitle(video_restored,"video_restored",size=20,align=2)\
)
comp.jpg


Reply With Quote
  #5  
10-21-2022, 10:46 AM
banaguitar banaguitar is offline
Free Member
 
Join Date: Sep 2022
Posts: 12
Thanked 0 Times in 0 Posts
Hi, thank you. This looks better!!! I use ADVC-55 with Scenalyzer. I think, there is no way to change any settings here.
Reply With Quote
  #6  
10-21-2022, 10:49 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 676
Thanked 193 Times in 165 Posts
Quote:
This looks better!!!
Well, it depends...

Quote:
I use ADVC-55 with Scenalyzer. I think, there is no way to change any settings here.
Check also the VCRs. Otherwise, it means the halos are in the source.

A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
Reply With Quote
  #7  
10-21-2022, 10:55 AM
banaguitar banaguitar is offline
Free Member
 
Join Date: Sep 2022
Posts: 12
Thanked 0 Times in 0 Posts
Yes, I played the source tape (betamax) on two different vcr and both the same
Reply With Quote
  #8  
10-21-2022, 12:50 PM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 676
Thanked 193 Times in 165 Posts
Try to check if there is any "sharpening" setting in the beta VCRs that you can switch off

A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
Reply With Quote
  #9  
10-21-2022, 08:22 PM
Hushpower Hushpower is offline
Free Member
 
Join Date: Apr 2020
Location: Sandgroper country, Australia
Posts: 777
Thanked 140 Times in 131 Posts
Non-AVISynth... VDub Flaxen VHS and CCD filters, just for the exercise.

https://imgsli.com/MTMxMjYx
Reply With Quote
  #10  
10-21-2022, 08:43 PM
lordsmurf's Avatar
lordsmurf lordsmurf is online now
Site Staff | Video
 
Join Date: Dec 2002
Posts: 14,051
Thanked 2,554 Times in 2,172 Posts
Quote:
Originally Posted by Hushpower View Post
Non-AVISynth... VDub Flaxen VHS and CCD filters, just for the exercise.

https://imgsli.com/MTMxMjYx
Nice, but needs some more tweaking. Look at the chin.

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
  #11  
10-21-2022, 09:40 PM
Hushpower Hushpower is offline
Free Member
 
Join Date: Apr 2020
Location: Sandgroper country, Australia
Posts: 777
Thanked 140 Times in 131 Posts
Chinny chin chin! Yes, noted, LS. A compromise...
Reply With Quote
  #12  
10-22-2022, 01:34 AM
banaguitar banaguitar is offline
Free Member
 
Join Date: Sep 2022
Posts: 12
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by lollo2 View Post
Try to check if there is any "sharpening" setting in the beta VCRs that you can switch off
Hi, unfortunately not, it must be the tape.
Reply With Quote
  #13  
10-22-2022, 03:19 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 676
Thanked 193 Times in 165 Posts
Quote:
Non-AVISynth... VDub Flaxen VHS and CCD filters, just for the exercise.
That's just a cleaning, does not remove the halos

https://imgsli.com/MTMxMjk0
Reply With Quote
  #14  
10-22-2022, 03:34 AM
Hushpower Hushpower is offline
Free Member
 
Join Date: Apr 2020
Location: Sandgroper country, Australia
Posts: 777
Thanked 140 Times in 131 Posts
Nor does yours, Lollo, look at his right arm. Additionally, your overall image is much softer. There's some pretty severe denoising/smudging going on there.
Reply With Quote
  #15  
10-22-2022, 03:45 AM
lordsmurf's Avatar
lordsmurf lordsmurf is online now
Site Staff | Video
 
Join Date: Dec 2002
Posts: 14,051
Thanked 2,554 Times in 2,172 Posts
This is a tricky error. Different restore methods incur different (lesser/better) damage to hide the worse damage.

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
The following users thank lordsmurf for this useful post: lollo2 (10-22-2022)
  #16  
10-22-2022, 04:11 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 676
Thanked 193 Times in 165 Posts
Quote:
Nor does yours, Lollo, look at his right arm.
The right arm defect is not a real halo and it's difficult to manage. The evident halos are removed/reduced. Did you look to the images?

Quote:
Additionally, your overall image is much softer. There's some pretty severe denoising/smudging going on there.
That's a price to pay for a quick halo removal. Better tecniques will include edge masking to preserve the general image and focus on the areas where the halos are present, as I already said.
Because the direction this thread is taking, I won't show any of them here.

To the OP: in doom9 forum you had no response to your thread about this query, try to post in Videohelp Restoration forum, somebody like jagabo or poisondeathray will surely help you better than me
Reply With Quote
  #17  
10-22-2022, 04:16 AM
banaguitar banaguitar is offline
Free Member
 
Join Date: Sep 2022
Posts: 12
Thanked 0 Times in 0 Posts
Quote:

To the OP: in doom9 forum you had no response to your thread about this query, try to post in Videohelp Restoration forum, somebody like jagabo or poisondeathray will surely help you better than me
Ok, thank you. But jagabo does not exist
Reply With Quote
  #18  
10-22-2022, 05:53 AM
Hushpower Hushpower is offline
Free Member
 
Join Date: Apr 2020
Location: Sandgroper country, Australia
Posts: 777
Thanked 140 Times in 131 Posts
Quote:
But jagabo does not exist
Yes they do. They posted on VideoHelp today.
Reply With Quote
  #19  
10-22-2022, 05:54 AM
banaguitar banaguitar is offline
Free Member
 
Join Date: Sep 2022
Posts: 12
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Hushpower View Post
Yes they do. They posted on VideoHelp today.
On videohelp yes
Reply With Quote
  #20  
10-22-2022, 06:04 AM
Hushpower Hushpower is offline
Free Member
 
Join Date: Apr 2020
Location: Sandgroper country, Australia
Posts: 777
Thanked 140 Times in 131 Posts
Quote:
On videohelp yes
As Lollo said.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
VHS Capture, Halo effect correction? Closecall Restore, Filter, Improve Quality 2 05-19-2022 03:20 AM
Ridding myself of VCR ghosts? Hushpower Restore, Filter, Improve Quality 11 05-20-2020 06:59 PM
Am I chasing RFI video ghosts / being too critical? rocko Capture, Record, Transfer 12 03-18-2015 12:40 AM
TBC-1000 effects on composite signal jonasz Restore, Filter, Improve Quality 6 07-23-2014 07:10 AM
Possible to fix analogue TV echo/halo problem? Pate Restore, Filter, Improve Quality 5 10-04-2012 02:15 PM

Thread Tools



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