Richardson-Lucy Sharpening within Gimp

I must be doing something really stupid since I cannot get the Richardson-Lucy sharpening working within Gimp.

I have selected the large preview window. When I change parameters like Sigma or the number of iterations the preview changes and for a given set of parameters the preview looks really great.

But when I click on the Apply button or the OK button (what’s the difference?), gmic is working about 40 seconds (for a 20 Mpixel image) but the resulting full window doesn’t shown any change.
Even more surprising, if I select to put the processed image into a new layer, select layer mode ‘difference’ nothing changes.
I am just puzzled.

I am using GIT Gimp and GIT GMIC (2016/05/01).

Any help is very much appreciated!
Thanks,
Helmut

I have no idea how to help, other than to ask: what do the logs say about it, both gimp and gmic?

I’m not sure what the problem might be, so I’ll leave a better answer to @David_Tschumperle:stuck_out_tongue_winking_eye:

The difference is that Apply will apply the filter and leave the G’MIC dialog open for you to continue playing while OK will apply the filter and then close G’MIC.

Sorry for the dumb question. I’d like to use the command line interface of gmic.
How do I specify options to -deblur_richardsonlucy?

I’ve tried
gmic -input TestRL.jpeg -deblur_richardsonlucy 1 sigma=1.5 nb_iter=20 -output XXX.jpeg

which gives a syntax error.

Many thanks for a hint,
Helmut

http://gmic.eu/reference.shtml

1 Like

Sorry, I’ve seen that description, but I still don’t know how to change sigma and nb_iter on the command line.
Please give me an explicit example.

Many thanks,
Helmut

Where can I find these log files on my Linux system?

I’d start in ~/.Xsession-errors

Thanks, but I don’t have such a file.
I’m using a bleeding edge Gentoo system.

Abends, Helmut!

Test variations around this theme:

gmic input.jpg -deblur_richardsonlucy 2.5,20,1 -output out.jpg

MfG
Claes

2 Likes

The G’MIC GIMP plugin has an option to show you the full command-line equivalent of the filter and settings you’re using.

1 Like

It’ll actually become the layer name when you turn it on. I’d link a screenshot, but I’m not near a machine at the moment.

Thanks to you all!
The result with the command line version of GMIC is quite reasonable (in my difficult case).
The Gimp plugin still puzzles me.