A simple implementation of super resolution algorithm based on different average type