Added return conture function

* Added function that takes as parameter normal image
  and returns conture of that image.

Signed-off-by: Ondrej Jariabka <o.jariabka@gmail.com>
Moved profiler function

Signed-off-by: Ondrej Jariabka <o.jariabka@gmail.com>