C++ implements of Image Processing