Redux » History » Revision 5
Revision 4 (Jim Pulokas, 05/12/2011 02:43 PM) → Revision 5/12 (Jim Pulokas, 07/13/2011 10:45 AM)
h1. redux
redux is a library for loading an image, doing some basic processing and generating a viewable image.
!redux_basic_idea.png!
h2. Goals
* simple to use python library
* simple to use network daemon that can answer requests for an image and the pipeline of processing to do on it
* simple to use command line client that uses either the network daemon or locally imported python library to do processing
* complex behind-the-scenes result caching
h2. Potential uses
* a command line program like xv or imagemagick to view myami images and generate publication quality results
* preparing image for display in Leginon, including contrast adjustments, binning, power spectrum, etc
* any functions in leginon/appion where you need to either bin or calculate power spectrum
* preparing image for display on web pages. web server can contact redux server. this can replace php-mrc module which no longer compiles with php > 5.2
h2. Current design as of 5/12/2011
!redux_more_detail.png!
h2. New Ideas as of 7/13/2011
Investigating "gstreamer":http://gstreamer.freedesktop.org as a framework on which to build redux. gstreamer allows plugins called "elements" to be connected together to form a pipeline or graph that does multimedia processing. Here is an example application built using the command line program "gst-launch":
<pre>gst-launch filesrc location=example.png ! pngdec ! jpegenc ! filesink location=test.jpg</pre>