1. An apparatus comprising: detection/reception logic to detect an input digital image of an object, the digital image comprising data pixels contaminated by noise and confidence pixels corresponding to the data pixels; morphological filter logic of filter computation engine to compute a morphological filter by matching the confidence pixels in the input digital image with a set of matching templates, and using a set of masking templates to determine the data pixels and confidence pixels in the filtered image; edge filter logic of the filter computation engine to compute an edge filter by performing computation of distances between the data pixels along a plurality of directions to determine an edge direction, and determining the data pixels and and the confidence pixels in a filtered image based on the edge direction; and application/execution logic to apply at least one of the morphological filter and the edge filter to filter the digital image.