Chapter 9 Photometric catalogue generation