not mine! , just collection of imgproc code