aŋ
i
nfo
m
acros
ErDl_FillHoles
Basically, just two ErodeDilate nodes going in the opposite Direction.
.
s
etting/
M
acro:
Copy
--[[-- Written by : Nguyen Tuan An Written on : Jan, 2024 Version 1.0 --]]-- { Tools = ordered() { ErDl_FillHoles = GroupOperator { CtrlWZoom = false, CustomData = { Path = { Map = { ["Setting:"] = "Macros:\\" } }, }, Inputs = ordered() { MainInput1 = InstanceInput { SourceOp = "ErodeDilate1", Source = "Input", }, Input1 = InstanceInput { SourceOp = "ErodeDilate1", Source = "Filter", Default = 3, }, Input2 = InstanceInput { SourceOp = "ErodeDilate1", Source = "LockXY", Default = 1, }, Input3 = InstanceInput { SourceOp = "ErodeDilate1", Source = "XAmount", Default = 0, }, Input4 = InstanceInput { SourceOp = "ErodeDilate1", Source = "YAmount", Default = 0, }, MainInput2 = InstanceInput { SourceOp = "PipeRouter1", Source = "Input", Name = "Effect Mask", } }, Outputs = { MainOutput1 = InstanceOutput { SourceOp = "ErodeDilate2", Source = "Output", } }, ViewInfo = GroupInfo { Pos = { 252, 181.303 }, Flags = { AllowPan = false, AutoSnap = true, RemoveRouters = true }, Size = { 207.333, 139.698, 103.667, 24.2424 }, Direction = "Horizontal", PipeStyle = "Direct", Scale = 1, Offset = { 0, 0 } }, Tools = ordered() { ErodeDilate1 = ErodeDilate { CtrlWZoom = false, CtrlWShown = false, Inputs = { EffectMask = Input { SourceOp = "PipeRouter1", Source = "Output", }, Filter = Input { Value = 3, }, }, ViewInfo = OperatorInfo { Pos = { 57.3334, 8.09058 } }, }, PipeRouter1 = PipeRouter { CtrlWShown = false, ViewInfo = PipeRouterInfo { Pos = { -59.3333, 9.90958 } }, }, ErodeDilate2 = ErodeDilate { CtrlWShown = false, Inputs = { EffectMask = Input { SourceOp = "PipeRouter1", Source = "Output", }, Filter = Input { Expression = "ErodeDilate1.Filter", }, XAmount = Input { Expression = "ErodeDilate1.XAmount * -1", }, Input = Input { SourceOp = "ErodeDilate1", Source = "Output", }, }, ViewInfo = OperatorInfo { Pos = { 58, 81.4246 } }, } }, Colors = { TileColor = { R = 0.725490196078431, G = 0.690196078431373, B = 0.592156862745098 }, } } } }