WO2006106750A1 - Image processing device, image processing method, and image processing program - Google Patents

Image processing device, image processing method, and image processing program Download PDF

Info

Publication number
WO2006106750A1
WO2006106750A1 PCT/JP2006/306502 JP2006306502W WO2006106750A1 WO 2006106750 A1 WO2006106750 A1 WO 2006106750A1 JP 2006306502 W JP2006306502 W JP 2006306502W WO 2006106750 A1 WO2006106750 A1 WO 2006106750A1
Authority
WO
WIPO (PCT)
Prior art keywords
color
saturation
value
image
lightness
Prior art date
Application number
PCT/JP2006/306502
Other languages
French (fr)
Japanese (ja)
Inventor
Masato Tsukada
Akira Inoue
Johji Tajima
Original Assignee
Nec Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nec Corporation filed Critical Nec Corporation
Priority to JP2007512800A priority Critical patent/JP4375580B2/en
Publication of WO2006106750A1 publication Critical patent/WO2006106750A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/6027Correction or control of colour gradation or colour contrast

Definitions

  • Image processing apparatus image processing method, and image processing program
  • the present invention relates to an image processing device, an image processing method, and an image processing program.
  • a technique has been proposed in which color image data captured by a digital camera or the like and converted into digital data is subjected to image processing by a computer to create a pictorial image! (Refer to) o Basically, when people draw pictures easily, they often draw pictures without fine shadows, such as photographs, and often draw outlines. For this reason, image processing that creates pictorial images often creates images with fewer colors and emphasized edges. Such processing is also performed in the technique described in Patent Document 1. Specifically, each pixel in the color image data is expressed in three colors: R (red), G (green), and B (blue). The color is divided into brightness and color difference as in YCrCb. Convert to a representation in space.
  • the lightness (Y) is binarized and the lightness is set to Ymax, Ymin to reduce the number of colors. Further, an image in which a contour line is formed by edge extraction is created, and the image is created by superimposing the image on the binary image. As a result, an image such as a photographic image can be converted into a pictorial (illustration-like) image. In the technique described in Patent Document 1, after an image is created, the sharpness of the image is set by manual operation.
  • RGB expression power Conversion to HSV expression is described in Non-Patent Document 2, for example.
  • Patent Document 1 Japanese Patent Application Laid-Open No. 2004-102819 (paragraphs 0020-0026)
  • Non-Patent Document 1 Alvy Ray Smith, "Color CAMUT TRANSFORM PAIRS j, ComputerGraphics, Vol. 12, pp. 12—19, 1978
  • FIG. 5 is an explanatory diagram showing the characteristics of the color space of the YCrCb representation in which colors are represented by lightness and color difference.
  • the range of colors that can be expressed is wide at medium brightness. However, the range of colors that can be represented becomes narrower as the brightness gets brighter or darker (ie, as the Y value rises or falls from 0). And, at the brightest limit (when Y becomes the maximum possible value), only white can be expressed, and at the darkest limit (when Y becomes the minimum possible value), only black can be expressed. . Therefore, if Ymax and Ymin in the technique described in Patent Document 1 are set near the limit where only white or black can be expressed (see Fig.
  • the present invention provides an image processing device, an image processing method, and an image processing program for converting image data of a color image without manual intervention into image data of a vivid sketch-like image. For the purpose. Means for solving the problem
  • the image processing apparatus does not change the chromaticity of the image data components of the color image expressed in an arbitrary color space even if the lightness changes.
  • the first color conversion means does not change the chromaticity of the image data component of the color image represented in an arbitrary color space even if the brightness changes.
  • the chromaticity is converted to the brightness and chromaticity in the color space that does not converge to one point. There is no convergence to one point. Therefore, there is no need to manually adjust the color vividness.
  • the first color conversion unit converts the RGB component of the image data of the RGB representation color image into brightness and chromaticity in the HSV color space
  • the second color conversion unit performs spatial filtering. It may be configured to convert the lightness applied and the chromaticity obtained by the conversion by the first color conversion means into the RGB component! /.
  • the filtering means power kernel is set to f (i, j), when at least i and j are neighboring values between the maximum and minimum possible values of i and j, f (i , j)> 0 is satisfied, and when at least one of j is at its maximum or minimum value, f (i, j) ⁇ 0 is satisfied, and depending on each i and j Satisfy the condition that the sum of f (i, j) is positive. It is a configuration that performs spatial filtering by performing a convolution operation on the lightness.
  • the image processing apparatus has a color space or brightness in which the saturation and the hue do not change even if the lightness changes in the components of the image data of the color image expressed in an arbitrary color space. Obtained by conversion by the first color conversion means that converts the lightness, saturation, and hue in a color space where saturation and hue do not converge to a single point.
  • the filtering means for performing spatial filtering on the lightness and the saturation obtained by the conversion by the first color conversion means may not change the saturation value or be larger.
  • An emphasis processing means that executes an emphasis process that changes to a value, a lightness that has undergone spatial filtering, a saturation that has undergone the emphasis process, and a hue obtained by the conversion by the first color conversion means Image image
  • a second color conversion means for converting the data into a component of the data.
  • the first color conversion unit does not change the saturation and the hue of the image data component of the color image represented in an arbitrary color space even if the lightness changes.
  • saturation and hue are converted to lightness, saturation, and hue in a color space that does not converge to one point, so even if spatial filtering is applied to lightness, the change in lightness As a result, saturation and hue do not converge to one point. Therefore, it is not necessary to manually adjust the color vividness.
  • the first color conversion means converts the RGB component of the image data of the color image in RGB representation into the brightness, saturation, and hue in the HSV color space
  • the second color conversion means includes the space A configuration may be employed in which the lightness subjected to filtering, the saturation obtained by performing the enhancement process, and the hue obtained by the conversion by the first color conversion means are converted into RGB components.
  • the filtering means power kernel is f (i, j)
  • f (i , j)> 0 is satisfied
  • f (i, j) ⁇ 0 is satisfied
  • f (i, j) is at its maximum or minimum value
  • a contour can be generated by emphasizing a change in brightness, and a conversion that does not reflect a subtle change such as a shadow of a photographic image can be realized. Therefore, the image data of the color image can be converted into image data showing a sketch-like image with vivid colors.
  • the enhancement processing means does not change the saturation value when the saturation value is less than a predetermined threshold value, and changes the saturation value when the saturation value exceeds the threshold value.
  • the maximum value that can be taken or a value close to the maximum value may be changed.
  • the enhancement processing means may be configured such that a value determined by a function having a saturation value as a variable is a saturation value.
  • the color space or lightness in which the chromaticity does not change even if the lightness changes is the maximum value of the image data component of the color image expressed in an arbitrary color space.
  • the chromaticity does not change even if the brightness of the image data components of the color image represented in an arbitrary color space changes!
  • the chromaticity power ⁇ is converted to brightness and chromaticity in a color space that does not converge to a point. Does not converge to one point. Therefore, it becomes unnecessary to manually adjust the vividness of the color.
  • the RGB component of the image data of the RGB representation color image is converted into brightness and chromaticity in the HSV color space
  • spatial filtering is performed.
  • the method may be a method of converting the lightness subjected to the above and the chromaticity obtained by the conversion in the first color conversion step into RGB components.
  • the filtering step when the kernel is f (i, j), and at least i and j are neighboring values between the maximum and minimum values that i and j can take, respectively.
  • spatial filtering may be performed by performing a convolution operation on the lightness that satisfies the condition that the sum of f (i, j) is positive.
  • a contour can be generated by emphasizing a change in brightness, and a conversion that does not reflect a subtle change such as a shadow of a photographic image can be realized.
  • the image data of a color image can be converted into image data showing a sketch-like image with vivid colors.
  • the image processing method has a maximum color space or lightness in which the saturation and hue do not change even if the lightness changes in the image data components of the color image represented in an arbitrary color space.
  • the first color conversion step that converts the lightness, saturation, and hue in the color space where the saturation and hue do not converge to one point when the value is reached, and the conversion in the first color conversion step
  • the saturation value is set according to the saturation value.
  • An emphasis processing step that executes an emphasis process that does not change or changes to a larger value, a lightness that has undergone the spatial filtering, a saturation that has undergone the emphasis process, and a first color conversion step conversion And a second color conversion step of converting the hue obtained in step 1 into a component of image data of the color image.
  • the saturation and the hue of the image data component of the color image represented in an arbitrary color space change even if the lightness changes.
  • the saturation and hue are converted into brightness, saturation, and hue in a color space that does not converge to one point.
  • the saturation and hue will not converge to one point with the change. Therefore, it is not necessary to manually adjust the color vividness.
  • the RGB data of the RGB color image data is generated. Are converted into lightness, saturation, and hue in the HSV color space, and in the second color conversion step, the lightness subjected to spatial filtering, the saturation subjected to enhancement processing, and the first The hue obtained by the conversion in the color conversion step may be converted to an RGB component.
  • the filtering step when the kernel is f (i, j), and at least i and j are neighboring values between the maximum and minimum values that i and j can take, respectively.
  • f (i, j)> 0 is satisfied and at least one of j is at its maximum or minimum value
  • f (i, j) ⁇ 0 is satisfied, and each i , j
  • spatial filtering may be performed by performing a convolution operation on the lightness that satisfies the condition that the sum of f (i, j) is positive.
  • a contour can be generated by emphasizing a change in brightness, and a conversion that does not reflect a subtle change such as a shadow of a photographic image can be realized.
  • the image data of a color image can be converted into image data showing a sketch-like image with vivid colors.
  • the saturation value is not changed when the saturation value is less than a predetermined threshold value, and when the saturation value exceeds the threshold value, the saturation value is changed. It may be a method of changing to a maximum value that the saturation level can take or a value close to the maximum value.
  • a value determined by a function having the saturation value as a variable may be used as the saturation value.
  • the image processing program according to the present invention allows a computer to store color image data components represented in an arbitrary color space in a color space that does not change even if the brightness changes. Is obtained by the first color conversion processing that converts to the lightness and chromaticity in the color space that does not converge to the point when the lightness reaches the maximum value, and the conversion by the first color conversion processing.
  • brightness Filtering processing that applies spatial filtering to the image, and the brightness that has been subjected to spatial filtering and the chromaticity obtained by the conversion in the first color conversion processing are converted into image data components of a color image
  • the second color conversion process is executed.
  • the color space or brightness of the image data component of the color image represented in an arbitrary color space is not changed even if the brightness changes.
  • the first color conversion process is performed to convert the lightness and chromaticity in a color space where the chromaticity does not converge to one point. As a result, the chromaticity does not converge to one point. Therefore, it is not necessary to manually adjust the color vividness.
  • the program may execute a process for converting the lightness subjected to spatial filtering and the chromaticity obtained by the conversion in the first color conversion process into RGB components.
  • the kernel is set to f (i, j) by filtering processing on a computer
  • at least i and j are values near the maximum and minimum values that i and j can take.
  • f (i, j)> 0 is satisfied
  • f (i, j) ⁇ 0 is satisfied.
  • It may be a program that executes a process that performs spatial filtering by performing a convolution operation on the lightness that satisfies the condition that the sum of f (i, j) according to i and j is positive. .
  • an image processing program allows a computer to use a color space or an image data component of a color image expressed in an arbitrary color space in which the saturation and hue do not change even if the lightness changes. Saturation and hue strength when the brightness reaches the maximum value ⁇ The first color conversion process that converts to lightness, saturation, and hue in a color space that does not converge to the point.
  • the filtering process that performs spatial filtering on the lightness obtained by the conversion in the color conversion process, and the saturation obtained by the conversion in the first color conversion process
  • the emphasis process that does not change the saturation value, or changes it to a larger value, the lightness that has undergone spatial filtering, the saturation that has undergone the emphasis process, and the conversion in the first color conversion process.
  • a second color conversion process for converting the obtained hue into a component of image data of a color image is executed.
  • the image data component of the color image represented in an arbitrary color space is stored in the computer in a color space or brightness in which the saturation and hue do not change even if the brightness changes.
  • the first color conversion process is performed to convert the lightness, saturation, and hue in a color space where the saturation and hue do not converge to a single point, so even if spatial filtering is applied to the lightness The saturation and hue do not converge to a single point as the brightness changes. Therefore, there is no need to manually adjust the color vividness.
  • the first color conversion process causes the computer to execute a process of converting the RGB component of the image data of the RGB representation color image into brightness, saturation, and hue in the HSV color space.
  • the second color conversion manual process the lightness with spatial filtering, the saturation with the enhancement process, and the hue obtained by the conversion in the first color conversion process are converted into RGB components.
  • the program which performs the process to perform may be sufficient.
  • the kernel is set to f (i, j) by filtering processing on a computer
  • at least i and j are values near the maximum and minimum values that i and j can take.
  • f (i, j)> 0 is satisfied
  • f (i, j) ⁇ 0 is satisfied.
  • It may be a program that executes a process that performs spatial filtering by performing a convolution operation on the lightness that satisfies the condition that the sum of f (i, j) according to i and j is positive. .
  • it may be a program that executes a process of changing to the maximum value that the saturation level can take or a value close to the maximum value.
  • a program that causes a computer to execute a process of setting a value determined by a function having a saturation value as a variable as a saturation value in an emphasis process.
  • FIG. 1 is an explanatory diagram showing a first embodiment of an image processing device according to the present invention.
  • FIG. 2 is an explanatory diagram showing an HSV color space.
  • FIG. 3 is an explanatory diagram showing an example of a kernel f (i, j) of a convolution operation.
  • FIG. 4 is an explanatory view showing a second embodiment of the image processing apparatus according to the present invention.
  • FIG. 5 is an explanatory diagram showing the characteristics of the color space of the YCrCb representation that expresses colors by brightness and color difference.
  • FIG. 1 is an explanatory view showing a first embodiment of an image processing apparatus according to the present invention.
  • the image processing apparatus according to the first embodiment includes a first color conversion means 2, a chromaticity memory 32, a first brightness memory 31, a filtering means 4, a second brightness memory 33, and a second brightness memory 32.
  • Color conversion means 5 is provided. Then, the original image 1 is input to the image processing apparatus, and the image processing apparatus outputs the converted image 6.
  • the original image 1 is image data of a color image (photographic image) taken by a digital camera or the like.
  • the original image 1 is image data represented by three primary color representations using RGB.
  • Each pixel in the original image 1 is represented by an 8-bit value for each of R (red), G (green), and B (blue). That is, R, G, and B in each pixel take values from 0 to 255.
  • the converted image 6 is image data obtained as a result of image processing performed on the original image 1 by the image processing apparatus, and is image data indicating a pictorial image.
  • the converted image 6 is assumed to be image data of three primary color representations in which each pixel is expressed by R, G, and B.
  • the first color conversion unit 2 receives the original image 1. Then, the first color converting means 2 converts the component of the original image 1 (the component representing the original image 1; in this example, the RGB component) into a brightness component and a chromaticity component for each pixel. . At this time, the first color conversion means 2 does not change the chromaticity (saturation and hue) even if the lightness changes, or the lightness component and the chromaticity in the amber color space where the change of the chromaticity is small. Convert to component. As a result, the first color conversion means 2 separates the original image 1 into a lightness component and a chromaticity component.
  • a color space in which the change in chromaticity is small even if the lightness changes is defined as "When the lightness reaches the maximum value that lightness can take, the chromaticity range force does not become SO (does not converge to one point). ) "Color space”.
  • the color space of YCrCb expression does not correspond to “a color space with little change in chromaticity even if the brightness changes”.
  • L * a * b * expression This color space does not correspond to “a color space in which the change in chromaticity is small even when the brightness changes”.
  • the first color conversion means 2 is described as converting each pixel of the original image 1 expressed in RGB three primary colors into a brightness component and a chromaticity component in the HSV color space.
  • the HSV color space is a color space in which the chromaticity does not change even if the lightness changes.
  • the chromaticity component in the HSV color space includes hue and saturation. Hue, saturation, and brightness in the HSV color space are represented by H, S, and V, respectively.
  • the first color conversion means 2 represents the hue H, saturation S, and brightness V of each pixel obtained by the conversion by, for example, an 8-bit value (0 to 255).
  • Image data composed of data of lightness component V is referred to as a lightness image
  • image data composed of data of chromaticity components is referred to as a chromaticity image
  • the first color conversion means 2 stores the chromaticity image obtained by the conversion process in the chromaticity memory 32 and stores the lightness image in the first lightness memory 31.
  • the chromaticity memory 32 stores a chromaticity image obtained by the conversion process by the first color conversion means 2.
  • the first brightness memory 31 stores the brightness image obtained by the conversion process by the first color conversion means 2.
  • the filtering means 4 performs a spatial filtering process on the lightness image (that is, lightness V data) stored in the first lightness memory 31.
  • the data obtained as a result is denoted as V ′.
  • the filtering process by the filtering means 4 will be described later.
  • the filtering means 4 stores the data V ′ derived by the filtering process in the second brightness memory 33.
  • the second brightness memory 33 stores the data V derived by the filtering means 4.
  • the second color conversion means 5 uses the data V ′ stored in the second lightness memory 33 as the lightness component, and the chromaticity image (that is, the hue H) stored in the data V ′ and the chromaticity memory 32. And the conversion processing of the first color conversion means 2 using the data of the saturation degree S). That is, the second color conversion means 5 converts the image data represented by the brightness component and the chromaticity component in the HSV color space into image data of the three primary colors represented by RGB. The second color conversion means 5 outputs the image data obtained by this inverse conversion as a converted image 6.
  • the first color conversion means 2, the filtering means 4, and the second color conversion means 2 The color conversion means 5 is realized by a CPU that operates according to a program, for example.
  • the program may be stored in advance in a storage device (not shown) provided in the image processing apparatus.
  • the chromaticity memory 32, the first lightness memory 31, and the second lightness memory 33 are realized by, for example, a storage device (not shown) included in the image processing apparatus.
  • FIG. 2 is an explanatory diagram showing the HSV color space.
  • the vertical axis (V-axis) shown in Fig. 2 represents brightness V.
  • saturation (sometimes called saturation) S is represented by the distance of the V-axis force.
  • the hue H and the saturation S do not change.
  • the first color conversion means 2 performs conversion processing from the RGB component of the original image 1 to the lightness component and chromaticity component in the HSV color space using the following conversion equations. Further, as already described, this conversion process may be performed for each pixel. However, in the following conversion formulas, R, G, B, H, S, V take values from 0 to 1. Therefore, when R, G, and B are represented by 8 bits, pre-processing is performed so that the values of R, G, and B are in the range of 0 to 1, and the following conversion formula is applied: do it. In addition, when H, S, and V are represented by 8 bits, conversion may be performed so that H, S, and V obtained by the following conversion formula are represented by 8 bits.
  • max (R, G, B) represents the maximum value among the values of R, G, B. That is, the maximum value among the values of R, G, and B is the brightness V.
  • min (R, G, B) represents the minimum value among the values of R, G, B. That is, let X be the minimum value of R, G, and B.
  • the first conversion means 2 stores in the chromaticity memory 32 chromaticity images, that is, image data that also serves as a data marker for chromaticity components (hue H and saturation S).
  • chromaticity images that is, image data that also serves as a data marker for chromaticity components (hue H and saturation S).
  • a brightness image that is, image data composed of data of the brightness component V is stored in the first brightness memory 31.
  • the filtering unit 4 performs a filtering process on the lightness component V stored in the first lightness memory 31 to calculate data V ′.
  • Filtering process 4 generates a contour by emphasizing the change in brightness, and executes a ring-type filtering process that does not reflect subtle changes such as shading in a photographic image.
  • the filtering means 4 realizes the filtering process as described above, for example, by calculating V ′ using the arithmetic expression of the convolution operation shown below.
  • each pixel is expressed using coordinate values (X, y) of x and y coordinates.
  • the pixel value of each pixel (X, y) included in the brightness image (that is, the brightness of each pixel) is expressed as V (x, y).
  • the pixel value of the pixel (X, y) obtained by filtering on V (x, y) is V ′ (X, y).
  • the coefficient mag in the above arithmetic expression is a coefficient that affects all filter values.
  • the filter value is a value taken by the kernel f (i, j) of the convolution operation. Use a sufficiently large value for mag. For example, a value of 32 or more may be used as mag.
  • FIG. 3 is an explanatory diagram showing an example of the kernel f (i, j) of the convolution operation.
  • the kernel has a positive value (filter value) at the center of the table illustrated in Fig. 3, a negative value (filter value) at the periphery of the table, and the sum of the filter values is positive. I just need it. If it is such a car nonore, it may not be the same carne nore as carne nore f (i, j) shown in FIG.
  • the value of f (i, j) in the center of the table is positive, at least that i and j are values near the maximum and minimum values that i and j can take. At some point, f (i, j)> 0.
  • the value of f (i, j) is negative at the periphery of the table, at least when i is the maximum or minimum value that i can take, or when j is the maximum value that j can take This means that f (i, j) ⁇ 0 when the value is the minimum value. In other words, f (i, j) ⁇ 0 when at least one of j has the maximum or minimum value.
  • the values when at least one of j is at its maximum value (2) or minimum value (-2) are all shown on the outermost side of the table shown in FIG. The values are both negative. Therefore, the condition is that f (i, j) ⁇ 0 when at least one of j has the maximum value or the minimum value (f (i, j If the value of) is negative, the condition (! /) Is also satisfied.
  • the sum of the filter values being positive means that the sum of the values of f (i, j) corresponding to each i and j is positive. Since the sum of the values of f (i, j) shown in FIG. 3 is 1 and is positive, the kernel illustrated in FIG. 3 also satisfies this condition.
  • a convolution operation is a convolution operation using a kernel that satisfies the above conditions.
  • the convolution operation using the same kernel as the kernel f (i, j) shown in Fig. 3 is not limited.
  • a filter in which the portion of the kernel that is not valued is isotropic is called a ring filter.
  • the filtering means 4 performs the filtering process by executing the above convolution operation and calculates V 'for each pixel, the data of V' is stored in the second brightness memory 33.
  • the second color conversion means 5 uses the data V 'stored in the second brightness memory 33 as the brightness component in the HSV color space, and converts the brightness component and the chromaticity component in the HSV color space to the RGB components.
  • the conversion is performed using the following conversion formula.
  • R, G, B, H, S, and V are assumed to take values of 0 to 1. Therefore, when H, S, and V are represented by 8 bits, pre-processing is performed so that the values of H, S, and V are in the range of 0 to 1, and the following conversion formula is applied: do it.
  • R, G, B R, G, B in the converted image 6) is represented by 8 bits, it is necessary to convert R, G, B obtained by the following conversion formula to represent 8 bits. Good.
  • the second color conversion means 5 uses the hue H, Calculate 11 as '11. Then, the second color conversion means 5 sets the integer part of h as I. Further, the second color conversion means 5 calculates F, M, N, and K by the following formula.
  • N V- (1-(S -F))
  • K V- (1-(S-(1 -F))
  • the second color conversion means 5 determines R, G, and B as follows according to the value of I.
  • the second color conversion means 5 performs conversion from the data V 'corresponding to the hue H, saturation S, and lightness corresponding to each pixel into R, G, B as described above. A converted image 6 is generated.
  • the first color conversion means 2 is the same as the first color conversion means 2 even if the chromaticity of the component of the original image 1 represented by the RGB primary color expression is changed. It is converted into a lightness component and a chromaticity component in a color space where does not change. Then, the filtering means 4 performs a filtering process to convert the lightness V to V ′. At this time, even if the brightness V changes, the chromaticity does not change. Therefore, the chromaticity does not converge to one point with the change of the brightness. Then, the second color conversion means 5 performs reverse conversion to RGB using the data V ′ and chromaticity.
  • the filtering means 4 converts only the brightness V to V ′, it can prevent the color of the converted image 6 from fading, and it is not necessary to manually adjust the strength of the color.
  • the filtering means 4 converts the lightness V to V 'by performing a convolution operation using a kernel that satisfies the above-described conditions. Therefore, it is possible to realize a conversion that does not reflect a subtle change such as a shadow of a photographic image while generating a contour by enhancing a change in brightness. As a result, it is possible to convert image data of a color image that does not require human intervention into image data that shows a vivid sketch-like image.
  • the case where the component of the original image 1 is converted into the brightness component and the chromaticity component in the HSV color space (the color space in which the chromaticity does not change even if the brightness changes) is shown.
  • conversion to a color space other than the HS V color space may be performed.
  • the first color converting means 2 uses a color space in which the components of the original image 1 have little change in chromaticity even when the brightness changes When the maximum value is reached, it may be converted into a lightness component and a chromaticity component in a color space where the chromaticity range does not converge to one point. Then, the second color converting means 5 may perform the reverse conversion.
  • an object of the present invention is to obtain image data of a colorful sketch-like image. Therefore, the lightness component converted by the first color conversion means 2 and the color space expressing the chromaticity component are the color space where the chromaticity does not change even if the lightness changes, or the lightness is the maximum that the lightness can take. Any color space that does not converge to the chromaticity range force when it reaches the value. In order to realize vivid colors, when the brightness value is high, the range of chromaticity at the minimum value that the brightness can take is sufficient if the range of chromaticity is secured. Therefore, whether or not the chromaticity range converges to one point when the lightness reaches its minimum value does not matter.
  • the original image 1 described as the original image 1 is image data represented by three primary color representations using RGB is represented by components in an arbitrary color space.
  • the image data may be processed.
  • the original image 1 may be image data of a CMYK image represented by C (cyan), M (magenta), ⁇ (yellow), and K (black).
  • the first color converting means 2 converts the image data of the CMYK image into image data represented by the three primary color representations of RGB via the tristimulus value XYZ and the uniform color space CIELAB. That's fine.
  • a general color conversion method using a linear interpolation method based on measurement data indicating the relationship between CMYK and tristimulus values XYZ can be applied.
  • An ICC profile or the like may be used.
  • the first color conversion means 2 may convert the image data into the lightness component and the chromaticity component after converting into the image data represented by the RGB three primary colors in this way.
  • the second color conversion means 5 converts the image data represented by the RGB primary color representation into an image in the original color space via the tristimulus values XYZ and the uniform color space CIELAB. That's fine.
  • ICC You can use a profile etc.
  • the filtering process is executed only for the lightness V of the components obtained by the conversion by the first color conversion means 2, and the chromaticity (hue H and saturation S) is executed. Is not processed.
  • processing is performed for the saturation S as well. Saturation degree S is enhanced according to the value of S so that the value of S is not changed or changed to a larger value.
  • FIG. 4 is an explanatory view showing a second embodiment of the image processing apparatus according to the present invention.
  • the image processing apparatus according to the second embodiment includes a first color conversion means 2, a hue memory 35, a first saturation memory 34, a first brightness memory 31, an enhancement processing means 7, and a filtering Means 4, second saturation memory 36, second brightness memory 33, and second color conversion means 5 are provided.
  • the same components as those in the first embodiment are denoted by the same reference numerals as those in FIG. 1, and detailed description thereof is omitted.
  • the first color conversion means 2 converts the components of the original image 1 into lightness components and chromaticity components for each pixel.
  • the chromaticity component includes the hue and the saturation, but the first color conversion means 2 separates the hue and the saturation and stores them in the memory.
  • the first color converting means 2 stores the hue H data of each pixel obtained by the conversion process of the original image 1 in the hue memory 35 and the saturation degree S data of each pixel is stored in the first color data. Is stored in memory 34.
  • the first color conversion means 2 stores the lightness V data of each pixel in the first lightness memory 31 as in the first embodiment. In other words, in the present embodiment, the first color conversion means 2 converts the original image 1 and separates it into lightness, saturation, and hue.
  • the first color conversion means 2 does not change the chromaticity (saturation degree and hue) even if the lightness changes! , Or changes in chromaticity (saturation and hue) to lightness and chromaticity components in the color space.
  • a color space in which the change in chromaticity (saturation and hue) is small even when the lightness changes is “when the lightness reaches the maximum value that lightness can take.
  • the hue memory 35 stores the data of the hue component H obtained by the conversion process by the first color conversion means 2.
  • the first saturation memory 34 stores data of the saturation component S obtained by the conversion process by the first color conversion means 2.
  • the first brightness memory 31 stores data of the brightness component V obtained by the conversion process by the first color conversion means 2.
  • the enhancement processing means 7 performs enhancement processing that does not change the value of S or changes it to a larger value in accordance with the value of S stored in the first saturation memory 34.
  • S ′ denote the saturation S after enhancement.
  • the enhancement processing by the enhancement processing means 7 will be described later.
  • the enhancement processing means 7 stores the saturation S ′ after the enhancement in the second saturation memory 36.
  • the second saturation memory 36 stores the data S 'derived by the enhancement processing means 7.
  • the second color conversion means 5 uses the data V ′ stored in the second lightness memory 33 as the lightness component, V ′, and the saturation component S ′ stored in the second saturation memory 35. And the hue component H data stored in the hue memory 35 are used to perform the reverse conversion process of the conversion process of the first color conversion means 2. That is, the second color conversion means 5 converts the image data represented by the brightness component and the chromaticity component in the HSV color space into image data of the three primary colors represented by RGB.
  • first color conversion means 2, enhancement processing means 7, filtering means 4, and second color conversion means 5 are realized by a CPU that operates according to a program, for example. .
  • the program may be stored in advance in a storage device (not shown) included in the image processing apparatus.
  • the hue memory 35, the first saturation memory 34, the second saturation memory 36, the first brightness memory 31, and the second brightness memory 33 are, for example, storage devices (see FIG. (Not shown)).
  • the first color conversion means 2 converts the original image 1 for each pixel with a lightness component V, a saturation component H, in the HSV color space. And convert to hue component H.
  • the conversion process by the first color conversion means 2 is the same as the conversion process by the first color conversion means 2 shown in the first embodiment.
  • the first conversion means 2 stores the hue component H data of each pixel in the hue memory 35.
  • saturation of each pixel The data of the degree component S is stored in the first saturation memory 34.
  • the data of the brightness component V of each pixel is stored in the first brightness memory 31.
  • the filtering means 4 performs the same filtering process as in the first embodiment, converts the data of the lightness component V into V, and stores the data V ′ in the second lightness memory 33. Let me.
  • the enhancement processing means 7 performs enhancement processing on the saturation component S of each pixel stored in the first saturation memory 34, and uses the saturation component S 'after enhancement processing as the second saturation level. Store in memory 36.
  • the enhancement processing means 7 executes the enhancement processing as follows, for example.
  • the enhancement processing means 7 reads the value of the saturation component S from the first saturation memory 34. Then, the value of the saturation component S is compared with a predetermined threshold value (denoted as th).
  • the enhancement processing means 7 may derive the value of S ′ corresponding to the value of S by referring to this lookup table.
  • the second color conversion means 5 uses the data V ′ stored in the second brightness memory 33 as the brightness component, and V ′ And using the saturation component S ′ data stored in the second saturation memory 35 and the hue component H data stored in the hue memory 35, the conversion processing of the first color conversion means 2 is performed. Inverse conversion processing is performed. The conversion process by the first color conversion unit 2 is performed by the second color conversion unit 5 shown in the first embodiment, except that S ′ is used instead of the saturation component S. It is the same.
  • the image data of a color image without human intervention into image data of a colorful sketch-like image.
  • the image data of the image obtained by converting the image data to a very vivid color image such as a picture drawn by a child, or by slightly changing the degree of saturation slightly (slowly). Can be generated.
  • the original image 1 may be image data represented by components in an arbitrary color space.
  • it may be image data of a CMYK image.
  • the operations of the first color conversion means 2 and the second color conversion means 5 are the same as those described in the first embodiment.
  • the present invention can be applied to uses such as a projector color correction apparatus, for example.
  • the present invention can be applied to a program for realizing a projector color correction function by a computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

Image data on a color image can be converted into image data representing a vivid sketchy image with no manual operation. An original image (1) which is image data represented by a three primary color expression using RGB is inputted into first color conversion means (2), which converts the original image (1) into a brightness component and a chromaticity component in a color space in which the chromaticity does not vary or hardly varies even if the brightness varies. Filtering means (4) carries out a space filtering of the brightness acquired by the conversion by the first color conversion means (2). Second color conversion means (5) carries out deconversion of the first color conversion means (2) by using the chromaticity acquired by the conversion by the first color conversion means (2) and the space filtering results.

Description

明 細 書  Specification
画像処理装置、画像処理方法、および画像処理プログラム  Image processing apparatus, image processing method, and image processing program
技術分野  Technical field
[0001] 本発明は、画像処理装置、画像処理方法、および画像処理プログラムに関する。  The present invention relates to an image processing device, an image processing method, and an image processing program.
背景技術  Background art
[0002] デジタルカメラ等で撮影されデジタルデータとされたカラー画像データに対して、コ ンピュータによって画像処理を施し、絵画的な画像を作成する技術が提案されて!、る (例えば、特許文献 1参照。 ) o基本的に、人が簡単に絵を描くときには、写真のような 細かい陰影が無い絵を描くことが多ぐまた、輪郭を描くことが多い。そのため、絵画 的な画像を作成する画像処理では、色数を減らし、エッジを強調した画像を作成する ことが多い。特許文献 1に記載の技術においても、このような処理を行っている。具体 的には、カラー画像データにおける各画素の表現形式を R (赤色)、 G (緑色)、 B (青 色)を用いた三原色表現から、 YCrCb表現のような明度と色差とに分かれた色空間 での表現に変換する。そして、明度 (Y)について二値ィ匕を行い、明度を Ymax, Ymi nとして色数を減らす。さら〖こ、エッジ抽出によって輪郭線が形成された画像を作成し 、その画像と二値ィ匕画像とを重ね合わせて画像を作成する。この結果、写真画像等 の画像を絵画的 (イラスト的)な画像に変換することができる。また、特許文献 1に記載 された技術では、画像を作成した後に、人手による操作でその画像の鮮ゃカゝさを設 定する。  [0002] A technique has been proposed in which color image data captured by a digital camera or the like and converted into digital data is subjected to image processing by a computer to create a pictorial image! (Refer to) o Basically, when people draw pictures easily, they often draw pictures without fine shadows, such as photographs, and often draw outlines. For this reason, image processing that creates pictorial images often creates images with fewer colors and emphasized edges. Such processing is also performed in the technique described in Patent Document 1. Specifically, each pixel in the color image data is expressed in three colors: R (red), G (green), and B (blue). The color is divided into brightness and color difference as in YCrCb. Convert to a representation in space. Then, the lightness (Y) is binarized and the lightness is set to Ymax, Ymin to reduce the number of colors. Further, an image in which a contour line is formed by edge extraction is created, and the image is created by superimposing the image on the binary image. As a result, an image such as a photographic image can be converted into a pictorial (illustration-like) image. In the technique described in Patent Document 1, after an image is created, the sharpness of the image is set by manual operation.
[0003] また、色空間として、例えば、明度と色度によって色を表現する HSV色空間が知ら れている。 RGB表現力 HSV表現への変換については、例えば、非特許文献 2に 記載されている。  [0003] Further, as a color space, for example, an HSV color space that expresses a color by brightness and chromaticity is known. RGB expression power Conversion to HSV expression is described in Non-Patent Document 2, for example.
[0004] 特許文献 1:特開 2004 - 102819号公報(段落 0020 - 0026)  [0004] Patent Document 1: Japanese Patent Application Laid-Open No. 2004-102819 (paragraphs 0020-0026)
非特許文献 1 :アルビ一'レイ'スミス(Alvy Ray Smith) , 「カラー ギヤメット トランスフ オーム ペアーズ(COLORCAMUT TRANSFORM PAIRS ) j ,コンピュータグラフイツ タス(ComputerGraphics ) , Vol. 12, pp. 12— 19, 1978年  Non-Patent Document 1: Alvy Ray Smith, "Color CAMUT TRANSFORM PAIRS j, ComputerGraphics, Vol. 12, pp. 12—19, 1978
発明の開示 発明が解決しょうとする課題 Disclosure of the invention Problems to be solved by the invention
[0005] しかし、特許文献 1に記載の技術では、色の鮮やかなスケッチ風の絵画を自動的に 作成することが困難であった。すなわち、特許文献 1に記載されている明度の二値ィ匕 処理、エッジ抽出処理、二値ィ匕画像と輪郭線画像との重ね合わせ処理はコンビユー タによる処理として自動的に実行することが可能である力 その処理だけでは、色の 鮮やかなスケッチ風の絵画を得ることは困難であった。以下、この理由について述べ る。  [0005] However, with the technique described in Patent Document 1, it has been difficult to automatically create a colorful sketch-like painting. In other words, the lightness binary image processing, edge extraction processing, and binary image and contour image overlay processing described in Patent Document 1 can be automatically executed as processing by a computer. It is difficult to obtain a sketch-like painting with vivid colors only by its processing. The reason for this will be described below.
[0006] 図 5は、明度と色差とによって色を表現する YCrCb表現の色空間の特性を示す説 明図である。図 5に示すように、表現できる色の範囲は中間の明度では広い。しかし、 明度が明るくなつたり暗くなるにつれて (すなわち、 Yの値が 0から上昇したり下降した りするにつれて)、表現できる色の範囲は狭くなる。そして、最も明るくなる極限 (Yがと り得る最大の値となったとき)では白色しか表現できず、最も暗くなる極限 (Yがとり得 る最小の値となったとき)では黒色しか表現できない。そのため、特許文献 1に記載さ れた技術における Ymax, Yminを白または黒しか表現できない極限付近に設定し( 図 5参照。)、 Yを Ymax, Yminに二値化したとすると、色差である Crと Cbについて は、二値ィ匕処理前と同じ値をとることができない。そして、 Cr、 Cbのとり得る範囲は図 5に示すように狭くなつているので、元の Yの値を Ymax, Yminに二値化すると、二 値化処理に伴い Cr、 Cbの値は減少させることが不可避となる。このため、文献 1に記 載された技術により得られる画像は、色の彩度が低 、淡 、画像となる。  [0006] FIG. 5 is an explanatory diagram showing the characteristics of the color space of the YCrCb representation in which colors are represented by lightness and color difference. As shown in Fig. 5, the range of colors that can be expressed is wide at medium brightness. However, the range of colors that can be represented becomes narrower as the brightness gets brighter or darker (ie, as the Y value rises or falls from 0). And, at the brightest limit (when Y becomes the maximum possible value), only white can be expressed, and at the darkest limit (when Y becomes the minimum possible value), only black can be expressed. . Therefore, if Ymax and Ymin in the technique described in Patent Document 1 are set near the limit where only white or black can be expressed (see Fig. 5), and Y is binarized into Ymax and Ymin, it is a color difference. For Cr and Cb, the same value as before binary processing cannot be taken. Since the possible range of Cr and Cb is narrow as shown in Fig. 5, if the original Y value is binarized to Ymax and Ymin, the Cr and Cb values decrease with the binarization process. It is inevitable to let them. For this reason, an image obtained by the technique described in Document 1 has a low color saturation and is a light image.
[0007] 絵画的な画像としては、人が見たときに色の鮮やかなスケッチ風の画像が好まれる ことが多い。しかし、特許文献 1に記載された画像処理では淡い画像が出力されるこ とになる。従って、鮮やかなスケッチ風の画像を作成するためには、特許文献 1に記 載された自動的に行われる画像処理によって絵画風の画像を得た後、人間が画像 を見ながら明度と彩度の複雑な調整を行わなければならない。このような、人手によ る処理を行わなくても、色の鮮やかなスケッチ風の画像を得られることが好ま 、。  [0007] As a pictorial image, a sketch-like image that is brightly colored when viewed by a person is often preferred. However, the image processing described in Patent Document 1 outputs a light image. Therefore, in order to create a vivid sketch-like image, a picture-like image is obtained by the automatic image processing described in Patent Document 1, and then a person looks at the image while looking at the brightness and saturation. Complicated adjustments must be made. It is preferable to have a vivid sketch-like image without any manual processing.
[0008] そこで、本発明は、人手を介することなぐカラー画像の画像データを、色の鮮やか なスケッチ風の画像の画像データに変換する画像処理装置、画像処理方法、および 画像処理プログラムを提供することを目的とする。 課題を解決するための手段 Therefore, the present invention provides an image processing device, an image processing method, and an image processing program for converting image data of a color image without manual intervention into image data of a vivid sketch-like image. For the purpose. Means for solving the problem
[0009] 本発明による画像処理装置は、任意の色空間で表されたカラー画像の画像データ の成分を、明度が変化しても色度が変化しな 、色空間または明度が最大値になった ときに色度が 1点に収束しない色空間における明度および色度に変換する第 1の色 変換手段と、第 1の色変換手段による変換で得られた明度に対して空間フィルタリン グを施すフィルタリング手段と、空間フィルタリングが施された明度と、第 1の色変換手 段による変換で得られた色度とを、カラー画像の画像データの成分に変換する第 2 の色変換手段とを備えたことを特徴とする。  [0009] The image processing apparatus according to the present invention does not change the chromaticity of the image data components of the color image expressed in an arbitrary color space even if the lightness changes. In this case, the first color conversion means for converting to lightness and chromaticity in a color space where the chromaticity does not converge to one point, and spatial filtering for the lightness obtained by the conversion by the first color conversion means Filtering means to be applied, and second color conversion means for converting the lightness subjected to spatial filtering and the chromaticity obtained by the conversion by the first color conversion means into image data components of a color image. It is characterized by having.
[0010] そのような構成によれば、第 1の色変換手段が、任意の色空間で表されたカラー画 像の画像データの成分を、明度が変化しても色度が変化しな 、色空間または明度が 最大値になったときに色度が 1点に収束しない色空間における明度および色度に変 換するので、明度に空間フィルタリングを施しても、明度の変化に伴い色度が 1点に 収束してしまうことがない。従って、人手により色の鮮ゃ力さを調整する必要がなくな る。  [0010] According to such a configuration, the first color conversion means does not change the chromaticity of the image data component of the color image represented in an arbitrary color space even if the brightness changes. When the color space or brightness reaches the maximum value, the chromaticity is converted to the brightness and chromaticity in the color space that does not converge to one point. There is no convergence to one point. Therefore, there is no need to manually adjust the color vividness.
[0011] 例えば、第 1の色変換手段が、 RGB表現のカラー画像の画像データの RGB成分 を、 HSV色空間における明度および色度に変換し、第 2の色変換手段が、空間フィ ルタリングが施された明度と、第 1の色変換手段による変換で得られた色度とを、 RG B成分に変換する構成であってもよ!/、。  [0011] For example, the first color conversion unit converts the RGB component of the image data of the RGB representation color image into brightness and chromaticity in the HSV color space, and the second color conversion unit performs spatial filtering. It may be configured to convert the lightness applied and the chromaticity obtained by the conversion by the first color conversion means into the RGB component! /.
[0012] 例えば、フィルタリング手段力 カーネルを f (i, j)とした場合に、少なくとも iおよび j がそれぞれ i, jのとり得る最大値と最小値の中間の近傍値であるときに f (i, j) >0を満 足し、ほたは jの少なくともいずれか一方がその最大値または最小値となっているとき に f (i, j) < 0を満足し、各 i, jに応じた f (i, j)の総和が正であるという条件を満足する 畳み込み演算を明度に対して行うことにより、空間フィルタリングを施す構成であって ちょい。  [0012] For example, when the filtering means power kernel is set to f (i, j), when at least i and j are neighboring values between the maximum and minimum possible values of i and j, f (i , j)> 0 is satisfied, and when at least one of j is at its maximum or minimum value, f (i, j) <0 is satisfied, and depending on each i and j Satisfy the condition that the sum of f (i, j) is positive. It is a configuration that performs spatial filtering by performing a convolution operation on the lightness.
[0013] そのような構成によれば、明度の変化を強調することにより輪郭を生成するとともに 、写真画像の陰影等の微妙な変化を反映しないような変換を実現でき、人手を介す ることなく、カラー画像の画像データを、色の鮮やかなスケッチ風の画像を示す画像 データに変換することができる。 [0014] また、本発明による画像処理装置は、任意の色空間で表されたカラー画像の画像 データの成分を、明度が変化しても飽和度および色相が変化しない色空間または明 度が最大値になったときに飽和度および色相が 1点に収束しない色空間における明 度、飽和度、および色相に変換する第 1の色変換手段と、第 1の色変換手段による変 換で得られた明度に対して空間フィルタリングを施すフィルタリング手段と、第 1の色 変換手段による変換で得られた飽和度に対して、飽和度の値に応じて、飽和度の値 を変化させないかあるいはより大きな値に変化させる強調処理を実行する強調処理 手段と、空間フィルタリングが施された明度と、強調処理が実行された飽和度と、第 1 の色変換手段による変換で得られた色相とを、カラー画像の画像データの成分に変 換する第 2の色変換手段とを備えたことを特徴とする。 [0013] According to such a configuration, it is possible to generate a contour by emphasizing a change in lightness, and to realize a conversion that does not reflect a subtle change such as a shadow of a photographic image. In addition, the image data of a color image can be converted into image data showing a sketch-like image with vivid colors. [0014] In addition, the image processing apparatus according to the present invention has a color space or brightness in which the saturation and the hue do not change even if the lightness changes in the components of the image data of the color image expressed in an arbitrary color space. Obtained by conversion by the first color conversion means that converts the lightness, saturation, and hue in a color space where saturation and hue do not converge to a single point. Depending on the saturation value, the filtering means for performing spatial filtering on the lightness and the saturation obtained by the conversion by the first color conversion means may not change the saturation value or be larger. An emphasis processing means that executes an emphasis process that changes to a value, a lightness that has undergone spatial filtering, a saturation that has undergone the emphasis process, and a hue obtained by the conversion by the first color conversion means Image image And a second color conversion means for converting the data into a component of the data.
[0015] そのような構成によれば、第 1の色変換手段が、任意の色空間で表されたカラー画 像の画像データの成分を、明度が変化しても飽和度および色相が変化しない色空間 または明度が最大値になったときに飽和度および色相が 1点に収束しない色空間に おける明度、飽和度、および色相に変換するので、明度に空間フィルタリングを施し ても、明度の変化に伴い飽和度および色相が 1点に収束してしまうことがない。従つ て、人手により色の鮮ゃ力さを調整する必要がなくなる。  [0015] According to such a configuration, the first color conversion unit does not change the saturation and the hue of the image data component of the color image represented in an arbitrary color space even if the lightness changes. When color space or lightness reaches the maximum value, saturation and hue are converted to lightness, saturation, and hue in a color space that does not converge to one point, so even if spatial filtering is applied to lightness, the change in lightness As a result, saturation and hue do not converge to one point. Therefore, it is not necessary to manually adjust the color vividness.
[0016] 例えば、第 1の色変換手段が、 RGB表現のカラー画像の画像データの RGB成分 を、 HSV色空間における明度、飽和度、および色相に変換し、第 2の色変換手段が 、空間フィルタリングが施された明度と、強調処理が実行された飽和度と、第 1の色変 換手段による変換で得られた色相とを、 RGB成分に変換する構成であってもよい。  [0016] For example, the first color conversion means converts the RGB component of the image data of the color image in RGB representation into the brightness, saturation, and hue in the HSV color space, and the second color conversion means includes the space A configuration may be employed in which the lightness subjected to filtering, the saturation obtained by performing the enhancement process, and the hue obtained by the conversion by the first color conversion means are converted into RGB components.
[0017] 例えば、フィルタリング手段力 カーネルを f (i, j)とした場合に、少なくとも iおよび j がそれぞれ i, jのとり得る最大値と最小値の中間の近傍値であるときに f (i, j) >0を満 足し、ほたは jの少なくともいずれか一方がその最大値または最小値となっているとき に f (i, j) < 0を満足し、各 i, jに応じた f (i, j)の総和が正であるという条件を満足する 畳み込み演算を明度に対して行うことにより、空間フィルタリングを施す構成であって ちょい。  [0017] For example, when the filtering means power kernel is f (i, j), when at least i and j are neighboring values between the maximum and minimum values of i and j, respectively, f (i , j)> 0 is satisfied, and when at least one of j is at its maximum or minimum value, f (i, j) <0 is satisfied, and depending on each i and j Satisfy the condition that the sum of f (i, j) is positive. It is a configuration that performs spatial filtering by performing a convolution operation on the lightness.
[0018] そのような構成によれば、明度の変化を強調することにより輪郭を生成するとともに 、写真画像の陰影等の微妙な変化を反映しないような変換を実現でき、人手を介す ることなく、カラー画像の画像データを、色の鮮やかなスケッチ風の画像を示す画像 データに変換することができる。 [0018] According to such a configuration, a contour can be generated by emphasizing a change in brightness, and a conversion that does not reflect a subtle change such as a shadow of a photographic image can be realized. Therefore, the image data of the color image can be converted into image data showing a sketch-like image with vivid colors.
[0019] 強調処理手段が、飽和度の値が予め定められた閾値未満であるときには飽和度の 値を変化させず、飽和度の値が閾値を超えているときには飽和度の値を、飽和度の 取り得る最大値または当該最大値の近傍値に変化させる構成であってもよい。  [0019] The enhancement processing means does not change the saturation value when the saturation value is less than a predetermined threshold value, and changes the saturation value when the saturation value exceeds the threshold value. The maximum value that can be taken or a value close to the maximum value may be changed.
[0020] そのような構成によれば、子供が描く絵画のような非常に鮮やかな色の画像の画像 データへの変換が可能となる。  [0020] According to such a configuration, it is possible to convert an image of a very vivid color such as a picture drawn by a child into image data.
[0021] 強調処理手段が、飽和度の値を変数とする関数により定まる値を飽和度の値とする 構成であってもよい。  [0021] The enhancement processing means may be configured such that a value determined by a function having a saturation value as a variable is a saturation value.
[0022] そのような構成によれば、飽和度がなだらかに変化する場合の画像の画像データ への変換が可能となる。  [0022] According to such a configuration, it is possible to convert an image into image data when the degree of saturation changes gently.
[0023] また、本発明による画像処理方法は、任意の色空間で表されたカラー画像の画像 データの成分を、明度が変化しても色度が変化しない色空間または明度が最大値に なったときに色度力 ^点に収束しない色空間における明度および色度に変換する第 1の色変換ステップと、前記第 1の色変換ステップでの変換で得られた明度に対して 空間フィルタリングを施すフィルタリングステップと、前記空間フィルタリングが施され た明度と、前記第 1の色変換ステップでの変換で得られた色度とを、前記カラー画像 の画像データの成分に変換する第 2の色変換ステップとを含むことを特徴とする。  [0023] Further, in the image processing method according to the present invention, the color space or lightness in which the chromaticity does not change even if the lightness changes is the maximum value of the image data component of the color image expressed in an arbitrary color space. The first color conversion step for converting to lightness and chromaticity in a color space that does not converge to the point, and spatial filtering for the lightness obtained by the conversion in the first color conversion step. A second color conversion that converts the lightness subjected to the spatial filtering, and the chromaticity obtained by the conversion in the first color conversion step into image data components of the color image. And a step.
[0024] そのような方法によれば、第 1の色変換ステップで、任意の色空間で表されたカラ 一画像の画像データの成分を、明度が変化しても色度が変化しな!、色空間または明 度が最大値になったときに色度力 ^点に収束しない色空間における明度および色度 に変換するので、明度に空間フィルタリングを施しても、明度の変化に伴い色度が 1 点に収束してしまうことがない。従って、人手により色の鮮やかさを調整する必要がな くなる。  [0024] According to such a method, in the first color conversion step, the chromaticity does not change even if the brightness of the image data components of the color image represented in an arbitrary color space changes! When the color space or brightness reaches its maximum value, the chromaticity power ^ is converted to brightness and chromaticity in a color space that does not converge to a point. Does not converge to one point. Therefore, it becomes unnecessary to manually adjust the vividness of the color.
[0025] 例えば、第 1の色変換ステップで、 RGB表現のカラー画像の画像データの RGB成 分を、 HSV色空間における明度および色度に変換し、第 2の色変換ステップで、空 間フィルタリングが施された明度と、前記第 1の色変換ステップでの変換で得られた 色度とを、 RGB成分に変換する方法であってもよい。 [0026] 例えば、フィルタリングステップで、カーネルを f (i, j)とした場合に、少なくとも iおよ び jがそれぞれ i, jのとり得る最大値と最小値の中間の近傍値であるときに f (i, j) >0 を満足し、ほたは jの少なくとも 、ずれか一方がその最大値または最小値となって ヽ るときに f (i, j) < 0を満足し、各 i, jに応じた f (i, j)の総和が正であるという条件を満足 する畳み込み演算を明度に対して行うことにより、空間フィルタリングを施す方法であ つてもよい。 [0025] For example, in the first color conversion step, the RGB component of the image data of the RGB representation color image is converted into brightness and chromaticity in the HSV color space, and in the second color conversion step, spatial filtering is performed. The method may be a method of converting the lightness subjected to the above and the chromaticity obtained by the conversion in the first color conversion step into RGB components. [0026] For example, in the filtering step, when the kernel is f (i, j), and at least i and j are neighboring values between the maximum and minimum values that i and j can take, respectively. When f (i, j)> 0 is satisfied and at least one of j is at its maximum or minimum value, f (i, j) <0 is satisfied, and each i , j, spatial filtering may be performed by performing a convolution operation on the lightness that satisfies the condition that the sum of f (i, j) is positive.
[0027] そのような方法によれば、明度の変化を強調することにより輪郭を生成するとともに 、写真画像の陰影等の微妙な変化を反映しないような変換を実現でき、人手を介す ることなく、カラー画像の画像データを、色の鮮やかなスケッチ風の画像を示す画像 データに変換することができる。  [0027] According to such a method, a contour can be generated by emphasizing a change in brightness, and a conversion that does not reflect a subtle change such as a shadow of a photographic image can be realized. In addition, the image data of a color image can be converted into image data showing a sketch-like image with vivid colors.
[0028] また、本発明による画像処理方法は、任意の色空間で表されたカラー画像の画像 データの成分を、明度が変化しても飽和度および色相が変化しない色空間または明 度が最大値になったときに飽和度および色相が 1点に収束しない色空間における明 度、飽和度、および色相に変換する第 1の色変換ステップと、前記第 1の色変換ステ ップでの変換で得られた明度に対して空間フィルタリングを施すフィルタリングステツ プと、前記第 1の色変換ステップでの変換で得られた飽和度に対して、飽和度の値に 応じて、飽和度の値を変化させないかあるいはより大きな値に変化させる強調処理を 実行する強調処理ステップと、前記空間フィルタリングが施された明度と、前記強調 処理が実行された飽和度と、前記第 1の色変換ステップでの変換で得られた色相と を、前記カラー画像の画像データの成分に変換する第 2の色変換ステップとを含むこ とを特徴とする。  [0028] In addition, the image processing method according to the present invention has a maximum color space or lightness in which the saturation and hue do not change even if the lightness changes in the image data components of the color image represented in an arbitrary color space. The first color conversion step that converts the lightness, saturation, and hue in the color space where the saturation and hue do not converge to one point when the value is reached, and the conversion in the first color conversion step For the filtering step for performing spatial filtering on the brightness obtained in step 1 and the saturation obtained by the conversion in the first color conversion step, the saturation value is set according to the saturation value. An emphasis processing step that executes an emphasis process that does not change or changes to a larger value, a lightness that has undergone the spatial filtering, a saturation that has undergone the emphasis process, and a first color conversion step conversion And a second color conversion step of converting the hue obtained in step 1 into a component of image data of the color image.
[0029] そのような方法によれば、第 1の色変換ステップで、任意の色空間で表されたカラ 一画像の画像データの成分を、明度が変化しても飽和度および色相が変化しな!、色 空間または明度が最大値になったときに飽和度および色相が 1点に収束しない色空 間における明度、飽和度、および色相に変換するので、明度に空間フィルタリングを 施しても、明度の変化に伴い飽和度および色相が 1点に収束してしまうことがない。 従って、人手により色の鮮ゃ力さを調整する必要がなくなる。  [0029] According to such a method, in the first color conversion step, the saturation and the hue of the image data component of the color image represented in an arbitrary color space change even if the lightness changes. Yeah! When the color space or brightness reaches the maximum value, the saturation and hue are converted into brightness, saturation, and hue in a color space that does not converge to one point. The saturation and hue will not converge to one point with the change. Therefore, it is not necessary to manually adjust the color vividness.
[0030] 例えば、第 1の色変換ステップで、 RGB表現のカラー画像の画像データの RGB成 分を、 HSV色空間における明度、飽和度、および色相に変換し、第 2の色変換ステ ップで、空間フィルタリングが施された明度と、強調処理が実行された飽和度と、前記 第 1の色変換ステップでの変換で得られた色相とを、 RGB成分に変換する方法であ つてもよい。 [0030] For example, in the first color conversion step, the RGB data of the RGB color image data is generated. Are converted into lightness, saturation, and hue in the HSV color space, and in the second color conversion step, the lightness subjected to spatial filtering, the saturation subjected to enhancement processing, and the first The hue obtained by the conversion in the color conversion step may be converted to an RGB component.
[0031] 例えば、フィルタリングステップで、カーネルを f (i, j)とした場合に、少なくとも iおよ び jがそれぞれ i, jのとり得る最大値と最小値の中間の近傍値であるときに f (i, j) >0 を満足し、ほたは jの少なくとも 、ずれか一方がその最大値または最小値となって ヽ るときに f (i, j) < 0を満足し、各 i, jに応じた f (i, j)の総和が正であるという条件を満足 する畳み込み演算を明度に対して行うことにより、空間フィルタリングを施す方法であ つてもよい。  [0031] For example, in the filtering step, when the kernel is f (i, j), and at least i and j are neighboring values between the maximum and minimum values that i and j can take, respectively. When f (i, j)> 0 is satisfied and at least one of j is at its maximum or minimum value, f (i, j) <0 is satisfied, and each i , j, spatial filtering may be performed by performing a convolution operation on the lightness that satisfies the condition that the sum of f (i, j) is positive.
[0032] そのような方法によれば、明度の変化を強調することにより輪郭を生成するとともに 、写真画像の陰影等の微妙な変化を反映しないような変換を実現でき、人手を介す ることなく、カラー画像の画像データを、色の鮮やかなスケッチ風の画像を示す画像 データに変換することができる。  [0032] According to such a method, a contour can be generated by emphasizing a change in brightness, and a conversion that does not reflect a subtle change such as a shadow of a photographic image can be realized. In addition, the image data of a color image can be converted into image data showing a sketch-like image with vivid colors.
[0033] 強調処理ステップで、飽和度の値が予め定められた閾値未満であるときには飽和 度の値を変化させず、飽和度の値が前記閾値を超えて 、るときには飽和度の値を、 飽和度の取り得る最大値または当該最大値の近傍値に変化させる方法であってもよ い。  [0033] In the emphasis processing step, the saturation value is not changed when the saturation value is less than a predetermined threshold value, and when the saturation value exceeds the threshold value, the saturation value is changed. It may be a method of changing to a maximum value that the saturation level can take or a value close to the maximum value.
[0034] そのような方法によれば、子供が描く絵画のような非常に鮮やかな色の画像の画像 データへの変換が可能となる。  [0034] According to such a method, it is possible to convert an image of a very vivid color such as a picture drawn by a child into image data.
[0035] 強調処理ステップで、飽和度の値を変数とする関数により定まる値を飽和度の値と する方法であってもよい。  [0035] In the emphasis processing step, a value determined by a function having the saturation value as a variable may be used as the saturation value.
[0036] そのような方法によれば、飽和度がなだらかに変化する場合の画像の画像データ への変換が可能となる。  [0036] According to such a method, it is possible to convert an image into image data when the degree of saturation changes gradually.
[0037] また、本発明による画像処理プログラムは、コンピュータに、任意の色空間で表され たカラー画像の画像データの成分を、明度が変化しても色度が変化しな 、色空間ま たは明度が最大値になったときに色度力 ^点に収束しない色空間における明度およ び色度に変換する第 1の色変換処理、第 1の色変換処理での変換で得られた明度 に対して空間フィルタリングを施すフィルタリング処理、および空間フィルタリングが施 された明度と、第 1の色変換処理での変換で得られた色度とを、カラー画像の画像デ ータの成分に変換する第 2の色変換処理を実行させることを特徴とする。 [0037] In addition, the image processing program according to the present invention allows a computer to store color image data components represented in an arbitrary color space in a color space that does not change even if the brightness changes. Is obtained by the first color conversion processing that converts to the lightness and chromaticity in the color space that does not converge to the point when the lightness reaches the maximum value, and the conversion by the first color conversion processing. brightness Filtering processing that applies spatial filtering to the image, and the brightness that has been subjected to spatial filtering and the chromaticity obtained by the conversion in the first color conversion processing are converted into image data components of a color image The second color conversion process is executed.
[0038] そのようなプログラムによれば、コンピュータに、任意の色空間で表されたカラー画 像の画像データの成分を、明度が変化しても色度が変化しな 、色空間または明度が 最大値になったときに色度が 1点に収束しない色空間における明度および色度に変 換する第 1の色変換処理を実行させるので、明度に空間フィルタリングを施しても、明 度の変化に伴い色度が 1点に収束してしまうことがない。従って、人手により色の鮮ゃ 力さを調整する必要がなくなる。  [0038] According to such a program, the color space or brightness of the image data component of the color image represented in an arbitrary color space is not changed even if the brightness changes. When the maximum value is reached, the first color conversion process is performed to convert the lightness and chromaticity in a color space where the chromaticity does not converge to one point. As a result, the chromaticity does not converge to one point. Therefore, it is not necessary to manually adjust the color vividness.
[0039] 例えば、コンピュータに、第 1の色変換処理で、 RGB表現のカラー画像の画像デー タの RGB成分を、 HSV色空間における明度および色度に変換する処理を実行させ 、第 2の色変換処理で、空間フィルタリングが施された明度と、第 1の色変換処理での 変換で得られた色度とを、 RGB成分に変換する処理を実行させるプログラムであつ てもよい。  [0039] For example, by causing the computer to execute a process of converting the RGB component of the image data of the RGB-represented color image into brightness and chromaticity in the HSV color space in the first color conversion process, the second color In the conversion process, the program may execute a process for converting the lightness subjected to spatial filtering and the chromaticity obtained by the conversion in the first color conversion process into RGB components.
[0040] 例えば、コンピュータに、フィルタリング処理で、カーネルを f (i, j)とした場合に、少 なくとも iおよび jがそれぞれ i, jのとり得る最大値と最小値の中間の近傍値であるとき に f (i, j) >0を満足し、ほたは jの少なくともいずれか一方がその最大値または最小 値となっているときに f (i, j) < 0を満足し、各 i, jに応じた f (i, j)の総和が正であるとい う条件を満足する畳み込み演算を明度に対して行うことにより、空間フィルタリングを 施す処理を実行させるプログラムであってもよ 、。  [0040] For example, if the kernel is set to f (i, j) by filtering processing on a computer, at least i and j are values near the maximum and minimum values that i and j can take. At some point, f (i, j)> 0 is satisfied, and when at least one of j is at its maximum or minimum value, f (i, j) <0 is satisfied. It may be a program that executes a process that performs spatial filtering by performing a convolution operation on the lightness that satisfies the condition that the sum of f (i, j) according to i and j is positive. .
[0041] そのようなプログラムによれば、明度の変化を強調することにより輪郭を生成するとと もに、写真画像の陰影等の微妙な変化を反映しないような変換を実現でき、人手を 介することなぐカラー画像の画像データを、色の鮮やかなスケッチ風の画像を示す 画像データに変換することができる。  [0041] According to such a program, it is possible to generate a contour by emphasizing a change in lightness, and to realize a conversion that does not reflect a subtle change such as a shadow of a photographic image. The image data of the color image can be converted into image data showing a sketch-like image with vivid colors.
[0042] また、本発明による画像処理プログラムは、コンピュータに、任意の色空間で表され たカラー画像の画像データの成分を、明度が変化しても飽和度および色相が変化し ない色空間または明度が最大値になったときに飽和度および色相力 ^点に収束しな い色空間における明度、飽和度、および色相に変換する第 1の色変換処理、第 1の 色変換処理での変換で得られた明度に対して空間フィルタリングを施すフィルタリン グ処理、第 1の色変換処理での変換で得られた飽和度に対して、飽和度の値に応じ て、飽和度の値を変化させないかあるいはより大きな値に変化させる強調処理、およ び空間フィルタリングが施された明度と、強調処理が実行された飽和度と、第 1の色 変換処理での変換で得られた色相とを、カラー画像の画像データの成分に変換する 第 2の色変換処理を実行させることを特徴とする。 [0042] Further, an image processing program according to the present invention allows a computer to use a color space or an image data component of a color image expressed in an arbitrary color space in which the saturation and hue do not change even if the lightness changes. Saturation and hue strength when the brightness reaches the maximum value ^ The first color conversion process that converts to lightness, saturation, and hue in a color space that does not converge to the point. Depending on the saturation value, the filtering process that performs spatial filtering on the lightness obtained by the conversion in the color conversion process, and the saturation obtained by the conversion in the first color conversion process, The emphasis process that does not change the saturation value, or changes it to a larger value, the lightness that has undergone spatial filtering, the saturation that has undergone the emphasis process, and the conversion in the first color conversion process. A second color conversion process for converting the obtained hue into a component of image data of a color image is executed.
[0043] そのようなプログラムによれば、コンピュータに、任意の色空間で表されたカラー画 像の画像データの成分を、明度が変化しても飽和度および色相が変化しない色空間 または明度が最大値になったときに飽和度および色相が 1点に収束しない色空間に おける明度、飽和度、および色相に変換する第 1の色変換処理を実行させるので、 明度に空間フィルタリングを施しても、明度の変化に伴い飽和度および色相が 1点に 収束してしまうことがない。従って、人手により色の鮮ゃ力さを調整する必要がなくな る。 [0043] According to such a program, the image data component of the color image represented in an arbitrary color space is stored in the computer in a color space or brightness in which the saturation and hue do not change even if the brightness changes. When the maximum value is reached, the first color conversion process is performed to convert the lightness, saturation, and hue in a color space where the saturation and hue do not converge to a single point, so even if spatial filtering is applied to the lightness The saturation and hue do not converge to a single point as the brightness changes. Therefore, there is no need to manually adjust the color vividness.
[0044] 例えば、コンピュータに、第 1の色変換処理で、 RGB表現のカラー画像の画像デー タの RGB成分を、 HSV色空間における明度、飽和度、および色相に変換する処理 を実行させ、第 2の色変換手処理で、空間フィルタリングが施された明度と、強調処 理が実行された飽和度と、第 1の色変換処理での変換で得られた色相とを、 RGB成 分に変換する処理を実行させるプログラムであってもよい。  [0044] For example, the first color conversion process causes the computer to execute a process of converting the RGB component of the image data of the RGB representation color image into brightness, saturation, and hue in the HSV color space. In the second color conversion manual process, the lightness with spatial filtering, the saturation with the enhancement process, and the hue obtained by the conversion in the first color conversion process are converted into RGB components. The program which performs the process to perform may be sufficient.
[0045] 例えば、コンピュータに、フィルタリング処理で、カーネルを f (i, j)とした場合に、少 なくとも iおよび jがそれぞれ i, jのとり得る最大値と最小値の中間の近傍値であるとき に f (i, j) >0を満足し、ほたは jの少なくともいずれか一方がその最大値または最小 値となっているときに f (i, j) < 0を満足し、各 i, jに応じた f (i, j)の総和が正であるとい う条件を満足する畳み込み演算を明度に対して行うことにより、空間フィルタリングを 施す処理を実行させるプログラムであってもよ 、。  [0045] For example, if the kernel is set to f (i, j) by filtering processing on a computer, at least i and j are values near the maximum and minimum values that i and j can take. At some point, f (i, j)> 0 is satisfied, and when at least one of j is at its maximum or minimum value, f (i, j) <0 is satisfied. It may be a program that executes a process that performs spatial filtering by performing a convolution operation on the lightness that satisfies the condition that the sum of f (i, j) according to i and j is positive. .
[0046] そのようなプログラムによれば、明度の変化を強調することにより輪郭を生成するとと もに、写真画像の陰影等の微妙な変化を反映しないような変換を実現でき、人手を 介することなぐカラー画像の画像データを、色の鮮やかなスケッチ風の画像を示す 画像データに変換することができる。 [0047] コンピュータに、強調処理で、飽和度の値が予め定められた閾値未満であるときに は飽和度の値を変化させず、飽和度の値が閾値を超えているときには飽和度の値を[0046] According to such a program, it is possible to generate a contour by emphasizing a change in brightness, and to realize a conversion that does not reflect a subtle change such as a shadow of a photographic image. The image data of the color image can be converted into image data showing a sketch-like image with vivid colors. [0047] In the emphasis process, when the saturation value is less than a predetermined threshold value, the saturation value is not changed, and when the saturation value exceeds the threshold value, the saturation value is not changed. The
、飽和度の取り得る最大値または当該最大値の近傍値に変化させる処理を実行させ るプログラムであってもよ ヽ。 Also, it may be a program that executes a process of changing to the maximum value that the saturation level can take or a value close to the maximum value.
[0048] そのようなプログラムによれば、子供が描く絵画のような非常に鮮やかな色の画像 の画像データへの変換が可能となる。  [0048] According to such a program, it is possible to convert an image of a very vivid color such as a picture drawn by a child into image data.
[0049] コンピュータに、強調処理で、飽和度の値を変数とする関数により定まる値を飽和 度の値とする処理を実行させるプログラムであってもよい。 [0049] A program that causes a computer to execute a process of setting a value determined by a function having a saturation value as a variable as a saturation value in an emphasis process.
[0050] そのようなプログラムによれば、飽和度がなだらかに変化する場合の画像の画像デ ータへの変換が可能となる。 [0050] According to such a program, it is possible to convert an image into image data when the degree of saturation changes gently.
発明の効果  The invention's effect
[0051] 本発明によれば、人手を介することなぐカラー画像の画像データを、色の鮮やか なスケッチ風の画像の画像データに変換することができる。  [0051] According to the present invention, it is possible to convert image data of a color image without manual intervention into image data of a vivid sketch-like image.
図面の簡単な説明  Brief Description of Drawings
[0052] [図 1]本発明による画像処理装置の第 1の実施の形態を示す説明図である。 FIG. 1 is an explanatory diagram showing a first embodiment of an image processing device according to the present invention.
[図 2]HSV色空間を示す説明図である。  FIG. 2 is an explanatory diagram showing an HSV color space.
[図 3]畳み込み演算のカーネル f (i, j)の例を示す説明図である。  FIG. 3 is an explanatory diagram showing an example of a kernel f (i, j) of a convolution operation.
[図 4]本発明による画像処理装置の第 2の実施の形態を示す説明図である。  FIG. 4 is an explanatory view showing a second embodiment of the image processing apparatus according to the present invention.
[図 5]明度と色差とによって色を表現する YCrCb表現の色空間の特性を示す説明図 である。  FIG. 5 is an explanatory diagram showing the characteristics of the color space of the YCrCb representation that expresses colors by brightness and color difference.
符号の説明  Explanation of symbols
[0053] 1 原画像 [0053] 1 Original image
2 第 1の色変換手段  2 First color conversion means
4 フィルタリング手段  4 Filtering means
5 第 2の色変換手段  5 Second color conversion means
6 変換画像  6 Converted image
31 第 1の明度メモリ  31 First brightness memory
32 色度メモリ 33 第 2の明度メモリ 32 chromaticity memory 33 Second brightness memory
発明を実施するための最良の形態  BEST MODE FOR CARRYING OUT THE INVENTION
[0054] 以下、本発明を実施するための最良の形態を図面を参照して説明する。  Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings.
[0055] 実施の形態 1.  [0055] Embodiment 1.
図 1は、本発明による画像処理装置の第 1の実施の形態を示す説明図である。第 1 の実施の形態における画像処理装置は、第 1の色変換手段 2と、色度メモリ 32と、第 1の明度メモリ 31と、フィルタリング手段 4と、第 2の明度メモリ 33と、第 2の色変換手 段 5とを備える。そして、画像処理装置には原画像 1が入力され、画像処理装置は変 換画像 6を出力する。  FIG. 1 is an explanatory view showing a first embodiment of an image processing apparatus according to the present invention. The image processing apparatus according to the first embodiment includes a first color conversion means 2, a chromaticity memory 32, a first brightness memory 31, a filtering means 4, a second brightness memory 33, and a second brightness memory 32. Color conversion means 5 is provided. Then, the original image 1 is input to the image processing apparatus, and the image processing apparatus outputs the converted image 6.
[0056] 原画像 1は、デジタルカメラ等で撮影されたカラー画像 (写真画像)の画像データで ある。ここでは、原画像 1が、 RGBを用いた三原色表現によって表された画像データ であるものとする。また、原画像 1の各画素は、 R (赤色)、 G (緑色)、 B (青色)それぞ れについて 8ビットの値で表されているものとする。すなわち、各画素における R、 G、 Bは、 0〜255の値をとるものとする。変換画像 6は、画像処理装置が原画像 1に対し て画像処理を行った結果得られる画像データであり、絵画的な画像を示す画像デー タである。ここでは、変換画像 6は、原画像 1と同様に、各画素が R、 G、 Bで表現され た三原色表現の画像データであるものとする。  [0056] The original image 1 is image data of a color image (photographic image) taken by a digital camera or the like. Here, it is assumed that the original image 1 is image data represented by three primary color representations using RGB. Each pixel in the original image 1 is represented by an 8-bit value for each of R (red), G (green), and B (blue). That is, R, G, and B in each pixel take values from 0 to 255. The converted image 6 is image data obtained as a result of image processing performed on the original image 1 by the image processing apparatus, and is image data indicating a pictorial image. Here, like the original image 1, the converted image 6 is assumed to be image data of three primary color representations in which each pixel is expressed by R, G, and B.
[0057] 第 1の色変換手段 2は、原画像 1を入力される。そして、第 1の色変換手段 2は、そ の原画像 1の成分 (原画像 1を表現する成分。本例では、 RGB成分)を、画素毎に明 度成分と色度成分とに変換する。このとき、第 1の色変換手段 2は、明度が変化しても 色度 (飽和度および色相)が変化しな 、かあるいは色度の変化が少な ヽ色空間にお ける明度成分と色度成分に変換する。この結果、第 1の色変換手段 2は、原画像 1を 明度成分と色度成分とに分離することになる。ここで、明度が変化しても色度の変化 が少ない色空間とは、「明度が、明度の取り得る最大値になったときに、色度の範囲 力 SOにならない(1点に収束しない)色空間」を意味するものとする。 YCrCb表現の色 空間では、明度が、明度の取り得る最大値となったときに、色度の範囲が 1点に収束 し、白色しか表現できなくなる(図 5参照。)。よって、 YCrCb表現の色空間は、「明度 が変化しても色度の変化が少ない色空間」に該当しない。同様に、 L * a * b *表現 の色空間も、「明度が変化しても色度の変化が少ない色空間」に該当しない。 The first color conversion unit 2 receives the original image 1. Then, the first color converting means 2 converts the component of the original image 1 (the component representing the original image 1; in this example, the RGB component) into a brightness component and a chromaticity component for each pixel. . At this time, the first color conversion means 2 does not change the chromaticity (saturation and hue) even if the lightness changes, or the lightness component and the chromaticity in the amber color space where the change of the chromaticity is small. Convert to component. As a result, the first color conversion means 2 separates the original image 1 into a lightness component and a chromaticity component. Here, a color space in which the change in chromaticity is small even if the lightness changes is defined as "When the lightness reaches the maximum value that lightness can take, the chromaticity range force does not become SO (does not converge to one point). ) "Color space". In the YCrCb representation color space, when the lightness reaches the maximum value that lightness can take, the chromaticity range converges to one point, and only white can be expressed (see Fig. 5). Therefore, the color space of YCrCb expression does not correspond to “a color space with little change in chromaticity even if the brightness changes”. Similarly, L * a * b * expression This color space does not correspond to “a color space in which the change in chromaticity is small even when the brightness changes”.
[0058] また、ここでは、第 1の色変換手段 2は、 RGBの三原色表現で表された原画像 1の 各画素を、 HSV色空間における明度成分および色度成分に変換するものとして説 明する。 HSV色空間は、明度が変化しても色度が変化しない色空間である。 HSV 色空間における色度成分は、色相と飽和度とを含む。 HSV色空間における色相、飽 和度、明度をそれぞれ、 H, S, Vで表す。第 1の色変換手段 2は、変換により得られ る各画素の色相 H、飽和度 S、明度 Vを、例えば 8ビットの値 (0〜255の値)で表す。  [0058] Also, here, the first color conversion means 2 is described as converting each pixel of the original image 1 expressed in RGB three primary colors into a brightness component and a chromaticity component in the HSV color space. To do. The HSV color space is a color space in which the chromaticity does not change even if the lightness changes. The chromaticity component in the HSV color space includes hue and saturation. Hue, saturation, and brightness in the HSV color space are represented by H, S, and V, respectively. The first color conversion means 2 represents the hue H, saturation S, and brightness V of each pixel obtained by the conversion by, for example, an 8-bit value (0 to 255).
[0059] 明度成分 Vのデータからなる画像データを明度画像と記し、色度成分 (色相 Hおよ び飽和度 S)のデータからなる画像データを色度画像と記す。第 1の色変換手段 2は 、変換処理によって得られた色度画像を色度メモリ 32に記憶させ、明度画像を第 1の 明度メモリ 31に記憶させる。  [0059] Image data composed of data of lightness component V is referred to as a lightness image, and image data composed of data of chromaticity components (hue H and saturation S) is referred to as a chromaticity image. The first color conversion means 2 stores the chromaticity image obtained by the conversion process in the chromaticity memory 32 and stores the lightness image in the first lightness memory 31.
[0060] 色度メモリ 32は、第 1の色変換手段 2による変換処理で得られた色度画像を記憶す る。第 1の明度メモリ 31は、第 1の色変換手段 2による変換処理で得られた明度画像 を記憶する。  The chromaticity memory 32 stores a chromaticity image obtained by the conversion process by the first color conversion means 2. The first brightness memory 31 stores the brightness image obtained by the conversion process by the first color conversion means 2.
[0061] フィルタリング手段 4は、第 1の明度メモリ 31に記憶される明度画像 (すなわち、明 度 Vのデータ)に対して、空間フィルタリング処理を行う。この結果得られるデータを V 'とする。フィルタリング手段 4によるフィルタリング処理については後述する。フィルタ リング手段 4は、フィルタリング処理によって導出したデータ V'を第 2の明度メモリ 33 に記憶させる。  The filtering means 4 performs a spatial filtering process on the lightness image (that is, lightness V data) stored in the first lightness memory 31. The data obtained as a result is denoted as V ′. The filtering process by the filtering means 4 will be described later. The filtering means 4 stores the data V ′ derived by the filtering process in the second brightness memory 33.
[0062] 第 2の明度メモリ 33は、フィルタリング手段 4が導出したデータ V,を記憶する。  The second brightness memory 33 stores the data V derived by the filtering means 4.
[0063] 第 2の色変換手段 5は、第 2の明度メモリ 33に記憶されたデータ V'を明度成分とし 、データ V'および色度メモリ 32に記憶された色度画像 (すなわち、色相 Hおよび飽 和度 Sのデータ)とを用いて、第 1の色変換手段 2の変換処理の逆変換処理を行う。 すなわち、第 2の色変換手段 5は、 HSV色空間における明度成分および色度成分で 表された画像データを、 RGBで表される三原色表現の画像データに変換する。第 2 の色変換手段 5は、この逆変換により得られた画像データを変換画像 6として出力す る。 The second color conversion means 5 uses the data V ′ stored in the second lightness memory 33 as the lightness component, and the chromaticity image (that is, the hue H) stored in the data V ′ and the chromaticity memory 32. And the conversion processing of the first color conversion means 2 using the data of the saturation degree S). That is, the second color conversion means 5 converts the image data represented by the brightness component and the chromaticity component in the HSV color space into image data of the three primary colors represented by RGB. The second color conversion means 5 outputs the image data obtained by this inverse conversion as a converted image 6.
[0064] 本実施の形態において、第 1の色変換手段 2、フィルタリング手段 4、および第 2の 色変換手段 5は、例えば、プログラムに従って動作する CPUによって実現される。プ ログラムは、画像処理装置が備える記憶装置(図示せず。 )に予め記憶させておけば よい。また、色度メモリ 32、第 1の明度メモリ 31、および第 2の明度メモリ 33は、例え ば、画像処理装置が備える記憶装置(図示せず。 )によって実現される。 [0064] In the present embodiment, the first color conversion means 2, the filtering means 4, and the second color conversion means 2, The color conversion means 5 is realized by a CPU that operates according to a program, for example. The program may be stored in advance in a storage device (not shown) provided in the image processing apparatus. Further, the chromaticity memory 32, the first lightness memory 31, and the second lightness memory 33 are realized by, for example, a storage device (not shown) included in the image processing apparatus.
[0065] 次に、動作について説明する。  Next, the operation will be described.
第 1の色変換手段 2は、 RGBの三原色表現で表された原画像 1が入力されると、そ の原画像 1の成分 (R, G, B)を、画素毎に、 HSV色空間における明度成分および 色度成分に変換する。図 2は、 HSV色空間を示す説明図である。図 2に示す縦軸 (V 軸)は、明度 Vを表す。また、図 2に示す HSV色空間において、飽和度 (彩度と呼ば れる場合もある。)Sは、 V軸力もの距離によって表される。また、色相 Hは、予め定め られた軸であって V軸と直交する軸(図 2に示す右方向に向力う軸)から、 V軸を中心 に回転した角度によって表される。例えば、赤色を H = 0° とした場合、緑色は H= l 20° となる。図 2に示すように、 HSV色空間では、明度 Vが変化したとしても、色相 H および飽和度 Sは変化しな 、。  When the original image 1 expressed in RGB primary color representation is input, the first color conversion means 2 converts the components (R, G, B) of the original image 1 for each pixel in the HSV color space. Convert to lightness and chromaticity components. FIG. 2 is an explanatory diagram showing the HSV color space. The vertical axis (V-axis) shown in Fig. 2 represents brightness V. In the HSV color space shown in Fig. 2, saturation (sometimes called saturation) S is represented by the distance of the V-axis force. Hue H is represented by an angle rotated around the V axis from a predetermined axis that is orthogonal to the V axis (the axis that faces in the right direction in FIG. 2). For example, if red is H = 0 °, green is H = l 20 °. As shown in Figure 2, in the HSV color space, even if the brightness V changes, the hue H and the saturation S do not change.
[0066] 第 1の色変換手段 2は、原画像 1の RGB成分から、 HSV色空間における明度成分 および色度成分への変換処理を以下の変換式を用いて行う。また、既に述べたよう に、この変換処理は画素毎に行えばよい。ただし、以下の変換式では R, G, B, H, S, Vは 0〜1の値をとるものとしている。従って、 R, G, Bが 8ビットで表されている場 合には、 R, G, Bの値が 0〜1の範囲の値となるように前処理を行い、以下の変換式 を適用すればよい。また、 H, S, Vを 8ビットで表す場合には、以下の変換式により求 めた H, S, Vを 8ビットで表すように変換すればよい。  [0066] The first color conversion means 2 performs conversion processing from the RGB component of the original image 1 to the lightness component and chromaticity component in the HSV color space using the following conversion equations. Further, as already described, this conversion process may be performed for each pixel. However, in the following conversion formulas, R, G, B, H, S, V take values from 0 to 1. Therefore, when R, G, and B are represented by 8 bits, pre-processing is performed so that the values of R, G, and B are in the range of 0 to 1, and the following conversion formula is applied: do it. In addition, when H, S, and V are represented by 8 bits, conversion may be performed so that H, S, and V obtained by the following conversion formula are represented by 8 bits.
[0067] まず、第 1の色変換手段 2は、明度 Vを、 V=max(R, G, B)として算出する。ここで 、 max (R, G, B)は、 R, G, Bの値のうちの最大値を表すものとする。すなわち、 R, G, Bの値のうちの最大値を明度 Vとする。  First, the first color conversion means 2 calculates the brightness V as V = max (R, G, B). Here, max (R, G, B) represents the maximum value among the values of R, G, B. That is, the maximum value among the values of R, G, and B is the brightness V.
[0068] また、第 1の色変換手段 2は、 X=min (R, G, B)として Xを算出する。ここで、 min ( R, G, B)は、 R, G, Bの値のうちの最小値を表すものとする。すなわち、 R, G, Bの 値のうちの最小値を Xとする。  In addition, the first color conversion means 2 calculates X as X = min (R, G, B). Here, min (R, G, B) represents the minimum value among the values of R, G, B. That is, let X be the minimum value of R, G, and B.
[0069] 続いて、第 1の色変換手段 2は、 S= (V— X)ZVとして、飽和度 Sを算出する。さら に、第 1の色変換手段 2は、以下の式により!:, g, bを算出する。 [0069] Subsequently, the first color conversion means 2 calculates the saturation S as S = (V-X) ZV. More In addition, the first color conversion means 2 calculates!:, G, b by the following formula.
[0070] r= (V-R) / (V-X)  [0070] r = (V-R) / (V-X)
[0071] g= (V-G) / (V-X) [0071] g = (V-G) / (V-X)
[0072] b= (V-B) / (V-X) [0072] b = (V-B) / (V-X)
[0073] 第 1の色変換手段 2は、 R=Vかつ G=Xならば、 h = 5 + bとして hを算出する。 R= Vかつ B=Xならば、 h= l— gとして hを算出する。 G=Vかつ B=Xならば、 h= l +r として hを算出する。 G=Vかつ R=Xならば、 h = 3— bとして hを算出する。 B=Vか つ R=Xならば、 h= 3+gとして hを算出する。 B=Vかつ G=Xならば、 h= 5— rとし て hを算出する。 [0073] If R = V and G = X, the first color conversion means 2 calculates h as h = 5 + b. If R = V and B = X, calculate h as h = l-g. If G = V and B = X, h is calculated as h = l + r. If G = V and R = X, calculate h as h = 3-b. If B = V and R = X, calculate h as h = 3 + g. If B = V and G = X, h is calculated as h = 5−r.
[0074] そして、第 1の色変換手段 2は、上記の様にして求めた hを用いて、 H=hZ6として 色相 Hを算出する。  [0074] Then, the first color conversion means 2 calculates the hue H as H = hZ6, using h obtained as described above.
[0075] 第 1の変換手段 2は、色度画像、すなわち色度成分 (色相 Hおよび飽和度 S)のデ 一タカもなる画像データを色度メモリ 32に記憶させる。また、明度画像、すなわち明 度成分 Vのデータからなる画像データを第 1の明度メモリ 31に記憶させる。  The first conversion means 2 stores in the chromaticity memory 32 chromaticity images, that is, image data that also serves as a data marker for chromaticity components (hue H and saturation S). In addition, a brightness image, that is, image data composed of data of the brightness component V is stored in the first brightness memory 31.
[0076] 続いて、フィルタリング手段 4は、第 1の明度メモリ 31に記憶された明度成分 Vに対 してフィルタリング処理を行いデータ V'を算出する。フィルタリング処理 4は、明度の 変化を強調することにより輪郭を生成するとともに、写真画像の陰影等の微妙な変化 を反映しな 、ようなリング型フィルタリング処理を実行する。フィルタリング手段 4は、 例えば、以下に示す畳み込み演算の演算式を用いて V'を計算することにより、上記 のようなフィルタリング処理を実現する。  Subsequently, the filtering unit 4 performs a filtering process on the lightness component V stored in the first lightness memory 31 to calculate data V ′. Filtering process 4 generates a contour by emphasizing the change in brightness, and executes a ring-type filtering process that does not reflect subtle changes such as shading in a photographic image. The filtering means 4 realizes the filtering process as described above, for example, by calculating V ′ using the arithmetic expression of the convolution operation shown below.
[0077] [数 1]  [0077] [Equation 1]
V'(x, y j)V(x+i, y+j)V '(x, y j) V (x + i, y + j)
Figure imgf000016_0001
Figure imgf000016_0001
[0078] ここでは、個々の画素を x、 y座標の座標値 (X, y)を用いて表すものとする。そして、 明度画像に含まれる各画素 (X, y)の画素値 (すなわち個々の画素の明度)を V (x, y )として表すものとする。上記の演算式では、 V (x, y)に対するフィルタリングによって 得られる画素 (X, y)の画素値を V' (X, y)とする。 [0079] また、上記の演算式における係数 magは、全てのフィルタ値に力かる係数である。 ここで、フィルタ値とは、畳み込み演算のカーネル f (i, j)のとる値である。 magとして、 十分に大きな値を用いる。例えば、 magとして 32以上の値を用いればよい。 Here, each pixel is expressed using coordinate values (X, y) of x and y coordinates. The pixel value of each pixel (X, y) included in the brightness image (that is, the brightness of each pixel) is expressed as V (x, y). In the above equation, the pixel value of the pixel (X, y) obtained by filtering on V (x, y) is V ′ (X, y). [0079] The coefficient mag in the above arithmetic expression is a coefficient that affects all filter values. Here, the filter value is a value taken by the kernel f (i, j) of the convolution operation. Use a sufficiently large value for mag. For example, a value of 32 or more may be used as mag.
[0080] 畳み込み演算のカーネル f (i, j)が満たすべき条件について、図 3を用いて説明す る。図 3は、畳み込み演算のカーネル f (i, j)の例を示す説明図である。カーネルは、 図 3のように例示された表の中央部では値 (フィルタ値)が正となり、表の周辺部では 値(フィルタ値)が負となり、各フィルタ値の総和が正であるものであればよい。このよう なカーネノレであれば、図 3に示すカーネノレ f (i, j)と同一のカーネノレでなくてもよい。  [0080] The conditions that must be satisfied by the kernel f (i, j) of the convolution operation will be described with reference to FIG. FIG. 3 is an explanatory diagram showing an example of the kernel f (i, j) of the convolution operation. The kernel has a positive value (filter value) at the center of the table illustrated in Fig. 3, a negative value (filter value) at the periphery of the table, and the sum of the filter values is positive. I just need it. If it is such a car nonore, it may not be the same carne nore as carne nore f (i, j) shown in FIG.
[0081] 表の中央部において f (i, j)の値が正であるということは、少なくとも、 iおよび jがそれ ぞれ i, jのとり得る最大値と最小値の中間の近傍値であるときに、 f (i, j) >0となって いることである。本例では、 iおよび jのとり得る最大値はいずれも 2であり、 iおよび jのと り得る最小値はいずれも— 2である。よって、 iおよび jがそれぞれその中間値 0である とき、 f (0, 0) = 13となり、この値は正である。よって、少なくとも iおよび jがそれぞれ i, jのとり得る最大値と最小値の中間の近傍値であるときに、 f (i, j) >0となっているとい う条件 (表の中央部において f (i, j)の値が正であるという条件)は満たしている。  [0081] The value of f (i, j) in the center of the table is positive, at least that i and j are values near the maximum and minimum values that i and j can take. At some point, f (i, j)> 0. In this example, the maximum value i and j can both be 2, and the minimum value i and j can all be -2. Therefore, when i and j each have an intermediate value of 0, f (0, 0) = 13 and this value is positive. Therefore, the condition that f (i, j)> 0 is satisfied (at the center of the table) when at least i and j are values in the middle of the maximum and minimum possible values of i and j, respectively. The condition that the value of f (i, j) is positive is satisfied.
[0082] 表の周辺部において f (i, j)の値が負であるということは、少なくとも、 iが iのとり得る 最大値または最小値であるとき、あるいは、 jが jのとり得る最大値または最小値である ときに、 f (i, j) < 0となっていることである。すなわち、ほたは jの少なくともいずれか一 方がその最大値または最小値となっているときに、 f (i, j) < 0となっていることである。 本例では、ほたは jの少なくとも 、ずれか一方がその最大値(2)または最小値(― 2) となっているときの値は、全て図 3に示す表の一番外側に示され、その値はいずれも 負となっている。よって、ほたは jの少なくともいずれか一方がその最大値または最小 値となっているときに、 f (i, j) < 0となっているという条件(表の周辺部において f (i, j) の値が負であると!/、う条件)も満たして 、る。  [0082] The value of f (i, j) is negative at the periphery of the table, at least when i is the maximum or minimum value that i can take, or when j is the maximum value that j can take This means that f (i, j) <0 when the value is the minimum value. In other words, f (i, j) <0 when at least one of j has the maximum or minimum value. In this example, the values when at least one of j is at its maximum value (2) or minimum value (-2) are all shown on the outermost side of the table shown in FIG. The values are both negative. Therefore, the condition is that f (i, j) <0 when at least one of j has the maximum value or the minimum value (f (i, j If the value of) is negative, the condition (! /) Is also satisfied.
[0083] 各フィルタ値の総和が正であるということは、各 i, jに応じた f (i, j)の値の総和が正 であるということである。図 3に示す各 f (i, j)の値の総和は 1であり、正であるので、図 3に例示するカーネルは、この条件も満たして 、る。  [0083] The sum of the filter values being positive means that the sum of the values of f (i, j) corresponding to each i and j is positive. Since the sum of the values of f (i, j) shown in FIG. 3 is 1 and is positive, the kernel illustrated in FIG. 3 also satisfies this condition.
[0084] 畳み込み演算は、上記の条件を満たすカーネルを用いた畳み込み演算であれば よぐ図 3に示すカーネル f (i, j)と同一のカーネルを用いた畳み込み演算に限定され ない。 [0084] A convolution operation is a convolution operation using a kernel that satisfies the above conditions. The convolution operation using the same kernel as the kernel f (i, j) shown in Fig. 3 is not limited.
[0085] なお、図 3に示すようにカーネルの値力^でない部分が等方的なフィルタをリング型 フィルタという。  Note that, as shown in FIG. 3, a filter in which the portion of the kernel that is not valued is isotropic is called a ring filter.
[0086] フィルタリング手段 4は、上記のような畳み込み演算を実行することによりフィルタリ ング処理を行い各画素毎に V'を算出したならば、その V'のデータを第 2の明度メモ リ 33に記憶させる。  [0086] When the filtering means 4 performs the filtering process by executing the above convolution operation and calculates V 'for each pixel, the data of V' is stored in the second brightness memory 33. Remember me.
[0087] 第 2の色変換手段 5は、第 2の明度メモリ 33に記憶されたデータ V'を HSV色空間 における明度成分とし、 HSV色空間における明度成分および色度成分から RGB成 分への変換を以下の変換式を用いて行う。ただし、以下の変換式では、 R, G, B, H , S, Vは 0〜1の値をとるものとしている。従って、 H, S, Vが 8ビットで表されている場 合には、 H, S, Vの値が 0〜1の範囲の値となるように前処理を行い、以下の変換式 を適用すればよい。また、 R, G, B (変換画像 6における R, G, B)を 8ビットで表す場 合には、以下の変換式により求めた R, G, Bを 8ビットで表すように変換すればよい。  [0087] The second color conversion means 5 uses the data V 'stored in the second brightness memory 33 as the brightness component in the HSV color space, and converts the brightness component and the chromaticity component in the HSV color space to the RGB components. The conversion is performed using the following conversion formula. However, in the following conversion formulas, R, G, B, H, S, and V are assumed to take values of 0 to 1. Therefore, when H, S, and V are represented by 8 bits, pre-processing is performed so that the values of H, S, and V are in the range of 0 to 1, and the following conversion formula is applied: do it. In addition, when R, G, B (R, G, B in the converted image 6) is represented by 8 bits, it is necessary to convert R, G, B obtained by the following conversion formula to represent 8 bits. Good.
[0088] 先ず、第 2の色変換手段 5は、色相 Hを用いて、
Figure imgf000018_0001
'11として11を算出する。そして 、第 2の色変換手段 5は、 hの整数部分を Iとする。さらに、第 2の色変換手段 5は、以 下の式により F, M, N, Kを算出する。
First, the second color conversion means 5 uses the hue H,
Figure imgf000018_0001
Calculate 11 as '11. Then, the second color conversion means 5 sets the integer part of h as I. Further, the second color conversion means 5 calculates F, M, N, and K by the following formula.
[0089] F=h-I  [0089] F = h-I
[0090] M=V- (1 -S)  [0090] M = V- (1 -S)
[0091] N=V- (1 - (S -F) )  [0091] N = V- (1-(S -F))
[0092] K=V- (1 - (S - (1 -F) ) )  [0092] K = V- (1-(S-(1 -F)))
[0093] そして、第 2の色変換手段 5は、 Iの値に応じて、以下のように R, G, Bを定める。  Then, the second color conversion means 5 determines R, G, and B as follows according to the value of I.
[0094] 1 = 0のとき、第 2の色変換手段 5は、 (R, G, B) = (V, Κ, M)とする。すなわち、 R When 1 = 0, the second color conversion unit 5 sets (R, G, B) = (V, Κ, M). That is, R
=V, G=K, B = Mとして、 R, G, Bを定める。  R, G, and B are determined as = V, G = K, and B = M.
[0095] 1= 1のとき、第 2の色変換手段 5は、 (R, G, B) = (N, V, M)とする。すなわち、 R When 1 = 1, the second color conversion unit 5 sets (R, G, B) = (N, V, M). That is, R
=N, G=V, B = Mとして、 R, G, Bを定める。  R, G, and B are determined as = N, G = V, and B = M.
[0096] 1 = 2のとき、第 2の色変換手段 5は、 (R, G, B) = (M, V, K)とする。すなわち、 R When 1 = 2, the second color conversion unit 5 sets (R, G, B) = (M, V, K). That is, R
=M, G=V, B=Kとして、 R, G, Bを定める。 [0097] 1 = 3のとき、第 2の色変換手段 5は、 (R, G, B) = (M, N, V)とする。すなわち、 R =M, G = N, B=Vとして、 R, G, Bを定める。 R, G, and B are defined as = M, G = V, and B = K. When 1 = 3, the second color conversion unit 5 sets (R, G, B) = (M, N, V). That is, R, G, and B are determined with R = M, G = N, and B = V.
[0098] 1=4のとき、第 2の色変換手段 5は、 (R, G, B) = (K, M, V)とする。すなわち、 R  When 1 = 4, the second color conversion unit 5 sets (R, G, B) = (K, M, V). That is, R
=K, G = M, B=Vとして、 R, G, Bを定める。  R, G, and B are defined as = K, G = M, and B = V.
[0099] 1 = 5のとき、第 2の色変換手段 5は、 (R, G, B) = (V, M, N)とする。すなわち、 R  [0099] When 1 = 5, the second color conversion means 5 sets (R, G, B) = (V, M, N). That is, R
=V, G = M, B = Nとして、 R, G, Bを定める。  R, G, and B are determined with = V, G = M, and B = N.
[0100] 第 2の色変換手段 5は、各画素に対応する色相 H、飽和度 S、および明度としたデ ータ V'から、上記のように R, G, Bへの変換を行い、変換画像 6を生成する。  [0100] The second color conversion means 5 performs conversion from the data V 'corresponding to the hue H, saturation S, and lightness corresponding to each pixel into R, G, B as described above. A converted image 6 is generated.
[0101] 上記の例では、第 1の色変換手段 2は、第 1の色変換手段 2は、 RGBの三原色表 現で表された原画像 1の成分を、明度が変化しても色度が変化しない色空間におけ る明度成分と色度成分に変換する。そして、フィルタリング手段 4が、フィルタリング処 理を実行して、明度 Vを V'に変換する。このとき、明度 Vが変化しても色度は変化せ ず、従って、明度の変化に伴い色度が 1点に収束してしまうことがない。そして、第 2 の色変換手段 5は、データ V'と色度を用いて、 RGBへの逆変換を行う。従って、原 画像 1の RGB成分カゝら変換された成分のうち、明度 Vのみを V,に変換し、 RGB成分 に逆変換を行える。フィルタリング手段 4は、明度 Vのみを V'に変換するので、変換 画像 6の色彩が淡くなつてしまうことを防止でき、人手により色の鮮ゃ力さを調整する 必要がなくなる。  [0101] In the above example, the first color conversion means 2 is the same as the first color conversion means 2 even if the chromaticity of the component of the original image 1 represented by the RGB primary color expression is changed. It is converted into a lightness component and a chromaticity component in a color space where does not change. Then, the filtering means 4 performs a filtering process to convert the lightness V to V ′. At this time, even if the brightness V changes, the chromaticity does not change. Therefore, the chromaticity does not converge to one point with the change of the brightness. Then, the second color conversion means 5 performs reverse conversion to RGB using the data V ′ and chromaticity. Therefore, among the components converted from the RGB component of the original image 1, only the brightness V can be converted to V, and the RGB component can be converted back. Since the filtering means 4 converts only the brightness V to V ′, it can prevent the color of the converted image 6 from fading, and it is not necessary to manually adjust the strength of the color.
[0102] また、フィルタリング手段 4は、既に述べたような条件を満足するカーネルを用いた 畳み込み演算を行うことによって、明度 Vを V'に変換する。従って、明度の変化を強 調することにより輪郭を生成するとともに、写真画像の陰影等の微妙な変化を反映し ないような変換を実現することができる。この結果、人手を介することなぐカラー画像 の画像データを、色の鮮やかなスケッチ風の画像を示す画像データに変換すること ができる。  [0102] Further, the filtering means 4 converts the lightness V to V 'by performing a convolution operation using a kernel that satisfies the above-described conditions. Therefore, it is possible to realize a conversion that does not reflect a subtle change such as a shadow of a photographic image while generating a contour by enhancing a change in brightness. As a result, it is possible to convert image data of a color image that does not require human intervention into image data that shows a vivid sketch-like image.
[0103] また、上記の例では、原画像 1の成分を、 HSV色空間(明度が変化しても色度が変 化しない色空間)における明度成分および色度成分に変換する場合を示したが、 H SV色空間以外の色空間への変換を行ってもよい。第 1の色変換手段 2は、原画像 1 の成分を、明度が変化しても色度の変化が少ない色空間(明度が、明度の取り得る 最大値になったときに、色度の範囲が 1点に収束しない色空間)における明度成分 および色度成分に変換してもよい。そして、第 2の色変換手段 5がその逆変換を行つ てもよい。この場合も、フィルタリング手段 4によって明度 Vを V,に変換したとしても、 色度の変化は少なぐ色度力 ^点に収束してしまうことがない。よって、変換画像 6の 色彩が淡くなつてしまうことを防止でき、人手により色の鮮ゃ力さを調整する必要がな くなる。従って、人手を介することなぐカラー画像の画像データを、色の鮮やかなス ケツチ風の画像を示す画像データに変換することができる。 [0103] Further, in the above example, the case where the component of the original image 1 is converted into the brightness component and the chromaticity component in the HSV color space (the color space in which the chromaticity does not change even if the brightness changes) is shown. However, conversion to a color space other than the HS V color space may be performed. The first color converting means 2 uses a color space in which the components of the original image 1 have little change in chromaticity even when the brightness changes When the maximum value is reached, it may be converted into a lightness component and a chromaticity component in a color space where the chromaticity range does not converge to one point. Then, the second color converting means 5 may perform the reverse conversion. In this case, even if the lightness V is converted to V, by the filtering means 4, the change in chromaticity does not converge to a small chromaticity force ^ point. Therefore, it is possible to prevent the color of the converted image 6 from fading, and it becomes unnecessary to manually adjust the strength of the color. Therefore, it is possible to convert color image data without human intervention into image data indicating a colorful sketch-like image.
[0104] なお、本発明では、色の鮮やかなスケッチ風の画像の画像データを得られるように することを目的としている。従って、第 1の色変換手段 2によって変換される明度成分 および色度成分を表現する色空間は、明度が変化しても色度が変化しない色空間、 あるいは、明度が、明度の取り得る最大値になったときに、色度の範囲力 ^点に収束 しない色空間であればよい。鮮やかな色を実現するためには、明度の値が高いとき に、色度の範囲が確保されていればよぐ明度の取り得る最小値における色度の範 囲は特に問題にならない。よって、明度がその最小値になったときに、色度の範囲が 1点に収束する力否かは特に問題にならない。 [0104] It is to be noted that an object of the present invention is to obtain image data of a colorful sketch-like image. Therefore, the lightness component converted by the first color conversion means 2 and the color space expressing the chromaticity component are the color space where the chromaticity does not change even if the lightness changes, or the lightness is the maximum that the lightness can take. Any color space that does not converge to the chromaticity range force when it reaches the value. In order to realize vivid colors, when the brightness value is high, the range of chromaticity at the minimum value that the brightness can take is sufficient if the range of chromaticity is secured. Therefore, whether or not the chromaticity range converges to one point when the lightness reaches its minimum value does not matter.
[0105] また、上記の例では、原画像 1が、 RGBを用いた三原色表現によって表された画像 データであるものとして説明した力 原画像 1が、任意の色空間における成分によつ て表された画像データであってよい。例えば、原画像 1が、 C (シアン)、 M (マジェン タ)、 γ (イェロー)、 K (ブラック)によって表された CMYK画像の画像データであって もよい。この場合、第 1の色変換手段 2は、 CMYK画像の画像データを、ー且、三刺 激値 XYZや均等色空間 CIELABなどを経由して RGBの三原色表現によって表され た画像データに変換すればよい。この変換では、例えば、 CMYKと三刺激値 XYZ の関係を示す測定データに基づいた線形補間方法による一般的な色変換方法が適 用できる。また、 ICCプロファイル等を利用してもよい。第 1の色変換手段 2は、このよ うに RGBの三原色表現によって表された画像データに変換した後、その画像データ を明度成分および色度成分に変換すればよい。また、第 2の色変換手段 5は、 RGB の三原色表現によって表された画像データから、ー且、三刺激値 XYZや均等色空 間 CIELAB等を経由して元の色空間の画像に変換すればよい。このときにも、 ICC プロファイル等を利用してもよ 、。 [0105] In the above example, the original image 1 described as the original image 1 is image data represented by three primary color representations using RGB is represented by components in an arbitrary color space. The image data may be processed. For example, the original image 1 may be image data of a CMYK image represented by C (cyan), M (magenta), γ (yellow), and K (black). In this case, the first color converting means 2 converts the image data of the CMYK image into image data represented by the three primary color representations of RGB via the tristimulus value XYZ and the uniform color space CIELAB. That's fine. In this conversion, for example, a general color conversion method using a linear interpolation method based on measurement data indicating the relationship between CMYK and tristimulus values XYZ can be applied. An ICC profile or the like may be used. The first color conversion means 2 may convert the image data into the lightness component and the chromaticity component after converting into the image data represented by the RGB three primary colors in this way. The second color conversion means 5 converts the image data represented by the RGB primary color representation into an image in the original color space via the tristimulus values XYZ and the uniform color space CIELAB. That's fine. At this time, ICC You can use a profile etc.
[0106] 実施の形態 2.  [0106] Embodiment 2.
上述の第 1の実施の形態では、第 1の色変換手段 2による変換で得られた成分のう ち、明度 Vに対してのみフィルタリング処理を実行し、色度 (色相 Hおよび飽和度 S) に対しては、処理を行っていない。それに対し、第 2の実施の形態では、飽和度 Sに 対しても処理を行う。飽和度 Sに対して、 Sの値に応じて、 Sの値を変化させないかあ るいはより大きな値に変化させる強調処理を行う。  In the first embodiment described above, the filtering process is executed only for the lightness V of the components obtained by the conversion by the first color conversion means 2, and the chromaticity (hue H and saturation S) is executed. Is not processed. On the other hand, in the second embodiment, processing is performed for the saturation S as well. Saturation degree S is enhanced according to the value of S so that the value of S is not changed or changed to a larger value.
[0107] 図 4は、本発明による画像処理装置の第 2の実施の形態を示す説明図である。第 2 の実施の形態における画像処理装置は、第 1の色変換手段 2と、色相メモリ 35と、第 1の飽和度メモリ 34と、第 1の明度メモリ 31と、強調処理手段 7と、フィルタリング手段 4と、第 2の飽和度メモリ 36と、第 2の明度メモリ 33と、第 2の色変換手段 5とを備える。 第 1の実施の形態と同様の構成部については、図 1と同一の符号を付し、詳細な説 明を省略する。  FIG. 4 is an explanatory view showing a second embodiment of the image processing apparatus according to the present invention. The image processing apparatus according to the second embodiment includes a first color conversion means 2, a hue memory 35, a first saturation memory 34, a first brightness memory 31, an enhancement processing means 7, and a filtering Means 4, second saturation memory 36, second brightness memory 33, and second color conversion means 5 are provided. The same components as those in the first embodiment are denoted by the same reference numerals as those in FIG. 1, and detailed description thereof is omitted.
[0108] 第 1の色変換手段 2は、第 1の実施の形態で説明したように、原画像 1の成分を、画 素毎に明度成分と色度成分とに変換する。色度成分は色相と飽和度とを含むが、第 1の色変換手段 2は、色相と飽和度を分離し、それぞれメモリに記憶させる。具体的 には、第 1の色変換手段 2は、原画像 1の変換処理によって得られた各画素の色相 H のデータを色相メモリ 35に記憶させ、各画素の飽和度 Sのデータを第 1の飽和度メモ リ 34に記憶させる。また、第 1の色変換手段 2は、第 1の実施の形態と同様に、各画 素の明度 Vのデータを第 1の明度メモリ 31に記憶させる。すなわち、本実施の形態で は、第 1の色変換手段 2は、原画像 1を変換して、明度、飽和度、および色相に分離 する。  As described in the first embodiment, the first color conversion means 2 converts the components of the original image 1 into lightness components and chromaticity components for each pixel. The chromaticity component includes the hue and the saturation, but the first color conversion means 2 separates the hue and the saturation and stores them in the memory. Specifically, the first color converting means 2 stores the hue H data of each pixel obtained by the conversion process of the original image 1 in the hue memory 35 and the saturation degree S data of each pixel is stored in the first color data. Is stored in memory 34. Further, the first color conversion means 2 stores the lightness V data of each pixel in the first lightness memory 31 as in the first embodiment. In other words, in the present embodiment, the first color conversion means 2 converts the original image 1 and separates it into lightness, saturation, and hue.
[0109] また、第 1の色変換手段 2は、明度が変化しても色度 (飽和度および色相)が変化し な!、かあるいは色度 (飽和度および色相)の変化が少な 、色空間における明度成分 と色度成分に変換する。第 1の実施の形態で説明したように、明度が変化しても色度 (飽和度および色相)の変化が少ない色空間とは、「明度が、明度の取り得る最大値 になったときに、色度 (飽和度および色相)の範囲が 0にならない(1点に収束しない) 色空間」を意味する。 [0110] 色相メモリ 35は、第 1の色変換手段 2による変換処理で得られた色相成分 Hのデー タを記憶する。第 1の飽和度メモリ 34は、第 1の色変換手段 2による変換処理で得ら れた飽和度成分 Sのデータを記憶する。第 1の明度メモリ 31は、第 1の色変換手段 2 による変換処理で得られた明度成分 Vのデータを記憶する。 [0109] Further, the first color conversion means 2 does not change the chromaticity (saturation degree and hue) even if the lightness changes! , Or changes in chromaticity (saturation and hue) to lightness and chromaticity components in the color space. As described in the first embodiment, a color space in which the change in chromaticity (saturation and hue) is small even when the lightness changes is “when the lightness reaches the maximum value that lightness can take. , A color space where the range of chromaticity (saturation and hue) does not become zero (does not converge to one point). The hue memory 35 stores the data of the hue component H obtained by the conversion process by the first color conversion means 2. The first saturation memory 34 stores data of the saturation component S obtained by the conversion process by the first color conversion means 2. The first brightness memory 31 stores data of the brightness component V obtained by the conversion process by the first color conversion means 2.
[0111] 強調処理手段 7は、第 1の飽和度メモリ 34に記憶された各 Sの値に応じて、 Sの値 を変化させないかあるいはより大きな値に変化させる強調処理を行う。強調処理後の 飽和度 Sを S'と表すこととする。また、強調処理手段 7による強調処理については後 述する。強調処理手段 7は、強調処理後の飽和度 S 'を第 2の飽和度メモリ 36に記憶 させる。  The enhancement processing means 7 performs enhancement processing that does not change the value of S or changes it to a larger value in accordance with the value of S stored in the first saturation memory 34. Let S ′ denote the saturation S after enhancement. The enhancement processing by the enhancement processing means 7 will be described later. The enhancement processing means 7 stores the saturation S ′ after the enhancement in the second saturation memory 36.
[0112] 第 2の飽和度メモリ 36は、強調処理手段 7が導出したデータ S 'を記憶する。  [0112] The second saturation memory 36 stores the data S 'derived by the enhancement processing means 7.
[0113] 第 2の色変換手段 5は、第 2の明度メモリ 33に記憶されたデータ V'を明度成分とし 、 V'と、第 2の飽和度メモリ 35に記憶された飽和度成分 S'のデータと、色相メモリ 35 に記憶された色相成分 Hのデータを用いて、第 1の色変換手段 2の変換処理の逆変 換処理を行う。すなわち、第 2の色変換手段 5は、 HSV色空間における明度成分お よび色度成分で表された画像データを、 RGBで表される三原色表現の画像データ に変換する。 The second color conversion means 5 uses the data V ′ stored in the second lightness memory 33 as the lightness component, V ′, and the saturation component S ′ stored in the second saturation memory 35. And the hue component H data stored in the hue memory 35 are used to perform the reverse conversion process of the conversion process of the first color conversion means 2. That is, the second color conversion means 5 converts the image data represented by the brightness component and the chromaticity component in the HSV color space into image data of the three primary colors represented by RGB.
[0114] 本実施の形態において、第 1の色変換手段 2、強調処理手段 7、フィルタリング手段 4、および第 2の色変換手段 5は、例えば、プログラムに従って動作する CPUによつ て実現される。プログラムは、画像処理装置が備える記憶装置(図示せず。 )に予め 記憶させておけばよい。また、色相メモリ 35、第 1の飽和度メモリ 34、第 2の飽和度メ モリ 36、第 1の明度メモリ 31、および第 2の明度メモリ 33は、例えば、画像処理装置 が備える記憶装置(図示せず。)によって実現される。  In the present embodiment, first color conversion means 2, enhancement processing means 7, filtering means 4, and second color conversion means 5 are realized by a CPU that operates according to a program, for example. . The program may be stored in advance in a storage device (not shown) included in the image processing apparatus. Also, the hue memory 35, the first saturation memory 34, the second saturation memory 36, the first brightness memory 31, and the second brightness memory 33 are, for example, storage devices (see FIG. (Not shown)).
[0115] 次に、動作について説明する。  Next, the operation will be described.
第 1の色変換手段 2は、 RGBの三原色表現で表された原画像 1が入力されると、そ の原画像 1を、画素毎に、 HSV色空間における明度成分 V、飽和度成分 H、および 色相成分 Hに変換する。この第 1の色変換手段 2による変換処理は、第 1の実施の形 態で示した第 1の色変換手段 2による変換処理と同様である。第 1の変換手段 2は、 各画素の色相成分 Hのデータを色相メモリ 35に記憶させる。同様に、各画素の飽和 度成分 Sのデータを第 1の飽和度メモリ 34に記憶させる。また、各画素の明度成分 V のデータを第 1の明度メモリ 31に記憶させる。 When the original image 1 expressed in RGB primary color representation is input, the first color conversion means 2 converts the original image 1 for each pixel with a lightness component V, a saturation component H, in the HSV color space. And convert to hue component H. The conversion process by the first color conversion means 2 is the same as the conversion process by the first color conversion means 2 shown in the first embodiment. The first conversion means 2 stores the hue component H data of each pixel in the hue memory 35. Similarly, saturation of each pixel The data of the degree component S is stored in the first saturation memory 34. Further, the data of the brightness component V of each pixel is stored in the first brightness memory 31.
[0116] 続いて、フィルタリング手段 4は、第 1の実施の形態と同様のフィルタリング処理を行 い、明度成分 Vのデータを V,に変換し、データ V'を第 2の明度メモリ 33に記憶させ る。 Subsequently, the filtering means 4 performs the same filtering process as in the first embodiment, converts the data of the lightness component V into V, and stores the data V ′ in the second lightness memory 33. Let me.
[0117] また、強調処理手段 7は、第 1の飽和度メモリ 34に記憶された各画素の飽和度成分 Sに対する強調処理を行い、強調処理後の飽和度成分 S'を第 2の飽和度メモリ 36に 記憶させる。  [0117] Further, the enhancement processing means 7 performs enhancement processing on the saturation component S of each pixel stored in the first saturation memory 34, and uses the saturation component S 'after enhancement processing as the second saturation level. Store in memory 36.
[0118] 強調処理手段 7は、例えば、以下のように強調処理を実行する。強調処理手段 7は 、第 1の飽和度メモリ 34から飽和度成分 Sの値を読み取る。そして、その飽和度成分 Sの値と、予め定められた閾値 (thと記す。)とを比較する。強調処理手段 7は、 Sが閾 値 th未満である場合には、 S ' =Sとして S'を求める。また、強調処理手段 7は、 Sが 閾値 th以上である場合には、 S 'の値を、 Sの取り得る最大値またはその最大値に近 い値(Smaxと記す。)として定める。例えば、 th= 32と定められていて、また、 Sが 0 〜255の範囲の値を取り得るとする。そして、 Smax= 255であるとする。強調処理手 段 7は、 Sく 32であるならば、 S' =3として3'を求める。また、強調処理手段 7は、 S ≥ 32であるならば、 S' = 255とする。  [0118] The enhancement processing means 7 executes the enhancement processing as follows, for example. The enhancement processing means 7 reads the value of the saturation component S from the first saturation memory 34. Then, the value of the saturation component S is compared with a predetermined threshold value (denoted as th). The enhancement processing means 7 determines S ′ as S ′ = S when S is less than the threshold value th. Further, when S is equal to or greater than the threshold th, the enhancement processing means 7 determines the value of S ′ as a maximum value that S can take or a value close to the maximum value (denoted as Smax). For example, it is assumed that th = 32, and S can take a value in the range of 0 to 255. Assume that Smax = 255. Emphasis processing means 7 finds 3 ′ with S ′ = 3 if S is 32. Further, the enhancement processing means 7 sets S ′ = 255 if S ≧ 32.
[0119] このように、 Sの値が閾値 th以上となったときに S ' = Smaxとする強調処理を行うこ とにより、最終的に得られる変換画像 6を、子供が描く絵画のような非常に鮮やかな 色の画像のデータとして生成することができる。  [0119] In this way, when the value of S becomes equal to or greater than the threshold th, by performing enhancement processing with S ′ = Smax, the finally obtained converted image 6 is like a picture drawn by a child. It can be generated as very vivid color image data.
[0120] また、上記の例では、 Sの値が閾値 th以上となったときに S ' = Smaxとする場合を 示したが、強調処理手段 7は、 Sの値の変化により S'がなだらかに変化するような関 数 S ' =g (S)により S'の値を定めてもよい。このような関数 g (S)の例を以下に示す。 以下に示す例でも、 Sが 0〜255の範囲の値を取り得るものとしている。  [0120] In the above example, the case where S '= Smax is set when the value of S is equal to or greater than the threshold value th. The value of S ′ may be determined by the function S ′ = g (S) that changes to An example of such a function g (S) is shown below. In the example shown below, it is assumed that S can take a value in the range of 0 to 255.
[0121] S,=S (Sく 32のとき)  [0121] S, = S (when S is 32)
S' =4- S- 96 (32≤S≤87のとき)  S '= 4- S- 96 (when 32≤S≤87)
S' = 255 (S≥88のとき)  S '= 255 (when S≥88)
[0122] このような関数によって定まる S 'を導出する場合、例えば、 0〜255の 256種類の S の値に応じた S,の値を予め算出しておく。そして、各 Sの値と、その Sの値に応じた S[0122] When deriving S 'determined by such a function, for example, 256 types of S from 0 to 255 The value of S, corresponding to the value of, is calculated in advance. And each S value and S according to that S value
,の値とを対応付けてルックアップテーブル(図示せず。)に予め記憶させておく。強 調処理手段 7は、このルックアップテーブルを参照することによって、 Sの値に応じた S 'の値を導出すればよい。 , And are stored in advance in a lookup table (not shown). The enhancement processing means 7 may derive the value of S ′ corresponding to the value of S by referring to this lookup table.
[0123] フィルタリング手段 4によるフィルタリング処理および強調処理手段 7による強調処 理の後、第 2の色変換手段 5は、第 2の明度メモリ 33に記憶されたデータ V'を明度 成分とし、 V'と、第 2の飽和度メモリ 35に記憶された飽和度成分 S 'のデータと、色相 メモリ 35に記憶された色相成分 Hのデータを用いて、第 1の色変換手段 2の変換処 理の逆変換処理を行う。この第 1の色変換手段 2による変換処理は、飽和度成分 Sの 変わりに S'を用いる点を除けば、第 1の実施の形態で示した第 2の色変換手段 5によ る変換処理と同様である。  After the filtering process by the filtering means 4 and the enhancement process by the enhancement processing means 7, the second color conversion means 5 uses the data V ′ stored in the second brightness memory 33 as the brightness component, and V ′ And using the saturation component S ′ data stored in the second saturation memory 35 and the hue component H data stored in the hue memory 35, the conversion processing of the first color conversion means 2 is performed. Inverse conversion processing is performed. The conversion process by the first color conversion unit 2 is performed by the second color conversion unit 5 shown in the first embodiment, except that S ′ is used instead of the saturation component S. It is the same.
[0124] 本実施の形態では、第 1の実施の形態と同様に、人手を介することなぐカラー画 像の画像データを、色の鮮やかなスケッチ風の画像の画像データに変換することが できる。また、子供が描く絵画のような非常に鮮ゃ力な色の画像の画像データに変換 したり、あるいは、もう少し飽和度が微妙に (なだらかに)変化することによって得られ る画像の画像データを生成することができる。  In the present embodiment, as in the first embodiment, it is possible to convert image data of a color image without human intervention into image data of a colorful sketch-like image. Also, the image data of the image obtained by converting the image data to a very vivid color image such as a picture drawn by a child, or by slightly changing the degree of saturation slightly (slowly). Can be generated.
[0125] また、第 1の実施の形態と同様、原画像 1は、任意の色空間における成分によって 表された画像データであってよい。例えば、 CMYK画像の画像データであってもよ い。この場合の、第 1の色変換手段 2および第 2の色変換手段 5の動作は、第 1の実 施の形態で説明した動作と同様である。  [0125] Also, as in the first embodiment, the original image 1 may be image data represented by components in an arbitrary color space. For example, it may be image data of a CMYK image. In this case, the operations of the first color conversion means 2 and the second color conversion means 5 are the same as those described in the first embodiment.
産業上の利用可能性  Industrial applicability
[0126] 本発明は、例えば、プロジェクタの色補正装置等の用途に適用できる。また、例え ば、プロジェクタの色補正機能をコンピュータで実現するためのプログラムにも適用で きる。 The present invention can be applied to uses such as a projector color correction apparatus, for example. For example, the present invention can be applied to a program for realizing a projector color correction function by a computer.

Claims

請求の範囲 The scope of the claims
[1] 任意の色空間で表されたカラー画像の画像データの成分を、明度が変化しても色 度が変化しない色空間または明度が最大値になったときに色度力 ^点に収束しない 色空間における明度および色度に変換する第 1の色変換手段と、  [1] Color image image components expressed in an arbitrary color space are converged to a color space where the chromaticity does not change even if the brightness changes or when the brightness reaches the maximum value ^ A first color conversion means for converting to lightness and chromaticity in a color space;
前記第 1の色変換手段による変換で得られた明度に対して空間フィルタリングを施 すフィルタリング手段と、  Filtering means for performing spatial filtering on the brightness obtained by the conversion by the first color conversion means;
前記空間フィルタリングが施された明度と、前記第 1の色変換手段による変換で得 られた色度とを、前記カラー画像の画像データの成分に変換する第 2の色変換手段 とを備えたことを特徴とする画像処理装置。  Second color conversion means for converting the lightness subjected to the spatial filtering and the chromaticity obtained by the conversion by the first color conversion means into image data components of the color image; An image processing apparatus.
[2] 第 1の色変換手段は、 RGB表現のカラー画像の画像データの RGB成分を、 HSV 色空間における明度および色度に変換し、 [2] The first color conversion means converts the RGB component of the image data of an RGB representation color image into brightness and chromaticity in the HSV color space,
第 2の色変換手段は、空間フィルタリングが施された明度と、前記第 1の色変換手 段による変換で得られた色度とを、 RGB成分に変換する請求項 1に記載の画像処理 装置。  2. The image processing device according to claim 1, wherein the second color conversion means converts the lightness subjected to spatial filtering and the chromaticity obtained by the conversion by the first color conversion means into RGB components. .
[3] フィルタリング手段は、カーネルを f (i, j)とした場合に、少なくとも iおよび jがそれぞ れ i, jのとり得る最大値と最小値の中間の近傍値であるときに f (i, j) >0を満足し、ほ たは jの少なくともいずれか一方がその最大値または最小値となっているときに f (i, j) く 0を満足し、各 i, jに応じた f (i, j)の総和が正であるという条件を満足する畳み込み 演算を明度に対して行うことにより、空間フィルタリングを施す請求項 1または請求項 2に記載の画像処理装置。  [3] When the kernel is f (i, j), the filtering means uses f (i) when at least i and j are neighboring values between the maximum and minimum possible values of i and j, respectively. i, j)> 0, and at least one of j is at its maximum or minimum value, f (i, j) satisfies 0 and depends on each i and j 3. The image processing device according to claim 1, wherein spatial filtering is performed by performing a convolution operation that satisfies a condition that a sum of f (i, j) is positive on the lightness.
[4] 任意の色空間で表されたカラー画像の画像データの成分を、明度が変化しても飽 和度および色相が変化しない色空間または明度が最大値になったときに飽和度およ び色相が 1点に収束しない色空間における明度、飽和度、および色相に変換する第 1の色変換手段と、  [4] The image data components of a color image expressed in an arbitrary color space are combined with the saturation level and the saturation level when the saturation or hue does not change even if the brightness changes or the brightness reaches the maximum value. A first color conversion means for converting lightness, saturation, and hue in a color space in which the hue does not converge to one point;
前記第 1の色変換手段による変換で得られた明度に対して空間フィルタリングを施 すフィルタリング手段と、  Filtering means for performing spatial filtering on the brightness obtained by the conversion by the first color conversion means;
前記第 1の色変換手段による変換で得られた飽和度に対して、飽和度の値に応じ て、飽和度の値を変化させないかあるいはより大きな値に変化させる強調処理を実 行する強調処理手段と、 For the saturation obtained by the conversion by the first color conversion means, emphasis processing is performed in which the saturation value is not changed or is changed to a larger value depending on the saturation value. Emphasis processing means to perform,
前記空間フィルタリングが施された明度と、前記強調処理が実行された飽和度と、 前記第 1の色変換手段による変換で得られた色相とを、前記カラー画像の画像デー タの成分に変換する第 2の色変換手段とを備えた  The lightness that has been subjected to the spatial filtering, the saturation that has been subjected to the enhancement processing, and the hue obtained by the conversion by the first color conversion means are converted into image data components of the color image. And a second color conversion means
ことを特徴とする画像処理装置。  An image processing apparatus.
[5] 第 1の色変換手段は、 RGB表現のカラー画像の画像データの RGB成分を、 HSV 色空間における明度、飽和度、および色相に変換し、 [5] The first color conversion means converts the RGB component of the image data of the RGB representation color image into brightness, saturation, and hue in the HSV color space,
第 2の色変換手段は、空間フィルタリングが施された明度と、強調処理が実行され た飽和度と、前記第 1の色変換手段による変換で得られた色相とを、 RGB成分に変 換する請求項 4に記載の画像処理装置。  The second color conversion means converts the lightness subjected to spatial filtering, the saturation degree subjected to the enhancement processing, and the hue obtained by the conversion by the first color conversion means into RGB components. The image processing apparatus according to claim 4.
[6] フィルタリング手段は、カーネルを f (i, j)とした場合に、少なくとも iおよび jがそれぞ れ i, jのとり得る最大値と最小値の中間の近傍値であるときに f (i, j) >0を満足し、ほ たは jの少なくともいずれか一方がその最大値または最小値となっているときに f (i, j) く 0を満足し、各 i, jに応じた f (i, j)の総和が正であるという条件を満足する畳み込み 演算を明度に対して行うことにより、空間フィルタリングを施す [6] When the kernel is set to f (i, j), the filtering means uses f (i) when at least i and j are neighboring values between the maximum and minimum values i and j can take. i, j)> 0, and at least one of j is at its maximum or minimum value, f (i, j) satisfies 0 and depends on each i and j Spatial filtering is performed by performing a convolution operation on the lightness that satisfies the condition that the sum of f (i, j) is positive.
請求項 4または請求項 5に記載の画像処理装置。  The image processing device according to claim 4 or 5.
[7] 強調処理手段は、飽和度の値が予め定められた閾値未満であるときには飽和度の 値を変化させず、飽和度の値が前記閾値を超えているときには飽和度の値を、飽和 度の取り得る最大値または当該最大値の近傍値に変化させる [7] The emphasis processing means does not change the saturation value when the saturation value is less than a predetermined threshold value, and saturates the saturation value when the saturation value exceeds the threshold value. Change to the maximum value that can be taken by the degree or a value close to the maximum value
請求項 4力 請求項 6のうちのいずれか 1項に記載の画像処理装置。  The image processing apparatus according to any one of claims 6 and 6.
[8] 強調処理手段は、飽和度の値を変数とする関数により定まる値を飽和度の値とする 請求項 4力 請求項 6のうちのいずれか 1項に記載の画像処理装置。 8. The image processing device according to claim 4, wherein the enhancement processing means uses a value determined by a function having a saturation value as a variable as a saturation value.
[9] 任意の色空間で表されたカラー画像の画像データの成分を、明度が変化しても色 度が変化しない色空間または明度が最大値になったときに色度力 ^点に収束しない 色空間における明度および色度に変換する第 1の色変換ステップと、 [9] Color image image components expressed in an arbitrary color space are converged to a color space where the chromaticity does not change even if the lightness changes or when the lightness reaches the maximum value ^ point A first color conversion step for converting to lightness and chromaticity in a color space;
前記第 1の色変換ステップでの変換で得られた明度に対して空間フィルタリングを 前記空間フィルタリングが施された明度と、前記第 1の色変換ステップでの変換で 得られた色度とを、前記カラー画像の画像データの成分に変換する第 2の色変換ス テツプとを含む Spatial filtering is applied to the lightness obtained by the conversion in the first color conversion step. The lightness subjected to the spatial filtering and the lightness obtained by the conversion in the first color conversion step. And a second color conversion step for converting the obtained chromaticity into image data components of the color image.
ことを特徴とする画像処理方法。  An image processing method.
[10] 第 1の色変換ステップで、 RGB表現のカラー画像の画像データの RGB成分を、 H SV色空間における明度および色度に変換し、 [10] In the first color conversion step, the RGB component of the image data of the RGB representation color image is converted to lightness and chromaticity in the H SV color space.
第 2の色変換ステップで、空間フィルタリングが施された明度と、前記第 1の色変換 ステップでの変換で得られた色度とを、 RGB成分に変換する  The lightness that has undergone spatial filtering in the second color conversion step and the chromaticity obtained by the conversion in the first color conversion step are converted into RGB components.
請求項 9に記載の画像処理方法。  The image processing method according to claim 9.
[11] フィルタリングステップで、カーネルを f (i, j)とした場合に、少なくとも iおよび jがそれ ぞれ i, jのとり得る最大値と最小値の中間の近傍値であるときに f (i, j) >0を満足し、 i または jの少なくともいずれか一方がその最大値または最小値となっているときに f (i, j) < 0を満足し、各 i, jに応じた f (i, j)の総和が正であるという条件を満足する畳み込 み演算を明度に対して行うことにより、空間フィルタリングを施す [11] In the filtering step, if f (i, j) is the kernel, at least i and j are neighboring values between the maximum and minimum possible values of i and j, respectively. i, j)> 0, and when i or j is at its maximum or minimum value, f (i, j) <0 is satisfied, depending on each i, j Perform spatial filtering by performing a convolution operation on the lightness that satisfies the condition that the sum of f (i, j) is positive.
請求項 9または請求項 10に記載の画像処理方法。  The image processing method according to claim 9 or 10.
[12] 任意の色空間で表されたカラー画像の画像データの成分を、明度が変化しても飽 和度および色相が変化しない色空間または明度が最大値になったときに飽和度およ び色相が 1点に収束しない色空間における明度、飽和度、および色相に変換する第 1の色変換ステップと、 [12] The image data components of a color image expressed in an arbitrary color space are the saturation and saturation values when the saturation or hue does not change even when the brightness changes or the brightness reaches the maximum value. And a first color conversion step for converting to lightness, saturation, and hue in a color space where the hue does not converge to one point;
前記第 1の色変換ステップでの変換で得られた明度に対して空間フィルタリングを 前記第 1の色変換ステップでの変換で得られた飽和度に対して、飽和度の値に応 じて、飽和度の値を変化させないかあるいはより大きな値に変化させる強調処理を実 行する強調処理ステップと、  Spatial filtering is applied to the lightness obtained by the conversion in the first color conversion step, and the saturation obtained by the conversion in the first color conversion step is determined according to the value of the saturation. An emphasis processing step for executing an emphasis process that does not change the saturation value or changes the saturation value to a larger value;
前記空間フィルタリングが施された明度と、前記強調処理が実行された飽和度と、 前記第 1の色変換ステップでの変換で得られた色相とを、前記カラー画像の画像デ ータの成分に変換する第 2の色変換ステップとを含む  The brightness that has been subjected to the spatial filtering, the saturation that has been subjected to the enhancement processing, and the hue obtained by the conversion in the first color conversion step are used as image data components of the color image. A second color conversion step to convert
ことを特徴とする画像処理方法。  An image processing method.
[13] 第 1の色変換ステップで、 RGB表現のカラー画像の画像データの RGB成分を、 H sv色空間における明度、飽和度、および色相に変換し、 [13] In the first color conversion step, the RGB component of the image data of the RGB color image is convert to lightness, saturation and hue in sv color space,
第 2の色変換ステップで、空間フィルタリングが施された明度と、強調処理が実行さ れた飽和度と、前記第 1の色変換ステップでの変換で得られた色相とを、 RGB成分 に変換する  In the second color conversion step, the lightness that has undergone spatial filtering, the saturation that has undergone enhancement processing, and the hue obtained by the conversion in the first color conversion step are converted into RGB components. Do
請求項 12に記載の画像処理方法。  The image processing method according to claim 12.
[14] フィルタリングステップで、カーネルを f (i, j)とした場合に、少なくとも iおよび jがそれ ぞれ i, jのとり得る最大値と最小値の中間の近傍値であるときに f (i, j) >0を満足し、 i または jの少なくともいずれか一方がその最大値または最小値となっているときに f (i, j) < 0を満足し、各 i, jに応じた f (i, j)の総和が正であるという条件を満足する畳み込 み演算を明度に対して行うことにより、空間フィルタリングを施す [14] In the filtering step, if f (i, j) is the kernel, at least i and j are neighboring values between the maximum and minimum possible values of i and j, respectively. i, j)> 0, and when i or j is at its maximum or minimum value, f (i, j) <0 is satisfied, depending on each i, j Perform spatial filtering by performing a convolution operation on the lightness that satisfies the condition that the sum of f (i, j) is positive.
請求項 12または請求項 13に記載の画像処理方法。  The image processing method according to claim 12 or claim 13.
[15] 強調処理ステップで、飽和度の値が予め定められた閾値未満であるときには飽和 度の値を変化させず、飽和度の値が前記閾値を超えて 、るときには飽和度の値を、 飽和度の取り得る最大値または当該最大値の近傍値に変化させる [15] In the emphasis processing step, when the saturation value is less than a predetermined threshold value, the saturation value is not changed, and when the saturation value exceeds the threshold value, the saturation value is changed. Change to the maximum possible value of saturation or a value close to the maximum
請求項 12から請求項 14のうちのいずれか 1項に記載の画像処理方法。  The image processing method according to any one of claims 12 to 14.
[16] 強調処理ステップで、飽和度の値を変数とする関数により定まる値を飽和度の値と する [16] In the emphasis processing step, the value determined by the function with the saturation value as a variable is the saturation value.
請求項 12から請求項 14のうちのいずれか 1項に記載の画像処理方法。  The image processing method according to any one of claims 12 to 14.
[17] コンピュータに、 [17] On the computer,
任意の色空間で表されたカラー画像の画像データの成分を、明度が変化しても色 度が変化しない色空間または明度が最大値になったときに色度力 ^点に収束しない 色空間における明度および色度に変換する第 1の色変換処理、  A color space in which the image data component of a color image expressed in an arbitrary color space does not change even if the brightness changes, or the chromaticity power ^ does not converge to a point when the brightness reaches the maximum value The first color conversion process to convert to lightness and chromaticity in
前記第 1の色変換処理での変換で得られた明度に対して空間フィルタリングを施す フィルタリング処理、および  Filtering processing for performing spatial filtering on the brightness obtained by the conversion in the first color conversion processing; and
前記空間フィルタリングが施された明度と、前記第 1の色変換処理での変換で得ら れた色度とを、前記カラー画像の画像データの成分に変換する第 2の色変換処理 を実行させるための画像処理プログラム。  Causing a second color conversion process to convert the lightness subjected to the spatial filtering and the chromaticity obtained by the conversion in the first color conversion process into image data components of the color image; Image processing program.
[18] コンピュータに、 第 1の色変換処理で、 RGB表現のカラー画像の画像データの RGB成分を、 HSV 色空間における明度および色度に変換する処理を実行させ、 [18] On the computer, In the first color conversion process, the RGB component of the image data of the RGB representation color image is converted to lightness and chromaticity in the HSV color space.
第 2の色変換処理で、空間フィルタリングが施された明度と、前記第 1の色変換処 理での変換で得られた色度とを、 RGB成分に変換する処理を実行させる  In the second color conversion process, execute a process of converting the lightness subjected to spatial filtering and the chromaticity obtained in the conversion in the first color conversion process into RGB components.
請求項 17に記載の画像処理プログラム。  The image processing program according to claim 17.
[19] コンピュータに、 [19] On the computer,
フィルタリング処理で、カーネルを f (i, j)とした場合に、少なくとも iおよび jがそれぞ れ i, jのとり得る最大値と最小値の中間の近傍値であるときに f (i, j) >0を満足し、ほ たは jの少なくともいずれか一方がその最大値または最小値となっているときに f (i, j) く 0を満足し、各 i, jに応じた f (i, j)の総和が正であるという条件を満足する畳み込み 演算を明度に対して行うことにより、空間フィルタリングを施す処理を実行させる 請求項 17または請求項 18に記載の画像処理プログラム。  In the filtering process, when f (i, j) is the kernel, at least i and j are f (i, j) when they are near the maximum and minimum possible values of i and j, respectively. )> 0, and when at least one of j is at its maximum or minimum value, f (i, j) satisfies 0 and f ( 19. The image processing program according to claim 17, wherein a process of applying spatial filtering is executed by performing a convolution operation that satisfies the condition that the sum of i, j) is positive on the lightness.
[20] コンピュータに、 [20] On the computer,
任意の色空間で表されたカラー画像の画像データの成分を、明度が変化しても飽 和度および色相が変化しない色空間または明度が最大値になったときに飽和度およ び色相が 1点に収束しない色空間における明度、飽和度、および色相に変換する第 1の色変換処理、  The image data components of a color image expressed in an arbitrary color space are the same as the saturation and hue when the saturation or hue does not change even if the brightness changes, or when the brightness reaches the maximum value. A first color conversion process that converts to lightness, saturation, and hue in a color space that does not converge to one point,
前記第 1の色変換処理での変換で得られた明度に対して空間フィルタリングを施す フィルタリング処理、  A filtering process for applying spatial filtering to the brightness obtained by the conversion in the first color conversion process;
前記第 1の色変換処理での変換で得られた飽和度に対して、飽和度の値に応じて 、飽和度の値を変化させないかあるいはより大きな値に変化させる強調処理、および 前記空間フィルタリングが施された明度と、前記強調処理が実行された飽和度と、 前記第 1の色変換処理での変換で得られた色相とを、前記カラー画像の画像データ の成分に変換する第 2の色変換処理  The enhancement processing for changing the saturation value to a larger value or not depending on the saturation value with respect to the saturation obtained by the conversion in the first color conversion processing, and the spatial filtering And a hue obtained by the conversion in the first color conversion process into a component of image data of the color image. Color conversion process
を実行させるための画像処理プログラム。  An image processing program for executing
[21] コンピュータに、 [21] On the computer,
第 1の色変換処理で、 RGB表現のカラー画像の画像データの RGB成分を、 HSV 色空間における明度、飽和度、および色相に変換する処理を実行させ、 第 2の色変換手処理で、空間フィルタリングが施された明度と、強調処理が実行さ れた飽和度と、前記第 1の色変換処理での変換で得られた色相とを、 RGB成分に変 換する処理を実行させる In the first color conversion process, the RGB component of the image data of the RGB representation color image is converted to lightness, saturation, and hue in the HSV color space. In the second color conversion manual processing, the brightness that has been spatially filtered, the saturation that has been subjected to the enhancement processing, and the hue obtained by the conversion in the first color conversion processing are converted into RGB components. Execute the process to convert
請求項 20に記載の画像処理プログラム。  The image processing program according to claim 20.
[22] コンピュータに、 [22] On the computer,
フィルタリング処理で、カーネルを f (i, j)とした場合に、少なくとも iおよび jがそれぞ れ i, jのとり得る最大値と最小値の中間の近傍値であるときに f (i, j) >0を満足し、ほ たは jの少なくともいずれか一方がその最大値または最小値となっているときに f (i, j) く 0を満足し、各 i, jに応じた f (i, j)の総和が正であるという条件を満足する畳み込み 演算を明度に対して行うことにより、空間フィルタリングを施す処理を実行させる 請求項 20または請求項 21に記載の画像処理プログラム。  In the filtering process, when f (i, j) is the kernel, at least i and j are f (i, j) when they are near the maximum and minimum possible values of i and j, respectively. )> 0, and when at least one of j is at its maximum or minimum value, f (i, j) satisfies 0 and f ( The image processing program according to claim 20 or 21, wherein a process of performing spatial filtering is executed by performing a convolution operation that satisfies the condition that the sum of i, j) is positive on the lightness.
[23] コンピュータに、 [23] On the computer,
強調処理で、飽和度の値が予め定められた閾値未満であるときには飽和度の値を 変化させず、飽和度の値が前記閾値を超えているときには飽和度の値を、飽和度の 取り得る最大値または当該最大値の近傍値に変化させる処理を実行させる  In the emphasis process, when the saturation value is less than a predetermined threshold value, the saturation value is not changed, and when the saturation value exceeds the threshold value, the saturation value can be taken. Execute processing to change to the maximum value or a value close to the maximum value
請求項 20から請求項 22のうちのいずれか 1項に記載の画像処理プログラム。  The image processing program according to any one of claims 20 to 22.
[24] コンピュータに、 [24] On the computer,
強調処理で、飽和度の値を変数とする関数により定まる値を飽和度の値とする処理 を実行させる  In the emphasis process, execute the process of setting the value determined by the function with the saturation value as a variable to the saturation value.
請求項 20から請求項 22のうちのいずれか 1項に記載の画像処理プログラム。  The image processing program according to any one of claims 20 to 22.
PCT/JP2006/306502 2005-03-30 2006-03-29 Image processing device, image processing method, and image processing program WO2006106750A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007512800A JP4375580B2 (en) 2005-03-30 2006-03-29 Image processing apparatus, image processing method, and image processing program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005-097510 2005-03-30
JP2005097510 2005-03-30

