matrixMultiplication of imageData

Peter Lundh simran at teleline.es
Sun Nov 24 08:02:00 EST 2002


Hi all-

I know it's Sunday, but I urgently need some help with the matrixMultiply
command. I have an image in RGB format whose data resides in imageData. I
have the following matrix computation to perform:

|16 |   | 65.481  128.553   24.966|   |R|
|128| + |-37.797  -74.203  112.000| * |G|
|128|   |112.000  -93.786  -18.214|   |B|

I then need to put the result into a new image

Grateful for any advice, or help.

-Peter
-- 
Peter Lundh von Leithner
E: simran at teleline.es
Derby
UK




More information about the use-livecode mailing list