摘要 |
<p>A method for determining the colour or colour code of an object uses for example a colour camera for making a colour picture of the object. For a plurality of pixels of the colour picture of the object distributed over the surface of the object, the S-, H- and B-values of the colour picture are determined and the colour is determined by comparison of these S-, H- and B-values with predetermined reference values. The B-value of each pixel is compared with a first reference value determining whether a pixel is black or not, whereafter, if the pixel is not black, the S-value of each pixel is then compared with a second reference value determining whether a pixel is colourless or not, whereafter, if the pixel is not colourless, the colour of each pixel is determined by means of the H-value.</p> |