A generalization of the Aluthge transformation in the viewpoint of operator means