主权项 |
1. A method comprising:
receiving a sample pair comprising a first input sample in a first input signal and a second input sample in a second input signal, the first input sample being in a plurality of first input samples derived from the first input signal, and the second input sample being in a plurality of second input samples derived from the second input signal; wherein at least one of the first input signal or the second input signal comprises responses to one or more of physical force, pressure, sound, electromagnetic wave, electric current, radiation, or light; calculating (a) a first power value based on the first input sample, and (b) a second power value based on the second input sample; selecting, based on a plurality of thresholds and a power-dependent value computed from the first power value and the second power value, a specific selection region in a finite number of non-overlapping selection regions, wherein each selection region in the finite number of non-overlapping selection regions is located in between two corresponding neighboring thresholds in the plurality of thresholds; using a weight factor that is fixed within the specific selection region to derive an intermediate sample as a weighted combination of the first input sample and the second input sample; determining a phase difference from complex-domain representations of the first input sample and the second input sample; and applying an amplification or attenuation to the intermediate sample to generate an output sample in an output signal, the output sample being in a plurality of output samples in the output signal, the amplification or attenuation being monotonically related to the phase difference; wherein the generated output sample in the output signal comprises reduced noise as compared with the first and second input samples in the first and second input signals; wherein the method is performed by one or more processors comprised in one or more computing devices. |