function output_curve = approxpolyDP(input_curve, epsilon, closed) output_curve = opencv_approxpolyDP(input_curve, epsilon, closed) endfunction