> [getting list mail but still not able to reply on-list] > > On [2005-Jul-28] Miguel <[EMAIL PROTECTED]> wrote: >> I am not exactly sure what is going on ... but here is my theory ... >> >> One channel is red >> >> The other channel is cyan ... green + blue ... I observe that the the >> byte values for G and B are always exactly the same. >> >> I guess that they are building the left and right images independently >> as >> grey scale, then extracting the R from one image and the G+B from the >> other. > > I think "imposing" rather than "extracting". When I get back in the office > I can send an image with almost a complete separation between two spheres > and showing the colour content.
Where you sit depends upon where you stand :-) For each pixel I will have two RGB values, left and right. I need to combine them to form one RGB value. >> I need to think about how to implement this ... > > I think you just need to calculate the two images > (either via rotation or by the asymmetric frustrum) I am still using rotation ... have not implemented asymmetric frustrum. > and then impose the colour value + intensity value (lightness) > corresponding to the base greyscale pixel in that image. Each 'greyscale pixel' will be an RGB value. But, since they are 'greyscale' the component bytes R, G and B will actually be equal. This means that we can think of left and right as byte values in the range 0-255, not RGB values. The final result is composed of the R byte from the left and the G+B bytes from the right (or vice versa) If you want red/blue instead of red/cyan then leave the green component set to 0. Miguel ----- Open Source Molecular Visualization www.jmol.org [EMAIL PROTECTED] ----- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

