1. A method comprising: detecting a feature of an input pattern using a plurality of feature detectors; selecting at least one of the plurality of feature detectors based on output values thereof; and calculating a feature quantity of the input pattern based on an output value from at least one selected feature detector.