1. A medical sensing system comprising: a processing engine operable to receive a first signal at a first point corresponding to a pixel and a second signal at a second point corresponding to the pixel, wherein the processing engine includes: an averaging element operable to determine a weighted average of the first signal and the second signal; a first comparator operable to determine a first probability based on the first signal and the weighted average; a second comparator operable to determine a second probability based on the second signal and the weighted average; and a third comparator operable to: select one of the first signal or the second signal as an imaging value of the pixel based on the first probability and the second probability; and provide the selected imaging value of the pixel for forming an image.