A data processing apparatus for processing input data and outputting the processed
data as output data effectively reduces noise. An extraction unit extracts similar
input data having a value close to given input data. A processing unit processes
the input data according to the similar input data extracted by the extraction unit.