滤波器的一些算法
http://i2.tiimg.com/512818/1234630c3088d734.jpg
http://i2.tiimg.com/512818/bca31b780ecba03e.jpg
http://i2.tiimg.com/512818/09bc2d682612fb27.jpg
{
Tools = ordered() {
Rectangle2 = RectangleMask {
Inputs = {
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Center = Input { Value = { 0.22189349112426, 0.5 }, },
Width = Input { Value = 0.402366863905325, },
Height = Input { Value = 0.774509803921569, },
},
ViewInfo = OperatorInfo { Pos = { -385, 214.5 } },
},
Merge2 = Merge {
Inputs = {
Background = Input {
SourceOp = "Loader2",
Source = "Output",
},
Foreground = Input {
SourceOp = "Filter1",
Source = "Output",
},
ApplyMode = Input { Value = FuID { "Screen" }, },
PerformDepthMerge = Input { Value = 0, },
EffectMask = Input {
SourceOp = "Rectangle1",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { -660, 346.5 } },
},
Filter1 = Filter {
Inputs = {
FilterType = Input { Value = 4, },
Input = Input {
SourceOp = "Loader2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -660, 247.5 } },
},
CustomFilter1_1_1_1_1_1 = CustomFilter {
Inputs = {
Matrix = Input {
Value = FilterTable {
NumEntries = 54,
Type = 6,
Offset = 0,
Minimum = 0,
Maximum = 1,
MinimumValue = 0,
MaximumValue = 1,
StartSlope = 1,
EndSlope = 1,
StartIn = 0,
EndIn = 1,
Table = { 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, 0, 1, 1, 1, 1, 1, -2, 0, 2, 1, 1, 1, 1, -1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }
},
},
Normalize = Input { Value = -1, },
Input = Input {
SourceOp = "Loader4",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -715, 511.5 } },
},
CustomFilter1_1_1_1_2 = CustomFilter {
Inputs = {
Alpha = Input { Value = 0, },
Matrix = Input {
Value = FilterTable {
NumEntries = 54,
Type = 6,
Offset = 0,
Minimum = 0,
Maximum = 1,
MinimumValue = 0,
MaximumValue = 1,
StartSlope = 1,
EndSlope = 1,
StartIn = 0,
EndIn = 1,
Table = { 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -2, -2, -2, 1, 1, 1, 1, -2, 16, -2, 1, 1, 1, 1, -2, -2, -2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }
},
},
Normalize = Input { Value = -1, },
Input = Input {
SourceOp = "Loader4",
Source = "Output",
},
EffectMask = Input {
SourceOp = "Rectangle3",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { -715, 577.5 } },
},
Merge3 = Merge {
CtrlWZoom = false,
Inputs = {
Background = Input {
SourceOp = "CustomFilter1_1_1_1_1",
Source = "Output",
},
Foreground = Input {
SourceOp = "CustomFilter1_1_1_1_1_1",
Source = "Output",
},
Gain = Input { Value = 0, },
PerformDepthMerge = Input { Value = 0, },
EffectMask = Input {
SourceOp = "Rectangle3",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { -605, 511.5 } },
},
Rectangle1 = RectangleMask {
Inputs = {
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Center = Input { Value = { 0.216730038022814, 0.460244648318043 }, },
Width = Input { Value = 0.370722433460076, },
Height = Input { Value = 0.689646172568732, },
},
ViewInfo = OperatorInfo { Pos = { -880, 214.5 } },
},
CustomFilter1 = CustomFilter {
Inputs = {
Matrix = Input {
Value = FilterTable {
NumEntries = 54,
Type = 6,
Offset = 0,
Minimum = 0,
Maximum = 1,
MinimumValue = 0,
MaximumValue = 1,
StartSlope = 1,
EndSlope = 1,
StartIn = 0,
EndIn = 1,
Table = { 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, 1, 1, 1, 1, -1, 8, -1, 1, 1, 1, 1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }
},
},
Input = Input {
SourceOp = "Loader1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -880, 181.5 } },
},
Merge4 = Merge {
Inputs = {
Background = Input {
SourceOp = "Merge3",
Source = "Output",
},
Foreground = Input {
SourceOp = "CustomFilter1_1_1_1_2",
Source = "Output",
},
Gain = Input { Value = 0, },
PerformDepthMerge = Input { Value = 0, },
EffectMask = Input {
SourceOp = "Rectangle3",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { -550, 577.5 } },
},
Merge2_1 = Merge {
Inputs = {
Background = Input {
SourceOp = "Loader3",
Source = "Output",
},
Foreground = Input {
SourceOp = "CustomFilter1_1_1",
Source = "Output",
},
ApplyMode = Input { Value = FuID { "Screen" }, },
PerformDepthMerge = Input { Value = 0, },
EffectMask = Input {
SourceOp = "Rectangle2",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { -385, 181.5 } },
},
CustomFilter1_1_1_1_1 = CustomFilter {
Inputs = {
Alpha = Input { Value = 0, },
Matrix = Input {
Value = FilterTable {
NumEntries = 54,
Type = 6,
Offset = 0,
Minimum = 0,
Maximum = 1,
MinimumValue = 0,
MaximumValue = 1,
StartSlope = 1,
EndSlope = 1,
StartIn = 0,
EndIn = 1,
Table = { 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -2, -1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }
},
},
Normalize = Input { Value = -1, },
Input = Input {
SourceOp = "Loader4",
Source = "Output",
},
EffectMask = Input {
SourceOp = "Rectangle3",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { -715, 445.5 } },
},
CustomFilter1_1_1_1 = CustomFilter {
Inputs = {
Matrix = Input {
Value = FilterTable {
NumEntries = 54,
Type = 6,
Offset = 0,
Minimum = 0,
Maximum = 1,
MinimumValue = 0,
MaximumValue = 1,
StartSlope = 1,
EndSlope = 1,
StartIn = 0,
EndIn = 1,
Table = { 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -2, -2, -2, 1, 1, 1, 1, -2, 16, -2, 1, 1, 1, 1, -2, -2, -2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }
},
},
Normalize = Input { Value = -1, },
Input = Input {
SourceOp = "Loader2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -880, 379.5 } },
},
Loader4 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "C:\\Users\\JUNE\\Desktop\\tidu.jpg",
FormatID = "JpegFormat",
StartFrame = -1,
LengthSetManually = true,
TrimIn = 0,
TrimOut = 0,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 0,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 0
}
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
},
ViewInfo = OperatorInfo { Pos = { -935, 478.5 } },
},
Rectangle3 = RectangleMask {
Inputs = {
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Center = Input { Value = { 0.229102167182663, 0.5 }, },
Width = Input { Value = 0.369969040247678, },
Height = Input { Value = 0.678217821782178, },
},
ViewInfo = OperatorInfo { Pos = { -605, 379.5 } },
},
Merge1 = Merge {
Inputs = {
Background = Input {
SourceOp = "Loader2",
Source = "Output",
},
Foreground = Input {
SourceOp = "CustomFilter1_1_1_1",
Source = "Output",
},
ApplyMode = Input { Value = FuID { "Screen" }, },
PerformDepthMerge = Input { Value = 0, },
EffectMask = Input {
SourceOp = "Rectangle1",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { -825, 313.5 } },
},
Loader2 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "C:\\Users\\JUNE\\Desktop\\da.jpg",
FormatID = "JpegFormat",
StartFrame = -1,
LengthSetManually = true,
TrimIn = 0,
TrimOut = 0,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 0,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 0
}
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
},
ViewInfo = OperatorInfo { Pos = { -990, 313.5 } },
},
Loader3 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "C:\\Users\\JUNE\\Desktop\\dad.jpg",
FormatID = "JpegFormat",
StartFrame = -1,
LengthSetManually = true,
TrimIn = 0,
TrimOut = 0,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 0,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 0
}
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
},
ViewInfo = OperatorInfo { Pos = { -605, 181.5 } },
},
CustomFilter1_1_1 = CustomFilter {
Inputs = {
Matrix = Input {
Value = FilterTable {
NumEntries = 54,
Type = 6,
Offset = 0,
Minimum = 0,
Maximum = 1,
MinimumValue = 0,
MaximumValue = 1,
StartSlope = 1,
EndSlope = 1,
StartIn = 0,
EndIn = 1,
Table = { 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -2, -2, -2, 1, 1, 1, 1, -2, 16, -2, 1, 1, 1, 1, -2, -2, -2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }
},
},
Normalize = Input { Value = -1, },
Input = Input {
SourceOp = "Loader3",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -495, 115.5 } },
},
CustomFilter1_1 = CustomFilter {
Inputs = {
Matrix = Input {
Value = FilterTable {
NumEntries = 54,
Type = 6,
Offset = 0,
Minimum = 0,
Maximum = 1,
MinimumValue = 0,
MaximumValue = 1,
StartSlope = 1,
EndSlope = 1,
StartIn = 0,
EndIn = 1,
Table = { 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, 1, 1, 1, 1, -1, 8, -1, 1, 1, 1, 1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }
},
},
Normalize = Input { Value = -1, },
Input = Input {
SourceOp = "Loader2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -880, 247.5 } },
},
Loader1 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "C:\\Users\\JUNE\\Desktop\\2018-09-10_20-44-18.png",
FormatID = "PNGFormat",
StartFrame = 18,
LengthSetManually = true,
TrimIn = 0,
TrimOut = 0,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 0,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 0
}
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
},
ViewInfo = OperatorInfo { Pos = { -990, 181.5 } },
}
}
}
以上是平时做的研究工程,分享给喜欢研究代码的用户。
页:
[1]