A Hybrid Shared-Memory Parallel Max-Tree Algorithm for Extreme Dynamic-Range Images