Publications (1)

Publication Number Publication Date
WO2006106750A1 true WO2006106750A1 (en) 2006-10-12

Family

ID=37073313

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/306502 WO2006106750A1 (en) 2005-03-30 2006-03-29 Image processing device, image processing method, and image processing program

Country Status (2)

Country Link
JP (1) JP4375580B2 (en)
WO (1) WO2006106750A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9183632B2 (en) 2010-11-24 2015-11-10 Nec Corporation Feeling-expressing-word processing device, feeling-expressing-word processing method, and feeling-expressing-word processing program
US9196042B2 (en) 2010-11-24 2015-11-24 Nec Corporation Feeling-expressing-word processing device, feeling-expressing-word processing method, and feeling-expressing-word processing program
US9224033B2 (en) 2010-11-24 2015-12-29 Nec Corporation Feeling-expressing-word processing device, feeling-expressing-word processing method, and feeling-expressing-word processing program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107610186B (en) * 2017-08-30 2020-12-22 深圳市华星光电半导体显示技术有限公司 Image processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000182044A (en) * 1998-12-14 2000-06-30 Canon Inc Method and picture for processing picture, picture processing system and recording medium
JP2002320100A (en) * 2001-04-24 2002-10-31 Sharp Corp Image processor, computer-readable recording medium having image processing program recorded thereon, and program
JP2005004582A (en) * 2003-06-13 2005-01-06 Nikon Corp Image processing apparatus, image processing program, and electronic camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000182044A (en) * 1998-12-14 2000-06-30 Canon Inc Method and picture for processing picture, picture processing system and recording medium
JP2002320100A (en) * 2001-04-24 2002-10-31 Sharp Corp Image processor, computer-readable recording medium having image processing program recorded thereon, and program
JP2005004582A (en) * 2003-06-13 2005-01-06 Nikon Corp Image processing apparatus, image processing program, and electronic camera

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9183632B2 (en) 2010-11-24 2015-11-10 Nec Corporation Feeling-expressing-word processing device, feeling-expressing-word processing method, and feeling-expressing-word processing program
US9196042B2 (en) 2010-11-24 2015-11-24 Nec Corporation Feeling-expressing-word processing device, feeling-expressing-word processing method, and feeling-expressing-word processing program
US9224033B2 (en) 2010-11-24 2015-12-29 Nec Corporation Feeling-expressing-word processing device, feeling-expressing-word processing method, and feeling-expressing-word processing program

