From: Josep i T. <jm...@pu...> - 2004-08-24 15:25:45
|
On dj, 2004-08-19 at 04:13, pki...@co... wrote: > I don't think there is any point in naming them strel_xxx. I don't think= these functions exist elsewhere in octave/octave-forge. >=20 > - Paul >=20 Ok! I'm just naming them as they should. BTW, I'm using a @strel directory to have everything in place already. To simulate classes I just use structs which have a field "type" set to "strel", which helps identifying it. Do you thing this is ok? I also have the problem that I can't use structs as elements in an array; so I've replaced all arrays of strel objects to cell arrays of strel objects, which is ugly. BTW, in addition of decomposition of structuring elements, I'm finding articles of specific dilate or erode algorithms for line structuring elements or other types of structuring elements, which are supposed to be much faster that using a general-neighbourhood algorithm (even if decomposed smartly). So I plan to store the shape in the strel object so we can use these algorithms in a future and speed up things. Regards, --=20 Josep Mon=E9s i Teixidor Clau GnuPG: gpg --recv-keys 80E85CC4 |