show multiple resection methods
procdir: example of batch processing of all images in a directory