1. An imaging system, comprising: an image sensor to capture a sequence of images including a low dynamic range (LDR) image and a high dynamic range (HDR) image; and a processor coupled to the image sensor to receive the LDR image and the HDR image, wherein the processor is coupled to receive instructions, which when executed by the processor cause the processor to perform operations including: segmenting the LDR image into a plurality of LDR image segments and segmenting the HDR image into a plurality of HDR image segments; scanning the plurality of LDR image segments and scanning the plurality of HDR image segments to find a first image segment in the plurality of LDR image segments and a second image segment in the plurality of HDR image segments, wherein the first image segment includes a portion of the LDR image and the second image segment includes a portion of the HDR image corresponding to the portion of the LDR image in the first image segment; finding interest points in the first image segment and the second image segment; determining an alignment parameter based on matched interest points in the first image segment and the second image segment; and combining the LDR image and the HDR image in accordance with the alignment parameter to form a composite image.