First commit; basic morphological image processing