Skip to main content

To speed up a macro I need to read out data from certain pixels from the geometric image analyze in a macro.

how do i do that

Hi Fredrik, you get use the sample code below to extract the efficiency, it’s similar to go to the desired line. However, I am not sure if it’s the most efficient way.

! Get a temporary file name
A$ = $TEMPFILENAME()
! Compute the data and place in the temp file
GETTEXTFILE A$, Ima
! Open the new file and print it out
OPEN A$
for i,1,27,1
READSKIP -2
i = i+1
next
Read A,B,C,D
print D


thank you yuan

this helped

depending on how many rays I use this fastened up my macro a lot

 


Reply