function mmconv % MMCONV Conventions used in the SDC Morphology Toolbox. % % MMCONV % % All operators of the SDC Morphology Toolbox starts with 'mm'. This % is a simple rule to check if an operator belongs or not to the % SDC Morphology Toolbox. % % All operators of the SDC Morphology Toolbox obey the following % rules of parameter uses: % % - return a single data structure. % % - the parameters are position and type dependent. For example, if % the third parameter of an operator is a structuring element, then % the third parameter can only be a structuring element for that % operator. Note that this rule is somewhat different from most % Matlab operators. % % - the definition of optional parameters depends on the parameters % order in the parameter list. One parameter that has a parameter % on its right that is not optional can not be optional either. For % example, the MMWATERSHED operator has 3 parameters: F, BC and % LINEREG, with the last two being optional. Therefore, the only % ways that MMWATERSHED can be invoked are: MMWATERSHED(F), % MMWATERSHED(F,BC) or MMWATERSHED(F,BC,LINEREG). % % - when a default parameter is a structuring element, the elementary % cross (MMSECROSS) is used as the default value. % % All operators of the SDC Morphology Toolbox , with two image % parameters, such as MMADDM, obey the following rules of parameter % uses: % % - the two images must have the same size. % % - one of the images (normally the rightmost) can be represented by % a constant. In this case, the constant is treated as a constant % image, with the same size and type of the other image. % begin of the default argument automatic treatment% end of the default argument automatic treatment 1 help mmconv % Copyright (c) 1998-2001 by SDC Information Systems.