This image shows the output array I want from an input array.
What is the best way to do this? (Best meaning fastest and most memory efficient).
I want to double the size of an image. I don't have IMAQ. I know about the zoom factor on image controls but that is not what I want.
Solved! Go to Solution.
I did a solution using in-place memory, for best performance.
I whent for the IPE as well but used a logical shift to avoid the mutiply by 2s
OK Steve- Benchmark 'em
I did some benchmarking. These are the results (vis set to high priority no debug)
Converting a 5000x5000 array, times in seconds
It is a tie between Jeff and Luis. Since the only way I can think of to decide who gets the solution is whoever posted first it goes to Luis.
A more thing, you can enable loop iteration parallelism for get better time.