Add option to produce image coadd, not just detmap