Search found 123 matches

by crabshank1
Tue Jun 18, 2019 3:37 am
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

New shader chain!: Input=BicubicResize(2560,1920,b=-1,c=1) #4x upscale (kind of) Input.Shader("HSV dither.hlsl").Shader("remap - DB E122.hlsl") #RGB remaps for white balance, based on dithered white balance calibration image. Input=BicubicResize(640,480,b=-1,c=1) #Downscale Input...
by crabshank1
Mon Jun 17, 2019 10:43 pm
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Captain Awesome wrote: Mon Jun 17, 2019 10:03 pm I've been following the whole time, I love seeing your work I'm just a bit out of my depth technically so I haven't responded!
LOL, I was wondering if I was just shouting into the wind, but thanks; I appreciate this. This is uncharted territory, but I think I'm close to something good. :)
by crabshank1
Mon Jun 17, 2019 7:30 pm
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

BIG PROGRESS I think I have mastered the art of dithering (the macroblocks away), de-dithering and white balancing to leave a smooth image! The shader chain goes: Dither away the macroblocks. Using the "De-saturate dither" shader ( https://github.com/crabshank/HLSL-Reshade-colour-remapper...
by crabshank1
Sun Jun 16, 2019 8:02 pm
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

https://github.com/crabshank/HLSL-Reshade-colour-remappers/blob/master/De-saturate%20dither.hlsl Reduces the range of RGB values from 0-255 by a specified amount and then takes the saturation from that reduced image. Has the effect of reducing variation in saturation: https://i.imgur.com/6uYvK1Y.pn...
by crabshank1
Sun Jun 16, 2019 3:08 am
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

https://github.com/crabshank/HLSL-Reshade-colour-remappers/blob/master/De-dither%20AI.hlsl So, I tried to train a neural network to reduce dithering, and after a few extra calculations I got one that does that and seems pretty close to an auto white balancer after dithering and when I tested it + m...
by crabshank1
Fri Jun 14, 2019 8:45 pm
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

https://github.com/crabshank/HLSL-Reshade-colour-remappers/blob/master/Local%20Contrast.hlsl Minimally-invasive sharpening, darkens/lightens pixels darker/lighter than its neighbours. You can use this to darken grey areas and reduce dithering: Left - original Middle - dithered + colour corrected Ri...
by crabshank1
Fri Jun 14, 2019 6:34 pm
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Part 3.2 - Results So, I got my hues wrong and had to redo them: static float rotate_hues = 0; //-360 to 360 #define hue_on 1 #define hue_points 13 static float2 h[hue_points] = { 0,0, 4,7, //Goku gi 44,42, //Ten anklet 121,112, //Daimao forehead skin 142,120, //Ten manacle 197,200, //Sky 215,211, ...
by crabshank1
Fri Jun 14, 2019 1:49 am
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Also, to speed up the process of getting the desired 'grey' areas for the white balance correction, you can turn on debug in the 'balance almost white' shader, increase greyThresh until enough of the desired areas are uncoloured then set the debug colour to 0 (this will blacken all colours that are ...
by crabshank1
Fri Jun 14, 2019 1:19 am
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Part 3 - Saturation There's no reference for this, so I just decided the maximise the lowest standard deviation using a global saturation change (formula for the points is the image below): https://i.imgur.com/7BwH7hz.png Original https://i.imgur.com/bsPPcCy.png Corrections without saturation https...
by crabshank1
Fri Jun 14, 2019 12:37 am
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Part 2 - Hues I just did it manually, using hues from Hikari TV as reference. If you need to rotate hues from one side of 0/360°, do that first then add fixed points then other points afterwards. For example if you need to map 357° to 5° rotate and then add 5,5 as one of your points; then sample yo...
by crabshank1
Thu Jun 13, 2019 10:17 pm
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Part 1.2 - Results after dithering and white balancing I had increasing the dithering, which actually reduced the number of remapping points requires, so these settings are not the same as in part 1, but the methods are the same: (Left: Original, Right: Corrected) https://i.imgur.com/1HuP2kH.png ht...
by crabshank1
Tue Jun 11, 2019 11:04 pm
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Ahead of the hues part, the high quality images from Hikari TV https://www.hikaritv.net/search/video/% ... 5%E5%AD%90 (Search Nozawa Masako).
by crabshank1
Tue Jun 11, 2019 10:35 pm
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Now the values; I chose to remap the output so far to the values of the frame before any processing, just so I could get a better comparison: https://i.imgur.com/rjURaRC.png I chose 0-100, as 0-255 can cause unpleasant artefacting. https://i.imgur.com/RXuxPbF.png Remapping to the values to those of...
by crabshank1
Tue Jun 11, 2019 10:22 pm
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Bonus! Audio! A while ago I came up with a consistent, mathematical technique to improve the quality of any audio, here's a sample from my test episode: Original: https://instaud.io/_/private/46f0cf4aa21ea55f71201d454de127beb52149d2.wav Equalised: https://instaud.io/_/private/1a18ff1f7731ac045e3713e...
by crabshank1
Tue Jun 11, 2019 9:46 pm
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

At long last! Part 1 - Dithering, white balance and values: To download: AvsPmod + plugins: https://1drv.ms/u/s!AjHPdv1_75reiQwQwkHob1qDTTi9?e=0BSbWB Image histogram.html + jquery 3.3.1 from my Github: https://github.com/crabshank/HLSL-Reshade-colour-remappers Firstly load up your video into AvsPmod...
by crabshank1
Mon Jun 10, 2019 3:46 pm
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

the thing is that the white balance need to be done for each part and sometimes there is several cut to do, white balance for the op don't work for the part a that is not the same as preview and part b etc so you need one white balance for each part (op , recap, part a , eyecatch a, eyecatch b, par...
by crabshank1
Mon Jun 10, 2019 9:51 am
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

the thing is that the white balance need to be done for each part and sometimes there is several cut to do, white balance for the op don't work for the part a that is not the same as preview and part b etc so you need one white balance for each part (op , recap, part a , eyecatch a, eyecatch b, par...
by crabshank1
Mon Jun 10, 2019 12:49 am
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

https://github.com/crabshank/HLSL-Reshade-colour-remappers/blob/master/HSV%20dither.hlsl This is a dithering shader that can change the values of a channel according to a(n approximately) uniform distribution, e.g. theoretically, if you want to increase reds by 4 it will randomly add a number betwe...
by crabshank1
Mon Jun 10, 2019 12:38 am
Forum: General Franchise Discussion
Topic: Color Correcting the Dragon Box - 3 Part Spectacular
Replies: 1874
Views: 393922

Re: Color Correcting the Dragon Box - 3 Part Spectacular

https://github.com/crabshank/HLSL-Reshade-colour-remappers/blob/master/HSV%20dither.hlsl This is a dithering shader that can change the values of a channel according to a(n approximately) uniform distribution, e.g. theoretically, if you want to increase reds by 4 it will randomly add a number betwe...