A surface blur filter based on a simplified version Porikli's O(1) bilateral filter.
Unfortunately due to the nature of the algorithm memory overheads can be severe. This filter uses a tile based implementation, which limits overheads to about 64mb.
On the plus side it is reasonably fast and scales well with filter radius.
When installed it should appear under filters->blur->simple bilateral
There is a mercurial repository which will be kept up to date with the latest code on my web site. This can be accessed with:
hg clone http://www.spectral3d.co.uk/repo/gimp_plugins
A windows binary is now available, courtesy of François_C.
UPDATES:
8 March 2010: Added readme file, authors.txt and build time config options.
| Attachment | Size |
|---|---|
| simple-bilateral_win32.zip | 17.12 KB |
| bilateral.tar.gz | 265.39 KB |
Comments
error in install
Hey I'm kinda new to gimp so I'm having an issue with the install of this plug-in.
It's saying, "This application has failed to start because libgimp-2.0.0.dll was not found....."
Maybe I'm missing the boat on a simple work around, but what do I do here?
I'm using GIMP 2.6.11 on WinXP SP2
tx Sonny
it is not a installer is the plugin
Usually that error come to click on the plugin exe as it was a installer
(in Windows many "exe" are installers so confusion is possible)
Anyway to install a "exe" plugin in windows you have not to click on it but move in a plugin folder (there are a few exceptions but so rare to be not too relevant )
simple-bilateral / Binary Gimp 64 bits Windows
Bonjour,
http://www.aljacom.com/~gimp/bilateral.tar_1-64bits.zip
EDIT 2011 07 27
2 274 424 bytes
I am trying to run this
I am trying to run this bilateral filter in gimp batch mode but can't get it to work.
I suspect the plugin is not correctly registered with PDB because I can't find it in the procedure browser. Does anyone know how I can get this working?
(define (batch-simple-bilateral pattern size threshold)
(let* ((filelist (cadr (file-glob pattern 1))))
(while (not (null? filelist))
(let* ((filename (car filelist))
(image (car (gimp-file-load RUN-NONINTERACTIVE
filename filename)))
(drawable (car (gimp-image-get-active-layer image))))
(plug-in-simple-bilateral RUN-NONINTERACTIVE
image drawable size threshold)
(gimp-file-save RUN-NONINTERACTIVE
image drawable filename filename)
(gimp-image-delete image))
(set! filelist (cdr filelist)))))
Note: Seems that in the PDB is appears as gimp-plugin-template.
In the main.c code:
if (n_params != 8)
{
status = GIMP_PDB_CALLING_ERROR;
}
Why 8 parameters?
Isn't it 5 parameters? (RUN-NONINTERACTIVE, image, drawable, size and threshold)
Very nice script
I love this effect. it's a very nice. Thank you.
Android skin now easy :)
How about a preview area?
I have no objections to
I have no objections to adding one, but I need to find out how first. This is my first attempt at a gimp plugin.
Name
And by the way, how about a more descriptive name? "Simple bilateral" is rather for math savvy users.
Sure :)
But pretty please fill in AUTHORS file and README :)
Done.
Although part of me was saying "If it was hard to write it should be hard to use!" :)
Win32 binary
I built a Win32 binary today.
You may download it from here:
http://pagesperso-orange.fr/fcollard/Zip/simple-bilateral_win32.zip
and add it to your post as an attachment.
So we shall avoid multiple posts about same plugins.
Greets,
François.
Thankyou.
were any code changes required, or did it build cleanly?
Windows build
It built perfectly cleanly. I only had to add CFLAGS =-s and LDFLAGS =-mwindows, and I stripped the .exe in order to get an even lighter code.
Please, don't try to automate Windows compiling. Everything works like a charm.
NB: My first name is François, not Françoise;)
sorry.
I can't type or spell :)