摘要:
A method for determining a consolidated output value of a target pixel is proposed. Said target pixel has a colour, is comprised in an imaging device, provides a raw output value and is surrounded in the imaging device, at least partly, by neighbouring pixels which have said colour and provide further raw output values. Said method comprises using the raw output value and the further raw output values for determining a filtered defectiveness value, using the further raw output values for determining a threshold value, using the further raw output values for determining an alternative output value, using the filtered defectiveness value and the threshold value for determining a first weight for weighting the raw output value and for determining a second weight for weighting the alternative output value and determining the output value as weighted sum of the raw output value and the alternative output value.