Probe + color gain Fu16

Moderator: Chad

User avatar
Bopstar
Posts: 43
Joined: Sun Mar 19, 2017 11:19 pm
Answers: 1
Been thanked: 2 times

Probe + color gain Fu16

#1

Post by Bopstar » Wed Sep 18, 2019 10:45 pm

Has anyone had issue with using the probe modifier and color gain in Fu16.
This setup in Fu9 will crash Fu16 is there something that needs to be taken into account in Fu16.
Is there an alternate way to gain match that will work in Fu16?
Thanks for any and all help.

Code: Select all

{
	Tools = ordered() {
		ColorGain2_2 = ColorGain {
			Inputs = {
				GainRed = Input { Expression = "MeasureMe_2:GetValue(\"TopLeftRed\",time)/MeasureMe_2:GetValue(\"TopLeftRed\",0)", },
				GainGreen = Input { Expression = "MeasureMe_2:GetValue(\"TopLeftGreen\",time)/MeasureMe_2:GetValue(\"TopLeftGreen\",0)", },
				GainBlue = Input { Expression = "MeasureMe_2:GetValue(\"TopLeftBlue\",time)/MeasureMe_2:GetValue(\"TopLeftBlue\",0)", },
				PreDividePostMultiply = Input { Value = 1, },
				ColorRanges = Input {
					Value = ColorCurves {
						Curves = {
							{
								Points = {
									{ 0, 1 },
									{ 0.125, 0.75 },
									{ 0.375, 0.25 },
									{ 0.5, 0 }
								}
							},
							{
								Points = {
									{ 0.5, 0 },
									{ 0.625, 0.25 },
									{ 0.875, 0.75 },
									{ 1, 1 }
								}
							}
						}
					},
				},
				Input = Input {
					SourceOp = "Background1",
					Source = "Output",
				},
			},
			ViewInfo = OperatorInfo { Pos = { 1020, 250 } },
		},
		MeasureMe_2 = Background {
			Inputs = {
				GlobalOut = Input { Value = 50, },
				UseFrameFormatSettings = Input { Value = 1, },
				Width = Input { Value = 3840, },
				Height = Input { Value = 2160, },
				["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
				TopLeftRed = Input {
					SourceOp = "Probe1",
					Source = "Result",
				},
				TopLeftGreen = Input {
					SourceOp = "Probe1",
					Source = "Green",
				},
				TopLeftBlue = Input {
					SourceOp = "Probe1",
					Source = "Blue",
				},
			},
			ViewInfo = OperatorInfo { Pos = { 1089, 332 } },
		},
		Probe1 = Probe {
			CtrlWZoom = false,
			Inputs = {
				ImageToProbe = Input {
					SourceOp = "ColorCorrector1",
					Source = "Output",
				},
				Position = Input { Value = { 0.50703125, 0.504166666666667 }, },
				ProbeRectangle = Input { Value = 1, },
				Width = Input { Value = 0.25421686746988, },
				Height = Input { Value = 0.232762312633833, },
			},
		},
		ColorCorrector1 = ColorCorrector {
			CtrlWZoom = false,
			Inputs = {
				MasterRGBGain = Input {
					SourceOp = "ColorCorrector1MasterRGBGain",
					Source = "Value",
				},
				ColorRanges = Input {
					Value = ColorCurves {
						Curves = {
							{
								Points = {
									{ 0, 1 },
									{ 0.4, 0.2 },
									{ 0.6, 0 },
									{ 1, 0 }
								}
							},
							{
								Points = {
									{ 0, 0 },
									{ 0.4, 0 },
									{ 0.6, 0.2 },
									{ 1, 1 }
								}
							}
						}
					},
				},
				HistogramIgnoreTransparent = Input { Value = 1, },
				Input = Input {
					SourceOp = "Background1",
					Source = "Output",
				},
			},
			ViewInfo = OperatorInfo { Pos = { 1025, 426 } },
		},
		ColorCorrector1MasterRGBGain = BezierSpline {
			SplineColor = { Red = 153, Green = 243, Blue = 219 },
			NameSet = true,
			KeyFrames = {
				[0] = { 1, RH = { 8.33333333333333, 1.41033333333333 }, Flags = { Linear = true } },
				[25] = { 2.231, LH = { 16.6666666666667, 1.82066666666667 }, RH = { 29.6666666666667, 1.80066666666667 }, Flags = { Linear = true } },
				[39] = { 0.94, LH = { 34.3333333333333, 1.37033333333333 }, RH = { 42.63, 0.9598 }, Flags = { Linear = true } },
				[50] = { 1, LH = { 46.37, 0.9802 }, Flags = { Linear = true } }
			}
		},
		Background1 = Background {
			Inputs = {
				GlobalOut = Input { Value = 50, },
				Width = Input { Value = 3840, },
				Height = Input { Value = 2160, },
				["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
				Type = Input { Value = FuID { "Corner" }, },
				TopLeftRed = Input { Value = 0.569, },
				TopLeftGreen = Input { Value = 0.256, },
				TopLeftBlue = Input { Value = 0.163, },
				TopRightRed = Input { Value = 0.381, },
				TopRightGreen = Input { Value = 0.463, },
				TopRightBlue = Input { Value = 0.325, },
				BottomLeftRed = Input { Value = 0.269, },
				BottomLeftGreen = Input { Value = 0.725, },
				BottomLeftBlue = Input { Value = 0.175, },
			},
			ViewInfo = OperatorInfo { Pos = { 853, 428 } },
		}
	}
}

User avatar
SecondMan
Site Admin
Posts: 3577
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 5
Location: Vancouver, Canada
Been thanked: 104 times
Contact:

Re: Probe + color gain Fu16

#2

Post by SecondMan » Thu Sep 19, 2019 4:55 pm

I can confirm the crash in Fu16 - I'll move this topic over to the Bug Tracker, not sure what is going on there.

For getting you going in Fu16, there is a Macro called ColorMatch available in Reactor that probably does exactly what you need: viewtopic.php?p=23892#p23892

Go ahead and download it, probe your source and target colours and you should be good to go.


User avatar
Bopstar
Posts: 43
Joined: Sun Mar 19, 2017 11:19 pm
Answers: 1
Been thanked: 2 times

Re: Probe + color gain Fu16

#3

Post by Bopstar » Thu Sep 19, 2019 6:06 pm

Thank you so much for taking the time to reply and confirming the issue, much appreciated.


User avatar
SecondMan
Site Admin
Posts: 3577
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 5
Location: Vancouver, Canada
Been thanked: 104 times
Contact:

Re: Probe + color gain Fu16

#4

Post by SecondMan » Thu Sep 19, 2019 8:27 pm

You're welcome :)