Wed, 05/06/2009 - 06:07 pm
I would like to perform a series of applications on all the images in a folder. I can load all the images and display them, but I cannot figure out how to perform further operations like modify the color bar, take line integrations at a specific location and plot all the line profiles in one graph.
Thanks for your help.
Function process10()
Variable i
String name
Make/o/N=10 myResults=nan
for(i=0;i<10;i+=1)
name="wave"+num2str(i)
Wave w=$name
if(WaveExists(w)==0)
break
endif
ImageStats/M=1 /G={10,20,30,40} w
myResults[i]=V_avg
endfor
End
I hope this helps. Feel free to contact support if you have difficulty in implementing specific tasks.
A.G.
WaveMetrics, Inc.
May 7, 2009 at 12:48 pm - Permalink