12-19-2006 05:12 PM
12-21-2006 08:08 AM
Hi,
HaD a écrit:My question is:Is there anyway to use my DualCore capabilites to short the main VI running duration from 40ms to 20ms or so..? (For example by auto spliting the image to 2, and to do a parallel proecssing on each half).
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
12-26-2006 06:11 AM
Hi Mendi
Well, I have to completely disagree with TiTou on this post. If you are running just one time-consuming process, the raising of the priorities does nothing. Also, the main time-consuming image processing parts, such as RGB to HSL conversion, will run exactly as fast from an exe as from LV. The only way how to achieve speedup on two cores is to parallelize something. Provided that you know that the most time is consumed by RGB to HSL conversion, I would split the input image in two before the conversion, than do the coversion in two parallel LV dataflow paths, and combine the two halves in the end. The intrinsic "multithreadness" of LV means that the parallel dataflow paths will really be executed in parallel threads. The individual image processing VIs are not internally parallelized, as far as I know.
Just one more idea. The best way how to speed up the slow RGB to HSL conversion is to avoid it
. Try to think if you can maybe find the particles directly in the RGB planes, or in some simple mathematical combination of them. It would probably be much faster than converting to HSL.
Vladimir