It is currently Fri Jul 19, 2024 6:27 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: A flou/soft focus filter with edges protection.
PostPosted: Wed Oct 15, 2014 9:54 am  (#1) 
Offline
GimpChat Member

Joined: Oct 11, 2014
Posts: 82
A flou/soft focus filter with edges protection.

Attachment:
mc_flou.jpg
mc_flou.jpg [ 40.33 KiB | Viewed 2185 times ]


# ---------------------------------- v 1.0
#@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(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical","Duplicate horizontal","Duplicate vertical")

mc_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[3]
  -keep[3]

mc_flou_preview:
  -gimp_split_preview "-mc_flou $*",$-1
# ------------------------------------------


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: A flou/soft focus filter with edges protection.
PostPosted: Wed Oct 15, 2014 1:35 pm  (#2) 
Offline
GimpChat Member

Joined: Oct 11, 2014
Posts: 82
version 1.1
add some base image adj

Attachment:
flou1_1.jpg
flou1_1.jpg [ 62.58 KiB | Viewed 2088 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
# ------------------------------------------


Top
 Post subject: Re: A flou/soft focus filter with edges protection.
PostPosted: Wed Oct 15, 2014 1:54 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12532
I'm not really a fan of this look, but I do know a lot of folk that are (other forums that I frequent including DPR's Retouch forum site). I bet this would make for some pretty cool art noir captures too. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: A flou/soft focus filter with edges protection.
PostPosted: Thu Oct 16, 2014 2:48 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Added in your Testing/ . Thanks.


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Focus

9

No new posts Attachment(s) Efficacy of the new Canny edges in G'MIC

11

No new posts EDGES-ADD MATTE-FRAME WITH BEVEL

2

No new posts Attachment(s) Erase edges from repeat pattern

6

No new posts Attachment(s) ERROR MESSAGE EDGES ADD MATTE

2



* Login  



Powered by phpBB3 © phpBB Group