Page 1 of 1

Image Processing Quite Slow

Posted: Wed Apr 22, 2015 12:28 am
by mlepage
Hi, I am trying the image processing examples from this late 2008 blog post:

http://blog.wolfram.com/2008/12/01/the- ... rocessing/

My image is only 640x480 so quite small. I am on a RPi 2.

I notice even the simple example of manipulating contrast/brightness in the notebook UI, using sliders, is very very slow. (Too slow to be really usable.)

While that occurs, I see in the CPU meter that it isn't so busy, only up to 25% max from idle of under 10%. This leads me to believe it is limited to 1 (of the 4) CPU cores.

I can hardly believe Mathematica can't handle more cores for this. Is that simply disabled for the RPi edition, or they just don't have it working well on ARM yet?

I think with all 4 cores in use it could be a lot better, at least for small images like this. Or, using the GPU for computation. Again, Mathematica can do this I understand, so is it just not enabled for RPi or for ARM in general?

Is this performance expected to improve? Right now, I'm trying to get my oldest kid (grade 7) interested in this sort of stuff, but it's unusable.

Re: Image Processing Quite Slow

Posted: Wed Apr 22, 2015 1:23 am
by kusti8
Mathematica I've found is more usable than on the old pi, but the GUI is still a little stuttering. Don't expect to get great performance. AFAIK Mathematica is only one core.

Re: Image Processing Quite Slow

Posted: Wed Apr 22, 2015 8:51 pm
by mlepage
Is Mathematica only one core on the RPi, or on all computers? If it's an artificial RPi limitation, I'd suggest that while they might limit to 1 core for basic computation they should allow all 4 cores for image processing, because otherwise it's unusable. You couldn't use it to process images from a camera module, for example. And it's not like allowing all 4 RPi cores is going to compete in the processing of astronomical sky surveys, or satellite imagery, or anything like that.

Re: Image Processing Quite Slow

Posted: Wed Apr 22, 2015 9:14 pm
by kusti8
They would have to (significantly) change their code to take advantage of the four cores. They probably don't want to put more work into it.

On desktop you have to pay more for more kernels as well anyways.
http://www.wolfram.com/mathematica/pric ... hp?desktop

Re: Image Processing Quite Slow

Posted: Tue May 26, 2015 1:15 pm
by gurpreet85
hlo friends...............

what is image processing quite slow ?
help me...................

Re: Image Processing Quite Slow

Posted: Thu Jul 09, 2015 2:51 am
by Micha1982
In general, Mathematica is able to use more than one core: (on Pi, too)

Link
and
Link

Depending on what exactly you're doing...