Method and apparatus for changing a pixel color
AssigneeSamsung Electronics Co., Ltd.
InventorsHwa-Hyun Cho, Bom-Yun Kim, Jong-Seon Kim
Life of this patent
Estimating the term…
Abstract
A method of changing a pixel color includes determining whether a chrominance of a pixel is in a preference chrominance area, where the preference chrominance area is defined as a conic section in a two-dimensional chrominance plane and an eccentricity of the conic section is not greater than 1, and changing the chrominance of the pixel to a preference chrominance to generate a preference pixel when the chrominance of the pixel is in the preference chrominance area. Therefore, the method may set a preference chrominance area in a simple manner, and hardware for setting the preference chrominance area may be easily implemented.
Claims15
A method of changing a pixel color, comprising:
- upon determining that a chrominance of a pixel is in a preference chrominance area, wherein the preference chrominance area is defined as a circle in a two-dimensional chrominance plane, changing the chrominance of the pixel to a preference chrominance to generate a preference pixel, wherein the changing comprises:
- determining a distance between the chrominance of the pixel and a target chrominance within the preference chrominance area;
- determining whether the distance is less than one half the radius of the circle;
- setting an adjustment value based on the distance when the distance is determined to be less than one half the radius;
- setting the adjustment value based on a difference between a first value and a second value when the distance is determined to be greater than or equal to one half the radius;
- and
- adjusting the chrominance of the pixel based on the adjustment value and the target chrominance,
- wherein the first value is based on the distance and the second value is based on the entire radius.
A method of changing a pixel color, comprising:
- upon determining that a chrominance of a pixel is in a preference chrominance area, wherein the preference chrominance area is defined as a circle in a two-dimensional chrominance plane, changing the chrominance of the pixel to a preference chrominance to generate a preference pixel wherein the changing comprises:
- moving the chrominance of the pixel in a direction towards a target chrominance within the preference chrominance area based on a size of the circle and a distance between the chrominance of the pixel and the target chrominance in the two-dimensional chrominance plane, wherein the moving comprises:
- determining a distance between the chrominance of the pixel and the target chrominance;
- determining whether the distance is less than one half the radius of the circle;
- setting an adjustment value based on the distance when the distance is determined to be less than one half the radius;
- setting the adjustment value based on a difference between a first value and a second value when the distance is determined to be greater than or equal to one half the radius;
- and
- adjusting the chrominance of the pixel based on the adjustment value and the target chrominance,
- wherein the first value is based on the distance and the second value is based on the radius.
A method of changing a pixel color, comprising:
- upon determining that a chrominance of a pixel is in a preference chrominance area, wherein the preference chrominance area is defined as a conic section in a two-dimensional chrominance plane, changing the chrominance of the pixel to a preference chrominance to generate a preference pixel, wherein the changing comprises:
- determining a distance between the chrominance of the pixel and a target chrominance within the preference chrominance area;
- determining whether the distance is less than one half a radius of the conic section;
- setting an adjustment value based on the distance when the distance is determined to be less than one half the radius and setting the adjustment value based on a difference between a first value and a second value when the distance is otherwise;
- and
- adjusting the chrominance of the pixel based on the adjustment value and the target chrominance,
- wherein first value is based on the distance and the second value is based on the entire radius.
Dependencies are inferred from the claim text.