On the subject of erode and dilate, I've written plug-ins that do these and Minkowski open and close. They are a little more traditional in their approach, i.e. give the user a 3X3 matrix from which to build a mask for the operation. I need to do a bit of clean-up with them, but I expect to post them in the next couple of days. (I'm working with version 1.2.1). Regards, Cindy Huyser