Method and device for performing color twist for images
AssigneeAdvanced Micro Devices, Inc.
InventorRajy Meeyakhan Rawther
Life of this patent
Estimating the term…
Abstract
A processing device and method for executing a color twist operation are provided. The processing device comprises memory and a processor configured to convert values of pixels of a frame from a first color domain to a hue, saturation and value (HSV) color domain, adjust hue values and saturation values of the pixels, store the adjusted hue and saturation values in a portion of the memory local to the processor and convert the frame from the HSV color domain to the first color domain using the adjusted hue and saturation values stored in local memory. The adjusted hue and saturation values are generated from pre-adjusted values, which are generated from masked vector values.
Claims21
A processing device for executing a color twist operation comprising:
- memory;
- and
- a processor configured to:
- convert values of pixels of a frame from a first color domain to a hue, saturation and value (HSV) color domain;
- apply the color twist by rotating a hue component by a twist angle Δ and adjusting a saturation component according to a factor β for the pixels in the HSV color domain;
- store the adjusted hue and saturation values in a portion of the memory local to the processor;
- and
- convert the frame from the HSV color domain to the first color domain using the adjusted hue and saturation values stored in the portion of the memory.
A method of executing a color twist operation comprising:
- converting values of pixels of a frame from a first color domain to a hue, saturation and value (HSV) color domain;
- applying the color twist by rotating a hue component by a twist angle Δ and adjusting a saturation component according to a factor β for the pixels in the HSV color domain;
- storing the adjusted hue and saturation values in local memory;
- and
- converting the frame from the HSV color domain to the first color domain using the adjusted hue and saturation values stored in the local memory.
A processing device for executing a color twist operation on a plurality of frames comprising:
- memory;
- and
- a processor configured to, for each of the plurality of frames:
- convert values of pixels from a first color domain to a hue, saturation and value (HSV) color domain;
- apply the color twist by rotating a hue component by a twist angle Δ and adjusting a saturation component according to a factor β for the pixels in the HSV color domain;
- store the adjusted hue and saturation values in a portion of the memory local to the processor;
- and
- convert the frame from the HSV color domain to the first color domain using the adjusted hue and saturation values stored in the portion of the memory.
Dependencies are inferred from the claim text.