----- Original Message ----

> From: bill lam <[email protected]>
> 
> On Sun, 22 Mar 2009, Cliff Reiter wrote:
> > This is very interesting to me. I have wanted to think about
> > the broader design of a successor to image3 and using system
> > resources and the built in bmp utilities makes sense (these
> > were not available way back then). But there are impediments
> > and image3 has been so darn stable. I would love to see some
> > typical examples of how you integrate your use of platimg and
> > image3 and if you can articulate why this has been effective for
> > you I would be most interested.
> 
> I cannot remember exactly why I did not choose image3 for i/o,
> possible reasons are: I never intended to use quicktime mov and the 64
> bit version of image3 dll was not available.  So I rip individual
> verbs from image2/image3 into my utility script such as image_wh and
> image_resize.  I also read picture, lighten it, and use glpixels to
> set it as background image.
>   lighten=: 1 : 'm+<.0.5+(255%~255-m)*y'
>   lightenb=: 1 : 'a.{~m+<.0.5+(255%~255-m)*a.i.y'
> although hls should be more accurate, but this should serve the
> purpose.
> 
> Ric have already demonstrated data read using platimg is equivalent to
> that from image3.  In summary I view image3 as a command-line version
> of photoshop, and use platimg just for input/output.

This is a very good idea to separate the I/O operations
(storage layer) from the operations (business layer).
So these could be implemented independently and reside in
separate addons. So one would not have to worry about platform
support or decide whether to load an extra 1-2 Mb.

Further these layers can be made modular: storage could
be extensible to support different image formats;
the operations could be broken into drivers and methods,
e.g. convolution driver and filter type etc, which would
also be extensible.

It's good to organize such functions in categories with
consumer (like PhotoShop) and scientific (like matlab) approaches
in mind.

One possible way is as in matlab:
   http://www.mathworks.com/access/helpdesk/help/toolbox/images/f3-23960.html

Another is ImageJ (written in Java)
   http://rsbweb.nih.gov/ij/

formerly NIH Image (written in Pascal for Mac; with macros)
   http://rsb.info.nih.gov/nih-image/

Other notable frameworks are ImageMagic, CoreImage and 
Java Advanced Imaging.


      
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to