Galaxy morphology, luminosity and, environment in the SDSS DR7