version 1.1
add some base image adj
Attachment:
flou1_1.jpg [ 62.58 KiB | Viewed 2092 times ]
# ---------------------------------- v 1.1
#@gimp Mc_Flou : mc_flou, mc_flou_preview
#@gimp : Sep = separator()
#@gimp : Sharp = float(30,10,400)
#@gimp : Blur = float(6,3,20)
#@gimp : Blend = float(1,0,1)
#@gimp : Sep = separator() ,note = note("Base image adjustement:")
#@gimp : Skip = bool(true)
#@gimp : Gamma = float(1,0.2,2)
#@gimp : Value min = int(0,0,127)
#@gimp : Value max = int(255,128,255)
#@gimp : Gamma R = float(1,0.2,2)
#@gimp : Gamma G = float(1,0.2,2)
#@gimp : Gamma B = float(1,0.2,2)
#@gimp : Sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical","Duplicate horizontal","Duplicate vertical")
#@gimp : Sep = separator() ,note = note("Apply a flou effect with edges protection. v.1.1")
mc_flou:
# base image value corrections
-if {$4==0}
-to_rgb
-apply_gamma[0] $5
-cut[0] $6,$7 -normalize[0] 0,255 # min max val
-split[0] c
-apply_gamma[0] $8
-apply_gamma[1] $9
-apply_gamma[2] $10
-append[0,1,2] c
-endif
# -----
# flou
--gimp_gradient_norm[0] 0,1.5,0,50.38,1,0
-sharpen[0] $1 #30
-b[1] 0.5
-normalize[1] 0,255
-equalize[1] 4,0%,98%
--append[0,1] c
-blur[2] $2 #10
-blend[0,2] alpha,$3
-remove_opacity[0]
-keep[0]
mc_flou_preview:
-gimp_split_preview "-mc_flou $*",$-1
# ------------------------------------------