Re: [Gimp-developer] Script-fu primitive wishlist: islands, integrals/sums, and data files

2008-11-01 Thread Adam C Powell IV
On Fri, 2008-10-31 at 19:27 -0400, Kevin Cozens wrote: David Gowers wrote: One is finding islands in an image [snip] Another is integrals: zero, first and second moments, or alternatively, integrals/sums of channel intensity, x- and y-weighted intensity, and x^2, y^2 and xy-weighted

Re: [Gimp-developer] Script-fu primitive wishlist: islands, integrals/sums, and data files

2008-11-01 Thread saulgoode
Quoting Adam C Powell IV [EMAIL PROTECTED]: I don't suppose there's a script-fu interface to the file browser for setting the file name... The registration parameters (SF-FILE) get evaluated when Script-fu is loaded (or scripts are Refreshed) and dialog boxes for file browsing otherwise

[Gimp-developer] Script-fu primitive wishlist: islands, integrals/sums, and data files

2008-10-31 Thread Adam C Powell IV
Greetings, I am working on an image processing plug-in (which I'll offer for upstream contribution BSD-licensed), and would really like to have a couple of primitives that I can't find. One is finding islands in an image: take a channel and create new layers each with one contiguous region in

Re: [Gimp-developer] Script-fu primitive wishlist: islands, integrals/sums, and data files

2008-10-31 Thread David Gowers
Hi Adam, On Fri, Oct 31, 2008 at 9:51 PM, Adam C Powell IV [EMAIL PROTECTED] wrote: Greetings, I am working on an image processing plug-in (which I'll offer for upstream contribution BSD-licensed), and would really like to have a couple of primitives that I can't find. One is finding

Re: [Gimp-developer] Script-fu primitive wishlist: islands, integrals/sums, and data files

2008-10-31 Thread Kevin Cozens
David Gowers wrote: One is finding islands in an image [snip] Another is integrals: zero, first and second moments, or alternatively, integrals/sums of channel intensity, x- and y-weighted intensity, and x^2, y^2 and xy-weighted intensity. As you stated, the above two features could be

Re: [Gimp-developer] Script-fu primitive wishlist: islands, integrals/sums, and data files

2008-10-31 Thread saulgoode
Quoting Kevin Cozens [EMAIL PROTECTED]: Finally, opening and storing data files. See section 6.6 of the R5RS. Working with external files is handled via the use of pipes. A problem which I encountered with TinyScheme's character I/O is that the 'read-char' and 'write-char' functions