High dynamic range imaging (HDRI) is considered an effective technique to make the irradiance range of the real natural scenes visible to human eyes or a normal digital displayer. However, HDRI often suffers from ghost artifacts, which are caused by the movement of objects when a dynamic scene is captured. In this project, we aim to seek a robust way for motion detection and achieve artifact-free exposure fusion for HDRI.