Added gcentroid to image module.