‎03-19-2013 01:36 AM
Hi all,
I'm very new in this forum. I tried to search decision for my problem, but found nothing.
I want to divide a Picture / raster format (jpg, tiff, png, bmp, etc.) by cells by Rows and Columns. After that, I want to read an average value of Color information of any cell. I will receive a Data Matrix "A 1,1" - "A n,m", where n = number of Rows and m = number of Columns.
Meanwhile I want the info from every read cell to GENERATE to participate in generation of PWM Duty cycle out. 8 bit grayscale for now is enough. What I mean: When some cell is Black, the Duty cycle have to be 100 (or 255 🙂 ). When the cell is White, the Duty cycle have to be 0.
Why is all of this... I want to feed with this data a LED matrix, but not ALL LED's in the same time, just in serial LED by LED. Any time when I read a cell the corresponding LED have to light as brightly as is the color info.
Can any one help me with ideas?
Thank you in advance!
‎03-19-2013 04:38 AM
Here's what you will want to do:
You should find these functions in the picture control, array and numeric palettes.
‎03-19-2013 04:49 AM
Thank you VERY much !!!