Add z projection in image iterator