Operators Dialog / Operator Details

§ 12.11.55 - Median

Scripting command: median [Size=0...4] [Mode=0...8] [take=0...3] [R=0...1] [G=0...1] [B=0...1] [A=0...1]

Note: All available scripting operations are listed on the Script operator page.

Median operator

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.

Tip: Median can be used to create an oil-like or watercolor-like painting effect.
Document Keyboard Navigation
, Previous Page . Next Page
t TOC i Index k Keyboard o Operators g Glossary c Changes

Valid HTML 4.01 Loose

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
wtfm and aa_macro are coded in python 2.7
iToolBox 3.11
This Documentation and Associated Application Executables are Public Domain
Please consider supporting my iToolBox development efforts with a small PayPal donation.