Color sampling method and touch control device thereof
AssigneeHTC Corporation
InventorsChia Yen Michael Lin, Jing-Lung Wu, Hsin-Ti Chueh
Life of this patent
Estimating the term…
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.
Claims16
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.
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.
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.
Dependencies are inferred from the claim text.