Systems and methods for applying a residual error image
AssigneeVMware, Inc.
InventorJonathan CLARK
Life of this patent
Estimating the term…
Abstract
Systems and methods described herein enable a residual error image to be added and rendered in an existing HTML canvas using native primitives. A current image and a residual error image containing pixel value differences between the current image and an updated image are received. A positive residual error image and a negative error image are generated from the residual error image. The positive residual error image is added to the current image to generate a partially updated image, and the partially updated image is xored to generate an inverse image. The negative residual error image is added to the inverse image to generate an updated inverse image, and xoring the inverse image to revert the inverse image to generate the updated image.
Claims20
A method for updating an image, the method comprising:
- receiving a current image and a residual error image, the residual error image containing pixel value differences between the current image and an updated image;
- generating a positive residual error image from the residual error image, the positive residual error image having a zero in place of each corresponding pixel value in the residual error image that is negative and a corresponding positive value of each corresponding pixel value in the residual error image that is positive;
- generating a negative residual error image from the residual error image, the negative residual error image having a zero in place of each corresponding pixel value in the residual error image that is positive and a corresponding absolute value of each corresponding pixel value in the residual error image that is negative;
- adding the positive residual error image to the current image to generate a partially updated image;
- xoring the partially updated image to generate an inverse image;
- adding the negative residual error image to the inverse image to generate an updated inverse image;
- and
- xoring the inverse image to revert the inverse image to generate the updated image.
A computer readable storage medium having stored therein a computer program for updating an image, wherein a computer system executing the computer program carries out the steps of:
- receiving a current image and a residual error image, the residual error image containing pixel value differences between the current image and an updated image;
- generating a positive residual error image from the residual error image, the positive residual error image having a zero in place of each corresponding pixel value in the residual error image that is negative, and a corresponding positive value of each corresponding pixel value in the residual error image that is positive;
- generating a negative residual error image from the residual error image, the negative residual error image having a zero in place of each corresponding pixel value in the residual error image that is positive, and a corresponding absolute value of each corresponding pixel value in the residual error image that is negative;
- adding the positive residual error image to the current image to generate a partially updated image;
- xoring the partially updated image to generate an inverse image;
- adding the negative residual error image to the inverse image to generate an updated inverse image;
- and
- xoring the inverse image to revert the inverse image to generate the updated image.
A system for updating an image, the system comprising:
- a server configured to:
- receive a current image and a residual error image, the residual error image containing pixel value differences between the current image and an updated image;
- generate a positive residual error image from the residual error image, the positive residual error image having a zero in place of each corresponding pixel value in the residual error image that is negative, and a corresponding positive value of each corresponding pixel value in the residual error image that is positive;
- and
- generate a negative residual error image from the residual error image, the negative residual error image having a zero in place of each corresponding pixel value in the residual error image that is positive, and a corresponding absolute value of each corresponding pixel value in the residual error image that is negative;
- and
- a client in communication with the server, the client configured to:
- receive the positive residual error image and the negative residual error image;
- add the positive residual error image to the current image to generate a partially updated image;
- xor the partially updated image to generate an inverse image;
- add the negative residual error image to the inverse image to generate an updated inverse image;
- and
- xor the inverse image to revert the inverse image to generate the updated image.
A system for updating an image, the system comprising:
- a server configured to:
- receive a current image;
- access a residual error image, the residual error image containing pixel value differences between the current image and an updated image;
- and
- generate, from the residual error image, an absolute value residual image that includes an absolute value of the pixel value differences between the current image and the updated image;
- and
- a client in communication with the server, the client configured to:
- receive the absolute value residual image;
- receive a Portable Network Graphics (PNG) image with a 1-bit mask;
- deconstruct the absolute value residual image using the PNG image;
- identify the positive error pixel values and the negative error pixel values from the deconstructed absolute value residual image;
- generate a positive residual error image from the positive error pixel values, the positive residual error image having a zero in place of each corresponding pixel value in the residual error image that is negative, and a corresponding positive value of each corresponding pixel value in the residual error image that is positive;
- and
- generate a negative residual error image from the negative error pixel values, the negative residual error image having a zero in place of each corresponding pixel value in the residual error image that is positive, and a corresponding absolute value of each corresponding pixel value in the residual error image that is negative;
- and
- add the positive residual error image to the current image to generate a partially updated image;
- xor the partially updated image to generate an inverse image;
- add the negative residual error image to the inverse image to generate an updated inverse image;
- and
- xor the inverse image to revert the inverse image to generate the updated image.
Dependencies are inferred from the claim text.