IP Library Granted Patent US 9,959,660
Granted Patent B2
US 9,959,660 · App. 15/174,253 · Granted May 1, 2018

Method and device for image processing

Inventors: Fengxia Wu (Shanghai, CN); Wei Zhang (Shanghai, CN); Zhou Hong (Shanghai, CN); Yuanfeng Wang (Shanghai, CN)
Assignee: VIA ALLIANCE SEMICONDUCTOR CO., LTD.
G06T15/005G06T1/60G06T15/80G06T19/20G06T2200/04G06T2200/28
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,959,660
App. No.
15/174,253
Granted
May 1, 2018
Kind
B2
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.

Claims (33)

1. 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.

2. The method in claim 1 , further comprising refreshing the background mask to the cache or storing the background mask in a first processor.

3. The method of claim 1 , wherein the step of obtaining the mask information of the background mask comprises:

checking whether the background mask is stored in the cache based on coordinates of the first image tile;

obtaining the mask information of the background mask from the cache when the background mask is stored in the cache; and

obtaining the background mask from a random access memory and writing the background mask into the cache when the background mask is not stored in the cache.

4. The method in claim 3 , further comprising writing data in the cache into the random access memory before the step of writing the background mask into the cache.

5. The method in claim 1 , wherein the step of 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 comprises:

calculating a depth range of the first image tile;

comparing the depth range of the first image tile with a depth range of the background mask so as to generate a comparison result;

transferring the first image tile to the processing queue when the comparison result is pass; and

discarding the first image tile when the comparison result is fail.

6. The method in claim 5 , wherein the step of calculating the depth range of the first image tile comprises:

calculating a plurality of depth corresponding to a plurality of end points of the first image tile so as to obtain a plurality of depth values; and

determining the depth range of the first image tile based on a maximum of the plurality of depth values and a minimum of the plurality of depth values.

7. 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.

8. The image processing device in claim 7 , wherein the processor further refresh the background mask into the cache.

9. The image processing device of claim 7 , wherein the processor checks whether the background mask is in the cache based on coordinates of the first image tile, and the processor obtains the background mask from the cache when the background mask is in the cache, and the processor obtains the background mask from a random access memory and write the background mask into the cache when the background mask is not in the cache.

10. The image processing device in claim 9 , wherein the processor further writes data in the cache into the random access memory before write the background mask into the cache.

11. The image processing device in claim 7 , wherein when the first image tile is not overlapping with the foreground tile, the processor calculates a depth range of the first image tile and compares the depth range of the first image tile with a depth range of the background mask so as to generate a comparison result, and the processor transfers the first image tile to the second queue when the comparison result is pass, and the processor discards the first image tile when the comparison result is fail.

12. The image processing device of claim 11 , wherein when the processor calculates the depth range of the first image tile, the processor calculates a plurality of depth corresponding to a plurality of end points of the first image tile so as to obtain a plurality of depth values and determines the depth range of the first image tile based on based on a maximum of the plurality of depth values and a minimum of the plurality of depth values.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 18, 2021
From: SHANGHAI ZHAOXIN SEMICONDUCTOR CO., LTD.
To: GLENFLY TECH CO., LTD.
Reel/Frame 058965/0042 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 6, 2016
From: WU, FENGXIA; ZHANG, WEI; HONG, ZHOU; WANG, YUANFENG
To: VIA ALLIANCE SEMICONDUCTOR CO., LTD.
Reel/Frame 038819/0230 →
Priority Claims (1)
CN 2015 1 0916333 · Dec 10, 2015 · national
Continuity (1)
Related Publication 20170169600A1 · Jun 15, 2017