add some cpp image data process algorithm