Implemented a simple function to obtain full edges information

Could be useful for the canny operator and so on.