Patent ID: 9196029
Filing Date: 2015-11-24
Classification: G06T

Abstract:
1. A threshold setting device comprising: an image acquisition unit which acquires an image including a specific object; a ratio acquisition unit which acquires ratio information related to a ratio of a plurality of colors present in the specific object; and a setting unit which sets, based on the ratio information acquired by the ratio acquisition unit, a threshold used in a binarization process performed on the image including the specific object acquired by the image acquisition unit, wherein pixel values of the image including the specific object are separated into two classes by a temporary threshold, and wherein the setting unit (i) calculates, for a plurality of the temporary thresholds, an evaluation value by weighting with a larger weight a degree of separation between the two classes separated by the temporary threshold, as a ratio of a pixel number of the two classes approaches the ratio of the plurality of colors indicated in the ratio information, and (ii) sets, from among the plurality of the temporary thresholds, a temporary threshold with a largest calculated evaluation value as the threshold used in the binarization process.