Included is a simple example, replace the "RGB image with your 8bit.jpg. I'm subtracting the red channel in this example. Hope this helps:
- Code: Select all
{
Tools = ordered() {
ChannelBooleans2 = ChannelBoolean {
CtrlWZoom = false,
Inputs = {
ApplyMaskInverted = Input { Value = 1, },
MultiplyByMask = Input { Value = 1, },
Background = Input {
SourceOp = "RGBimage",
Source = "Output",
},
EffectMask = Input {
SourceOp = "ChannelBooleans1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 965.878, 148.128, }, },
},
RGBimage = ChannelBoolean {
NameSet = true,
Inputs = {
Background = Input {
SourceOp = "Merge2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 697, 147, }, },
},
Merge2 = Merge {
Inputs = {
Background = Input {
SourceOp = "Merge1",
Source = "Output",
},
Foreground = Input {
SourceOp = "Background1_2",
Source = "Output",
},
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { 496, 151, }, },
},
Background1_2 = Background {
Inputs = {
Width = Input { Value = 2048, },
Height = Input { Value = 1556, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
TopLeftBlue = Input { Value = 1, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1, },
[1] = { 1, 1, 1, 1, },
},
},
},
EffectMask = Input {
SourceOp = "Rectangle1_2",
Source = "Mask",
},
},
ViewInfo = OperatorInfo { Pos = { 386, 151, }, },
},
Merge1 = Merge {
Inputs = {
Background = Input {
SourceOp = "Background1",
Source = "Output",
},
Foreground = Input {
SourceOp = "Background1_1",
Source = "Output",
},
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { 496, 118, }, },
},
Background1_1 = Background {
Inputs = {
Width = Input { Value = 2048, },
Height = Input { Value = 1556, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
TopLeftGreen = Input { Value = 1, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1, },
[1] = { 1, 1, 1, 1, },
},
},
},
EffectMask = Input {
SourceOp = "Rectangle1_1",
Source = "Mask",
},
},
ViewInfo = OperatorInfo { Pos = { 386, 118, }, },
},
Rectangle1_2 = RectangleMask {
Inputs = {
MaskWidth = Input { Value = 2048, },
MaskHeight = Input { Value = 1556, },
PixelAspect = Input { Value = { 1, 1, }, },
ClippingMode = Input { Value = FuID { "None", }, },
Center = Input { Value = { 0.897111913357401, 0.5, }, },
Height = Input { Value = 1.07957244655582, },
},
ViewInfo = OperatorInfo { Pos = { 224, 169, }, },
},
Rectangle1_1 = RectangleMask {
Inputs = {
MaskWidth = Input { Value = 2048, },
MaskHeight = Input { Value = 1556, },
PixelAspect = Input { Value = { 1, 1, }, },
ClippingMode = Input { Value = FuID { "None", }, },
Center = Input { Value = { 0.518050541516246, 0.5, }, },
Height = Input { Value = 1.07957244655582, },
},
ViewInfo = OperatorInfo { Pos = { 237, 119, }, },
},
Background1 = Background {
Inputs = {
Width = Input { Value = 2048, },
Height = Input { Value = 1556, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
TopLeftRed = Input { Value = 1, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1, },
[1] = { 1, 1, 1, 1, },
},
},
},
EffectMask = Input {
SourceOp = "Rectangle1",
Source = "Mask",
},
},
ViewInfo = OperatorInfo { Pos = { 386, 85, }, },
},
Rectangle1 = RectangleMask {
Inputs = {
MaskWidth = Input { Value = 2048, },
MaskHeight = Input { Value = 1556, },
PixelAspect = Input { Value = { 1, 1, }, },
ClippingMode = Input { Value = FuID { "None", }, },
Center = Input { Value = { 0.0722021660649819, 0.5, }, },
Height = Input { Value = 1.07957244655582, },
},
ViewInfo = OperatorInfo { Pos = { 229, 34, }, },
},
ChannelBooleans1 = ChannelBoolean {
Inputs = {
ToRed = Input { Value = 4, },
ToGreen = Input { Value = 4, },
ToBlue = Input { Value = 4, },
ToAlpha = Input { Value = 0, },
Background = Input {
SourceOp = "RGBimage",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 915.92, 13.4957, }, },
},
},
}