Reference

Table of Contents  ▸  List of Commands  ▸  User KaRo's CLI functions  ▸  karo_morpho◀  hist_percentile    |    hist_feature  ▶

karo_morpho

Arguments:

Description:

Mathematical morphology filter

action={0=Ero | 1=Dil | 2=Open | 3=Close | 4=Ori-Ero | 5=Dil-Ori | 6=Ori-Open | 7=Close-Ori | 8=(Ori2-(Open+Close))0.5 | 9=Close-Open}
_kernel={0=Square | 1=Octogon | 2=Circle | 3=Custom}
_size>=2(5)
_ckernel (custom kernel only if _kernel==3)

Default values:

kernel=0, size=5,ckernel=1,0,1;0,1,0;1,0,1

Derived from D. Tschumperle's older fx_morpho (formerly gmic_stdlib) and extended by action 4..9

Example of use:

$ gmic osteo +karo_morpho 4,3,,"0\,1\,0\;1\,1\,1\;0\,1\,0"

Command: osteo +karo_morpho 4,3,,"0\,1\,0\;1\,1\,1\;0\,1\,0"
Command: osteo +karo_morpho 4,3,,"0\,1\,0\;1\,1\,1\;0\,1\,0"