Patent ID: 7809189

Claim:
A method for image separating, said method being applied to an electronic apparatus to separate a foreground and a background of an image displayed on said electronic apparatus, said method comprising the following steps executed on said electronic apparatus: scanning pixels in said image, applying arithmetic algorithm on said pixels and forming a plurality of segments on said image by defining pixels adjacent to each other and similar in color as one segment; examining foreground label and background label marked on said image by a user through said electronic apparatus; merging segments labeled by said foreground label into a foreground region and segments labeled by said background label into a background region, and applying arithmetic algorithm on an unlabeled segment to merge with an adjacent segment, said foreground region or said background region having the least difference in color; repeating said merging step until all segments are merged into said foreground region or said background region, thereby separating said image into said foreground region and said background region.