Thanks Ray, I see what you mean (lots of utility functions mixed in there I guess?). I know for another project I'm working on I'd like to merge the canny edge detector over pretty soon. I'll check things out some more and send out a new email regarding the morphology operations.