IP Library Granted Patent US 9,310,908
Granted Patent B2
US 9,310,908 · App. 14/067,935 · Granted Apr 12, 2016

Color sampling method and touch control device thereof

Inventors: Chia Yen Michael Lin (Taoyuan County, TW); Jing-Lung Wu (Taoyuan County, TW); Hsin-Ti Chueh (Taoyuan County, TW)
Assignee: HTC Corporation
G06F3/041G03B2217/00G06F3/0488
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,310,908
App. No.
14/067,935
Granted
Apr 12, 2016
Kind
B2
Abstract

A color sampling method includes detecting a touch input on a touch screen, determining a first region corresponding to the touch input, performing a temporal analysis on the first region of a plurality of image frames to determine representative color values of pixels within the first region, determining a second region within the first region, and performing a spatial analysis on the second region to determine candidate color value corresponding to the touch input according to the representative color values of pixels within the second region.

Claims (42)

1. A color sampling method, comprising:

detecting a touch input on a touch screen;

receiving a plurality of image frames;

determining a first region corresponding to the touch input;

determining representative color values of pixels within the first region according to color values of corresponding pixels located at the same positions within the plurality of image frames;

determining a second region within the first region, the first region and the second region being centered to position of the touch input;

applying weights to pixels within the second region according to a distance of the pixels to the touch input, the pixels within the second region being more than one pixel;

determining a candidate color value corresponding to the touch input according to the weights and the representative color values within the second region; and

performing a color adjustment on pixels having color values equal or similar to the candidate color value.

2. The color sampling method of claim 1 , wherein determining of the representative color value of the pixels within the first region further comprises performing a calculation on color values of corresponding pixels located at the same position within the plurality of image frames, wherein the calculation is selected from average calculation, medium calculation and mean calculation.

3. The color sampling method of claim 2 , wherein the plurality of image frames are obtained during a predetermined time period upon receiving the touch input.

4. The color sampling method of claim 1 , further comprises determining a reference position of the touch input within the image frames; and

wherein the distance relationship is determined according to the distance of the pixels to the reference position.

5. The color sampling method of claim 1 , further comprises:

identifying an object corresponding to the touch input;

adjusting the candidate color value; and

applying the adjusted candidate color value to the object.

6. A color sampling method, comprising:

detecting a touch input on a touch screen;

determining a first region corresponding to the touch input;

performing a temporal analysis on the first region of a plurality of image frames to determine representative color values of pixels within the first region, the image frames being received during a predetermined time period upon detecting the touch input;

determining a second region within the first region, the first region and the second region being centered to position of the touch input;

performing a spatial analysis on the second region to determine a candidate color value corresponding to the touch input according to the representative color values of pixels within the second region, the pixels within the second region being more than one pixel; and

performing a color adjustment on pixels having color values equal or similar to the candidate color value.

7. The color sampling method of claim 6 , wherein performing of the temporal analysis further comprises for each of the pixels within the first region, determining the representative color value of the pixel by calculating weighted average of color values of corresponding pixels located at the same position within a plurality of image frames.

8. The color sampling method of claim 7 , further comprises:

determining a reference position corresponding to the touch input;

wherein the first region and the second region are determined according to the reference position and predetermined sizes.

9. The color sampling method of claim 8 , wherein the second region is smaller than the first region.

10. The color sampling method of claim 6 , wherein performing of the spatial analysis further comprises determining the candidate color value corresponding to the touch input by calculating a weighted average of the representative color values of the pixels within the second region.

11. The color sampling method of claim 10 , wherein the weight average is calculated according to the distances of the pixels within the second region to a reference pixel, the reference pixel representing the touch input.

12. The color sampling method of claim 6 , further comprises:

identifying an object corresponding to the touch input;

adjusting the candidate color value; and

applying the adjusted candidate color value to the object.

13. A touch control device, comprising:

a touch screen, configured to receive and detect a touch input; and

an image processing unit, coupled to the touch screen and configured to determine a first region and a second region centered to position of the touch input, determining representative color values of pixels within the first region using temporal analysis, determining a candidate color value corresponding to the touch input according to the representative color values of pixels within the second region using spatial analysis respectively, and performing a color adjustment on pixels having color values equal or similar to the candidate color value;

wherein the second region is a portion of the first region, the first region and the second region being centered to position of the touch input, the pixels within the second region being more than one pixel.

14. The touch control device of claim 13 , wherein the image processing unit is further configured to perform the temporal analysis by, for each pixel within the first region, determining the representative color value of the pixel by calculating weighted average of color values of corresponding pixels located at the same position within a plurality of image frames obtained during a predetermined time period.

15. The touch control device of claim 13 , wherein the image processing unit is further configured to perform the spatial analysis by determining the color value corresponding to the touch input by calculating a weighted average of the representative color values of the pixels in the second region, and wherein a weight of the pixels is calculated according to the distance of the pixels within the second region to a reference pixel, the reference pixel representing the touch input.

16. The touch device of claim 15 , wherein the touch screen is further configured to determine a reference position of the touch input and the image processing unit is further configured to locate the first region and the second region around the reference position by predetermined sizes respectively.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 30, 2013
From: LIN, CHIA YEN MICHAEL; WU, JING-LUNG; CHUEH, HSIN-TI
To: HTC CORPORATION
Reel/Frame 031514/0940 →
Continuity (1)
Related Publication 20150116227A1 · Apr 30, 2015