Method for identifying foreground object in image and electronic device
A method for identifying a foreground object in an image and an electronic device are provided. The method includes: dividing a first image and a second image to obtain first image blocks in the first image and second image blocks in the second image; comparing the first image blocks with the second...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method for identifying a foreground object in an image and an electronic device are provided. The method includes: dividing a first image and a second image to obtain first image blocks in the first image and second image blocks in the second image; comparing the first image blocks with the second image blocks to obtain a plurality of disparity values respectively corresponding to the first image blocks, and generating a disparity image including the disparity values; comparing each disparity value in the disparity image with a first threshold to form a disparity depth image, and selecting a selected block from the disparity depth image to form a first region; and mapping the first region into the first image to identify a mapped object and identify the object as a foreground object. |
---|