IDL_IDLBridge and the virtual machine [message #83528] |
Wed, 13 March 2013 04:58  |
Helder Marchetto
Messages: 520 Registered: November 2011
|
Senior Member |
|
|
Hi,
I would like to use the IDL_IDLBridge, but I just read in the documentation that it is not possible to use execute, getvar and setvar methods in VM mode.
This is quite annoying, but is there another functional way to parallelize computations in IDL?
I basically have a list of n images (n~100, maybe more) and I perform computations on images k with k-1 for the whole list. I wanted to start computations separately:
Res1 = ComputationFunction(RefImg=0, Img=1)
Res2 = ComputationFunction(RefImg=1, Img=2)
Res3 = ComputationFunction(RefImg=2, Img=3)
...
and put all the results in an array.
Any suggestions?
I could try writing a batch process and producing a .sav that puts the result in a file and so on... but this seems a bit "dirty".
Thanks,
Helder
|
|
|