Added the new function to the imgproc module