An improved ghost-artifact detection and removal method for high-dynamic range (HDR) image creation and related apparatus are described. A binary ghost map is first generated for each image of the multiple input images by a ghost-artifact detection process, where one of the binary values indicate ghost pixels and the other indicates non-ghost pixels. Each binary ghost map is smoothed to generate a continuous-tone ghost map, by changing the pixel value of each non-ghost pixel of the binary map to a ghost value between the two binary values. The ghost value is calculated using a monotonous function of the distance between the non-ghost pixel of the binary map and the nearest ghost pixel. Ghost pixels in the binary ghost map are kept as fully ghost pixel in the continuous-tone ghost map. This method helps to reduce visibility of artifacts at ghost boundaries without losing small detected ghost regions.
展开▼