I am from a research team at Cal Poly Pomona working on developing laser based chemical analysis device. I am in charge of software development and am I am looking for an approach on how to read in a matrix of values from a text file in the formatting show below and generate a gray scale image from this data on the fly. The text files is formatted with each value being separated by a space, the values ranging between 0 and 4096, and different matrices being separated be a single line space. I am not sure how to implement this but am sure that it is possible to do in quartz composer. One possible way of loading the values could be using Kineme (http://kineme.net/ ) file tools plug in. But this returns the file as a long string of character which I am not sure how to break up to obtain the values or how to turn these characters back into integers, matrices and then images. I would appreciate any advice or help.

There are some string manipulation patches -- string components would likely separate the string into pieces. Javascript is also a handy way to deal with strings (all string library functions in JS are available in QC's JS patch).

--
[ christopher wright ]
[email protected]
http://kineme.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to