Light transmission behaviour as a function of the homogeneity in one dimensional photonic crystals