This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Can't find a filter or an effect to "reduce blue"
#1
Probably i need to do this in post-processing with a video editor but i was hoping that can be done in Hybrid (i don't need to cut/edit this clip)
i have a VHS totally "blue" or "without" red ... probably a camcorder issue. or a wrong settings during recording (neon lights option)

this is a processed part using hybrid (deinterlaced, removegrain,crop,letterbox fillblackframes) http://www.wcn.it/wrongcolors.zip (MKV inside)


can be made some sort of script/code that can reduce the blue effect?

very thank you (i searched the forum but i found only general HUE and saturation tweaks)


Attached Files Thumbnail(s)
       
Reply
#2
Grayworld, some LUT or Avisynths RGBAdjust might help.
Would need a small clip of the source to be give proper advice.

Cu Selur
--- mainly offline 20.-26 of May ---
Reply
#3
very thank you for the help Selur Smile
this is a small clip from original footage: www.wcn.it/small.avi
Reply
#4
Instead of trying to manually adjust this (using RGBAdjust), look at:
Grayworld (median):
[Image: grafik.png]
Grayworld (mean):
[Image: grafik.png]
AutoWhite:
[Image: grafik.png]
ColorYUV-AutoWhite-AutoGrain (Avisynth):
[Image: Avisynth-Color-YUV-Auto-White-Auto-Grain.png]
and then try to clean it up.

Cu Selur
--- mainly offline 20.-26 of May ---
Reply
#5
thank you Selur!
Reply
#6
Hello Selur,

   the "RGBAdjust" is an Avisynth filter. In Vapoursynth this filter is missing, instead of there is the filter "Auto white",  but I'm not sure that the behavior is the same.
   If this is not the case, it could be possible to add a filter equivalent to "RGBAdjust"  in Vapoursynth  ?

Thanks
Dan
Reply
#7
Sadly, atm. there is no port of RGBAdjust for Vapoursynth, so adding something similar isn't really possible.
Vapoursynth authors write: "RGBAdjust std.Lut Do the adjustment yourself with a lut", see: https://github.com/amichaelt/vapoursynth...thcomp.rst
_Al_ posted a rough translation over at VideoHelp which could be used in a custom section.

Cu Selur

Ps.: did a quick test, extracting the attached zip into the vsscripts folder an using:
# requires colorformat RGB24
import rgbAdjust
clip = rgbAdjust.RGBAdjust(rgb=clip, r=1.0, g=1.0, b=1.0, a=1.0, rb=1.0, gb=1.0, bb=0.0, ab=0.0, rg=1.0, gg=1.0, bg=1.0, ag=1.0)
worked fine here. script: https://pastebin.com/MeVBYdqb
Note, that some other script need to be imported so that Hybrid automatically expands the sys.path, otherwise one would need to expand sys.path in the custom section too.
--- mainly offline 20.-26 of May ---
Reply
#8
Hello Selur,

    good to know that there is a working replacement.
    There is any hope that the filter "rgbAdjust.py" will be added as standard filter in the next version of Hybrid ?

Thanks,
Danilo
Reply
#9
There is always hope. (I wanted to add it a few weeks ago, but due to some emergency in the company I work at, I didn't have much free time lately an atm. I'm too lazy. + starting to search my things together for RockHarz next week. Smile)

Side note: The next public release will definitely include Custom script/filter additions, so one can even integrate stuff into the GUI even when Hybrid does not support them out of the box, by writing an .xml file (and providing the dlls&co).

Cu Selur
--- mainly offline 20.-26 of May ---
Reply
#10
Working nice Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)