I am writing a paper, which in the application used a function from a programming language (in this case, it is OpenCV function canny edge detection). When is or is not appropriate to explain the algorithm in mathematics/words and when or how should a function be referenced.
In this case, OpenCV explains the algorithm http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/canny_detector/canny_detector.html
Should I just provide a link to this, as I did not modify the algorithm but it is an important part of the implementation decision.
Is there a standard way of deciding to reference the language, function, or original algorithm?