It is currently Tue Apr 23, 2024 2:58 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: Improved Deblur/Easy Image Enhancement Script
PostPosted: Tue May 10, 2016 5:58 pm  (#1) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13015
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
A while ago I posted this short tutorial on easy image enhancement.

Easy Image Enhancement

Gimp Chat member dinasset,
was nice enough to create the Python Plugin, Wallace style deblur link to below.

Wallace style deblur

However, I would like to improve this script. To include settings for changing the layer mode.
As well as settings for the blur amount used.

Image

Here is the download link to the Improved Deblur/Easy Image Enhancement Script.
Created by Gimp Chat Member Trandoductin.
Using my Easy Image Enhancement tutorial.

Deblur Script Download

Once installed, you will find this script available under Filters>Enhance>Deblur (by Wallace).


~*~

Here's a before and after gif image of the scripts effect.
Image

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


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: Improving a Script Request
PostPosted: Tue May 10, 2016 7:09 pm  (#2) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
I looked at your tutorial,
I can rewrite one in scheme script-fu easily enough..
so you want an amount option for blur radius?
and a layer-mode setting for the last layer created (the new from visible layer)?

_________________
TinT


Top
 Post subject: Re: Improving a Script Request
PostPosted: Tue May 10, 2016 7:35 pm  (#3) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
try this one and let me know if it's what you want?
will be available under Filters/Enhance/Deblur (by Wallace)
Attachment:
deblur_wallace.scm [2.34 KiB]
Downloaded 254 times

Image

_________________
TinT


Top
 Post subject: Re: Improving a Script Request
PostPosted: Tue May 10, 2016 9:05 pm  (#4) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13015
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
I looked at your tutorial,
I can rewrite one in scheme script-fu easily enough..
so you want an amount option for blur radius?
and a layer-mode setting for the last layer created (the new from visible layer)?

Yes, just as the tutorial describes.

trandoductin wrote:
try this one and let me know if it's what you want?
will be available under Filters/Enhance/Deblur (by Wallace)
Attachment:
deblur_wallace.scm

[ Image ]

Okay! :bigthup
The opacity setting for the produced layer is missing. :oops:

Other then the missing opacity setting, it works as per my tutorial

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Improving a Script Request
PostPosted: Tue May 10, 2016 9:24 pm  (#5) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
try this one and let me know ;)
Attachment:
deblur_wallace.scm [2.71 KiB]
Downloaded 736 times

_________________
TinT


Top
 Post subject: Re: Improving a Script Request
PostPosted: Tue May 10, 2016 9:36 pm  (#6) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13015
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
try this one and let me know ;)
Attachment:
deblur_wallace.scm

Perfect!
Thank you Tin!
:jumpclap

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Improving a Script Request
PostPosted: Tue May 10, 2016 10:15 pm  (#7) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
Wallace wrote:
trandoductin wrote:
try this one and let me know ;)
Attachment:
deblur_wallace.scm

Perfect!
Thanks you Tin!
:jumpclap
Here's a before and after gif image of the scripts effect.

[ Image ]

great simple technique and so much improvement on the image :hi5
you should feature your before and after image on the first post :D

_________________
TinT


Top
 Post subject: Re: Improving a Script Request
PostPosted: Tue May 10, 2016 10:46 pm  (#8) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13015
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
great simple technique and so much improvement on the image :hi5
you should feature your before and after image on the first post :D

Yes, good idea.
I think I'll do that. ;)
Thanks Tin.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Improved Deblur/Easy Image Enhancement Script
PostPosted: Tue May 10, 2016 10:53 pm  (#9) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
13 dls already... wow it's selling like hot cakes
:hehe

_________________
TinT


Top
 Post subject: Re: Improved Deblur/Easy Image Enhancement Script
PostPosted: Tue May 10, 2016 10:58 pm  (#10) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13015
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
13 dls already... wow it's selling like hot cakes
:hehe

:clap

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Improved Deblur/Easy Image Enhancement Script
PostPosted: Wed May 11, 2016 8:42 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
I prefer using deconvolution (focus blur using ring preset then set to grain extract then merge down) to Grain merge on your target. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Improved Deblur/Easy Image Enhancement Script
PostPosted: Wed May 11, 2016 8:52 am  (#12) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13015
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
lylejk wrote:
I prefer using deconvolution (focus blur using ring preset then set to grain extract then merge down) to Grain merge on your target. :)

Than sounds cool.
How do I get my hands on deconvolution?

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Improved Deblur/Easy Image Enhancement Script
PostPosted: Wed May 11, 2016 9:31 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Grain Extract and Grain Merge are used to create the Convolution layer, Wallace. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Improved Deblur/Easy Image Enhancement Script
PostPosted: Wed May 11, 2016 9:54 am  (#14) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13015
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
lylejk wrote:
Grain Extract and Grain Merge are used to create the Convolution layer, Wallace. :)

Oh okay... :oops:
I didn't know it was called that. :hehe

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Improved Deblur/Easy Image Enhancement Script
PostPosted: Thu May 12, 2016 2:52 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2014
Posts: 866
I have been recently reading about deconvolution. There is a good explanation at http://yuzhikov.com/articles/BlurredIma ... ation1.htm

We already have a filter using the technique (lucy-richardson deconvolution) available in G'MIC.

david.


Top
 Post subject: Re: Improved Deblur/Easy Image Enhancement Script
PostPosted: Thu May 12, 2016 3:11 am  (#16) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13015
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
david wrote:
I have been recently reading about deconvolution.
There is a good explanation at http://yuzhikov.com/articles/BlurredIma ... ation1.htm

We already have a filter using the technique (lucy-richardson deconvolution) available in G'MIC.

david.

Thanks for the link david.
That was a rather interesting read. :bigthup
The funny thing is,
that I've been doing this for quite some time.
Without knowing what it was called, or that there was anything behind it all.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Photo enhancement

6

No new posts Attachment(s) License Plate enhancement?

6

No new posts Attachment(s) Script OCR Image (Tesseract OCR engine )

5

No new posts Script-fu select outline of image inside png

1

No new posts Error during execution of script, image in inconsistent state

3



* Login  



Powered by phpBB3 © phpBB Group