Faster cycling through waves
Tue, 09/11/2018 - 01:00 am
I am currently implementing a thresholding algorithm in Igor. I want to decompose my original image wave in smaller section. A threshold will be applied to every single section. Afterwards I want to compose a new wave from the single smaller sections.
I am currently using two for loops in order to paste the smaller waves into the big output wave. See the example below:
However, my approach seem to be very slow. I was wondering if there is a faster way to assign values to a wave. Maybe something similar to pointers and iterators in C++?