摘要 |
METHOD AND APPARATUS FOR SEGMENTATION OF FOREGROUND OBJECTS IN IMAGES AND PROCESSING THEREOF In an example embodiment, a method, apparatus and computer program product are provided. The method includes facilitating capture of at least one image of a scene including a foreground object by at least one rolling shutter sensor. The at least one image includes a pattern in an image region of the foreground object comprising a series of alternate dark and bright pixel regions. The at least one image is captured by setting exposure time of the sensor as equal or less than a read-out time of a set of pixel rows of a plurality of pixel rows, and by facilitating a repeating sequence of ON and OFF of flash such that flash is ON while capturing the set of pixel rows, and OFF while capturing subsequent set of pixel rows. The method includes determining a contour of the foreground object in the at least one image based on the pattern. FIGURE 6 |