-
Notifications
You must be signed in to change notification settings - Fork 31
op morph
firepick1 (Chromebook Ubuntu) edited this page Apr 25, 2014
·
10 revisions
Perform morphological operation. FireSight wrapper for:
-
mop Default
MORPH_OPEN
. AlsoMORPH_CLOSE
,MORPH_DILATE
,MORPH_ERODE
,MORPH_GRADIENT
,MORPH_TOPHAT
,MORPH_BLACKHAT
-
ksize JSON [width,height] array or integer giving kernel size. Default
3
-
shape Default
MORPH_ELLIPSE
. AlsoMORPH_RECT
andMORPH_CROSS
.
{}
Example 1: Create test image pipeline
firesight -p json/w.json
Example 2: Erode using disc (ellipse) kernel pipeline
firesight -i img/w.png -p json/morph.json -Dmop=MORPH_ERODE -Dksize=3 -o target/morph-erode-3.png
ksize=3 | ksize=5 |
---|---|