PRO findedge,name,c0,r0,radius,nosobel=nosobel namelen=STRLEN(STRTRIM(name,2)) cam=FIX(STRMID(name,namelen-9,1)) exp=FIX(STRMID(name,namelen-7,3)) rdkimg,name,h,im rdmeandk,cam,exp,dk cim=im-dk IF KEYWORD_SET(nosobel) THEN sim=cim ELSE sim=SOBEL(cim) sh=HISTOGRAM(sim,MIN=0,BIN=1) csh=sh & FOR i=1,N_ELEMENTS(csh)-1 DO csh(i)=csh(i)+csh(i-1) ceiling=MAX(WHERE(csh LT N_ELEMENTS(sim)/2))*10 dd=dist(256) IF NOT (KEYWORD_SET(c0) OR KEYWORD_SET(r0) OR $ KEYWORD_SET(radius)) THEN BEGIN c0=131 r0=126 radius=143 ENDIF resp='' REPEAT BEGIN tvsi,sim