added wrapper to register night time images