Hello @pentschev ,

Maybe you fix the Egyptian style of the code here? 
About the rules adopted design code in OpenCV you can find here: http://code.opencv.org/projects/opencv/wiki/CodingStyleGuide

Best regards,
Sergei