csi-dcsc / Pycrafter6500

A python controller for Texas Instruments DLPLCR6500EVM evaluation module for DLP technology. The controller can fully control the "pattern on the fly" mode with a user defined sequence of binary images. Requires pyusb and numpy. PIL or pillow is recommended for testing.
GNU General Public License v3.0
40 stars 18 forks source link

Grayscale Image Upload #5

Open devWork1 opened 3 years ago

devWork1 commented 3 years ago

Hello,

I was wondering if this code can handle grayscale images and upload them accordingly for triggering in pattern-on-the-fly mode. I tried loading grayscale images, but I see some weird behavior when I externally trigger to advance. Do i need to add a command to switch the DMD to a different bit mode. Or do I need to prepare the images in a special way. I recall the example requiring either 0 or 1 pixel values, but for something 0-255, is there some additional preparation?

Any guidance would be greatly appreciated.

Thanks!

ppozzi commented 2 years ago

Hello, unfortunately not, the software is quite application-specific, and made to only work with binary images. As i see it you have three options: