From: <pki...@co...> - 2004-08-19 02:13:12
|
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. - Paul > Hi, > > > On dc, 2004-08-18 at 08:27, Stefan van der Walt wrote: > > I havn't used anything beyond the neighbourhood property of structured > > elements, so I am not sure what other features they have. Looks like > > it would be possible to use a normal structure and an N-dimensional > > matrix to imitate it until we have a proper class? (See below) > > > > Regards > > Stefan > > > > Structuring element (STREL) creation and manipulation. > > > > getheight - Get strel height. > > > > getneighbors - Get offset location and height of strel neighbors > > > > getnhood - Get strel neighborhood. > > > > getsequence - Get sequence of decomposed strels. > > > > isflat - Return true for flat strels. > > > > reflect - Reflect strel about its center. > > > > strel - Create morphological structuring element. > > > > translate - Translate strel > > > > yes... strel could be a struct and all its members could be accessed > using functions like strel_getneighbours... This way, when we have > classes it's only a matter of moving a few m-files to a @strel directory > and search/replace to eliminate prefixes... So work won't be lost :) > > I don't know if you are interested in coding this one. If you are, go > ahead. If you prefer me to do it, just tell me and I'll have a try. > > Regards, > > -- > Josep Monés i Teixidor > Clau GnuPG: gpg --recv-keys 80E85CC4 > |