% ========================================================================= % Math 336 - Image Processing - Laboratory 6 % % Image Morphology (Part 1): % A function for computing the morphological operation of opening. % % Marty Kandes % Computational Science Research Center / Department of Physics % San Diego State University % Fall 2008 % ------------------------------------------------------------------------- function [G] = mopen(F,SE,AP,METHOD) G = merode(F,SE,AP,METHOD); % Erode the image, then G = mdilate(G,SE,AP,METHOD); % dilate the image. end % =========================================================================