help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

convhull question


From: Karen Augusto
Subject: convhull question
Date: Fri, 12 Jul 2013 12:41:39 -0700 (PDT)

Hello,

I can see that the convhull doesn't work unless all objects have their thickness > 1. however, i am working on images that come from microscopy pictures, and i can not garantee that condition. don't you think that convhull should return correctly even when it encounters objects that are 'lines' of 1 or more pixels? here are 2 examples, the first will work, and the second fails, where i am expecting the second to actually return the coordinates of the object itself, what do you think?

I=[0 1 1 0; 1 1 1 1; 0 0 0 0];
[x, y] = find(I==1);
inds = convhull(x, y);


I2=[0 0 0 0; 1 1 1 1; 0 0 0 0];
[x, y] = find(I2==1);
inds = convhull(x, y);


Thanks,
Karen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]