Scripting command: median [Size=0...4] [Mode=0...8] [take=0...3] [R=0...1] [G=0...1] [B=0...1] [A=0...1]
The median operator replaces pixel RGBA channels with the median, low, high or average pixel in a region sized from 3 by 3 to 11 by 11, except near the edges, where region sizes are truncated. Replacement only occurs when the difference between average RGB value of the target pixel and the operation's calculated replacement value meets or exceeds the difference set by threshold (x 256). Replacement can be specified to be any combination of the RGBA channels. The pixel component(s) considered for the median operation are also selectable.
|Please consider supporting my iToolBox development efforts with a small PayPal donation.|