CPC G06V 10/98 (2022.01) [G06F 11/079 (2013.01); G06F 11/0736 (2013.01); G06F 11/0751 (2013.01); G06F 11/0772 (2013.01); G06T 5/00 (2013.01); G06V 10/36 (2022.01); G06T 7/0002 (2013.01); H04L 41/0677 (2013.01)] | 19 Claims |
1. A method comprising:
receiving, by a processor, pixel data from an unprotected memory, the pixel data having a level of corruptibility such that failure of any of the pixel data corresponds to corruption of an output data set that is less than or equal to a threshold amount of corruption;
selecting, by the processor, a pixel from the pixel data for filtering, wherein the pixel is associated with a pixel value;
filtering the pixel, by the processor, wherein the filtering includes:
determining, by the processor, a neighbor array of neighboring pixels for the pixel, wherein each of the neighboring pixels have respective pixel values;
determining, by the processor, a minimum value and a maximum value of the respective pixel values of the neighboring pixels in the neighbor array;
comparing, by the processor, the pixel value with the maximum value;
in response to the pixel value being greater than the maximum value, replacing, by the processor, the pixel value with the maximum value representing a first new pixel value of the pixel;
comparing, by the processor, the pixel value with the minimum value; and
in response to the pixel value being less than the minimum value, replacing, by the processor, the pixel value with the minimum value representing a second new pixel value of the pixel; and
outputting, by the processor, one of the pixel value, the first new pixel value, and the second new pixel value, depending on results of the comparing operations, to a memory.
|