![]() |
|
Deoldify Vapoursynth filter - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html) +--- Forum: Small Talk (https://forum.selur.net/forum-7.html) +--- Thread: Deoldify Vapoursynth filter (/thread-3595.html) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
RE: Deoldify Vapoursynth filter - Selur - 26.01.2026 Feeding a 1250x833 image into HAVC, I get: clip = havc.HAVC_main(clip, ColorFix="none", BlackWhiteTune="none")Should I adjust Hybrid to take this into account, or should this be fixed in HAVC? Cu Selur Ps.: Added a dev which adds mod2 requirement for HAVC and ColorAdjust(HAVC). RE: Deoldify Vapoursynth filter - Dan64 - 26.01.2026 I think that the division by 2 is a requirement for a lot of filters, not only HAVC. Probably is better to add this check at the beginning of the script. I will check your dev. version. Thanks, Dan RE: Deoldify Vapoursynth filter - Selur - 26.01.2026 Now that I think about it,.. at the moment Hybrid would add black borders,.. which will cause problems when Retinex is used. Problem is that you are using YUV color space in your scripts and seemingly don't use 4:4:4 color sampling,... (mod2 usually is required for 4:2:0 or 4:1:1) Will be afk. tomorrow, but I'll think about an option for Hybrid to use https://github.com/dubhater/vapoursynth-fillborders instead of addborders, which should work with Retinex. Cu Selur RE: Deoldify Vapoursynth filter - domb84 - 29.01.2026 I've got an issue with a cheap super 8mm film scanner that on certain scenes sets the auto white balance so that there is a horrific blue cast across the entire frame. It's scene dependent and no way to disable it in the firmware (unless its de compiled and reverse engineered). It's so bad on some scenes that I can't correct it. The best I've found at correcting it is deoldify, except of course it treats it as though there is no colour information at all, so what is there is lost. I've tried to merge the original and deoldified frames with limited success. I cannot find a function within deoldify to attempt to restore badly calibrated frames as opposed to colouring b&w. does anybody know of a way I can achieve this? This is what i have currently with an example of the worst scenes. https://mega.nz/file/4KIjibYa#wISHeTNwA4ntTq3x_27SaFy0EZqDoXC_bxW_taUju0A The above is not too bad considering, but when compared with another scene from the same scan, we lose a lot of what was good. of course this frame doesn't actually need anything done at all, but that's where I would like to get back to. https://mega.nz/file/9ShRHRDJ#EmWvPeF5X-J_FkaPFXHJ9V3kAFft4kS0s83xbXo-OVg I'm sure is there a much better method to remove the blue cast, but I'm unable to land on a method of white balancing across the entire film scan that resolves the worst parts, and 90% of the scan only needs a simple adjustment. Any help appreciated! RE: Deoldify Vapoursynth filter - Selur - 29.01.2026 Got an unprocessed video sample of the source? RE: Deoldify Vapoursynth filter - Dan64 - 29.01.2026 (7 hours ago)domb84 Wrote: I'm sure is there a much better method to remove the blue cast, but I'm unable to land on a method of white balancing across the entire film scan that resolves the worst parts, and 90% of the scan only needs a simple adjustment. In Hybrid there is the filter "Auto white" (see picture) You should apply it to the orginal clip before merging the clip with the HAVC colored clip. Otherwise you can try the Example 6: Direct application of filter B&W tune with some colors final adjustment You can find it at page 114 of HAVC User Guide. Try to play with the parameters strength and gamma of function HAVC_adjust_rgb(). Dan RE: Deoldify Vapoursynth filter - domb84 - 29.01.2026 I'm using native vapoursynth rather than hybrid but I'm already using grayworld to perform a whitebalance that removes the cast before merging. of course the destroyed skintones still remain which the merge doesn't do enough to resolve, but also takes out the colour that remains. Sure here's an "uncompressed" sample. I have no idea what is throwing the white balance across these scenes but you can see how severe it is in the cut. https://mega.nz/file/1bIjFIDI#aS6qoviWz-HMaI5DNLm_cTkRIV-JFhoOnC8qUp8RBrc Here's the vs script. I saw some information regarding Softlight, but I cannot understand from the docs how to utilise that to eliminate the colour cast. # Imports |