Re: [Gimp-developer] image processing

2004-03-18 Thread dov
Hi Gianluca,

This question has really nothing to do with Gimp unless you want
to use already existing gimp functionality.

You may e.g. read an image into memory though the gdk_pixbuf 
functions, and then access the pixel data through gdk_pixbuf_get_buf(). 
Working with the gimp API is more complicated as the data may
be stored tiled, and your algorithm will need to do special
case treatement of the boundries.

You might also want to have a look at GEGL that provides a 
graph paradigm for image processing, and which will be used in
future versions of GIMP. Whether someone has written optimized
algorithms for it, I don't know.

Regards,
Dov

On Thu, Mar 18, 2004 at 10:12:02AM +0100, Mattiroli, Gianluca wrote:
 
 Hi to all, I am interested in doing some filtering on an image stored in
 memory as a Pixmap, with particular attention to the time constraints. Could
 someone give me some advice about the resources available for this purpose?
 Thank you.
 
 Gianluca  
 ___
 Gimp-developer mailing list
 [EMAIL PROTECTED]
 http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] image processing

2004-03-18 Thread Daniel Rogers
[EMAIL PROTECTED] wrote:
Hi Gianluca,

This question has really nothing to do with Gimp unless you want
to use already existing gimp functionality.
You may e.g. read an image into memory though the gdk_pixbuf 
functions, and then access the pixel data through gdk_pixbuf_get_buf(). 
Working with the gimp API is more complicated as the data may
be stored tiled, and your algorithm will need to do special
case treatement of the boundries.

You might also want to have a look at GEGL that provides a 
graph paradigm for image processing, and which will be used in
future versions of GIMP. Whether someone has written optimized
algorithms for it, I don't know.
Um, if this person needs a solution now, then GEGL is not for them.  IF 
this person whats to help write a solution, then GEGL might be good for 
them.

Regards,
Dov
On Thu, Mar 18, 2004 at 10:12:02AM +0100, Mattiroli, Gianluca wrote:

Hi to all, I am interested in doing some filtering on an image stored in
memory as a Pixmap, with particular attention to the time constraints. Could
someone give me some advice about the resources available for this purpose?
Thank you.
Well, all of our image processing attention is focused on GEGL which, 
while progressing, is not yet able to actually process images.  If you 
need a solution now, and are not interested in helping write one then 
you have a few options (these are a bit off topic though, so don't 
expect any help with these beyond this).

If you need open source, then pretty much, your options are:

Vigra:
http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/
Vips
http://www.vips.ecs.soton.ac.uk/
Rivl
http://www.cs.cornell.edu/zeno/projects/rivl/Rivl-mm95/mm-95.html
PDL
http://pdl.perl.org/
I know there are a few other small image processing languages.  These 
are all projects with pretty difference focuses.  And one or the other 
may be more suited for you.

If you want to try closed source solutions there is:

Matlab
IDL
Java Advanced Imaging
SGI Image Vision
. . . many others . . .

--
Daniel
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer