Page 1 of 1

Covert Image to matrix

Posted: Thu Dec 28, 2017 9:29 pm
by skylin008
Hello everyone! I want Image to dehazing processing,need covert image pixel value to matrix .But when run the script,the error information as show,had any method to finish this function.Thanks kindly support!

Re: Covert Image to matrix

Posted: Thu Dec 28, 2017 10:09 pm
by kwagyeman
Hi, the python interface isn't really meant for pixel level manipulation. You should write your code in C instead. There's no way you can fit an image in the small heap space available in C. Most of the memory on the MCU is not accessible in Python world.

What algorithm are you trying to do by the way? Dehazing? Does that mean image sharpening? We have that built-in already.

Re: Covert Image to matrix

Posted: Fri Dec 29, 2017 1:27 am
by skylin008
Thanks K kwagyeman,I will be try.