Edge detection: local and global operators