Series of energy-filtered TEM images have been acquired with very narrow energy slit using a post-column energy filter. This allowed us to reconstruct spectra with an energy resolution estimated to 2 eV, and a spatial resolution in the order of 0.5 nm. In that way, fine structures of the N-K edge in AlN/GaN heterostructures have been investigated and compared to EELS spectra. The fine structure in the two nitrides is very sensitive to the local environment. Very good agreement between ESI and EELS spectra was found. Moreover, this technique allowed analysis of the AlN/GaN interface at a nanoscale. The second example is an application of the technique to construct bonding maps. In this case, maps differentiating AlN nanoprecipitates with either the cubic or the hexagonal phase were created.