Hi Ken, I guess i'm just repeating previous comments but this is fantastic compared to scatter3. Any idea why it is so much faster? Is it because it plots multiple smaller series? With scatter3 plotting is a slow but working on the graph (rotating, editing properties, saving to jpeg) really brings my computer to its knees. Thanks again.
Hi Orlando. What kind of precision can we expect using geodistance? I tried:
However with the same coordinates, GoogleMaps gave me 33480m. Giving the huge difference, I looked for another method. I found the Haversine formula. Haversine gave me 33439m, which seems to agree more with GoogleMaps.
Is geodistance more accurate than the other two? I'd like to know 'cause I might have been ripped off for some time filling my expense report using GoogleMaps!!
I wasn't able to get this to work myself, but programing the functionality in Matlab is very easy
highmask = image>tHi;
lowmask = bwlabel(~(image<tLo));
final = ismember(lowmask,unique(lowmask(highmask)));
There seems to be only 1 set of forward-backward propagation set. It'd be nice if the code was extended to do recursively until nothing changes anymore as suggested on http://users.ecs.soton.ac.uk/msn/book/new_demo/thresholding/
I guess its really just putting the propagation part in a while loop with checking if any pixel switched from 0 to 1.
Great function otherwise!
Hi when I compiled and executed this code, I got the following error. I invoked it as TI = hysthresh(GI,0.1,0.4), where GI is a grayscale image.
??? Error using ==> hysthresh
YPRIME requires that Y be a 4 x 1 vector.
I also tried commenting this part in the code and recompiling the code. However, it ran out of memory.