One embodiment relates to an apparatus for image processing. The apparatus
includes a candidate edge chain identifier for identifying candidate edge
chains in an image being processed, means for calculating a dynamic
chain-based threshold function that is dependent on at least one
characteristic of the image being processed, and a threshold applicator
for applying the dynamic chain-based threshold function to the candidate
edge chains. The characteristic of the image being processed may be
global in that it is determined from the overall image being processed. A
system may include an encoder or a decoder, both of which include the
above apparatus. Another embodiment relates to a method for image
processing. The method determines a dynamic chain-based threshold
function that is dependent on at least one characteristic of the image
being processed and applies the dynamic threshold to a candidate edge
chain.