Yes.  But the current code in opencv for this algorithm parellelized other parts using Intel TBB directly.  So if this part uses cv::parallel_for, then it is not consistent with other parts of the code. But you insist,  I can change it to cv::parallel_for.