摘要 |
Methods and apparatus for removing a background image from a captured image are provided. The background is removed by computing a set of representative values (e.g., median values) based on component values of pixels within a portion of interest of the captured image. The captured image is divided into a plurality of sub-blocks. For each sub-block, it is determined whether a predetermined minimum number of similar pixels are found, a similar pixel having component values within a predetermined threshold of the representative values. If the minimum number of similar pixels is found, it is assumed that the sub-block does not comprise part of the background and is retained. If the minimum number of similar pixels is not found, it is assumed that the sub-block comprises part of the background and component values of pixels of the sub-block are set to predetermined values.
|