Advanced High Dynamic Range Imaging:Theory and Practice