Patent ID: 6781715
Filing Date: 2004-08-24
Classification: H04N

Abstract:
An image processing method for carrying out image processing on a color image signal which is made up of a plurality of signal components representing respective picture elements and is obtained by a color image read-out means having a limited color read-out range and outputting a processed color image signal to a color image output means having a limited color reproduction range, the method comprising the steps ofcounting, for each of the picture elements represented by the color image signal, picture elements whose colors are inside the color reproduction range of the color image output means out of the picture elements included in a predetermined region including the picture element, generating, according to the number of picture elements whose colors are inside the color reproduction range of the color image output means out of the picture elements included in said predetermined region, a transformation curve for compressing the color image signal within the color reproduction range of the color image output means, transforming the color of each picture element on the basis of the transformation curve thus generated, and outputting a color image signal made up of signal components representing the colors of the picture elements thus transformed to said color image output means as said processed image signal, wherein the transformation curve is a first transformation curve on the basis of which a color inside the color reproduction range is not transformed and a color outside the color reproduction range is transformed to a color which is the closest to the color among colors inside the color reproduction range when the number of picture elements whose colors are inside the color reproduction range of the color image output means out of the picture elements included in said predetermined region is equal to the total number of the picture elements included in said predetermined region, a second transformation curve on the basis of which all the colors represented by the color image signal are transformed to colors inside the color reproduction range of the image output means according to the ratio between the color read-out range of the image read-out means and the color reproduction range of the image output means irrespective of whether the color is inside or outside the color reproduction range when the number of picture elements whose colors are inside the color reproduction range of the color image output means out of the picture elements included in said predetermined region is 0, and a third transformation curve which is obtained by interpolation between the first and second transformation curves according to the number of picture elements whose colors are inside the color reproduction range of the color image output means out of the picture elements included in said predetermined region when the number of picture elements whose colors are inside the color reproduction range of the color image output means out of the picture elements included in said predetermined region is larger than 0 and smaller than the total number of the picture elements included in said predetermined region.