A kernel estimator of the squared L2-norm of the intensity function of a Poisson random field is defined. It is proved that the estimator is asymptotically unbiased and strongly consistent. The problem of estimating the squared L2-norm of a function disturbed by a Wiener random field is also considered