Mosaic generation and sprite-based coding with automatic foreground and background separation
First Claim
1. A method for automatically segmenting foreground and background objects in images, comprising:
- receiving a first image associated with a first time reference;
extracting macroblocks from a second image associated with a second time reference;
mapping the macroblocks with corresponding arrays in the first image according to macroblock local vectors;
deriving frame residuals between the macroblocks and the corresponding arrays in the first image;
identifying the macroblocks as different frame prediction types according to particular types of local vectors used for mapping the macroblocks to the first image;
deriving multiple local motion vectors mapping different subportions of the macroblocks to subimage arrays in the first image;
deriving residuals by comparing the subportions of the macroblocks with the mapped subimage arrays;
identifying macroblocks as a submacroblock prediction types according to the derived residuals of the subportions of the macroblocks; and
classifying the submacroblock prediction type macroblocks as foreground.
3 Assignments
0 Petitions
Accused Products
Abstract
An automatic segmentation system distinguishes foreground and background objects by first encoding and decoding a first image at a first time reference. Macroblocks are extracted from a second image at a second time reference. The macroblocks are mapped to pixel arrays in the decoded first image. Frame residuals are derived that represent the difference between the macroblocks and the corresponding pixel arrays in the previously decoded image. A global vector representing camera motion between the first and second images is applied to the macroblocks in the second image. The global vectors map the macroblocks to a second pixel array in the first decoded image. Global residuals between the macroblocks and the second mapped image arrays in the first image are derived. When the global residuals are compared with the frame residuals to determine which macroblocks are classified as background and foreground. The macroblocks classified as foreground are then blended into a mosaic.
44 Citations
14 Claims
-
1. A method for automatically segmenting foreground and background objects in images, comprising:
-
receiving a first image associated with a first time reference;
extracting macroblocks from a second image associated with a second time reference;
mapping the macroblocks with corresponding arrays in the first image according to macroblock local vectors;
deriving frame residuals between the macroblocks and the corresponding arrays in the first image;
identifying the macroblocks as different frame prediction types according to particular types of local vectors used for mapping the macroblocks to the first image;
deriving multiple local motion vectors mapping different subportions of the macroblocks to subimage arrays in the first image;
deriving residuals by comparing the subportions of the macroblocks with the mapped subimage arrays;
identifying macroblocks as a submacroblock prediction types according to the derived residuals of the subportions of the macroblocks; and
classifying the submacroblock prediction type macroblocks as foreground.
-
-
2. A method for automatically segmenting foreground and background objects in images, comprising:
-
receiving a first image associated with a first time reference;
extracting macroblocks from a second image associated with a second time reference;
mapping the macroblocks with corresponding arrays in the first image according to macroblock local vectors;
deriving frame residuals between the macroblocks and the corresponding arrays in the first image; and
identifying the macroblocks as different frame prediction types according to particular types of local vectors used for mapping the macroblocks to the first image;
mapping macroblocks to portions of the first image according to global motion vectors;
deriving global residuals between the macroblocks and the mapped portions in the first image; and
classifying the macroblocks as foreground or background by comparing the global residuals with the frame residuals. - View Dependent Claims (3)
-
-
4. An encoder, comprising:
-
a processor generating frame residuals by using local motion vectors to compare macroblocks in a first frame with pixel arrays in a second frame, generating global residuals by using global motion parameters to compare the macroblocks in the first frame with the pixel arrays in the second frame, and generating mosaic residuals by using the global motion parameters to compare the macroblocks in the first frame with pixel arrays in a mosaic, the processor identifying the macroblocks as mosaic prediction type when the mosaic residuals are used for encoding the macroblocks and as frame prediction type when the frame residuals are used for encoding the macroblocks, the processor classifying the frame prediction type macroblocks as foreground or background by comparing the global residuals with the frame residuals and classifying the mosaic prediction type as background. - View Dependent Claims (5, 6, 7, 8)
-
-
9. A method for encoding an image, comprising:
-
generating frame residuals by using local motion vectors to compare macroblocks in a first frame with pixel arrays in a second frame;
generating global residuals by using global motion parameters to compare the macroblocks in the first frame with the pixel arrays in the second frame;
generating mosaic residuals by using the global motion parameters to compare the macroblocks in the first frame with pixel arrays in a mosaic; and
identifying the macroblocks as mosaic prediction type when the mosaic residuals are used for encoding the macroblocks and as frame prediction type when the frame residuals are used for encoding the macroblocks. - View Dependent Claims (10)
-
-
11. A system for encoding an image, comprising:
-
a processor configured to derive frame residuals between macroblocks and the corresponding arrays in a first image, map macroblocks to portions of the first image according to global motion vectors and derive global residuals between the macroblocks and the mapped portions in the first image; and
the processor further configured to classify the macroblocks as foreground or background by comparing the global residuals with the frame residuals. - View Dependent Claims (12)
-
-
13. A method for automatically identifying objects in images, comprising:
-
deriving multiple local motion vectors mapping different subportions of macroblocks to subimage arrays in a first image;
deriving residuals by comparing the subportions of the macroblocks with the mapped subimage arrays;
identifying macroblocks as a submacroblock prediction types according to the derived residuals of the subportions of the macroblocks; and
classifying the submacroblock prediction type macroblocks as foreground. - View Dependent Claims (14)
associating the first image with a first time reference;
extracting the macroblocks from a second image associated with a second time reference;
mapping the macroblocks with corresponding arrays in the first image according to macroblock local vectors;
deriving frame residuals between the macroblocks and the corresponding arrays in the first image; and
identifying the macroblocks as different frame prediction types according to particular types of local vectors used for mapping the macroblocks to the first image.
-
Specification