Method and device for image processing
AssigneeVia Alliance Semiconductor Co., Ltd.
InventorsFengxia Wu, Wei Zhang, Zhou Hong, Yuanfeng Wang
Life of this patent
Estimating the term…
Abstract
A device for image processing includes a first queue, a second queue, a cache, and a processor. The first queue is capable of receiving a first image tile. The processor is electrically connected to the first queue, the second queue, and the cache, respectively. The processor is capable of obtaining the first image tile from the first queue and obtaining mask information of the background mask corresponding to the first tile from the cache. The processor determines the relationship between the first image tile and the background mask based on the first image tile and the mask information so as to selectively transfer the first image tile to the second queue.
Claims12
A method for image processing, comprising:
- obtaining a first image tile;
- obtaining mask information of a background mask corresponding to the first image tile from a cache;
- and
- determining a relationship between the first image tile and the background mask based on the first image tile and the mask information so as to selectively transfer the first image tile to a processing queue;
- wherein the step of determining the relationship between the first image tile and the background mask based on the first image tile and the mask information so as to selectively transfer the first image tile to the processing queue comprises:
- checking whether the first image tile is overlapping with a foreground tile in the background mask;
- transferring the first image tile to the processing queue when the first image tile is overlapping with the foreground tile;
- and
- selectively transferring the first image tile to the processing queue based on a relationship of depth between the first image tile and the background mask when the first image tile is not overlapping with the foreground tile.
An image processing device, comprising:
- a first queue capable of receiving a first image tile;
- a second queue;
- a cache;
- and
- a processor electrically connected to the first queue, the second queue, and the cache, and capable of obtaining the first image tile from the first queue, obtaining mask information of a background mask corresponding to the first image tile from the cache, and determining a relationship between the first image tile and the background mask based on the first image tile and the mask information so as to selectively transfer the first image tile to the second queue;
- wherein when the processor selectively transfer the first image tile to the second queue, the processor checks whether the first image tile is overlapping with a foreground tile in the background mask, and the processor transfers the first image tile to the second queue when the first image tile is overlapping with the foreground tile, and the processor selectively transfer the first image tile to the second queue based on a relationship of depth between the first image tile and the background mask when the first image tile is not overlapping with the foreground tile.
Dependencies are inferred from the claim text.