Implemented a simple function to obtain full edges information

Could be useful operating canny operator (and others).