1. A computer-implemented method of context-adaptive pixel processing comprising: classifying, via an electronic device on a pixel by pixel basis, a first plurality of pixels of a frame into one class of a plurality of classes; determining a respective weighting-value for each of the first plurality of pixels of the frame, wherein each weighting-value is based at least in part on a comparison of a classification of a particular one of the pixels with a classification of other pixels near the particular one of the pixels; and generating context-adaptive pixel weighting values for processing the frame by smoothing one or more of the weighting-values.