Any tips on how I can get the Euler number for each region in an image would be greatly appreciated. My *.M script works fine until the last line, where it just hangs. Even if I enter the last line in the command window, it hangs: no moving to next octave
prompt, no error message.
imshow(bigmarks) % 15 regions, several with 1-3 holes
bigprops = regionprops(bigmarks, "basic");
bigprops.Area % 15 areas
eul = bweuler(bigmarks); % slow; one number for entire image
eul
holes = regionprops(bigmarks, "euler_number"); % HANGS
I’m running Octave3.6.4_gcc4.6.2 using QOcTerm on a Dell with Windows XP pro. 32bit
Thanks
Charles