  We present the analysis of three colour optical/near-infrared images, in IJK,
taken for the DENIS project. The region considered covers 17.4 square deg and
lies within |l|<5 deg, |b|<1.5 deg. The adopted methods for deriving photometry
and astrometry in these crowded images, together with an analysis of the
deficiencies nevertheless remaining, are presented. The numbers of objects
extracted in I,J and K are 748000, 851000 and 659000 respectively, to magnitude
limits of 17,15 and 13. 80% completeness levels typically fall at magnitudes
16, 13 and 10 respectively, fainter by about 2 magnitudes than the usual DENIS
limits due to the crowded nature of these fields. A simple model to describe
the disk contribution to the number counts is constructed, and parameters for
the dust layer derived. We find that a formal fit of parameters for the dust
plane, from these data in limited directions, gives a scalelength and
scaleheight of 3.4+-1.0 kpc and 40+-5 pc respectively, and a solar position
14.0+-2.5 pc below the plane. This latter value is likely to be affected by
localised dust asymmetries. We convolve a detailed model of the systematic and
random errors in the photometry with a simple model of the Galactic disk and
dust distribution, to simulate expected colour-magnitude diagrams. These are in
good agreement with the observed diagrams, allowing us to isolate those stars
from the inner disk and bulge. After correcting for local dust-induced
asymmetries, we find evidence for longitude-dependent asymmetries in the
distant J and K sources, consistent with the general predictions of some
Galactic bar models. We consider complementary L-band observations in a second
paper.
