[Haskell-cafe] Re: [Haskell] Image manipulation

2007-10-29 Thread Tim Chevalier
[redirecting to haskell-cafe] On 10/29/07, Brent Yorgey <[EMAIL PROTECTED]> wrote: > Haskell is a wonderful language, so I hate to say this...but personally I > don't see the benefit of using Haskell here, unless the manipulations you > want to do are very complex. Some simple shell (or > perl/pyt

[Haskell-cafe] Re: [Haskell] Image manipulation

2007-10-30 Thread Dan Piponi
Jerzy, There is a simple framework for performing filtering operations on images lazily: http://sigfpe.blogspot.com/2006/12/evaluating-cellular-automata-is.html (Scroll down to the 2D example in the comments.) 2D digital filters lend themselves nicely to a comonadic framework though you probably

Re: [Haskell-cafe] Re: [Haskell] Image manipulation

2007-10-29 Thread Tim Chevalier
On 10/29/07, Stefan O'Rear <[EMAIL PROTECTED]> wrote: > The OP specified that the images are around 5M in size, and need to be > rescaled, so we're talking about quite a bit of computation per shellout > (tens to hundreds of megacycles). Are context switches that slow? > I don't know. I'd have to

Re: [Haskell-cafe] Re: [Haskell] Image manipulation

2007-10-29 Thread Stefan O'Rear
On Mon, Oct 29, 2007 at 02:39:58PM -0700, Tim Chevalier wrote: > [redirecting to haskell-cafe] > On 10/29/07, Brent Yorgey <[EMAIL PROTECTED]> wrote: > > Haskell is a wonderful language, so I hate to say this...but personally I > > don't see the benefit of using Haskell here, unless the manipulatio