Study of the luminosity function for field galaxies