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.

Deoldify Vapoursynth filter
'video' is a bad choice of word here.
We need to get that wording into something understandable.
Is it:
# 0  "HAVC only, no references";  // ScFrameDir = None
# 1  "references frames generated from the input (by HAVC)"; // ScFrameDir => None
# 2  "reference frames automatically taken from ref clip  (by HAVC)"; // ScFrameDir => file path
# 3  "reference frames automatically taken from the input (by external method)"; // ScFrameDir => None
# 4  "reference frames automatically taken from ref clip (by external method)"; // ScFrameDir => dir path
# 5  "taking input as reference clip (for external method)";  // ScFrameDir => None
# 6  "reference clip (for external method)";  // ScFrameDir => file path
?

Cu Selur

Ps.: Updated Hybrid_deoldify.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
The correct definition is the following

0 = HAVC same as video  // clipRef=HAVC, ScFrameDir = None
1 = HAVC + RF same as video  // clipRef=HAVC, ScFrameDir => dir path
2 = HAVC + RF different from video  // clipRef=HAVC, ScFrameDir => dir path
3 = external RF same as video  // clipRef = None, ScFrameDir => dir path
4 = external RF different from video  // clipRef = None, ScFrameDir => dir path
5 = external ClipRef same as video  // clipRef=VideoClip, ScFrameDir => file path
6 = external ClipRef different from video  // clipRef=VideoClip, ScFrameDir => file path
The term "same as video" imply that the external frame provided (from file or clip) is equal to the frame to be colored with the only exception of colors.

Since the custom section was removed, I added more ColorModel

'Video+Artistic'
'Stable+Artistic'      [new]
'Video+ModelScope'
'Stable+ModelScope'    [new]
'Artistic+Modelscope'  [new]
'Video+Siggraph17'
'Video+ECCV16'
'DeOldify(Video)'
'DeOldify(Stable)'     [new]
'DeOldify(Artistic)'   [new]
'DDColor(Artistic)'
'DDColor(ModelScope)'
'Zhang(Siggraph17)'
'Zhang(ECCV16)'

Added new RC7 with the new color models.

Dan


Attached Files
.zip   vsdeoldify-5.0.0_RC7.zip (Size: 424,87 KB / Downloads: 9)
Reply
Quote:The term "same as video" imply that the frame provided (from file o clip) is equal to the frame to be colored with the only exception of colors.
Ahhhh,... okay.


Updated Hybrid_deoldify.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Found a problem with RefMerge because is disabled, here the full mapping

0 = HAVC same as video  // clipRef=HAVC, ScFrameDir = None, RefMerge Enabled
1 = HAVC + RF same as video  // clipRef=HAVC, ScFrameDir => dir path, RefMerge Enabled
2 = HAVC + RF different from video  // clipRef=HAVC, ScFrameDir => dir path, RefMerge Disabled
3 = external RF same as video  // clipRef = None, ScFrameDir => dir path, RefMerge Disabled
4 = external RF different from video  // clipRef = None, ScFrameDir => dir path, RefMerge Disabled
5 = external ClipRef same as video  // clipRef=VideoClip, ScFrameDir => file path, RefMerge Enabled
6 = external ClipRef different from video  // clipRef=VideoClip, ScFrameDir => file path, RefMerge Disabled

Ref Merge requires not only that the source of RF is "same as video" but also that the RF is provided by a video clip produced by HAVC (methods: 0, 1) or externally by another tool (method 5)

I added the new value "None" to preset ColorTune (in the GUI is called "Denoise")
Now allowed values are:
            'None'
            'Light',  (default)
            'Medium',
            'Strong',

Since the custom section was removed, it is necessary to add a new preset to define the combination methods, the new preset is called CombMethod

CombMethod: Method used to combine coloring models with (+):
            Allowed values are:
               'Simple'
               'Constrained-Chroma'
               'Luma-Masked'
               'Adaptive-Luma'

If the selected ColorModel does not contain the string "+" (like 'Video+Artistic') CombMethod should be Disabled.


I attached the new RC8.

Thanks,
Dan


Attached Files
.zip   vsdeoldify-5.0.0_RC8.zip (Size: 425,07 KB / Downloads: 11)
Reply
  • added 'none' as a 'ColorTune'-option (Hybrid will set None when this is selected, not "None")
  • adjusted 'RefMerge' en-/disabling
  • 'CombMethod'-parameter
  • rearranged havc gui elements
Updated Hybrid_deoldify. (RC7 does not include 'CombMethod' => "HAVC_main() got an unexpected keyword argument 'CombMethod'").

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
(09.02.2025, 09:29)Selur Wrote: Updated Hybrid_deoldify. (RC7 does not include 'CombMethod' => "HAVC_main() got an unexpected keyword argument 'CombMethod'").

Cu Selur

In effect this method was included in RC8, attached in the previous post.

Thanks,
Dan
Reply
Ah missed RC8 Big Grin code should be fine then.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
updated Hybrid_deoldify, remved sc_debug
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
When is selected value "None" for the preset ColorTune (in the GUI is called "Denoise")
In the script is passed None instead of "none".

[Image: attachment.php?aid=2967]

Dan


Attached Files Thumbnail(s)
   
Reply
updated Hybrid_deoldify to pass a string
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 11 Guest(s)