Also Published As

Publication number Publication date
JPWO2006106750A1 (en) 2008-09-11
JP4375580B2 (en) 2009-12-02

Similar Documents

Publication Publication Date Title
JP4666274B2 (en) Color image processing apparatus and method
US7057768B2 (en) Automatic color balance
JP5795548B2 (en) High dynamic range image processing method using tone mapping to extended RGB space
US7382915B2 (en) Color to grayscale conversion method and apparatus
JP2007110576A (en) Color correction device for subject image data and control method thereof
EP3110129A1 (en) Color gamut mapping based on the mapping of cusp colors obtained through simplified cusp lines
US10602027B2 (en) Color gamut mapping using a lightness mapping based also on the lightness of cusp colors belonging to different constant-hue leaves
JP2006229925A (en) Dynamic image saturation enhancement apparatus
CN103248793A (en) Skin tone optimization method and device for color gamut transformation system
EP3429180B1 (en) Method and system for color gamut mapping
US20160379595A1 (en) Color gamut mapping based on the mapping of cusp colors defined in a linear device-based color space
JP2000224607A (en) Image processor
WO2023005115A1 (en) Image processing method, image processing apparatus, electronic device, and readable storage medium
WO2018100950A1 (en) Image processing device, digital camera, image processing program, and recording medium
JP4375580B2 (en) Image processing apparatus, image processing method, and image processing program
CN113850738A (en) Device and method for correcting purple border of image
WO2009093294A1 (en) Image signal processing device and image signal processing program
EP1895781B1 (en) Method of and apparatus for adjusting colour saturation
WO2012099013A1 (en) Image correction device, image correction display device, image correction method, program, and recording medium
JP2002077647A (en) Image processor
JP2002094826A (en) Image processing unit, image forming unit and method for processing image
US20120293533A1 (en) Methods for creating gamma correction and tone mapping effects in a digital image
JP2008271131A (en) Method and device for image processing, and image forming apparatus
JP2002314827A (en) Image processing method, image processing device, image forming device equipped therewith, image processing program, and recording medium
JP4176656B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium recording the program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2007512800

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 06730450

Country of ref document: EP

Kind code of ref document: A1