WO2016080011A1 - Color attribute display device, method, and program for digital image and image processing apparatus - Google Patents
Color attribute display device, method, and program for digital image and image processing apparatus Download PDFInfo
- Publication number
- WO2016080011A1 WO2016080011A1 PCT/JP2015/068537 JP2015068537W WO2016080011A1 WO 2016080011 A1 WO2016080011 A1 WO 2016080011A1 JP 2015068537 W JP2015068537 W JP 2015068537W WO 2016080011 A1 WO2016080011 A1 WO 2016080011A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- color
- cursor
- circle
- chromaticity
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/80—Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
Definitions
- the present invention relates to an apparatus, a method, a program, and an image processing apparatus using the color attribute display device.
- each value of hue, saturation, and brightness is changed by moving the slider bar or inputting a numerical value.
- a histogram is used as a means for visually expressing information relating to the three elements of the color attribute.
- the horizontal axis represents 0 to 255 gradations from the left
- the vertical axis represents the number of pixels
- luminance, RGB (average of R, G, B) and R / G / B individual distribution states are shown.
- a display that is sequentially switched and a display in which the distribution states of R / G / B are superimposed are displayed.
- Patent Document 1 displays a color map of the L * a * b * color system and specifies a color before and after correction and a color range affected by the correction.
- Patent Document 3 displays a chromaticity diagram (hue / saturation plan view, brightness plan view) as a method of executing a hue adjustment and a saturation adjustment by displaying a ring and operating a rotating ring or a saturation increase / decrease button.
- a method for performing hue adjustment and saturation adjustment by moving an operation color object displayed thereon is disclosed.
- the image data before the change is stored, and each image before and after the change can be switched and displayed.
- a method of displaying the images side by side is employed, and a dedicated color palette is displayed on the GUI display screen for the case where the user changes a specific color in the image to be changed to a favorite color.
- the present invention provides a color attribute display device, method and program for displaying the color attributes of all the pixels of the digital image so that the user can intuitively and accurately recognize them by simple data processing.
- the present invention was created for the purpose of providing an image processing apparatus capable of changing a digital image by directly changing the display contents.
- the first invention in the present application is a first storage means for storing digital image data, and all the pixels of the digital image data in the first storage means have N gradations (N is an integer of 16 or more) based on a luminance value.
- N is an integer of 16 or more
- the pixel sorting means for sorting and the gradation pixel groups sorted by the pixel sorting means
- each of the three sides corresponds to a clear color or pure color by mixing two colors of R, G, B in the luminance gradation,
- a second data creation means for creating second stage data corresponding to an achromatic color at the brightness gradation, and each second stage data for N gradations created by the second data creation means.
- mapping pixels in the equilateral triangle are projected into a circle by mapping, and the positions of every 120 ° in the central angle on the circumference of the circle are respectively R, G, B clear colors or It corresponds to pure color, and each other section of the circumference Gradation-specific chromaticity circle data corresponding to a clear color or a pure color by mixing two colors of R, G, and B in the gradation and whose center position corresponds to an achromatic color in the luminance gradation.
- HSV color in which mapping pixels are three-dimensionally distributed in a cylindrical color space, with third data creation means to be created and gradation-specific chromaticity circle data for N gradations created by the third data creation means.
- Second storage means for storing as spatial data; and display data creation means for creating display data of chromaticity circles when the HSV color space is viewed from the cylinder axis direction based on the HSV color space data of the second storage means; And a display control means for displaying the chromaticity circle on a display based on the display data created by the display data creation means.
- the display data creating means is configured to make the HSV color space in a direction perpendicular to the cylinder axis together with the display data of the chromaticity circle based on the HSV color space data of the second storage means.
- Display data of the front view seen from below (hereinafter referred to as “color space front view”) may be created, and the display control means may display the color space front view together with the chromaticity circle on the display. .
- a digital image color attribute display method corresponding to the first aspect, wherein a first step of storing digital image data in a first storage means, and the first step The second step of classifying all the pixels of the digital image data stored in the first storage means into N gradations based on the luminance value, and each tone pixel group classified in the second step The ratio of each light intensity value for any two of the three colors to the total value of the light intensity of R, G, and B is obtained for each, and the two ratios are expressed in orthogonal coordinates with the vertical axis and the horizontal axis.
- the chromaticity information of the pixel group belonging to the gradation is mapped as a pixel in an isosceles right triangle with the sides corresponding to each ratio as two orthogonal sides.
- Third step to create first stage data And mapping each mapping pixel in the right-angled isosceles triangle into an equilateral triangle by mapping for each of the first step data for N tones created in the third step, and the three vertices of the equilateral triangle are respectively Corresponds to the clear color or pure color of R, G, B at the luminance gradation, and the three sides correspond to the clear color or pure color by mixing two colors of R, G, B at the luminance gradation, respectively.
- mapping pixels in the equilateral triangle are projected into a circle by mapping, and the positions of every 120 ° in the central angle on the circumference of the circle are respectively R, G, B clear color or pure color at the luminance gradation.
- Sixth tone-specific chromaticity circle data for N tones created in the fifth step is stored in the second storage means as HSV color space data in which mapping pixels are three-dimensionally distributed in a cylindrical color space.
- the display data of the color space front view is generated together with the display data of the chromaticity circle based on the HSV color space data of the second storage means.
- the color space front view may be displayed on the display together with the chromaticity circle.
- the third invention of the present application relates to a digital image color attribute display program for causing a computer to execute each step of the color attribute display method.
- HSV color space data in which all the pixels of the digital image data are three-dimensionally mapped into the cylindrical color space as pixels for color attribute display. And the chromaticity circle is displayed based on the HSV color space data, or the chromaticity circle and the color space front view are displayed.
- the HSV color space data is created by the following procedure. (1) All pixels of digital image data are sorted into N pixel groups for each luminance gradation. (2) For each classified pixel group, mapping is performed on a pseudo xy chromaticity diagram having an isosceles right triangle. That is, the respective light intensity ratios for two colors of R, G, and B in each pixel are obtained, and the x-axis (horizontal axis) and y-axis (vertical axis) of the pseudo xy chromaticity diagram which is an orthogonal coordinate. ) In a range of 0 to 100%, pixels representing chromaticity are distributed in a right triangle having isosceles in the x-axis direction and the y-axis direction.
- the mapping data in the pseudo xy chromaticity diagram (isosceles right triangle) which is the first stage data is projected into the regular triangle by mapping to create the second stage data.
- the simplest method is to perform projection into an equilateral triangle formed by deformation by tilting the y-axis of the pseudo xy chromaticity diagram by 30 ° toward the x-axis. Then, the second stage data is created for N gradations.
- the mapping pixels within the equilateral triangle, which is the second stage data are projected into a circle by mapping to create tone-specific chromaticity circle data.
- the mapping in this case the simplest method is to perform projection from an equilateral triangle onto its circumscribed circle.
- the tone-specific chromaticity circle data is created for N gradations.
- the light intensity ratio of one color other than the two colors selected with the x axis and the y axis as the axes of the light intensity ratio is naturally from 100% to the light intensity ratio of the two colors. Therefore, the three vertices of the right-angled isosceles triangle of the first stage data and the regular triangle of the second stage data pass through the central angle of 120 ° in the circle of the chromaticity circle data by gradation. Three points on the circumference correspond to R, G, and B clear colors or pure colors at the luminance gradation, respectively.
- the points on each side in the right-angled isosceles triangle of the first stage data and the equilateral triangle of the second stage data and the section on the circumference other than the three points in the gradation-specific chromaticity circle data are respectively the brightness gradation. It corresponds to a clear color or a pure color by mixing two colors of R, G and B. Further, the center positions of the centroids in the isosceles right triangle (pseudo xy chromaticity diagram) of the first stage data and the regular triangle of the second stage data and the center position of the circle of the chromaticity circle data by gradation are respectively the values in the luminance gradation. Corresponds to coloring.
- tone gradation data for gradations corresponding to N gradations cylindrical HSV color space data in which all pixels of the digital image data are mapped as pixels for color attribute display is configured.
- the hue (Hue) changes along the circumferential direction of the cylinder
- the saturation (Saturation) increases according to the separation distance from the cylinder axis
- the lightness (Value) becomes N gradations in the direction of the cylinder axis. It has a configuration.
- a fourth invention of the present application includes the digital image color attribute display device according to the first invention, wherein the display control means of the device displays the chromaticity circle on a display, and the first An image processing apparatus for displaying an image of digital image data stored in a storage unit on the display, wherein the image processing apparatus can move in a circumferential direction along an outer periphery of the chromaticity circle displayed by the color attribute display apparatus.
- An operation tool display means for displaying a circular line passing through the second cursor, an operation input means capable of independently moving the first cursor and the second cursor, and the operation input means.
- the mapping pixel of the HSV color space stored in the second storage means of the color attribute display device is moved or deleted in the circumferential direction, Further, the mapping pixel in the HSV color space is moved or deleted in the radial direction according to the increase / decrease of the radius of the circular line accompanying the movement of the second cursor by the operation input means, and the moved mapping pixel is moved to
- the color space data changing means for changing to the color attribute value and the pixel of the digital image data in the first storage means corresponding to the mapping pixel to be changed (moved or deleted) by the color space data changing means are the same.
- display pixel data changing means for changing the color attribute are the same.
- the initial display position of the first cursor in the chromaticity circle is divided into M equal parts around the central axis of the HSV color space.
- M is an integer greater than or equal to 16), and is set to the outer peripheral position of the largest number of the mapping pixels included therein, and the initial display position of the second cursor in the chromaticity circle is
- a function of setting a position on the radius line corresponding to an average value of saturation values of all pixels of the digital image data stored in the first storage unit of the color attribute display device may be provided. desirable.
- a fifth invention of the present application comprises the digital image color attribute display device according to the second invention, wherein the display control means of the device displays the chromaticity circle and the color space front view on a display, An image processing apparatus for displaying an image of digital image data stored in the first storage means on the display, and movable in a circumferential direction along an outer periphery of the chromaticity circle displayed by the color attribute display apparatus A first cursor, a radius line connecting the first cursor and the center of the chromaticity circle and rotating as the first cursor moves, a second cursor movable on the radius line, the chromaticity circle, An operation tool display means for displaying a concentric circle passing through the second cursor and a third cursor movable in a direction parallel to the cylinder axis of the HSV color space in the color space front view; car And the operation input means capable of independently moving the second cursor and the third cursor, and the color according to the rotation of the radius line accompanying the movement of the first cursor by the operation input means
- the mapping pixel of the HSV color space stored in the second storage unit of the attribute display device is moved or deleted in the circumferential direction, and the radius of the circle is increased or decreased with the movement of the second cursor by the operation input unit.
- the HSV color space mapping pixel is moved or erased in the radial direction in response to the movement of the third cursor by the operation input means, and the HSV color space mapping pixel is parallel to the cylinder axis.
- Color space data changing means for moving or erasing the mapping pixel and changing the moved mapping pixel to a destination color attribute value;
- Display pixel data changing means for performing the same color attribute changing process on the pixels of the digital image data in the first storage means corresponding to the mapping pixels to be changed (moved or deleted) by the data changing means; It is characterized by that.
- the initial display position of the first cursor in the chromaticity circle is divided into M equal parts around the central axis of the HSV color space.
- M is an integer greater than or equal to 16), and is set to the outer peripheral position of the largest number of the mapping pixels included therein
- the initial display position of the second cursor in the chromaticity circle is Set on a radius line at a position corresponding to the average value of the saturation values of all the pixels of the digital image data stored in the first storage means of the color attribute display device, and the color space front view
- a function of setting the initial display position of the third cursor to the gradation position corresponding to the maximum number of mapping pixels among the gradation-specific chromaticity circles for N gradations created by the color attribute display device Keep Theft is desirable.
- the image processing apparatus of the present invention includes the color attribute display apparatus of the present invention, and a chromaticity circle (fourth and fifth inventions) in which mapping pixels corresponding to all the pixels of the digital image are distributed. ) And a color space front view (only the fifth aspect of the invention) are displayed on the display, and the color attributes (hue / saturation / lightness) of the image are presented to the user in an easily understandable manner.
- the mapping pixels can be moved by displaying operation tools on the chromaticity circle and the color space front view and operating them with an operation input means such as a mouse.
- the first cursor and the radius line which are operation tools, are used for changing the hue
- the second cursor and the circle are used for changing the saturation
- the third cursor is used for changing the brightness.
- the image processing apparatus of the present invention it is also possible to set the initial position of each cursor based on statistical information. For the user, the distribution state of mapping pixels in the chromaticity circle and the color space front view In addition, it is possible to provide meaningful information that serves as a guide for changing the color attribute of the image.
- the color attribute of all the pixels of the digital image is converted into a cylindrical HSV color space in which mapping pixels are three-dimensionally distributed by simple data processing ( Chromaticity circle or color space front view), and allows the user to more intuitively grasp the color attribute information of the image that is the premise of the image processing operation.
- the image processing device of the present invention uses the color attribute display device, displays the chromaticity circle and the color space front view, and displays an operation tool such as a cursor on them.
- the color attribute of the image can be changed by directly applying various changing operations to the distribution state of the mapping pixel, thereby realizing a better GUI for image processing.
- FIG. 6 is an image processing screen provided as a GUI in the image processing apparatus, where (A) shows a display state before reading the processing target image data, and (B) shows a display state after reading the processing target image data. Note that an image before processing and an image after processing are displayed in the display areas of the original image and the changed image in FIG. It is a figure which shows the relationship between the chromaticity circle by gradation which distributed the mapping pixel for a color attribute display, and cylindrical HSV color space. It is a figure which shows the process of producing the color circle by gradation which distributed the mapping pixel for a color attribute display.
- FIG. 6 is an image processing screen provided as a GUI in the image processing apparatus, where (A) shows a display state before reading the processing target image data, and (B) shows a display state after reading the processing target image data. Note that an image before processing and an image after processing are displayed in the display areas of the original image and the changed image in FIG. It is a figure which shows the relationship between the chromaticity circle by grad
- FIG. 5B shows a mapping regarding the position of the mapping pixel when the pseudo xy chromaticity diagram (A) of the right isosceles triangle is transformed into the equilateral triangle (B) in the process of creating the chromaticity circle by gradation shown in FIG. It is a figure for explaining how to obtain the coefficients m1, m2, m3 applied in.
- FIG. 5B is a diagram for explaining a mapping regarding the position of a mapping pixel when the regular triangle of FIG. 5A (B) is changed to a circumscribed circle in the process of creating tone-specific chromaticity circles shown in FIG. 4. It is explanatory drawing regarding the hue and saturation of the chromaticity circle according to gradation.
- FIG. 1 shows a configuration example of an image processing apparatus according to the embodiment, and generally a desktop or notebook personal computer is used.
- 1 is a central processing unit (CPU)
- 2 is a program for executing image display and image processing control
- main memory in which image data is expanded
- 3 is an image processing program (
- a hard disk (HDD) that stores various application programs including a retouch application), image data, and the like
- 4 is a disk drive that reads / writes image data and the like by accessing a disk 4a such as a DVD
- 5 is a LAN, WWW, or the like
- an input I / F 6 for inputting input operation signals of the mouse 6a and the keyboard 6b into the system F and 7 are video signals such as image data, which are displayed on the LCD panel.
- Video I / F, 8 to be output to the spray 7a is sound I / F for outputting an audio signal to the speaker 8a, each module is connected as shown to the system bus 9.
- the entire system is controlled by the CPU 1 based on the system control program of the HDD 3.
- the application program is developed by the CPU 1 in the main memory 2 based on input operation signals from the mouse 6 a and the keyboard 6 b. Execute.
- the image processing apparatus may further be provided with an I / F for capturing image data from an external storage medium such as a USB memory or various memory cards.
- the CPU 1 when there is an operation signal related to the execution instruction of the image processing program by the mouse 6a or the keyboard 6b, the CPU 1 reads the image processing program of the HDD 3 into the main memory 2 and executes it, and the image processing screen as a GUI Is displayed on the display 7a, and image data to be processed is selected from the HDD 3, the disk 4a, the LAN, or the like by operating the mouse 6a or the keyboard 6b.
- the CPU 1 that receives the selection signal reads the selected image data into the main memory 2.
- FIG. 2A shows an image processing screen 10 that is initially displayed after the image processing program is started.
- the lower right half of the menu bar 11 corresponds to the color attribute display area of the digital image, and a chromaticity circle 12 and a front view of a cylindrical HSV color space with the axial direction as the vertical direction.
- a color space front view 13 viewed from the side is displayed vertically.
- an unprocessed image (original image) display region 14 and a processed image (changed image) display region 15 are provided above and below.
- a hue processing mode / saturation processing mode selection unit 16a is located diagonally to the upper left of the chromaticity circle 12, and a lightness processing mode selection unit 16b is located in the upper left of the color space front view 13.
- the user can select one of the processing modes of hue / saturation / lightness when performing an image processing operation to be described later by turning ON / OFF the radio button of each selection unit 16a, 16b. Can be selected.
- FIG. 2B shows the image processing screen 10 after image data is captured by the file menu of the menu bar 11 and a predetermined procedure of the image processing program is executed.
- the read image data is developed in the main memory 2, and the image is displayed in the display area 14 of the original image, and all pixels of the image data are analyzed to obtain chromaticity circles as pixels for color attribute display. 12 and the color space front view 13 are mapped. Further, on the chromaticity circle 12 and the color space front view 13, a first cursor 17, a radius line 18, a second cursor 19, a circle line 20, and a third cursor 21 which are operation tools used for image processing operations described later. A level line 22 is also displayed.
- the cylindrical HSV color space is a basic color space for drawing the chromaticity circle 12 and the color space front view 13 in the color attribute display area, and the hue value changes in the circumferential direction of the cylinder.
- Consists of a coordinate system related to the color attribute that the saturation value increases according to the distance from the center (clear or pure color at the outermost periphery, the central axis is achromatic), and the luminance increases from 0 to 255 tones from the bottom surface to the top surface. It has been done. Therefore, as shown in FIG. 3, the columnar HSV color space can be configured by stacking tone-dependent chromaticity circles 30 (n) [n 0 to 255] related to each luminance in the axial direction.
- the degree circle 30 (n) is obtained by two-dimensionally mapping each pixel belonging to the nth luminance gradation in the image data based on the hue value and the saturation value.
- FIG. 4 is a chromaticity diagram of xy orthogonal coordinates taking a G ratio (0 to 100%), which is a ratio of a G light intensity to a total value of R, G, and B light intensity.
- mapping pixel this pixel for color attribute display is referred to as “mapping pixel” and is represented as “MP” in the drawing.
- the mapping pixels are distributed in the pseudo xy chromaticity diagram of a right isosceles triangle.
- the vertical axis (G ratio) of the degree diagram is tilted 30 ° toward the horizontal axis (R ratio), and the right angled isosceles triangle is transformed into an equilateral triangle.
- the mapping pixel is arranged in the equilateral triangle based on the mapping of the right isosceles triangle into the equilateral triangle, and the ratio (%) of the light intensity with respect to R, G, B at each vertex is (100, 0).
- , 0), (0,100,0), (0,0,100) are clear colors or pure colors, and each three sides are clear colors or pure colors by mixing two colors of R, G, and B. At the center of gravity, the color is achromatic (100, 100, 100).
- each side of the equilateral triangle is bulged outward and deformed to become an arc of the circumscribed circle.
- a tone-specific chromaticity circle 30 (n) shown in FIG. the mapping pixel is arranged in the circumscribed circle based on the mapping projected from the equilateral triangle into the circumscribed circle. Specifically, the mapping pixel is a deformed portion of a bulge shape.
- Each vertex of the equilateral triangle is a point on the circumference every 120 ° as a central angle and becomes a clear color or pure color regarding R, G, B, and other sections on the circumference are R , G, and B become a clear color or a pure color by mixing two colors, and the center of gravity of the regular triangle becomes the center of the circle and becomes an achromatic color.
- the tone-dependent chromaticity circle 30 (n) has the property that the hue changes to RGB in the circumferential direction of the circle, and the saturation increases as the distance from the center of the circle increases.
- the mapping pixels are distributed based on the chromaticity condition.
- 5A and 5B are mappings of mapping pixel positions that provide chromaticity information between the stages of the pseudo xy chromaticity diagram, the regular triangle, and the gradation-specific chromaticity circle 30 (n) shown in FIG. It is explanatory drawing which shows whether it is correspondence of. However, the necessary mathematical expressions are described as (1) to (17) in the figure.
- FIG. 5A is a pseudo xy chromaticity diagram that is a right-angled isosceles triangle represented by XY coordinates, with the X axis corresponding to the R ratio (%) and the Y axis corresponding to the G ratio (%). is doing.
- Equation (2) the length of a perpendicular line drawn from the center of gravity (xc, yc) to one side of a right isosceles triangle surrounding the region ⁇ M3> is given by Equation (3).
- the coefficient m3 corresponding to each mapping pixel in the region ⁇ M3> is given by Expression (4) that is the ratio of Expression (2) to Expression (3). Further, the same idea as described above is applied to any mapping pixel [coordinate (x, y)] in the region ⁇ M1> and the region ⁇ M2>, and each of the regions ⁇ M1> and ⁇ M2> Coefficients m1 and m2 corresponding to the mapping pixel are given by equations (5) and (6).
- the obtained coefficients m1, m2, and m3 are linear functions of x, y, and (x + y), respectively, but are transformed from a regular triangle described later to a tone-specific chromaticity circle 30 (n) (FIG. 5B). ).
- the regular triangle is represented by a line segment connecting the center of gravity of the regular triangle and each vertex.
- the area of each isosceles triangle (the angle formed by the isosceles is 120 °) in the case of being divided into three equal parts is 120 ° center angle including each isosceles triangle in the tone-specific chromaticity circle 30 (n) which is a circumscribed circle. It is none other than expanding to each sector area.
- the expansion from the isosceles triangle area to the fan-shaped area is, for example, the point (x2, y2) at an arbitrary position in the upper right isosceles triangle in FIG. x2 and y2) between the origin and the point (x2, y2) depending on the expansion rate k3 when it is assumed that the distance S from the origin of the intersection of the straight line connecting to the side of the equilateral triangle extends to the radius R of the circumscribed circle This means that the distance V extends to become the distance between the origin and the point (x3, y3) on the straight line.
- the expansion rate k3 can be calculated by equation (13a).
- Equation (4) R is obtained from Equation (12)
- V is obtained from Equation (15). Therefore, the coordinates of the point (x3, y3) are coordinates (x2, y2) as variables. And (x2, y2) can also be easily obtained from (x, y) via Equation (8) and Equations (10), (11). Data processing for generating tone-specific chromaticity circles 30 (n) from the chromaticity diagram can be executed at high speed.
- mapping pixel in the upper right isosceles triangle in FIG. 5B [corresponding to the region ⁇ M3> in (A) of FIG. 5A] has been described.
- the mapping pixel (x2 ′, y2 ′) at an arbitrary position in the region ⁇ M1> and the region ⁇ M2> in (A) of 5A] the same idea is applied to the gradation circle 30 (n ) Corresponding position (x3 ′, y3 ′).
- FIG. 5B the intersection coordinates between the straight line connecting the origin and the mapping pixel position (x2, y2) and the equilateral triangle are calculated, S is calculated, and this is substituted into equation (13).
- pixels mapped based on the R ratio (%) and the G ratio (%) with respect to the pseudo xy chromaticity diagram of the right isosceles triangle have the pseudo xy chromaticity diagram as an equilateral triangle and the equilateral triangle.
- coordinates are obtained based on the mapping corresponding to the change in planar shape, and tone-specific chromaticity circle 30 (n The distribution of mapping pixels to) is realized.
- the center of the circle is a mixture of three colors of R, G, and B and is achromatic, and the outermost circumference of the circle has only one color or Since it is a mixture of two colors, it corresponds to a clear color or a pure color, and hues (a and b in the figure) at symmetrical positions with respect to the center of the chromaticity circle have a complementary color relationship.
- FIG. 1 When the image processing program is activated by operating the mouse 6a or the keyboard 6b, the image processing screen data prepared by the program is read out to the video I / F 7, as shown in FIG.
- An initial screen 10 for image processing is displayed (S1).
- an instruction to select and import image data to be processed is given from the file menu in the menu bar 11, the image is received from the HDD 3, the disk 4a, the recording device on the external network, or the like that is the storage destination of the selected image data.
- Data is read and stored in the main memory 2 (S2, S3).
- the stored image data is read out to the video I / F 7 and displayed in the display area 14 of the original image on the image processing screen 10 (S4).
- each pixel is assigned to a luminance gradation of 0 to 255 based on the luminance value (S5).
- data of the chromaticity circle 30 (n) for each gradation is created for each luminance gradation by the method described in detail with reference to FIGS. 4, 5A, and 5B.
- the light intensity of R, G, B of each pixel belonging to the nth gradation is analyzed, and the ratio of the R and G light intensity to the total value of each R, G, B light intensity (R ratio, G Ratio), and mapping as a pixel for color attribute display on the pseudo xy chromaticity diagram based on the R ratio and G ratio of each pixel, and from the pseudo xy chromaticity diagram (right isosceles triangle) to an equilateral triangle, Further, projection is performed in order from an equilateral triangle to a circle (circumscribed circle), and in each process, mapping pixel positions are associated based on the mapping corresponding to the shape change, and the nth gradation level is obtained.
- Data of the tonal chromaticity circle 30 (n) is created (S6, S7). This procedure is executed for each pixel belonging to each luminance gradation from 0 to 255, and data of 256 sets of chromaticity circles 30 (n) by gradation is saved in the main memory 2 (S6 to S9 ⁇ S8). .
- the first cursor 17, the first cursor 17, and the chromaticity circle 12 are applied to the chromaticity circle 12.
- a radius line 18 connecting the centers, a second cursor 19 above the radius line 18 and a circle line 20 passing through the second cursor 19 concentrically with the chromaticity circle 12 are displayed.
- the first cursor 17 and the radius line 18 are used for changing the hue
- the second cursor 19 and the circular line 20 are used for changing the saturation
- the third cursor 21 and the level line 22 are used for changing the brightness. is there.
- FIG. 8 details step S12 of FIG. 7, and is a flowchart showing an initial display procedure of each operation tool.
- the first cursor 17 is displayed with the outer side of the chromaticity circle 12 at the position where the straight line that bisects the central angle of the divided space where Nc (i) is maximum and the outermost circumference of the chromaticity circle intersect as the initial position.
- a radius line 18 connecting the center of the chromaticity circle 12 and the first cursor 17 is displayed (S24).
- the circle line 20 is displayed at the position of the radius Dave from the center of the chromaticity circle 12, and the second cursor 19 is displayed at the intersection of the radius line 18 and the circle line 20 (S25, S26).
- the tone-specific chromaticity circle 30 that is on a line parallel to the cylinder axis from the position of the second cursor 19 of the chromaticity circle 12 toward the color space front view 13 and has the maximum number of pixels Nv (n).
- the third cursor 21 is displayed at a position corresponding to (n)
- the level line 22 is displayed at a position corresponding to the tone-specific chromaticity circle 30 (n) (S27, S28).
- the chromaticity circle 12 and the mapping pixels displayed in the color space front view 13 are displayed.
- the highest hue in the image, the average saturation of the entire image, and the luminance gradation of the largest number of pixels can be confirmed at the same time, and the subsequent operation tools 17, 18, 19, 20, 21, 22 can be This can be used as a guide for changing the color attribute of the used digital image.
- the chromaticity circle 12 and the color space are displayed together with the digital image in the display area 14 of the original image to be changed.
- the mouse 6a is used to right-click / left-click the button or the keyboard 6b.
- the digital image color attribute changing operation is performed by dragging and dropping the cursors 17, 19, and 21 (S13).
- FIG. 9 shows the basic operation of the mouse 6a and the operation tools 17, 18, 19, when setting the hue / saturation / lightness processing modes and performing the color attribute changing operation in step S13 of FIG. It is a figure explaining the relationship with the operation
- the first cursor 17 can move on the trajectory along the outer periphery of the chromaticity circle 12.
- the first cursor 17 can be moved to a free position on the trajectory by rotating the wheel of the mouse 6a.
- the mouse 6a is moved by dragging and dropping the trajectory.
- the radius line 18 always rotates with the movement of the first cursor, and becomes a guideline for changing the mapping pixel when changing the hue of the image, and is particularly useful when changing a part of the hue in the image. It is.
- the second cursor 19 can move on the radius line 18, and can be moved to a free position on the radius line 18 by rotating the wheel of the mouse 6a in the saturation processing mode.
- the mouse 6a is moved by dragging and dropping on the radius line 18.
- the circle line 20 is a circle that is concentric with the chromaticity circle 12 and always passes through the second cursor 19, and the radius thereof increases or decreases when the second cursor 19 moves on the radius line 18.
- the third cursor 21 can move on a straight line 31 parallel to the axis in the color space front view 13 through the position of the second cursor 19 on the chromaticity circle 12 side.
- the mouse 6a In the lightness processing mode, the mouse 6a can be rotated to a free gradation position on the trajectory by rotating the wheel.
- the mouse 6a When changing the lightness of the image, the mouse 6a is dragged and dropped on the straight line 31.
- the level line 22 corresponds to the tone-specific chromaticity circle 30 (n) where the third cursor 21 is located.
- the level line 22 is an indication of the change to the mapping pixel. This is useful when changing the brightness of the part.
- Each mapping pixel of the HSV color space data included in the rotation angle range (hue range to be changed) of the radius line 18 accompanying the movement of the first cursor 17 is the rotation angle amount about the cylinder axis. Can only be rotated. Therefore, the mapping pixels included in the range in the chromaticity circle 12 are changed from the hue before rotation to the hue after rotation, and the hue of the pixels on the image data side corresponding to these mapping pixels is also changed. For the color weak, there are many cases where the image appears more clearly by changing the hue, and this hue range changing process is effective in that sense.
- the radius line 18 is positioned at the center of the hue range to be changed by operating the wheel of the mouse 6a and moving the first cursor 17 along the outer periphery of the chromaticity circle 12. .
- the second cursor 19 is left-clicked with the mouse 6a and dragged and dropped on the radial line 18 in the inner direction, the ( As shown in B), the mapping pixel moves in a manner in which the entire HSV color space data is compressed from the cylindrical space to an elliptical columnar space having the radius line 18 as the short axis.
- the third cursor 21 is moved upward / downward, the luminance of all the mapping pixels is increased / decreased by the luminance gradation corresponding to the movement distance ⁇ V, and the luminance gradation of all the pixels of the image data is correspondingly increased. Since it is changed to be higher / lower, the brightness of the entire image can be changed.
- the mode is switched to the brightness processing mode, and the third cursor 21 at an arbitrary position on the straight line 31 is left-clicked with the mouse 6a to move on the straight line 3 by ⁇ V.
- the third cursor 21 moves in the direction by ⁇ V. Accordingly, if the third cursor 21 is moved upward / downward, the luminance of the mapping pixel within a certain hue range is increased / decreased by the luminance gradation corresponding to the moving distance ⁇ V, and the image data corresponding to the above-described image data is correspondingly increased.
- the luminance gradation of the pixels within the hue range is also changed to be higher / lower. That is, the luminance of pixels in a specific hue range in the image can be selectively changed.
- the third cursor 21 is moved to a predetermined luminance gradation position on the straight line 31 by operating the wheel of the mouse 6a. Then, as shown in FIG. 16A, while maintaining the brightness processing mode, the third cursor 21 is right-clicked with the mouse 6a while pressing the function key Fn of the keyboard 6b in the setting state of the brightness processing mode. As shown in FIG. 16B, when the pixel 31 is moved by ⁇ B gradation, the luminance of the mapping pixel belonging to the tone-specific chromaticity circle having the gradation higher than the gradation at the movement start position is set to ⁇ B gradation.
- the luminance of the mapping pixel belonging to the tone-specific chromaticity circle of the gradation lower than the gradation of the movement start position is decreased by ⁇ B gradation. Therefore, among the mapping pixels, the pixel belonging to the higher luminance side than the luminance gradation at the movement start position of the third cursor 21 belongs to the higher luminance and the lower luminance side due to the movement of the third cursor 21 under the above conditions. Since the luminance of the object is lower and the luminance gradation of the pixel of the image data is correspondingly changed correspondingly, the changing process for increasing the contrast can be performed. Note that the effect of changing the contrast differs depending on the position at which the third cursor 21 is first moved by the wheel operation of the mouse 6a.
- mapping pixels included in the lower color space of the sector (hatched area) formed on the chromaticity circle 12 within the rotation range of the radius line 18 accompanying the movement are left as they are, as shown in FIG.
- mapping pixels in another color space are replenished into the color space from the circumferential direction. That is, the distribution state of the mapping pixels in the other color spaces is expanded uniformly in the circumferential direction, and the mapping pixels are moved from the circumferential direction into the lower color space of the sector shape. Therefore, the number of mapping pixels having a hue defined in the HSV color space on the lower side of the sector increases, and the corresponding number of pixels of the image data has the hue, thereby enhancing the hue in the image. Can be processed.
- mapping pixels in other color spaces is uniformly expanded in the radial direction, and the mapping pixels are radially entered into the color space below the shaded annular region. Move from. Therefore, the number of mapping pixels having the saturation defined in the color space below the shaded annular area increases, and correspondingly, the number of pixels of the image data having the saturation increases.
- the saturation range can be emphasized.
- the mapping pixels near the highest luminance gradation are almost unchanged, and as shown in FIG. 19B, the mapping pixels distributed in the gradation slightly below are sent to the vicinity of the highest gradation.
- the mapping pixel belonging to the lower gradation moves to the lower side. Due to the processing on the mapping pixel in the color space front view 13, the pixel in the portion where halation occurs in the image data moves to the highest gradation side, and the image is visually reduced in halation.
- the mapping pixel included in the color space below the sector (hatched area) through which the radius line 18 passes in the chromaticity circle 12 has the sector central radius line.
- Each of them moves in the circumferential direction in a manner separated as a boundary, and as a result, there is no mapping pixel in the lower color space of the fan shape, and all the mapping pixels are in a more dense positional relationship in the circumferential direction.
- the pixels of the hue belonging to the fan-shaped range in the image data become hue values at new movement positions in the chromaticity circles 31 (n) for each hierarchy, and in the image, the fan-shaped pixels Therefore, there is no pixel having a hue value within the range of.
- the mapping pixels included in the color space below the ring-shaped range are inward and outward with a circle passing through the center of the ring-shaped range as a boundary. Each moves in a radial direction in a divided manner.
- the saturation pixel belonging to the ring-shaped range in the image data becomes the saturation value at the new movement position, and the image has the saturation value included in the ring-shaped range. There will be no pixels.
- the second cursor 19 is positioned outside the ring-shaped range by operating the wheel of the mouse 6a, and the second cursor 19 is left-clicked with the mouse 6a and dragged inside the ring-shaped range while pressing the function key F2. Even in the case of & drop, the same function / effect may be obtained.
- the third cursor 21 is moved in the direction of the straight line 31 by operating the wheel of the mouse 6a, so that it is positioned below the luminance range to be lost in the color space front view 13. .
- the third cursor 21 is left-clicked with the mouse 6a and dragged to the upper side of the luminance range to be lost. Drop it.
- mapping pixels included in the luminance range in the HSV color space move in the vertical direction in such a manner that the mapping pixels are divided into upper and lower sides with the central level of the luminance range as a boundary. And all the mapping pixels are distributed more densely in the vertical direction.
- pixels belonging to the luminance range in the image data become luminance values at the new movement position, and no pixel having a luminance value included in the luminance range exists from the image. .
- the third cursor 21 is positioned above the luminance range by operating the wheel of the mouse 6a, and left-clicked with the mouse 6a while pressing the function key F2 and dragged and dropped to the lower side of the luminance range. Similar functions and effects may be obtained.
- the above-mentioned “process for selectively erasing the hue range / saturation range / luminance range from the image” is a process for changing the image, but the erasure position of the color attribute is reduced by reducing the disappearance range of the color attribute. If it is provided, confidential information such as copyright information can be added to the image data without substantially affecting the image.
- the chromaticity circle 12 and the spatial front view 13 are displayed based on the HSV color space data and the image processing is executed.
- the hue and saturation are changed
- only the chromaticity circle 12 and the operation tools 17, 18, 19, and 20 related thereto may be displayed.
- a method of displaying the chromaticity circle 12 of this embodiment in combination with the conventional lightness changing slider bar may be used, but in this method, the selected hue range is used. It is impossible to change the brightness of pixels belonging to the saturation range.
- the present invention can be applied to an image processing apparatus and photo retouching software that change the hue, saturation, and brightness of a digital image using a GUI.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
- Color Image Communication Systems (AREA)
- Facsimile Image Signal Circuits (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
デジタルカメラ等で撮影したデジタル画像をコンピュータでレタッチする際には、画像の色属性に係る表示(数値やヒストグラム)が参照されるが、本発明は、その色属性を円柱状のHSV色空間への画素の分布状態として表示させる装置、方法及びプログラム並びにその色属性表示装置を利用した画像処理装置に関する。 When a digital image taken with a digital camera or the like is retouched with a computer, a display (numerical value or histogram) relating to the color attribute of the image is referred to. In the present invention, the color attribute is converted into a cylindrical HSV color space. The present invention relates to an apparatus, a method, a program, and an image processing apparatus using the color attribute display device.
従来から、デジタル画像の画像処理技術については、デジタルカメラの普及に伴って多種多様な提案がなされており、また多数のフォトレタッチソフトが出回って利用に供されている。
この種のソフトウェアは、一般的にデジタル画像の色属性、すなわち色相、彩度及び明度の3要素を変更可能とするものであり、それぞれの要素をGUI(Graphical User Interface)を利用して操作するようになっている。
Conventionally, with regard to image processing techniques for digital images, various proposals have been made with the spread of digital cameras, and a large number of photo retouching software has been available for use.
This kind of software is generally capable of changing three color attributes of a digital image, that is, hue, saturation, and brightness, and each element is operated using a GUI (Graphical User Interface). It is like that.
したがって、ユーザが、GUIの表示画面において変更対象画像の色属性情報を認識しながら、色相、彩度及び明度の各値をスライダーバーの移動や数値入力によって変更するようになっているが、前記色属性の3要素に係る情報を視覚的に表現する手段としては、一般にヒストグラム(Histogram)が用いられている。
ここに、ヒストグラムとしては、横軸に左から0~255階調を、縦軸に画素数をとり、輝度、RGB(R,G,Bの平均)及びR/G/B個別の分布状態を順次切り替えて表示するものや、R/G/Bの分布状態を重ね合せて表示させるものが一般的である。
Therefore, while the user recognizes the color attribute information of the change target image on the GUI display screen, each value of hue, saturation, and brightness is changed by moving the slider bar or inputting a numerical value. In general, a histogram is used as a means for visually expressing information relating to the three elements of the color attribute.
Here, as the histogram, the horizontal axis represents 0 to 255 gradations from the left, the vertical axis represents the number of pixels, and luminance, RGB (average of R, G, B) and R / G / B individual distribution states are shown. In general, a display that is sequentially switched and a display in which the distribution states of R / G / B are superimposed are displayed.
また、下記特許文献1~3などに開示されているGUIではスライダーバーによらない方式が提案されている。
具体的には、特許文献1ではL*a*b*表色系のカラーマップを表示させて修正の前後における色の指定や修正が及ぼす色範囲の指定を行う方式が、特許文献2では色相環を表示させて回転リングや彩度増減ボタンを操作して色相調整と彩度調整を実行する方式が、特許文献3では色度図(色相・彩度平面図、明度平面図)を表示させて、その上に表示される操作用の色オブジェクトを移動させることにより色相調整や彩度調整を実行する方式が、それぞれ開示されている。
Further, the GUI disclosed in the following
Specifically,
また、色属性の変更によるデジタル画像への反映度合いを確認するには、変更前の画像データも記憶させておいて、変更前後の各画像を切り換えて表示できるようにする方法や、変更前後の各画像を並置させて表示する方法が採用されており、更に変更対象画像の中の特定の色をユーザが好みの色に変更するような場合のために、GUIの表示画面に専用の色パレットを用意しておいて選択させるものもある。 In addition, in order to check the degree of reflection on the digital image due to the change of the color attribute, the image data before the change is stored, and each image before and after the change can be switched and displayed. A method of displaying the images side by side is employed, and a dedicated color palette is displayed on the GUI display screen for the case where the user changes a specific color in the image to be changed to a favorite color. Some are prepared and selected.
ところで、フォトレタッチソフトに代表される画像処理においては、変更対象となるデジタル画像の色属性が如何なる傾向にあるのかを容易に確認でき、それに基づいてデジタル画像が所望の表示状態となるように色相、彩度及び明度を簡単な操作で自在に変更できることが望ましい。 By the way, in image processing typified by photo retouching software, it is possible to easily confirm the tendency of the color attribute of the digital image to be changed, and based on this, the hue is adjusted so that the digital image is in a desired display state. It is desirable that the saturation and brightness can be freely changed by a simple operation.
しかしながら、デジタル画像の色属性を表現する手段としては、上記のようにヒストグラムによるものが広範に普及しており、多くのフォトレタッチソフトでその方式が用いられているのが実情である。
なお、前記特許文献1~3においてはデジタル画像自体が有する色属性の表示・確認については格別に言及していない。
また、前記特許文献4では「画像データ(L:明度,H:色相,S:彩度)の頻度分布及び統計データ(平均値、モード、最大値、最小値等々)を求めて表示する」旨の説明がなされているが、具体的な開示がなされているわけではなく、「頻度分布」の表示と記載されていることからみてヒストグラムのような表示でしかない。
However, as described above, histograms are widely used as means for expressing the color attributes of digital images, and the actual situation is that the method is used in many photo retouching software.
In
In
一方、フォトレタッチソフト等のユーザにとって、ヒストグラムが表現するデジタル画像の色属性と実際のデジタル画像の色合いとの関連性を理解しながら色属性の変更操作を的確に実行できるようになるには、相当の経験や練度が必要とされ、従来からこの課題についての新規なアプローチが切望されている。 On the other hand, for users such as photo retouching software, in order to be able to accurately perform the color attribute changing operation while understanding the relationship between the color attribute of the digital image represented by the histogram and the hue of the actual digital image, Experience and skill are required, and a new approach to this issue has long been eagerly desired.
そこで、本発明は、簡単なデータ処理によってユーザがデジタル画像の全画素が有する色属性を直感的且つ的確に認識できるように表示する色属性表示装置、方法及びプログラムを提供すると共に、併せてその表示内容に対して直接的に変更操作を行うことによりデジタル画像の変更を行えるようにした画像処理装置を提供することを目的として創作された。 Therefore, the present invention provides a color attribute display device, method and program for displaying the color attributes of all the pixels of the digital image so that the user can intuitively and accurately recognize them by simple data processing. The present invention was created for the purpose of providing an image processing apparatus capable of changing a digital image by directly changing the display contents.
本願における第1の発明は、デジタル画像データを記憶する第1記憶手段と、前記第1記憶手段のデジタル画像データの全画素を輝度値に基づいてN階調(Nは16以上の整数)に分別する画素分別手段と、前記画素分別手段が分別した各諧調の画素群について、各画素毎にR(赤色),G(緑色),B(青色)の光強度の合計値に対する3色の内のいずれか2色に係る各光強度値の比率を求め、前記2つの比率を縦軸と横軸にとった直交座標である擬似xy色度図の座標上にマッピングすることにより、前記各比率に対応する辺を直交二辺とした直角二等辺三角形内に当該階調に属する画素群の色度情報を画素としてマッピングした第1段階データを作成する第1のデータ作成手段と、前記第1のデータ作成手段が作成したN階調分の各第1段階データについて、前記直角二等辺三角形内にマッピングされた色度情報に係る画素(以下、「マッピング画素」という)を写像によって正三角形内に射影させて、その正三角形の三頂点がそれぞれ当該輝度階調でのR,G,Bの清色又は純色に相当し、各三辺上がそれぞれ当該輝度階調でのR,G,Bの内の2色混合による清色又は純色に相当し、且つ重心位置が当該輝度階調での無彩色に相当する第2段階データを作成する第2のデータ作成手段と、前記第2のデータ作成手段が作成したN階調分の各第2段階データについて、前記正三角形内のマッピング画素を写像によって円形内に射影させて、その円の円周における中心角で120°毎の位置がそれぞれ当該輝度階調でのR,G,Bの清色又は純色に相当し、円周の他の区間がそれぞれ当該輝度階調でのR,G,Bの内の2色混合による清色又は純色に相当し、且つその円の中心位置が当該輝度階調での無彩色に相当する諧調別色度円データを作成する第3のデータ作成手段と、前記第3のデータ作成手段が作成したN階調分の諧調別色度円データを、円柱状の色空間にマッピング画素が3次元的に分布したHSV色空間データとして記憶する第2記憶手段と、前記第2記憶手段のHSV色空間データに基づいて、そのHSV色空間を円柱軸方向から見た色度円の表示データを作成する表示データ作成手段と、前記表示データ作成手段が作成した表示データに基づいて、前記色度円をディスプレイに表示させる表示制御手段とを具備したことを特徴とするデジタル画像の色属性表示装置に係る。 The first invention in the present application is a first storage means for storing digital image data, and all the pixels of the digital image data in the first storage means have N gradations (N is an integer of 16 or more) based on a luminance value. Of the three colors for the total value of the light intensity of R (red), G (green), and B (blue) for each pixel, the pixel sorting means for sorting and the gradation pixel groups sorted by the pixel sorting means By calculating the ratio of each light intensity value relating to any one of the two colors and mapping the two ratios onto the coordinates of the pseudo xy chromaticity diagram which is an orthogonal coordinate with the vertical axis and the horizontal axis, A first data creating means for creating first stage data in which chromaticity information of a pixel group belonging to the gradation is mapped as a pixel in an isosceles right triangle having sides corresponding to two orthogonal sides; Each first stage for N gradations created by the data creation means For the floor data, a pixel related to chromaticity information mapped in the right-angled isosceles triangle (hereinafter referred to as “mapping pixel”) is projected into the regular triangle by mapping, and each of the three vertices of the regular triangle corresponds to the luminance. It corresponds to a clear color or pure color of R, G, B in gradation, and each of the three sides corresponds to a clear color or pure color by mixing two colors of R, G, B in the luminance gradation, And a second data creation means for creating second stage data corresponding to an achromatic color at the brightness gradation, and each second stage data for N gradations created by the second data creation means. The mapping pixels in the equilateral triangle are projected into a circle by mapping, and the positions of every 120 ° in the central angle on the circumference of the circle are respectively R, G, B clear colors or It corresponds to pure color, and each other section of the circumference Gradation-specific chromaticity circle data corresponding to a clear color or a pure color by mixing two colors of R, G, and B in the gradation and whose center position corresponds to an achromatic color in the luminance gradation. HSV color in which mapping pixels are three-dimensionally distributed in a cylindrical color space, with third data creation means to be created and gradation-specific chromaticity circle data for N gradations created by the third data creation means. Second storage means for storing as spatial data; and display data creation means for creating display data of chromaticity circles when the HSV color space is viewed from the cylinder axis direction based on the HSV color space data of the second storage means; And a display control means for displaying the chromaticity circle on a display based on the display data created by the display data creation means.
また、この第1の発明においては、前記表示データ作成手段が、前記第2記憶手段のHSV色空間データに基づいて、前記色度円の表示データと共に、HSV色空間を円柱軸に垂直な方向から見た正面図(以下、「色空間正面図」という)の表示データを作成し、前記表示制御手段が、前記色度円と共に、前記色空間正面図をディスプレイに表示させるようにしてもよい。 In the first aspect of the invention, the display data creating means is configured to make the HSV color space in a direction perpendicular to the cylinder axis together with the display data of the chromaticity circle based on the HSV color space data of the second storage means. Display data of the front view seen from below (hereinafter referred to as “color space front view”) may be created, and the display control means may display the color space front view together with the chromaticity circle on the display. .
本願の第2の発明は、前記第1の発明に対応するデジタル画像の色属性表示方法に係り、デジタル画像データを第1記憶手段に記憶させる第1のステップと、前記第1のステップで前記第1記憶手段に記憶させたデジタル画像データの全画素を、輝度値に基づいてN階調に分別する第2のステップと、前記第2のステップで分別した各諧調の画素群について、各画素毎にR,G,Bの光強度の合計値に対する3色の内のいずれか2色に係る各光強度値の比率を求め、前記2つの比率を縦軸と横軸にとった直交座標である擬似xy色度図の座標上にマッピングすることにより、前記各比率に対応する辺を直交二辺とした直角二等辺三角形内に当該階調に属する画素群の色度情報を画素としてマッピングした第1段階データを作成する第3のステップと、前記第3のステップで作成したN階調分の各第1段階データについて、前記直角二等辺三角形内のマッピング画素を写像によって正三角形内に射影させて、その正三角形の三頂点がそれぞれ当該輝度階調でのR,G,Bの清色又は純色に相当し、各三辺上がそれぞれ当該輝度階調でのR,G,Bの内の2色混合による清色又は純色に相当し、且つ重心位置が当該輝度階調での無彩色に相当する第2段階データを作成する第4のステップと、前記第4のステップで作成したN階調分の各第2段階データについて、前記正三角形内のマッピング画素を写像によって円形内に射影させて、その円の円周における中心角で120°毎の位置がそれぞれ当該輝度階調でのR,G,Bの清色又は純色に相当し、円周の他の区間がそれぞれ当該輝度階調でのR,G,Bの内の2色混合による清色又は純色に相当し、且つその円の中心位置が当該輝度階調での無彩色に相当する諧調別色度円データを作成する第5のステップと、前記第5のステップで作成したN階調分の諧調別色度円データを、円柱状の色空間にマッピング画素が3次元的に分布したHSV色空間データとして第2記憶手段に記憶させる第6のステップと、前記第6のステップで前記第2記憶手段に記憶させたHSV色空間データに基づいて、そのHSV色空間を円柱軸方向から見た色度円の表示データを作成する第7のステップと、前記第7のステップで作成した表示データに基づいて、前記色度円をディスプレイに表示させる第8のステップとを、コンピュータによって実行させることを特徴とする。 According to a second aspect of the present invention, there is provided a digital image color attribute display method corresponding to the first aspect, wherein a first step of storing digital image data in a first storage means, and the first step The second step of classifying all the pixels of the digital image data stored in the first storage means into N gradations based on the luminance value, and each tone pixel group classified in the second step The ratio of each light intensity value for any two of the three colors to the total value of the light intensity of R, G, and B is obtained for each, and the two ratios are expressed in orthogonal coordinates with the vertical axis and the horizontal axis. By mapping on the coordinates of a certain pseudo xy chromaticity diagram, the chromaticity information of the pixel group belonging to the gradation is mapped as a pixel in an isosceles right triangle with the sides corresponding to each ratio as two orthogonal sides. Third step to create first stage data And mapping each mapping pixel in the right-angled isosceles triangle into an equilateral triangle by mapping for each of the first step data for N tones created in the third step, and the three vertices of the equilateral triangle are respectively Corresponds to the clear color or pure color of R, G, B at the luminance gradation, and the three sides correspond to the clear color or pure color by mixing two colors of R, G, B at the luminance gradation, respectively. And the fourth step of creating the second stage data corresponding to the achromatic color at the brightness gradation and the second stage data for the N gradations created in the fourth step, The mapping pixels in the equilateral triangle are projected into a circle by mapping, and the positions of every 120 ° in the central angle on the circumference of the circle are respectively R, G, B clear color or pure color at the luminance gradation. The other sections of the circumference are R, G, A fifth step of creating tone-specific chromaticity circle data corresponding to a clear color or a pure color by mixing two colors of B and having a center position of the circle corresponding to an achromatic color in the luminance gradation; Sixth tone-specific chromaticity circle data for N tones created in the fifth step is stored in the second storage means as HSV color space data in which mapping pixels are three-dimensionally distributed in a cylindrical color space. And a seventh step of creating display data of a chromaticity circle when the HSV color space is viewed from the cylinder axis direction based on the HSV color space data stored in the second storage means in the sixth step. And an eighth step of displaying the chromaticity circle on a display based on the display data created in the seventh step.
また、この第2の発明においては、前記第7のステップにおいて、前記第2記憶手段のHSV色空間データに基づいて、前記色度円の表示データと共に、色空間正面図の表示データを作成し、前記第8のステップにおいて、前記色度円と共に、前記色空間正面図をディスプレイに表示させるようにしてもよい。 In the second aspect of the invention, in the seventh step, the display data of the color space front view is generated together with the display data of the chromaticity circle based on the HSV color space data of the second storage means. In the eighth step, the color space front view may be displayed on the display together with the chromaticity circle.
そして、本願の第3の発明は、前記色属性表示方法の各ステップをコンピュータに実行させるデジタル画像の色属性表示プログラムに係る。 The third invention of the present application relates to a digital image color attribute display program for causing a computer to execute each step of the color attribute display method.
このように、本願発明のデジタル画像の色属性表示装置、方法及びプログラムでは、デジタル画像データの全画素を円柱状の色空間に色属性表示用の画素として3次元的にマッピングしたHSV色空間データを作成し、そのHSV色空間データに基づいて色度円を表示させ又は色度円と色空間正面図を表示させる。 Thus, in the digital image color attribute display device, method and program of the present invention, HSV color space data in which all the pixels of the digital image data are three-dimensionally mapped into the cylindrical color space as pixels for color attribute display. And the chromaticity circle is displayed based on the HSV color space data, or the chromaticity circle and the color space front view are displayed.
そして、HSV色空間データは次のような手順で作成されている。
(1) デジタル画像データの全画素を輝度諧調毎のN組の画素群に分別する。
(2) 分別された各画素群毎に、外形が二等辺直角三角形である擬似xy色度図に対してマッピングする。すなわち、各画素におけるR,G,Bの内の2色についてぞれぞれの光強度比率を求めて、直交座標である擬似xy色度図のx軸(横軸)とy軸(縦軸)を0~100%の範囲にとって各画素をマッピングすると、x軸方向とy軸方向を二等辺とする直角三角形の中に色度を表す画素が分布したものとなる。そして、これが第1段階データであり、N階調分作成される。
(3) 第1段階データである擬似xy色度図(二等辺直角三角形)内のマッピング画素を写像によって正三角形内に射影して第2段階データを作成する。この場合、擬似xy色度図のy軸をx軸側へ30°倒した変形によって構成される正三角形内への射影を行う写像によるのが最も簡単である。そして、第2段階データはN階調分作成される。
(4) 第2段階データである正三角形内のマッピング画素を写像によって円形内に射影して諧調別色度円データを作成する。この場合の写像としては、正三角形からその外接円への射影を行う写像によるのが最も簡単である。そして、諧調別色度円データはN階調分作成される。
The HSV color space data is created by the following procedure.
(1) All pixels of digital image data are sorted into N pixel groups for each luminance gradation.
(2) For each classified pixel group, mapping is performed on a pseudo xy chromaticity diagram having an isosceles right triangle. That is, the respective light intensity ratios for two colors of R, G, and B in each pixel are obtained, and the x-axis (horizontal axis) and y-axis (vertical axis) of the pseudo xy chromaticity diagram which is an orthogonal coordinate. ) In a range of 0 to 100%, pixels representing chromaticity are distributed in a right triangle having isosceles in the x-axis direction and the y-axis direction. This is the first stage data and is created for N gradations.
(3) The mapping data in the pseudo xy chromaticity diagram (isosceles right triangle) which is the first stage data is projected into the regular triangle by mapping to create the second stage data. In this case, the simplest method is to perform projection into an equilateral triangle formed by deformation by tilting the y-axis of the pseudo xy chromaticity diagram by 30 ° toward the x-axis. Then, the second stage data is created for N gradations.
(4) The mapping pixels within the equilateral triangle, which is the second stage data, are projected into a circle by mapping to create tone-specific chromaticity circle data. As the mapping in this case, the simplest method is to perform projection from an equilateral triangle onto its circumscribed circle. The tone-specific chromaticity circle data is created for N gradations.
ところで、擬似xy色度図において、x軸とy軸を光強度比率の軸として選択された2色以外の他の1色の光強度比率は、当然に100%から前記2色の光強度比率の和を差し引いたものであるため、第1段階データの直角二等辺三角形と第2段階データの正三角形ではその三頂点が、諧調別色度円データの円では120°の中心角を介した円周上の三点が、それぞれ当該輝度階調でのR,G,Bの清色又は純色に対応する。
また、第1段階データの直角二等辺三角形と第2段階データの正三角形における各辺上の点及び諧調別色度円データにおける前記三点以外の円周上の区間は、それぞれ当該輝度諧調でのR,G,Bの内の2色混合による清色又は純色に対応する。
さらに、第1段階データの二等辺直角三角形(擬似xy色度図)と第2段階データの正三角形における各重心位置及び諧調別色度円データの円の中心位置は、それぞれ当該輝度諧調における無彩色に対応する。
By the way, in the pseudo xy chromaticity diagram, the light intensity ratio of one color other than the two colors selected with the x axis and the y axis as the axes of the light intensity ratio is naturally from 100% to the light intensity ratio of the two colors. Therefore, the three vertices of the right-angled isosceles triangle of the first stage data and the regular triangle of the second stage data pass through the central angle of 120 ° in the circle of the chromaticity circle data by gradation. Three points on the circumference correspond to R, G, and B clear colors or pure colors at the luminance gradation, respectively.
Further, the points on each side in the right-angled isosceles triangle of the first stage data and the equilateral triangle of the second stage data and the section on the circumference other than the three points in the gradation-specific chromaticity circle data are respectively the brightness gradation. It corresponds to a clear color or a pure color by mixing two colors of R, G and B.
Further, the center positions of the centroids in the isosceles right triangle (pseudo xy chromaticity diagram) of the first stage data and the regular triangle of the second stage data and the center position of the circle of the chromaticity circle data by gradation are respectively the values in the luminance gradation. Corresponds to coloring.
したがって、N階調分の諧調別色度円データを積層することにより、デジタル画像データの全画素が色属性表示用の画素としてマッピングされた円柱状のHSV色空間データが構成され、この色空間は、色相(Hue)が円柱の周方向に沿って変化し、彩度(Saturation)は円柱軸からの離隔距離に応じて高くなり、明度(Value)は円柱軸の方向にN階調となった構成を有している。 Therefore, by stacking tone gradation data for gradations corresponding to N gradations, cylindrical HSV color space data in which all pixels of the digital image data are mapped as pixels for color attribute display is configured. The hue (Hue) changes along the circumferential direction of the cylinder, the saturation (Saturation) increases according to the separation distance from the cylinder axis, and the lightness (Value) becomes N gradations in the direction of the cylinder axis. It has a configuration.
次に、本願の第4の発明は、前記第1の発明に係るデジタル画像の色属性表示装置を備え、同装置の前記表示制御手段が前記色度円をディスプレイに表示させると共に、前記第1記憶手段が記憶しているデジタル画像データの画像も前記ディスプレイに表示させる画像処理装置であって、前記色属性表示装置が表示させる前記色度円の外周に沿って周方向へ移動可能な第1カーソル、前記第1カーソルと前記色度円の中心を結び、前記第1カーソルの移動に伴って回動する半径線、前記半径線上を移動可能な第2カーソル及び前記色度円と同心で前記第2カーソルを通過する円線を表示させる操作ツール表示手段と、前記第1カーソル及び前記第2カーソルをそれぞれ独立に移動させることが可能な操作入力手段と、前記操作入力手段による前記第1カーソルの移動に伴う前記半径線の回動に応じて、前記色属性表示装置の前記第2記憶手段が記憶している前記HSV色空間のマッピング画素を周方向について移動又は消去させ、また前記操作入力手段による前記第2カーソルの移動に伴う前記円線の半径の増減に応じて、前記HSV色空間のマッピング画素を半径方向について移動又は消去させると共に、移動したマッピング画素については移動先の色属性値に変更する色空間データ変更手段と、前記色空間データ変更手段が変更(移動又は消去)の対象としたマッピング画素に対応する前記第1記憶手段のデジタル画像データの画素について、同一の色属性の変更処理を行う表示画素データ変更手段とを具備したことを特徴とする。 Next, a fourth invention of the present application includes the digital image color attribute display device according to the first invention, wherein the display control means of the device displays the chromaticity circle on a display, and the first An image processing apparatus for displaying an image of digital image data stored in a storage unit on the display, wherein the image processing apparatus can move in a circumferential direction along an outer periphery of the chromaticity circle displayed by the color attribute display apparatus. Concentric with the cursor, the first cursor and the center of the chromaticity circle, the radius line rotating with the movement of the first cursor, the second cursor movable on the radius line, and the chromaticity circle An operation tool display means for displaying a circular line passing through the second cursor, an operation input means capable of independently moving the first cursor and the second cursor, and the operation input means. According to the rotation of the radial line accompanying the movement of the first cursor, the mapping pixel of the HSV color space stored in the second storage means of the color attribute display device is moved or deleted in the circumferential direction, Further, the mapping pixel in the HSV color space is moved or deleted in the radial direction according to the increase / decrease of the radius of the circular line accompanying the movement of the second cursor by the operation input means, and the moved mapping pixel is moved to The color space data changing means for changing to the color attribute value and the pixel of the digital image data in the first storage means corresponding to the mapping pixel to be changed (moved or deleted) by the color space data changing means are the same. And display pixel data changing means for changing the color attribute.
この第4の発明の画像処理装置においては、前記操作ツール表示手段に対して、前記色度円における前記第1カーソルの初期表示位置を、前記HSV色空間を中心軸の周りにM等分(Mは16以上の整数)した各分割空間の内、内部に含まれる前記マッピング画素の数が最大であるものの外周位置に設定し、また前記色度円における前記第2カーソルの初期表示位置を、前記半径線上であって、前記色属性表示装置の第1記憶手段が記憶しているデジタル画像データの全画素の彩度値の平均値に対応する位置に設定する機能を具備させておくことが望ましい。 In the image processing apparatus according to the fourth aspect of the present invention, the initial display position of the first cursor in the chromaticity circle is divided into M equal parts around the central axis of the HSV color space. M is an integer greater than or equal to 16), and is set to the outer peripheral position of the largest number of the mapping pixels included therein, and the initial display position of the second cursor in the chromaticity circle is A function of setting a position on the radius line corresponding to an average value of saturation values of all pixels of the digital image data stored in the first storage unit of the color attribute display device may be provided. desirable.
本願の第5の発明は、前記第2の発明に係るデジタル画像の色属性表示装置を備え、同装置の前記表示制御手段が前記色度円と前記色空間正面図をディスプレイに表示させると共に、前記第1記憶手段が記憶しているデジタル画像データの画像も前記ディスプレイに表示させる画像処理装置であって、前記色属性表示装置が表示させる前記色度円の外周に沿って周方向へ移動可能な第1カーソル、前記第1カーソルと前記色度円の中心を結び、前記第1カーソルの移動に伴って回動する半径線、前記半径線上を移動可能な第2カーソル、前記色度円と同心で前記第2カーソルを通過する円線及び前記色空間正面図中を前記HSV色空間に係る円柱軸と平行な方向へ移動可能な第3カーソルを表示させる操作ツール表示手段と、前記第1カーソル、前記第2カーソル及び第3カーソルをそれぞれ独立に移動させることが可能な操作入力手段と、前記操作入力手段による前記第1カーソルの移動に伴う前記半径線の回動に応じて、前記色属性表示装置の前記第2記憶手段が記憶している前記HSV色空間のマッピング画素を周方向について移動又は消去させ、前記操作入力手段による前記第2カーソルの移動に伴う前記円線の半径の増減に応じて、前記HSV色空間のマッピング画素を半径方向について移動又は消去させ、また前記操作入力手段による前記第3カーソルの移動に応じて、前記HSV色空間のマッピング画素を円柱軸と平行な方向について移動又は消去させると共に、移動したマッピング画素については移動先の色属性値に変更する色空間データ変更手段と、前記色空間データ変更手段が変更(移動又は消去)の対象としたマッピング画素に対応する前記第1記憶手段のデジタル画像データの画素について、同一の色属性の変更処理を行う表示画素データ変更手段とを具備したことを特徴とする。 A fifth invention of the present application comprises the digital image color attribute display device according to the second invention, wherein the display control means of the device displays the chromaticity circle and the color space front view on a display, An image processing apparatus for displaying an image of digital image data stored in the first storage means on the display, and movable in a circumferential direction along an outer periphery of the chromaticity circle displayed by the color attribute display apparatus A first cursor, a radius line connecting the first cursor and the center of the chromaticity circle and rotating as the first cursor moves, a second cursor movable on the radius line, the chromaticity circle, An operation tool display means for displaying a concentric circle passing through the second cursor and a third cursor movable in a direction parallel to the cylinder axis of the HSV color space in the color space front view; car And the operation input means capable of independently moving the second cursor and the third cursor, and the color according to the rotation of the radius line accompanying the movement of the first cursor by the operation input means. The mapping pixel of the HSV color space stored in the second storage unit of the attribute display device is moved or deleted in the circumferential direction, and the radius of the circle is increased or decreased with the movement of the second cursor by the operation input unit. The HSV color space mapping pixel is moved or erased in the radial direction in response to the movement of the third cursor by the operation input means, and the HSV color space mapping pixel is parallel to the cylinder axis. Color space data changing means for moving or erasing the mapping pixel and changing the moved mapping pixel to a destination color attribute value; Display pixel data changing means for performing the same color attribute changing process on the pixels of the digital image data in the first storage means corresponding to the mapping pixels to be changed (moved or deleted) by the data changing means; It is characterized by that.
この第5の発明の画像処理装置においては、前記操作ツール表示手段に対して、前記色度円における前記第1カーソルの初期表示位置を、前記HSV色空間を中心軸の周りにM等分(Mは16以上の整数)した各分割空間の内、内部に含まれる前記マッピング画素の数が最大であるものの外周位置に設定し、前記色度円における前記第2カーソルの初期表示位置を、前記半径線上であって、前記色属性表示装置の第1記憶手段が記憶しているデジタル画像データの全画素の彩度値の平均値に対応する位置に設定し、また前記色空間正面図における前記第3カーソルの初期表示位置を、前記色属性表示装置で作成されたN階調分の諧調別色度円の内、マッピング画素の数が最大であるものに対応する階調位置に設定する機能を具備させておくことが望ましい。 In the image processing apparatus according to the fifth aspect of the present invention, the initial display position of the first cursor in the chromaticity circle is divided into M equal parts around the central axis of the HSV color space. M is an integer greater than or equal to 16), and is set to the outer peripheral position of the largest number of the mapping pixels included therein, and the initial display position of the second cursor in the chromaticity circle is Set on a radius line at a position corresponding to the average value of the saturation values of all the pixels of the digital image data stored in the first storage means of the color attribute display device, and the color space front view A function of setting the initial display position of the third cursor to the gradation position corresponding to the maximum number of mapping pixels among the gradation-specific chromaticity circles for N gradations created by the color attribute display device Keep Theft is desirable.
以上のように、本願発明の画像処理装置は、本願発明の色属性表示装置を備えており、デジタル画像の全画素に対応するマッピング画素を分布させた色度円(第4及び第5の発明)と色空間正面図(第5の発明のみ)をディスプレイに表示することで、ユーザに対して画像の有する色属性(色相・彩度・明度)を分かりやすく提示する。
また、色度円と色空間正面図の上に操作ツールを表示させ、それらをマウス等の操作入力手段で操作することによりマッピング画素を移動させることができる。
ここに、操作ツールである第1カーソルと半径線は色相変更のために、第2カーソルと円は彩度変更のために、また第3カーソルは明度変更のために用いられ、ユーザは、色度円と色空間正面図におけるマッピング画素の分布状態を見ながら、すなわち画像の全画素の色相・彩度・明度がどのような傾向を有しているかを3次元的な分布状態から確認しながら、その分布状態に対して直接的に変更を加えることができる。
そして、色度円と色空間正面図のマッピング画素は移動に伴ってその移動先位置で与えられている色属性に変化し、またマッピング画素が第1記憶手段のデジタル画像データの画素と対応付けられていることにより、デジタル画像データの画素もマッピング画素の移動先位置における色属性に変更せしめられる。
As described above, the image processing apparatus of the present invention includes the color attribute display apparatus of the present invention, and a chromaticity circle (fourth and fifth inventions) in which mapping pixels corresponding to all the pixels of the digital image are distributed. ) And a color space front view (only the fifth aspect of the invention) are displayed on the display, and the color attributes (hue / saturation / lightness) of the image are presented to the user in an easily understandable manner.
In addition, the mapping pixels can be moved by displaying operation tools on the chromaticity circle and the color space front view and operating them with an operation input means such as a mouse.
Here, the first cursor and the radius line, which are operation tools, are used for changing the hue, the second cursor and the circle are used for changing the saturation, and the third cursor is used for changing the brightness. While looking at the distribution state of the mapping pixel in the degree circle and the color space front view, that is, confirming the tendency of the hue, saturation, and brightness of all the pixels of the image from the three-dimensional distribution state The distribution state can be changed directly.
Then, the mapping pixel of the chromaticity circle and the color space front view changes to the color attribute given at the movement destination position with the movement, and the mapping pixel is associated with the pixel of the digital image data in the first storage means. Thus, the pixel of the digital image data is also changed to the color attribute at the movement destination position of the mapping pixel.
また、本願発明の画像処理装置では、各カーソルの初期位置を統計的情報に基づいて設定することも可能であり、ユーザに対して、色度円と色空間正面図におけるマッピング画素の分布状態と併せて、画像の色属性の変更操作を行う上での目安となる有意義な情報を提供できる。 In the image processing apparatus of the present invention, it is also possible to set the initial position of each cursor based on statistical information. For the user, the distribution state of mapping pixels in the chromaticity circle and the color space front view In addition, it is possible to provide meaningful information that serves as a guide for changing the color attribute of the image.
本願発明のデジタル画像の色属性表示装置、方法及びプログラムによれば、デジタル画像の全画素が有する色属性を、簡単なデータ処理でマッピング画素が3次元的に分布した円柱状のHSV色空間(色度円や色空間正面図)として提示でき、ユーザに対して画像処理操作の前提となる画像の色属性情報をより直感的に把握させることができる。
また、本願発明の画像処理装置は、前記色属性表示装置を利用したものであり、前記の色度円と色空間正面図を表示させると共に、それらの上にカーソル等の操作ツールを表示させて、マッピング画素の分布状態に対して直接的に多様な変更操作を加えることで画像の色属性を変更できるようにしており、画像処理のためのより優れたGUIを実現する。
According to the digital image color attribute display apparatus, method and program of the present invention, the color attribute of all the pixels of the digital image is converted into a cylindrical HSV color space in which mapping pixels are three-dimensionally distributed by simple data processing ( Chromaticity circle or color space front view), and allows the user to more intuitively grasp the color attribute information of the image that is the premise of the image processing operation.
The image processing device of the present invention uses the color attribute display device, displays the chromaticity circle and the color space front view, and displays an operation tool such as a cursor on them. The color attribute of the image can be changed by directly applying various changing operations to the distribution state of the mapping pixel, thereby realizing a better GUI for image processing.
以下、本願発明の実施形態について、図面を参照させながら詳細に説明する。
先ず、図1は実施形態に係る画像処理装置の構成例を示し、一般的にはデスクトップ型やノート型のパーソナルコンピュータが用いられる。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
First, FIG. 1 shows a configuration example of an image processing apparatus according to the embodiment, and generally a desktop or notebook personal computer is used.
図1の画像処理装置において、1は中央演算処理装置(CPU)、2は画像表示や画像処理制御を実行するプログラムや画像データが展開されるメインメモリ、3はシステム制御プログラムと共に画像処理プログラム(レタッチアプリケーション)を含む各種アプリケーションプログラムや画像データ等を記憶しているハードディスク(HDD)、4はDVD等のディスク4aにアクセスして画像データ等をリード/ライトするディスクドライブ、5はLANやWWW等に接続して外部ネットワーク上のアクセス可能な記録装置に保存されている画像データ等をロードさせるネットワークI/F(Interface)、6はマウス6aやキーボード6bの入力操作信号をシステムに取り込む入力I/F、7は画像データ等の映像信号を液晶パネル等のディスプレイ7aに出力するビデオI/F、8はスピーカ8aに音声信号を出力するサウンドI/Fであり、それぞれのモジュールはシステムバス9に対して図示するように接続されている。
そして、このシステム全体はCPU1がHDD3のシステム制御プログラムに基づいて制御するが、アプリケーションプログラムについては、マウス6aやキーボード6bからの入力操作信号に基づいて、CPU1がそれをメインメモリ2に展開させて実行する。
なお、この画像処理装置には、さらにUSBメモリや各種メモリカード等の外部記憶媒体から画像データを取り込むためのI/Fを設けてもよい。
In the image processing apparatus of FIG. 1, 1 is a central processing unit (CPU), 2 is a program for executing image display and image processing control, a main memory in which image data is expanded, and 3 is an image processing program ( A hard disk (HDD) that stores various application programs including a retouch application), image data, and the like, 4 is a disk drive that reads / writes image data and the like by accessing a
The entire system is controlled by the
The image processing apparatus may further be provided with an I / F for capturing image data from an external storage medium such as a USB memory or various memory cards.
この画像処理装置では、マウス6aやキーボード6bによる画像処理プログラムの実行指令に係る操作信号があると、CPU1はHDD3の画像処理プログラムをメインメモリ2に読み出して実行し、GUIとしての画像処理用画面をディスプレイ7aに表示させた後、マウス6aやキーボード6bの操作によって処理対象となる画像データをHDD3やディスク4aやLAN等から選択させる。
そして、その選択信号の入力があると、それを受けたCPU1が選択された画像データをメインメモリ2に読み出す。
In this image processing apparatus, when there is an operation signal related to the execution instruction of the image processing program by the
When the selection signal is input, the
ここで、図2の(A)は画像処理プログラムの起動後に初期表示される画像処理用画面10である。
同画面10において、メニューバー11の下側の右側半分はデジタル画像の色属性表示領域に相当し、軸方向を鉛直方向とした円柱状のHSV色空間を上方から見た色度円12と正面側から見た色空間正面図13が上下に表示されている。
また、メニューバー11の下側の左側半分には処理前の画像(元画像)の表示領域14と処理後の画像(変更画像)の表示領域15が上下に設けられている。
そして、前記色属性表示領域には、色度円12の左斜め上方に色相処理モード/彩度処理モードの選択部16aが、色空間正面図13の左上方に明度処理モードの選択部16bが設けられており、ユーザは各選択部16a,16bのラジオボタンをON/OFFにすることで、後述する画像処理操作を行う場合における色相/彩度/明度のいずれかの処理モードを択一的に選択できるようになっている。
Here, FIG. 2A shows an
In the
In the lower left half of the
In the color attribute display area, a hue processing mode / saturation processing
一方、図2の(B)は、メニューバー11のファイルメニューによって画像データの取り込みを行って画像処理プログラムの所定手順を実行した後の画像処理用画面10である。
読み込まれた画像データはメインメモリ2に展開されるが、その画像が元画像の表示領域14に表示されると共に、画像データの全画素が分析されて、色属性表示用の画素として色度円12と色空間正面図13にマッピングされている。
また、色度円12と色空間正面図13の上には、後述の画像処理操作に用いる操作ツールである第1カーソル17、半径線18、第2カーソル19、円線20、第3カーソル21及びレベル線22も表示されている。
On the other hand, FIG. 2B shows the
The read image data is developed in the
Further, on the
ところで、前記円柱状のHSV色空間は、色属性表示領域に色度円12と色空間正面図13を描画するための基本色空間であり、円柱の周方向に色相値が変化し、中心軸からの距離に応じて彩度値が増大し(最外周で清色又は純色、中心軸が無彩色)、底面から上面まで0~255諧調で輝度が増大するという色属性に係る座標系で構成されたものである。
したがって、図3に示すように、円柱状のHSV色空間は各輝度に係る諧調別色度円30(n)[n=0~255]を軸方向に積層させて構成でき、その諧調別色度円30(n)は画像データの内で第n輝度階調に属する各画素をその色相値と彩度値に基づいて2次元的にマッピングしたものである。
By the way, the cylindrical HSV color space is a basic color space for drawing the
Therefore, as shown in FIG. 3, the columnar HSV color space can be configured by stacking tone-dependent chromaticity circles 30 (n) [n = 0 to 255] related to each luminance in the axial direction. The degree circle 30 (n) is obtained by two-dimensionally mapping each pixel belonging to the nth luminance gradation in the image data based on the hue value and the saturation value.
ここで、諧調別色度円30(n)の作成方法を図4に基づいて説明する。
先ず、画像データの全画素が輝度諧調毎の画素群に分別されている。
図4の(A)の擬似xy色度図は、x軸にR,G,Bの光強度の合計値に対するRの光強度の比率であるR比率(0~100%)を、y軸にR,G,Bの光強度の合計値に対するGの光強度の比率であるG比率(0~100%)をとったx-y直交座標の色度図である。
そして、第n輝度階調に属する画素群についてR比率とG比率を求め、その各比率に基づいて擬似xy色度図上に色属性表示用の画素としてマッピングする。
なお、以下においては、この色属性表示用の画素を“マッピング画素”と称し、また図面上では“MP”として表す。
Here, a method of creating the tone-specific chromaticity circle 30 (n) will be described with reference to FIG.
First, all the pixels of the image data are sorted into pixel groups for each luminance gradation.
In the pseudo xy chromaticity diagram of FIG. 4A, the R ratio (0 to 100%), which is the ratio of the light intensity of R to the total value of the light intensity of R, G, B on the x axis, is plotted on the y axis. FIG. 4 is a chromaticity diagram of xy orthogonal coordinates taking a G ratio (0 to 100%), which is a ratio of a G light intensity to a total value of R, G, and B light intensity.
Then, an R ratio and a G ratio are obtained for the pixel group belonging to the nth luminance gradation, and are mapped as color attribute display pixels on the pseudo xy chromaticity diagram based on each ratio.
In the following, this pixel for color attribute display is referred to as “mapping pixel” and is represented as “MP” in the drawing.
したがって、図4の(A)では直角二等辺三角形の擬似xy色度図にマッピング画素が分布した状態になっているが、次に、図4の(B)に示すように、その擬似xy色度図の縦軸(G比率)を横軸(R比率)側へ30°倒して、直角二等辺三角形が正三角形になるように変形させる。
その場合、マッピング画素は直角二等辺三角形を正三角形内へ射影する写像に基づいて正三角形内に配置され、各頂点においてR,G,Bに関する光強度の比率(%)がそれぞれ(100,0,0),(0,100,0),(0,0,100)である清色又は純色となり、各三辺上がR,G,Bの内の2色混合による清色又は純色となり、また重心位置においては無彩色(100,100,100)となる。
Therefore, in FIG. 4A, the mapping pixels are distributed in the pseudo xy chromaticity diagram of a right isosceles triangle. Next, as shown in FIG. The vertical axis (G ratio) of the degree diagram is tilted 30 ° toward the horizontal axis (R ratio), and the right angled isosceles triangle is transformed into an equilateral triangle.
In that case, the mapping pixel is arranged in the equilateral triangle based on the mapping of the right isosceles triangle into the equilateral triangle, and the ratio (%) of the light intensity with respect to R, G, B at each vertex is (100, 0). , 0), (0,100,0), (0,0,100) are clear colors or pure colors, and each three sides are clear colors or pure colors by mixing two colors of R, G, and B. At the center of gravity, the color is achromatic (100, 100, 100).
次に、図4の(C)に示すように、前記正三角形の外接円を想定し、前記正三角形の各辺を外側へ膨出させて前記外接円の円弧となるように変形させることで、図4の(D)に示す諧調別色度円30(n)を得る。
この場合に、マッピング画素は正三角形内から外接円内へ射影する写像に基づいて外接円内に配置されることになるが、具体的には、マッピング画素が変形部分であるカマボコ形状の膨出領域に拡散分布し、前記正三角形の各頂点は中心角にして120°毎の円周上の点となってR,G,Bに関する清色又は純色となり、円周上の他の区間はR,G,Bの内の2色混合による清色又は純色となり、前記正三角形の重心が円の中心となって無彩色となる。
そして、この諧調別色度円30(n)は、色相が円の周方向に関してR-G-Bと変化し、彩度は円の中心から離れるにつれて高くなるという性質を備えており、当然にマッピング画素はその色度条件に基づいた分布状態になる。
Next, as shown in FIG. 4 (C), assuming a circumscribed circle of the equilateral triangle, each side of the equilateral triangle is bulged outward and deformed to become an arc of the circumscribed circle. Then, a tone-specific chromaticity circle 30 (n) shown in FIG.
In this case, the mapping pixel is arranged in the circumscribed circle based on the mapping projected from the equilateral triangle into the circumscribed circle. Specifically, the mapping pixel is a deformed portion of a bulge shape. Each vertex of the equilateral triangle is a point on the circumference every 120 ° as a central angle and becomes a clear color or pure color regarding R, G, B, and other sections on the circumference are R , G, and B become a clear color or a pure color by mixing two colors, and the center of gravity of the regular triangle becomes the center of the circle and becomes an achromatic color.
The tone-dependent chromaticity circle 30 (n) has the property that the hue changes to RGB in the circumferential direction of the circle, and the saturation increases as the distance from the center of the circle increases. The mapping pixels are distributed based on the chromaticity condition.
図5A及び図5Bは、図4に示した擬似xy色度図、正三角形及び諧調別色度円30(n)の各段階の間で、色度情報を与えるマッピング画素の位置が如何なる写像での対応関係になっているかを示す解説図である。ただし、必要となる数式は図中に(1)~(17)として記載されている。 5A and 5B are mappings of mapping pixel positions that provide chromaticity information between the stages of the pseudo xy chromaticity diagram, the regular triangle, and the gradation-specific chromaticity circle 30 (n) shown in FIG. It is explanatory drawing which shows whether it is correspondence of. However, the necessary mathematical expressions are described as (1) to (17) in the figure.
図5Aの(A)は直角二等辺三角形である擬似xy色度図をX-Y座標で表したものであり、X軸がR比率(%)に、Y軸がG比率(%)に対応している。
まず、同図において、直角二等辺三角形の重心の座標は数式(1)に示すとおり(xc,yc)=(100/3,100/3)として与えられるが、重心(xc,yc)と各頂点とを結ぶ線分で直角二等辺三角形を図示するような3つの領域<M1>,<M2>,<M3>に分割する。
ここで、領域<M3>内の任意のマッピング画素についての座標を(x,y)とすると、重心(xc,yc)を通過すると共に領域<M3>を囲む直角二等辺三角形の一辺と平行な直線に対して前記マッピング画素の位置(x,y)から下した垂線の長さは数式(2)で与えられる。
また、領域<M3>を囲む直角二等辺三角形の一辺に重心(xc,yc)から下した垂線の長さは数式(3)で与えられる。
そして、領域<M3>内の各マッピング画素に対応する係数m3を数式(3)に対する数式(2)の比である数式(4)で与えておく。
さらに、領域<M1>内と領域<M2>内の任意のマッピング画素[座標(x,y)]についても前記と同様の考え方を適用して、それら領域<M1>,<M2>内の各マッピング画素に対応する係数m1,m2を数式(5),(6)で与えておく。
なお、求めた各係数m1,m2,m3はそれぞれx、y及び(x+y)の一次関数となっているが、後述の正三角形から諧調別色度円30(n)へ変形させる段階(図5B)で適用される。
(A) in FIG. 5A is a pseudo xy chromaticity diagram that is a right-angled isosceles triangle represented by XY coordinates, with the X axis corresponding to the R ratio (%) and the Y axis corresponding to the G ratio (%). is doing.
First, in the figure, the coordinates of the center of gravity of a right-angled isosceles triangle are given as (xc, yc) = (100/3, 100/3) as shown in the equation (1), but the center of gravity (xc, yc) and each A right isosceles triangle is divided into three regions <M1>, <M2>, and <M3> as shown in the figure by line segments connecting the vertices.
Here, if the coordinates of an arbitrary mapping pixel in the region <M3> are (x, y), the coordinate passes through the center of gravity (xc, yc) and is parallel to one side of the right-angled isosceles triangle surrounding the region <M3>. The length of the perpendicular drawn from the position (x, y) of the mapping pixel with respect to the straight line is given by Equation (2).
Further, the length of a perpendicular line drawn from the center of gravity (xc, yc) to one side of a right isosceles triangle surrounding the region <M3> is given by Equation (3).
Then, the coefficient m3 corresponding to each mapping pixel in the region <M3> is given by Expression (4) that is the ratio of Expression (2) to Expression (3).
Further, the same idea as described above is applied to any mapping pixel [coordinate (x, y)] in the region <M1> and the region <M2>, and each of the regions <M1> and <M2> Coefficients m1 and m2 corresponding to the mapping pixel are given by equations (5) and (6).
The obtained coefficients m1, m2, and m3 are linear functions of x, y, and (x + y), respectively, but are transformed from a regular triangle described later to a tone-specific chromaticity circle 30 (n) (FIG. 5B). ).
次に、図5Aの(B)に示すように、X-Y座標上の擬似xy色度図を正三角形に変形させると、擬似xy色度図内の任意位置の点(x,y)は写像を用いた数式(7)により、数式(8)で与えられる正三角形上の点(x1,y1)となる。
また、擬似xy色度図における直角二等辺三角形の重心(xc,yc)は正三角形においても数式(9)で示す重心(xg,yg)=(50,50/√3)である。
Next, as shown in FIG. 5A (B), when the pseudo xy chromaticity diagram on the XY coordinates is transformed into an equilateral triangle, a point (x, y) at an arbitrary position in the pseudo xy chromaticity diagram is obtained. By the mathematical expression (7) using the mapping, the point (x1, y1) on the equilateral triangle given by the mathematical expression (8) is obtained.
Further, the centroid (xc, yc) of the right isosceles triangle in the pseudo xy chromaticity diagram is the centroid (xg, yg) = (50, 50 / √3) shown in the formula (9) even in the equilateral triangle.
そして、図5Aの(A)及び(B)におけるX-Y座標の原点を数式(9)の座標値で与えられている正三角形の重心へ移動させ、図5Bに示すように、その重心を原点とするXs-Ys座標を考えると、X-Y座標上での任意位置の点(x1,y1)は数式(10)及び(11)で与えられる点(x2,y2)に対応することになる。
また、前記正三角形の外接円が諧調別色度円30(n)の外形となるが、その色度円30(n)の半径Rは数式(12)の値で与えられる。
Then, the origin of the XY coordinates in (A) and (B) of FIG. 5A is moved to the center of the equilateral triangle given by the coordinate value of Equation (9), and the center of gravity is moved as shown in FIG. 5B. Considering the Xs-Ys coordinate as the origin, the point (x1, y1) at an arbitrary position on the XY coordinate corresponds to the point (x2, y2) given by the equations (10) and (11). Become.
The circumscribed circle of the regular triangle is the contour of the tone-dependent chromaticity circle 30 (n), and the radius R of the chromaticity circle 30 (n) is given by the value of Equation (12).
次に、Xs-Ys座標上での正三角形から諧調別色度円30(n)への変形は、図5Bに示すように、正三角形の重心と各頂点を結ぶ線分でその正三角形を三等分した場合の各二等辺三角形(二等辺のなす角度は120°)の領域を、外接円である諧調別色度円30(n)における前記各二等辺三角形を含んだ中心角120°の各扇形領域へ拡大させることに他ならない。
ここで、前記の二等辺三角形の領域から扇形領域への拡大とは、例えば、図5Bにおける右上側の二等辺三角形内にある任意位置の点(x2,y2)について考えると、原点と点(x2,y2)を結ぶ直線と正三角形の辺との交点の原点からの距離Sが外接円の半径Rに伸長すると仮定した場合の伸長率k3によって、原点と点(x2,y2)の間の距離Vが伸長して、原点と前記直線上の点(x3,y3)の間の距離になることを意味する。
Next, the transformation from the regular triangle on the Xs-Ys coordinate to the tone-specific chromaticity circle 30 (n), as shown in FIG. 5B, the regular triangle is represented by a line segment connecting the center of gravity of the regular triangle and each vertex. The area of each isosceles triangle (the angle formed by the isosceles is 120 °) in the case of being divided into three equal parts is 120 ° center angle including each isosceles triangle in the tone-specific chromaticity circle 30 (n) which is a circumscribed circle. It is none other than expanding to each sector area.
Here, the expansion from the isosceles triangle area to the fan-shaped area is, for example, the point (x2, y2) at an arbitrary position in the upper right isosceles triangle in FIG. x2 and y2) between the origin and the point (x2, y2) depending on the expansion rate k3 when it is assumed that the distance S from the origin of the intersection of the straight line connecting to the side of the equilateral triangle extends to the radius R of the circumscribed circle This means that the distance V extends to become the distance between the origin and the point (x3, y3) on the straight line.
したがって、伸長率k3は数式(13)[k3=R/S]で与えられるが、図5Aの(A)で求めた数式(4)の係数m3=(2)/(3)は、幾何学的関係により同図における(線分qc)/(線分pc)の関係に外ならず、数式(14)に示すV/Sとして与えられるため、数式(13)と(14)とからSを消去して、伸長率k3は数式(13a)で算出できる。
そして、点(x3,y3)の座標は、数式(16)及び(17)に示すとおり、x3=k3*x2、y3=k3*y2として求まることになる。
その場合、m3は数式(4)として予め求まっており、Rが数式(12)、Vが数式(15)で求まることから、点(x3,y3)の座標は座標(x2,y2)を変数とする比較的簡単な関数によって演算でき、また、(x2,y2)についても(x,y)から数式(8)と数式(10),(11)を経て容易に求められることから、擬似xy色度図から諧調別色度円30(n)を生成させるためのデータ処理を高速で実行させることができる。
Therefore, the expansion rate k3 is given by the equation (13) [k3 = R / S], but the coefficient m3 = (2) / (3) of the equation (4) obtained in (A) of FIG. Since the relationship is not deviated from the relationship of (line segment qc) / (line segment pc) in the figure due to the general relationship, it is given as V / S shown in equation (14). After erasing, the expansion rate k3 can be calculated by equation (13a).
The coordinates of the point (x3, y3) are obtained as x3 = k3 * x2 and y3 = k3 * y2 as shown in the equations (16) and (17).
In this case, m3 is obtained in advance as Equation (4), R is obtained from Equation (12), and V is obtained from Equation (15). Therefore, the coordinates of the point (x3, y3) are coordinates (x2, y2) as variables. And (x2, y2) can also be easily obtained from (x, y) via Equation (8) and Equations (10), (11). Data processing for generating tone-specific chromaticity circles 30 (n) from the chromaticity diagram can be executed at high speed.
なお、前記では図5Bにおける右上側の二等辺三角形内[図5Aの(A)における領域<M3>に対応]のマッピング画素について説明したが、左上側と下側の各二等辺三角形内[図5Aの(A)における領域<M1>及び領域<M2>に対応]の任意位置にあるマッピング画素(x2',y2')についても、同様の考え方を適用して諧調別色度円30(n)の対応位置(x3',y3')を求めることができる。
そして、それらの領域<M1>及び領域<M2>のマッピング画素(x2',y2')に対して用いられる伸長率k1,k2を求める際には、上記数式(5),(6)のm1,m2が適用される。
In the above description, the mapping pixel in the upper right isosceles triangle in FIG. 5B [corresponding to the region <M3> in (A) of FIG. 5A] has been described. However, in the upper left and lower isosceles triangles [FIG. For the mapping pixel (x2 ′, y2 ′) at an arbitrary position in the region <M1> and the region <M2> in (A) of 5A], the same idea is applied to the gradation circle 30 (n ) Corresponding position (x3 ′, y3 ′).
When obtaining the expansion ratios k1 and k2 used for the mapping pixels (x2 ′, y2 ′) in the region <M1> and the region <M2>, m1 in the above formulas (5) and (6) is used. , M2 applies.
なお、伸長率kj(j=1,2,3)の求め方として、前記のように擬似xy色度図[図5Aの(A)]の段階で予めmj(j=1,2,3)を求めるのではなく、図5Bにおいて原点とマッピング画素の位置(x2,y2)とを結ぶ直線と正三角形との交点座標を求めてSを算出し、それを数式(13)に代入する方法があり、幾何学的にはむしろ一般的方法とも言えるが、演算が非常に煩雑になってデータ処理の効率が低下するという欠点がある。 Note that, as described above, mj (j = 1, 2, 3) is obtained in advance at the stage of the pseudo xy chromaticity diagram [(A) of FIG. 5A] as a method of obtaining the expansion rate k j (j = 1, 2, 3). In FIG. 5B, the intersection coordinates between the straight line connecting the origin and the mapping pixel position (x2, y2) and the equilateral triangle are calculated, S is calculated, and this is substituted into equation (13). Although geometrically, it can be said that it is rather a general method, there is a drawback that the calculation becomes very complicated and the efficiency of data processing decreases.
このようにして、直角二等辺三角形の擬似xy色度図に対してR比率(%)とG比率(%)に基づいてマッピングされた画素は、擬似xy色度図が正三角形に、正三角形から諧調別色度円30(n)に変形される各段階で、平面形状の変化に対応した写像に基づいて座標が求められ、歪みや偏りが生じない条件で諧調別色度円30(n)へのマッピング画素の分布が実現される。 Thus, pixels mapped based on the R ratio (%) and the G ratio (%) with respect to the pseudo xy chromaticity diagram of the right isosceles triangle have the pseudo xy chromaticity diagram as an equilateral triangle and the equilateral triangle. At each stage of transformation from tone to tone-specific chromaticity circle 30 (n), coordinates are obtained based on the mapping corresponding to the change in planar shape, and tone-specific chromaticity circle 30 (n The distribution of mapping pixels to) is realized.
その結果、図3及び図4の(D)に示す第n階調目(n=0~255)の諧調別色度円30(n)では、R,B,Gの光強度の比率(%)が円内の位置に応じて図6に示すような傾向で変化し、色相については円の周方向に120°の中心角を隔ててR-G-Bと変化し、彩度については色度円の中心(R=n,G=n,B=n)で0(%)、最外周で100(%)となるように変化する色度座標系になっている。
そして、前述したように、諧調別色度円30(n)の性質として、円の中心はR,G,Bの3色混合となって無彩色であり、円の最外周は1色のみ又は2色の混合になるために清色又は純色に相当しており、また色度円の中心に関して対称位置にある色相同士(図のaとb)は補色関係になっている。
As a result, the light intensity ratio (%) of R, B, and G in the gradation tone chromaticity circle 30 (n) of the nth gradation (n = 0 to 255) shown in FIG. 3 and FIG. ) Changes with the tendency shown in FIG. 6 according to the position in the circle, the hue changes to RGB with a central angle of 120 ° in the circumferential direction of the circle, and the saturation changes to the color. The chromaticity coordinate system changes so that the center of the degree circle (R = n, G = n, B = n) is 0 (%) and the outermost circumference is 100 (%).
As described above, as a property of the tone-specific chromaticity circle 30 (n), the center of the circle is a mixture of three colors of R, G, and B and is achromatic, and the outermost circumference of the circle has only one color or Since it is a mixture of two colors, it corresponds to a clear color or a pure color, and hues (a and b in the figure) at symmetrical positions with respect to the center of the chromaticity circle have a complementary color relationship.
次に、実施形態に係る画像処理装置(図1)の動作手順を図7のフローチャートに基づいて説明する。
先ず、マウス6a又はキーボード6bの操作により画像処理プログラムを起動させると、同プログラムが用意している画像処理用画面データがビデオI/F7へ読み出され、図2の(A)に示すように画像処理用の初期画面10が表示される(S1)。
そして、そのメニューバー11にあるファイルメニューから処理対象となる画像データの選択と取り込みを指示すると、選択された画像データの格納先であるHDD3、ディスク4a又は外部ネットワーク上の記録装置等からその画像データが読み出されてメインメモリ2に格納される(S2,S3)。
また、その格納された画像データはビデオI/F7に読み出されて画像処理用画面10の元画像の表示領域14に表示される(S4)。
Next, the operation procedure of the image processing apparatus (FIG. 1) according to the embodiment will be described based on the flowchart of FIG.
First, when the image processing program is activated by operating the
When an instruction to select and import image data to be processed is given from the file menu in the
The stored image data is read out to the video I /
次に、メインメモリ2の画像データの全画素を分析し、それぞれの画素をその輝度値に基づいて0~255の輝度諧調に振り分ける(S5)。
そして、図4、図5A及び図5Bで詳述した方法によって各輝度諧調毎に階調別色度円30(n)のデータを作成する。
すなわち、第n階調に属する各画素のR,G,Bについての光強度を分析し、R,G,Bの各光強度の合計値に対するRとGの光強度の比率(R比率,G比率)を求め、各画素が有するR比率とG比率に基づいて擬似xy色度図に色属性表示用の画素としてマッピングし、その擬似xy色度図(直角二等辺三角形)から正三角形へ、さらに正三角形から円形(外接円)へと順に写像による射影を行い、その各過程では、形状の変更に対応した写像に基づくマッピング画素の位置の対応付けが行われて、第n階調の階調別色度円30(n)のデータが作成される(S6,S7)。
また、この手順は0~255の各輝度諧調に属する各画素について実行され、256セットの階調別色度円30(n)のデータがメインメモリ2にセーブされる(S6~S9→S8)。
Next, all the pixels of the image data in the
Then, data of the chromaticity circle 30 (n) for each gradation is created for each luminance gradation by the method described in detail with reference to FIGS. 4, 5A, and 5B.
That is, the light intensity of R, G, B of each pixel belonging to the nth gradation is analyzed, and the ratio of the R and G light intensity to the total value of each R, G, B light intensity (R ratio, G Ratio), and mapping as a pixel for color attribute display on the pseudo xy chromaticity diagram based on the R ratio and G ratio of each pixel, and from the pseudo xy chromaticity diagram (right isosceles triangle) to an equilateral triangle, Further, projection is performed in order from an equilateral triangle to a circle (circumscribed circle), and in each process, mapping pixel positions are associated based on the mapping corresponding to the shape change, and the nth gradation level is obtained. Data of the tonal chromaticity circle 30 (n) is created (S6, S7).
This procedure is executed for each pixel belonging to each luminance gradation from 0 to 255, and data of 256 sets of chromaticity circles 30 (n) by gradation is saved in the main memory 2 (S6 to S9 → S8). .
このようにして、諧調別色度円30(n)[n=0~255]のデータがセーブされると、それらの諧調別色度円を積層させた構成に相当する円柱状のHSV色空間データ(図3参照)が作成されたことになる(S10)。
そして、この円柱状のHSV色空間データがマッピング画素によって画像の色相・彩度・輝度の分布状態を表現するものであることに基づいて、HSV色空間を軸方向上側から見た色度円12と軸方向に垂直な方向から見た色空間正面図13の表示データを作成して、それらを図2の(B)に示すようにディスプレイ7aの色属性表示領域に表示させる(S11)。
In this way, when data of tone-specific chromaticity circles 30 (n) [n = 0 to 255] is saved, a cylindrical HSV color space corresponding to a configuration in which these tone-specific chromaticity circles are stacked. Data (see FIG. 3) has been created (S10).
Then, based on the fact that this cylindrical HSV color space data represents the distribution state of hue, saturation, and luminance of the image by mapping pixels, a
また、この実施形態では、各種画像処理に用いる操作ツールとして、図2の(B)に示すように、色度円12に対しては第1カーソル17、第1カーソル17と色度円12の中心を結ぶ半径線18、半径線18の上にある第2カーソル19及び色度円12と同心で第2カーソル19を通過する円線20を表示させ、また、色空間正面図13に対しては、第3カーソル21及びそれと同一階調位置にある諧調別色度円30(n)に相当するレベル線22を表示させる(S12)。
ここに、第1カーソル17と半径線18は色相変更に用いられ、第2カーソル19と円線20は彩度変更に用いられ、第3カーソル21とレベル線22は明度変更に用いられるものである。
In this embodiment, as an operation tool used for various image processing, as shown in FIG. 2B, the
Here, the
ただし、この実施形態ではそれら操作ツール17,18,19,20,21,22の初期表示位置について一定の意義を持たせている。
図8は、図7のステップS12を詳述したものであり、各操作ツールの初期表示手順を示すフローチャートである。
その手順では、最初に次のように3つの数値を求める。
(1)図7のステップS10で得られた円柱状のHSV色空間データの全マッピング画素について円柱状のHSV空間の中心軸からの距離を求め、それらの距離の平均値Daveを求める(S21)。
(2)円柱状のHSV空間における中心軸の周りを32等分し(中心角=11.25°)、各分割区分内に属する画素数Nc(i)[i=0~32]を求める(S22)。
(3)0~255の輝度階調についての各諧調別色度円30(n)に属している画素数Nv(n)[n=0~255]を求める(S23)。
However, in this embodiment, the initial display positions of these
FIG. 8 details step S12 of FIG. 7, and is a flowchart showing an initial display procedure of each operation tool.
In the procedure, first, three numerical values are obtained as follows.
(1) The distance from the central axis of the columnar HSV space is obtained for all mapping pixels of the columnar HSV color space data obtained in step S10 of FIG. 7, and the average value Dave of these distances is obtained (S21). .
(2) The circumference of the central axis in the columnar HSV space is equally divided into 32 (center angle = 11.25 °), and the number of pixels Nc (i) [i = 0 to 32] belonging to each divided section is obtained ( S22).
(3) The number of pixels Nv (n) [n = 0 to 255] belonging to each gradation tone chromaticity circle 30 (n) for the luminance gradation of 0 to 255 is obtained (S23).
そして、Nc(i)が最大である分割空間の中心角を2等分する直線と色度円の最外周とが交差する位置における色度円12の外側を初期位置として第1カーソル17を表示すると共に、色度円12の中心と第1カーソル17を結ぶ半径線18を表示する(S24)。
また、色度円12の中心から半径Daveの位置に円線20を表示すると共に、前記半径線18と円線20の交点に第2カーソル19を表示する(S25,S26)。
さらに、色度円12の第2カーソル19の位置から色空間正面図13側へ円柱軸と平行に下した線上であって、且つ画素数Nv(n)が最大である諧調別色度円30(n)に対応する位置に第3カーソル21を表示すると共に、その諧調別色度円30(n)に相当する位置にレベル線22を表示する(S27,S28)。
Then, the
Further, the
Further, the tone-
このように、各カーソル17,19,21と半径線18や円線20やレベル線22の初期表示位置を設定することにより、色度円12と色空間正面図13に表示されているマッピング画素による色属性分布状態と併せて、画像中で最も多い色相、画像全体の平均彩度、最多画素数の輝度諧調を同時に確認でき、以降の操作ツール17,18,19,20,21,22を用いたデジタル画像に対する色属性変更のための目安として利用できる。
Thus, by setting the initial display positions of the
図7のフローチャートに戻って、操作ツール17,18,19,20,21,22の表示がなされると、変更対象となる元画像の表示領域14のデジタル画像と共に、色度円12と色空間正面図13におけるマッピング画素の分布状態を見ながら、ラジオボタン16a,16bで色相/彩度/明度の各処理モードを設定した上で、マウス6aによりそのボタンの右クリック/左クリックやキーボード6bのファンクションキー等で詳細な処理内容を選択しながら、各カーソル17,19,21をドラッグ&ドロップすることによりデジタル画像の色属性変更操作を行う(S13)。
Returning to the flowchart of FIG. 7, when the
そして、色度円12又は色空間正面図13において色属性変更操作がなされると、メインメモリ2のHSV色空間データのマッピング画素に対して移動や消去の変更が加えられ、色度円12又は色空間正面図13におけるマッピング画素の表示にその変更が反映される(S13)。
さらに、色度円12又は色空間正面図13の各マッピング画素とメインメモリ2に展開されているデジタル画像データの各画素とは対応付けられており、マッピング画素に色属性の変更があった場合には画像データ側の対応画素にその変更が反映され、その変更後のデジタル画像データがメインメモリ2に別途記憶せしめられると共にビデオI/F7へ読み出されて、その画像が変更画像の表示領域15に表示される(S13,S14)。
Then, when a color attribute change operation is performed in the
Further, when each mapping pixel in the
次に、図9は、図7のステップS13において色相/彩度/明度の各処理モードを設定して色属性変更操作を行う際のマウス6aの基本操作と各操作ツール17,18,19,20,21,22の動作との関係を説明した図である。
第1カーソル17は、色度円12の外周に沿った軌道上を移動することが可能であり、色相処理モードにおいて、マウス6aのホイールを回転させることにより前記軌道上の自由な位置へ移動させることができ、色相変更を実行する際には、マウス6aで前記軌道上をドラッグ&ドロップすることにより移動させる。
半径線18は、常に第1カーソルの移動に伴って回動し、画像の色相変更を行う際にはマッピング画素に対する変更の目安となり、特に画像中の一部の色相を変更する際には有用である。
Next, FIG. 9 shows the basic operation of the
The
The
第2カーソル19は、半径線18上を移動することが可能であり、彩度処理モードにおいて、マウス6aのホイールを回転させることにより半径線18上の自由な位置へ移動させることができ、画像の彩度変更を実行する際にはマウス6aで半径線18上をドラッグ&ドロップすることにより移動させる。
円線20は、色度円12と同心で、常に第2カーソル19を通過する円であり、第2カーソル19が半径線18上を移動することでその半径が増減する。画像の彩度変更を行う際にはマッピング画素に対する変更の目安となり、特に画像中の一部の彩度を変更する際には有用である。
The
The
第3カーソル21は、色度円12側の第2カーソル19の位置を通過して色空間正面図13における軸と平行な直線31上を移動することが可能である。明度処理モードにおいて、マウス6aのホイールを回転させることにより前記軌道上の自由な諧調位置へ移動させることができ、画像の明度変更を実行する際にはマウス6aで直線31上をドラッグ&ドロップすることにより移動させる。
レベル線22は、第3カーソル21が位置する諧調別色度円30(n)に相当するものであり、画像の明度変更を行う際にはマッピング画素に対する変更の目安となり、特に画像中の一部の明度を変更するような際には有用である。
The
The
以下、図7のステップS13で実行される色度円12と色空間正面図13に対する各種の色属性変更操作とその画像処理内容について説明する。
<画像全体の色相変更処理>
図10の(A)に示すように、色相処理モードの設定状態で、色度円12の外周の任意の位置にある第1カーソル17をマウス6aで右クリックして色度円12の外周に沿ってドラッグ&ドロップすると、図10の(B)に示すように、HSV色空間データの全マッピング画素が、第1カーソル17の移動に伴う半径線18の回転角度だけHSV色空間の円柱軸を中心に回転せしめられる。
したがって、色度円12において全マッピング画素が回転前の位置の色相から回転後の位置の色相に変更され、それに対応して画像データ側の全画素の色相も変更される。
Hereinafter, various color attribute changing operations on the
<Hue change processing of entire image>
As shown in FIG. 10A, in the hue processing mode setting state, the
Accordingly, in the
<画像の選択的な色相変更処理>
先ず、色相処理モードの設定状態で、マウス6aのホイールを操作して第1カーソル17を色度円12の外周に沿って移動させることにより、半径線18を変更したい色相範囲における変更先色相側とは反対側の境界に位置させる。
そして、図11の(A)に示すように、色相処理モードのまま、第1カーソル17をマウス6aで左クリックして色度円12の外周に沿ってドラッグ&ドロップすると、図11の(B)に示すように、第1カーソル17の移動に伴う半径線18の回転角度範囲(変更したい色相範囲)に含まれているHSV色空間データの各マッピング画素が円柱軸を中心に前記回転角度分だけ回転せしめられる。
したがって、色度円12において前記範囲に含まれているマッピング画素が回転前の色相から回転後の色相に変更され、それらマッピング画素に対応する画像データ側の画素の色相も変更される。
色弱者とっては色相を変更することで画像がより明瞭に見える場合が少なくないため、この色相範囲の変更処理はその意味において有効である。
<Selective hue change processing of image>
First, in the setting state of the hue processing mode, by operating the wheel of the
Then, as shown in FIG. 11A, when the
Therefore, the mapping pixels included in the range in the
For the color weak, there are many cases where the image appears more clearly by changing the hue, and this hue range changing process is effective in that sense.
<画像全体の彩度変更処理>
図12の(A)に示すように、彩度処理モードの設定状態で、半径線18上の任意の位置にある第2カーソル19をマウス6aで右クリックして半径線18上を外側方向へドラッグ&ドロップすると、図12の(B)に示すように、HSV色空間データの全マッピング画素が円柱軸を中心に外周側へ拡がる態様で移動せしめられる。ただし、円柱の外周面位置より外側へは移動しない。
したがって、色度円12において全マッピング画素は移動前の彩度から移動後の彩度に変更され、それに対応して画像データの全画素の彩度も変更される。すなわち、画面全体の画像の鮮やかさが増すことになる。
なお、半径線18上の第2カーソル19を内側方向へドラッグ&ドロップすると、前記とは逆にHSV色空間データの全マッピング画素が円柱軸側へ向かって集中する態様で移動し、結果として画面全体の画像の鮮やかさが低下する。
<Saturation change processing of entire image>
As shown in FIG. 12A, in the saturation processing mode setting state, the
Therefore, in the
Note that when the
<画像中の選択した色相についての彩度変更処理>
先ず、色相処理モードの設定状態で、マウス6aのホイールを操作して第1カーソル17を色度円12の外周に沿って移動させることにより、半径線18を変更したい色相範囲の中心に位置させる。
そして、図13の(A)に示すように、彩度処理モードに切り換えて、第2カーソル19をマウス6aで左クリックして半径線18上を内側方向へドラッグ&ドロップすると、図13の(B)に示すように、HSV色空間データの全体が円柱状の空間から半径線18を短軸とした楕円柱状の空間に圧縮される態様でマッピング画素が移動することになり、半径線18付近を中心とする色相範囲にあるマッピング画素の彩度を選択的に低下させることができる。
その結果、画像データにおける前記色相範囲にある画素の彩度を選択的に低下させることができ、全体的バランスを大きく変化させることなく、画像中の特定の色相範囲の彩度を低くすることができる。
この画像処理は、例えば、夕焼けやタングステン光の下で撮影された画像を見やすくするような場合に有効である。
なお、図13の(A)において、半径線18上の第2カーソル19を外側方向へドラッグ&ドロップすると、前記とは逆に特定の色相範囲の彩度を高くすることができる。
<Saturation change processing for selected hue in image>
First, in the setting state of the hue processing mode, the
Then, as shown in FIG. 13A, when the mode is switched to the saturation processing mode, the
As a result, the saturation of pixels in the hue range in the image data can be selectively reduced, and the saturation of a specific hue range in the image can be reduced without greatly changing the overall balance. it can.
This image processing is effective, for example, when it is easy to see an image taken under sunset or tungsten light.
In FIG. 13A, when the
<画像全体の明度変更処理>
図14の(A)に示すように、明度処理モードの設定状態で、色空間正面図13内で直線31上の任意の位置にある第3カーソル21をマウス6aで右クリックして同直線31の方向へΔVだけ移動させると、図14の(B)に示すように、HSV色空間データの全マッピング画素も第3カーソル21の移動方向へΔVだけ移動する。ただし、マッピング画素が円柱の上面(第255階調)と底面(第0階調)を超えて移動することはなく、それぞれが移動範囲の限度となる。
したがって、第3カーソル21を上側/下側へ移動させれば全マッピング画素の輝度が移動距離ΔVに対応する輝度諧調分だけ高く/低くなり、それに対応して画像データの全画素の輝度諧調も高く/低く変更されることから、画像全体の明度の変更ができる。
<Brightness change processing for entire image>
As shown in FIG. 14A, in the lightness processing mode setting state, the
Therefore, if the
<画像中の選択した色相についての明度変更処理>
先ず、色相処理モードの設定状態で、マウス6aのホイールを操作して第1カーソル17を色度円12の外周に沿って移動させることにより、半径線18を変更したい色相範囲の中心に位置させる。
次に、キーボード6bのファンクションキーFnを押した後、テンキーで角度を入力して色相範囲を選択し、再びファンクションキーFnを押すと、その選択した色相範囲が淡い白色でマスキングされる。
そして、図15の(A)に示すように、明度処理モードに切り換えて、直線31上の任意の位置にある第3カーソル21をマウス6aで左クリックして同直線3上をΔVだけ移動させると、図15の(B)に示すように、選択された色相範囲(図では色度円12における斜線の範囲)の下側の色空間内に含まれるマッピング画素だけが第3カーソル21の移動方向へΔVだけ移動する。
したがって、第3カーソル21を上側/下側へ移動させれば一定の色相範囲内のマッピング画素の輝度が移動距離ΔVに対応する輝度諧調分だけ高く/低くなり、それに対応して画像データの前記色相範囲内の画素の輝度諧調も高く/低く変更される。
すなわち、画像中で特定の色相範囲にある画素の輝度を選択的に変更することができる。
<Lightness change processing for the selected hue in the image>
First, in the setting state of the hue processing mode, the
Next, after pressing the function key Fn of the
Then, as shown in FIG. 15A, the mode is switched to the brightness processing mode, and the
Accordingly, if the
That is, the luminance of pixels in a specific hue range in the image can be selectively changed.
<画像のコントラスト変更処理>
先ず、明度処理モードの設定状態で、マウス6aのホイールを操作して第3カーソル21を直線31上の所定の輝度階調位置まで移動させる。
そして、明度処理モードのまま、図16の(A)に示すように、明度処理モードの設定状態で、キーボード6bのファンクションキーFnを押しながら第3カーソル21をマウス6aで右クリックして、直線31上をΔB階調分移動させると、図16の(B)に示すように、その移動開始位置の階調より高い階調の諧調別色度円に属するマッピング画素の輝度をΔB階調だけ高くし、逆に移動開始位置の階調より低い階調の諧調別色度円に属するマッピング画素の輝度をΔB階調だけ低くする。
したがって、前記条件下での第3カーソル21の移動によってマッピング画素の内、第3カーソル21の移動開始位置の輝度階調よりも高輝度側に属するものはより高輝度に、低輝度側に属するものはより低輝度となり、それに対応して画像データの画素の輝度諧調も同様に変更されることから、コントラストを強くする変更処理ができる。
なお、マウス6aのホイール操作で第3カーソル21を最初に移動させる位置によってコントラストの変更効果は異なる。
<Image contrast change processing>
First, in the lightness processing mode setting state, the
Then, as shown in FIG. 16A, while maintaining the brightness processing mode, the
Therefore, among the mapping pixels, the pixel belonging to the higher luminance side than the luminance gradation at the movement start position of the
Note that the effect of changing the contrast differs depending on the position at which the
<画像中の選択した色相の強調処理>
先ず、色相処理モードの設定状態で、マウス6aのホイールを操作して第1カーソル17を色度円12の外周に沿って移動させることにより、半径線18を強調したい色相範囲の側部に位置させる。
そして、図17の(A)に示すように、色相処理モードのまま、キーボード6bのファンクションキーF1を押しながら第1カーソル17をマウス6aで左クリックして色度円12の外周に沿ってドラッグ&ドロップすると、その移動に伴う半径線18の回動範囲で色度円12上に構成される扇形(斜線領域)の下側の色空間内に含まれるマッピング画素はそのままにして、図17の(B)に示すように、他の色空間にあるマッピング画素が周方向からその色空間内へ補充される。
すなわち、他の色空間にあるマッピング画素の分布状態を周方向について均等に拡張させて、マッピング画素を扇形の下側の色空間内へ周方向から移動させる。
したがって、扇形の下側のHSV色空間で定義される色相を有するマッピング画素の数が増大し、それに対応して画像データの画素で前記色相を有するものが多くなって、画像における前記色相の強調処理ができる。
<Enhancement of selected hue in image>
First, in the setting state of the hue processing mode, the
Then, as shown in FIG. 17A, in the hue processing mode, the
That is, the distribution state of the mapping pixels in the other color spaces is expanded uniformly in the circumferential direction, and the mapping pixels are moved from the circumferential direction into the lower color space of the sector shape.
Therefore, the number of mapping pixels having a hue defined in the HSV color space on the lower side of the sector increases, and the corresponding number of pixels of the image data has the hue, thereby enhancing the hue in the image. Can be processed.
<画像中の選択した彩度範囲の強調処理>
先ず、彩度処理モードの設定状態で、マウス6aのホイールを操作して第2カーソル19を半径線18上で強調したい彩度範囲(斜線環状領域)の内側に位置させる。
そして、図18の(A)に示すように、彩度処理モードのまま、キーボード6bのファンクションキーF1を押しながら第2カーソル19をマウス6aで左クリックして半径線18上を前記彩度範囲の外側へドラッグ&ドロップすると、前記斜線環状領域の下側の色空間内に含まれるマッピング画素はそのままにして、図18の(B)に示すように、他の色空間にあるマッピング画素が半径方向からその色空間内へ補充される。
すなわち、他の色空間(前記斜線環状領域の内側及び外側)にあるマッピング画素の分布状態を半径方向について均等に拡張させて、マッピング画素を前記斜線環状領域の下側の色空間内へ半径方向から移動させる。
したがって、前記斜線環状領域の下側の色空間で定義される彩度を有するマッピング画素の数が増大し、それに対応して画像データの画素で前記彩度を有するものが多くなって、画像における前記彩度範囲の強調処理ができる。
<Enhancement of selected saturation range in image>
First, with the saturation processing mode set, the wheel of the
Then, as shown in FIG. 18A, in the saturation processing mode, the
That is, the distribution state of the mapping pixels in other color spaces (inside and outside of the shaded annular region) is uniformly expanded in the radial direction, and the mapping pixels are radially entered into the color space below the shaded annular region. Move from.
Therefore, the number of mapping pixels having the saturation defined in the color space below the shaded annular area increases, and correspondingly, the number of pixels of the image data having the saturation increases. The saturation range can be emphasized.
<特殊画像における明度変更処理>
画像の中に太陽が入る等のように極めて強い光源がある場合、いわゆるハレーションが生じてその光源部分の周囲が白くぼやけた画像になる。
これを色空間正面図13のマッピング画素の分布状態でみると、図19の(A)に示すように、最高諧調付近(斜線を施した部分)とその近傍により多くのマッピング画素が集中した状態として確認できる。
その場合、明度処理モードに設定した状態で、図19の(A)に示すように、マウス6aのホイールを操作して第3カーソル21を前記マッピング画素の集中部分の下側へ移動させた後、キーボード6bのファンクションキーF1を押しながら第3カーソル21をマウス6aで左クリックして最高諧調付近へドラッグ&ドロップする。
すると、最高輝度諧調付近のマッピング画素はほぼそのままの状態で、図19の(B)に示すように、その少し下側の階調に分布していたマッピング画素が最高諧調付近へ送り込まれ、その下側にはより低い階調に属していたマッピング画素が移動してくることになる。
この色空間正面図13のマッピング画素に対する処理により、画像データではハレーションを生じている部分の画素が最高諧調側へ移動してしまい、視覚的にはハレーションが緩和された画像になる。
<Brightness change processing for special images>
When there is a very strong light source such as the sun entering the image, so-called halation occurs and the periphery of the light source part becomes a white and blurred image.
Looking at the distribution state of the mapping pixels in the color
In that case, after the
Then, the mapping pixels near the highest luminance gradation are almost unchanged, and as shown in FIG. 19B, the mapping pixels distributed in the gradation slightly below are sent to the vicinity of the highest gradation. The mapping pixel belonging to the lower gradation moves to the lower side.
Due to the processing on the mapping pixel in the color
<画像から選択的に一定範囲の色相を消失させる処理>
先ず、色相処理モードの設定状態で、マウス6aのホイールを操作して第1カーソル17を色度円12の外周に沿って移動させることにより、半径線18を消失させたい色相範囲の側部に位置させる。
そして、図20の(A)に示すように、色相処理モードのまま、キーボード6bのファンクションキーF2を押しながら第1カーソル17をマウス6aで左クリックし、半径線18が消失対象の色相範囲を回動するように、色度円12の外周に沿ってドラッグ&ドロップする。
すると、図20の(B)に示すように、色度円12において半径線18が通過した扇形(斜線領域)の下側の色空間内に含まれるマッピング画素が、前記扇形の中心半径線を境界として分かれる態様でそれぞれ周方向へ移動し、その結果、前記扇形の下側の色空間内にはマッピング画素が無くなると共に、全マッピング画素が周方向に関してより密な位置関係となった分布状態になる。
この操作処理に対応して、画像データの中の前記扇形の範囲に属する色相の画素は各階層別色度円31(n)での新たな移動位置での色相値となり、画像においては前記扇形の範囲内の色相値を有する画素が存在しないことになる。
<Process for selectively removing a certain range of hues from an image>
First, in the setting state of the hue processing mode, by operating the wheel of the
Then, as shown in FIG. 20A, in the hue processing mode, the
Then, as shown in FIG. 20B, the mapping pixel included in the color space below the sector (hatched area) through which the
Corresponding to this operation processing, the pixels of the hue belonging to the fan-shaped range in the image data become hue values at new movement positions in the chromaticity circles 31 (n) for each hierarchy, and in the image, the fan-shaped pixels Therefore, there is no pixel having a hue value within the range of.
<画像から選択的に一定範囲の彩度範囲を消失させる処理>
先ず、彩度処理モードの設定状態で、マウス6aのホイールを操作して第2カーソル19を半径線18に沿って移動させることにより、色度円12における消失させたい彩度範囲(環帯状範囲)の内側に位置させる。
そして、図21の(A)に示すように、彩度処理モードのまま、キーボード6bのファンクションキーF2を押しながら第2カーソル19をマウス6aで左クリックして半径線18上を前記環帯状範囲の外側へドラッグ&ドロップする。
すると、図21の(B)に示すように、前記環帯状範囲(斜線領域)の下側の色空間内に含まれるマッピング画素が、前記環帯状範囲の中心を通過する円を境界として内外に分かれる態様でそれぞれ半径方向へ移動する。
その結果、前記環帯状範囲の下側の色空間内にはマッピング画素が無くなると共に、全マッピング画素が半径方向に関してより密な位置関係となった分布状態になる。
この操作処理に対応して、画像データの中の前記環帯状範囲に属する彩度の画素は新たな移動位置での彩度値となり、画像においては前記環帯状範囲に含まれる彩度値を有する画素は存在しないことになる。
なお、第2カーソル19をマウス6aのホイールの操作で前記環帯状範囲の外側に位置させ、ファンクションキーF2を押しながら第2カーソル19をマウス6aで左クリックして前記環帯状範囲の内側へドラッグ&ドロップした場合にも、同様の機能・効果が得られるようにしてもよい。
<Process for selectively erasing a certain saturation range from an image>
First, in the saturation processing mode setting state, by operating the wheel of the
Then, as shown in FIG. 21A, in the saturation processing mode, the
Then, as shown in FIG. 21B, the mapping pixels included in the color space below the ring-shaped range (shaded area) are inward and outward with a circle passing through the center of the ring-shaped range as a boundary. Each moves in a radial direction in a divided manner.
As a result, there are no mapping pixels in the lower color space of the ring-shaped range, and all the mapping pixels are in a distribution state with a closer positional relationship in the radial direction.
Corresponding to this operation processing, the saturation pixel belonging to the ring-shaped range in the image data becomes the saturation value at the new movement position, and the image has the saturation value included in the ring-shaped range. There will be no pixels.
The
<画像から選択的に一定範囲の輝度範囲を消失させる処理>
先ず、明度処理モードの設定状態で、マウス6aのホイールを操作して第3カーソル21を直線31の方向へ移動させることにより、色空間正面図13における消失させたい輝度範囲の下側に位置させる。
そして、図22の(A)に示すように、明度処理モードのまま、キーボード6bのファンクションキーF2を押しながら第3カーソル21をマウス6aで左クリックして消失させたい輝度範囲の上側へドラッグ&ドロップする。
すると、HSV色空間内における前記輝度範囲に含まれているマッピング画素が、前記輝度範囲の中央レベルを境界として上下に分かれる態様でそれぞれ上下方向に移動し、その結果、前記輝度範囲にはマッピング画素が無くなると共に、全マッピング画素が上下方向に関してより密な位置関係となった分布状態になる。
この操作処理に対応して、画像データの中の前記輝度範囲に属する画素は新たな移動位置での輝度値となり、画像からは前記輝度範囲に含まれる輝度値を有する画素は存在しないことになる。
なお、第3カーソル21をマウス6aのホイールの操作で前記輝度範囲の上側に位置させ、ファンクションキーF2を押しながらマウス6aで左クリックして前記輝度範囲の下側へドラッグ&ドロップした場合にも、同様の機能・効果が得られるようにしてもよい。
<Process for selectively erasing a certain luminance range from an image>
First, in the setting state of the brightness processing mode, the
Then, as shown in FIG. 22A, in the lightness processing mode, while holding down the function key F2 of the
Then, the mapping pixels included in the luminance range in the HSV color space move in the vertical direction in such a manner that the mapping pixels are divided into upper and lower sides with the central level of the luminance range as a boundary. And all the mapping pixels are distributed more densely in the vertical direction.
Corresponding to this operation processing, pixels belonging to the luminance range in the image data become luminance values at the new movement position, and no pixel having a luminance value included in the luminance range exists from the image. .
Note that the
前記の「画像から選択的に色相範囲/彩度範囲/輝度範囲を消失させる処理」については、画像に変更を加える処理ではあるが、色属性の消失範囲を小さくしてその消失位置に特徴を持たせるようにすれば、画像に殆んど影響を与えることなく、画像データに対して著作権情報等の秘匿情報を付加することができるという有用性もある。 The above-mentioned “process for selectively erasing the hue range / saturation range / luminance range from the image” is a process for changing the image, but the erasure position of the color attribute is reduced by reducing the disappearance range of the color attribute. If it is provided, confidential information such as copyright information can be added to the image data without substantially affecting the image.
なお、以上の実施形態では、HSV色空間データに基づいて色度円12と空間正面図13を表示させて画像処理を実行する場合について説明したが、色相と彩度のみを変更する場合には、色度円12とそれに関連する操作ツール17,18,19,20のみを表示させる方式であってもよい。
また、明度の変更操作を行う場合においても、この実施形態の色度円12と従来からの明度変更用スライダーバーとを組み合わせて表示させる方式であってもよいが、その方式では選択した色相範囲や彩度範囲に属する画素の明度変更を行うことは不可能である。
In the above embodiment, the case where the
Further, even when performing a lightness changing operation, a method of displaying the
本発明は、GUIを用いてデジタル画像の色相・彩度・明度を変更する画像処理装置やフォトレタッチソフトに適用できる。 The present invention can be applied to an image processing apparatus and photo retouching software that change the hue, saturation, and brightness of a digital image using a GUI.
1…CPU、2…メインメモリ、3…ハードディスク、4…ディスクドライブ、4a…ディスク、5…ネットワークI/F、6…入力I/F、6a…マウス、6b…キーボード、7…ビデオI/F、8…サウンドI/F、8a…スピーカ、9…システムバス、10…画像処理用の初期画面、11…メニューバー、12…色度円、13…色空間正面図、15…元画像の表示領域、15…変更画像の表示領域、16a…色相/彩度の各処理モードの選択部、16b…明度処理モードの選択部、17…第1カーソル、18…半径線、19…第2カーソル、20…円線、21…第3カーソル、22…レベル線、30(n)…諧調別色度円、31…直線、MP…マッピング画素。 1 ... CPU, 2 ... main memory, 3 ... hard disk, 4 ... disk drive, 4a ... disk, 5 ... network I / F, 6 ... input I / F, 6a ... mouse, 6b ... keyboard, 7 ... video I / F , 8 ... Sound I / F, 8a ... Speaker, 9 ... System bus, 10 ... Initial screen for image processing, 11 ... Menu bar, 12 ... Chromaticity circle, 13 ... Color space front view, 15 ... Display of original image Area, 15 ... display area of the changed image, 16a ... selection section for each processing mode of hue / saturation, 16b ... selection section for lightness processing mode, 17 ... first cursor, 18 ... radius line, 19 ... second cursor, 20 ... circle line, 21 ... third cursor, 22 ... level line, 30 (n) ... tone-specific chromaticity circle, 31 ... straight line, MP ... mapping pixel.
Claims (9)
前記第1記憶手段のデジタル画像データの全画素を輝度値に基づいてN階調(Nは16以上の整数)に分別する画素分別手段と、
前記画素分別手段が分別した各諧調の画素群について、各画素毎にR(赤色),G(緑色),B(青色)の光強度の合計値に対する3色の内のいずれか2色に係る各光強度値の比率を求め、前記2つの比率を縦軸と横軸にとった直交座標である擬似xy色度図の座標上にマッピングすることにより、前記各比率に対応する辺を直交二辺とした直角二等辺三角形内に当該階調に属する画素群の色度情報を画素としてマッピングした第1段階データを作成する第1のデータ作成手段と、
前記第1のデータ作成手段が作成したN階調分の各第1段階データについて、前記直角二等辺三角形内にマッピングされた色度情報に係る画素(以下、「マッピング画素」という)を写像によって正三角形内に射影させて、その正三角形の三頂点がそれぞれ当該輝度階調でのR,G,Bの清色又は純色に相当し、各三辺上がそれぞれ当該輝度階調でのR,G,Bの内の2色混合による清色又は純色に相当し、且つ重心位置が当該輝度階調での無彩色に相当する第2段階データを作成する第2のデータ作成手段と、
前記第2のデータ作成手段が作成したN階調分の各第2段階データについて、前記正三角形内のマッピング画素を写像によって円形内に射影させて、その円の円周における中心角で120°毎の位置がそれぞれ当該輝度階調でのR,G,Bの清色又は純色に相当し、円周の他の区間がそれぞれ当該輝度階調でのR,G,Bの内の2色混合による清色又は純色に相当し、且つその円の中心位置が当該輝度階調での無彩色に相当する諧調別色度円データを作成する第3のデータ作成手段と、
前記第3のデータ作成手段が作成したN階調分の諧調別色度円データを、円柱状の色空間にマッピング画素が3次元的に分布したHSV色空間データとして記憶する第2記憶手段と、
前記第2記憶手段のHSV色空間データに基づいて、そのHSV色空間を円柱軸方向から見た色度円の表示データを作成する表示データ作成手段と、
前記表示データ作成手段が作成した表示データに基づいて、前記色度円をディスプレイに表示させる表示制御手段と
を具備したことを特徴とするデジタル画像の色属性表示装置。 First storage means for storing digital image data;
Pixel sorting means for sorting all the pixels of the digital image data in the first storage means into N gradations (N is an integer of 16 or more) based on the luminance value;
For each gradation pixel group sorted by the pixel sorting means, each pixel is associated with any two of the three colors for the total light intensity of R (red), G (green), and B (blue). The ratio of each light intensity value is obtained, and the two ratios are mapped onto the coordinates of the pseudo xy chromaticity diagram, which is an orthogonal coordinate with the vertical axis and the horizontal axis, so that the side corresponding to each ratio is orthogonally divided. First data creation means for creating first stage data in which chromaticity information of a pixel group belonging to the gradation is mapped as a pixel in a right isosceles triangle as a side;
For each of the first gradation data for N gradations created by the first data creation means, a pixel related to chromaticity information (hereinafter referred to as “mapping pixel”) mapped in the right isosceles triangle is mapped. Projecting into an equilateral triangle, the three vertices of the equilateral triangle correspond to R, G, and B clear colors or pure colors at the luminance gradation, and the three sides are respectively R, G, B at the luminance gradation. Second data creation means for creating second-stage data corresponding to a clear color or a pure color by mixing two colors of G and B and having a gravity center position corresponding to an achromatic color at the luminance gradation;
For each second stage data for N gradations created by the second data creation means, the mapping pixels in the equilateral triangle are projected into a circle by mapping, and the central angle at the circumference of the circle is 120 °. Each position corresponds to a clear color or pure color of R, G, B at the luminance gradation, and the other sections of the circumference are mixed with two colors of R, G, B at the luminance gradation, respectively. A third data creating means for creating tone-specific chromaticity circle data corresponding to a clear color or a pure color according to, and the center position of the circle corresponding to an achromatic color in the luminance gradation;
Second storage means for storing gradation-specific chromaticity circle data for N gradations created by the third data creation means as HSV color space data in which mapping pixels are three-dimensionally distributed in a cylindrical color space; ,
Display data creation means for creating display data of chromaticity circles when the HSV color space is viewed from the cylinder axis direction based on the HSV color space data of the second storage means;
A digital image color attribute display device comprising: display control means for displaying the chromaticity circle on a display based on display data created by the display data creating means.
デジタル画像データを第1記憶手段に記憶させる第1のステップと、
前記第1のステップで前記第1記憶手段に記憶させたデジタル画像データの全画素を、輝度値に基づいてN階調(Nは16以上の整数)に分別する第2のステップと、
前記第2のステップで分別した各諧調の画素群について、各画素毎にR,G,Bの光強度の合計値に対する3色の内のいずれか2色に係る各光強度値の比率を求め、前記2つの比率を縦軸と横軸にとった直交座標である擬似xy色度図の座標上にマッピングすることにより、前記各比率に対応する辺を直交二辺とした直角二等辺三角形内に当該階調に属する画素群の色度情報を画素としてマッピングした第1段階データを作成する第3のステップと、
前記第3のステップで作成したN階調分の各第1段階データについて、前記直角二等辺三角形内のマッピング画素を写像によって正三角形内に射影させて、その正三角形の三頂点がそれぞれ当該輝度階調でのR,G,Bの清色又は純色に相当し、各三辺上がそれぞれ当該輝度階調でのR,G,Bの内の2色混合による清色又は純色に相当し、且つ重心位置が当該輝度階調での無彩色に相当する第2段階データを作成する第4のステップと、
前記第4のステップで作成したN階調分の各第2段階データについて、前記正三角形内のマッピング画素を写像によって円形内に射影させて、その円の円周における中心角で120°毎の位置がそれぞれ当該輝度階調でのR,G,Bの清色又は純色に相当し、円周の他の区間がそれぞれ当該輝度階調でのR,G,Bの内の2色混合による清色又は純色に相当し、且つその円の中心位置が当該輝度階調での無彩色に相当する諧調別色度円データを作成する第5のステップと、
前記第5のステップで作成したN階調分の諧調別色度円データを、円柱状の色空間にマッピング画素が3次元的に分布したHSV色空間データとして第2記憶手段に記憶させる第6のステップと、
前記第6のステップで前記第2記憶手段に記憶させたHSV色空間データに基づいて、そのHSV色空間を円柱軸方向から見た色度円の表示データを作成する第7のステップと、
前記第7のステップで作成した表示データに基づいて、前記色度円をディスプレイに表示させる第8のステップと
を有することを特徴とするデジタル画像の色属性表示方法。 A color attribute display method for a digital image performed by a computer,
A first step of storing digital image data in a first storage means;
A second step of classifying all pixels of the digital image data stored in the first storage means in the first step into N gradations (N is an integer of 16 or more) based on a luminance value;
For each tone pixel group sorted in the second step, the ratio of each light intensity value for any two of the three colors to the total light intensity of R, G, B for each pixel is obtained. By mapping the two ratios onto the coordinates of the pseudo xy chromaticity diagram, which is an orthogonal coordinate with the vertical axis and the horizontal axis, the inside of a right isosceles triangle with the sides corresponding to each ratio as two orthogonal sides A third step of creating first stage data in which chromaticity information of a pixel group belonging to the gradation is mapped as a pixel;
For each of the first-stage data for N tones created in the third step, the mapping pixels in the right-angled isosceles triangle are projected into an equilateral triangle by mapping, and the three vertices of the equilateral triangle each have the corresponding luminance. It corresponds to a clear color or pure color of R, G, B in gradation, and each of the three sides corresponds to a clear color or pure color by mixing two colors of R, G, B in the luminance gradation, A fourth step of creating second stage data in which the position of the center of gravity corresponds to an achromatic color at the luminance gradation;
For each of the second-stage data for N gradations created in the fourth step, the mapping pixels in the equilateral triangle are projected into a circle by mapping, and the central angle on the circumference of the circle is set every 120 °. Each position corresponds to a clear color or a pure color of R, G, B at the brightness gradation, and the other sections of the circumference are each a clear color by mixing two colors of R, G, B at the brightness gradation. A fifth step of creating tone-specific chromaticity circle data corresponding to a color or a pure color and having a center position of the circle corresponding to an achromatic color in the luminance gradation;
Sixth tone-specific chromaticity circle data for N tones created in the fifth step is stored in the second storage means as HSV color space data in which mapping pixels are three-dimensionally distributed in a cylindrical color space. And the steps
Based on the HSV color space data stored in the second storage means in the sixth step, a seventh step of creating display data of a chromaticity circle when the HSV color space is viewed from the cylinder axis direction;
A digital image color attribute display method comprising: an eighth step of displaying the chromaticity circle on a display based on the display data created in the seventh step.
前記色属性表示装置が表示させる前記色度円の外周に沿って周方向へ移動可能な第1カーソル、前記第1カーソルと前記色度円の中心を結び、前記第1カーソルの移動に伴って回動する半径線、前記半径線上を移動可能な第2カーソル及び前記色度円と同心で前記第2カーソルを通過する円線を表示させる操作ツール表示手段と、
前記第1カーソル及び前記第2カーソルをそれぞれ独立に移動させることが可能な操作入力手段と、
前記操作入力手段による前記第1カーソルの移動に伴う前記半径線の回動に応じて、前記色属性表示装置の前記第2記憶手段が記憶している前記HSV色空間のマッピング画素を周方向について移動又は消去させ、また前記操作入力手段による前記第2カーソルの移動に伴う前記円線の半径の増減に応じて、前記HSV色空間のマッピング画素を半径方向について移動又は消去させると共に、移動したマッピング画素については移動先の色属性値に変更する色空間データ変更手段と、
前記色空間データ変更手段が変更(移動又は消去)の対象としたマッピング画素に対応する前記第1記憶手段のデジタル画像データの画素について、同一の色属性の変更処理を行う表示画素データ変更手段と
を具備したことを特徴とする画像処理装置。 The digital image color attribute display device according to claim 1, wherein the display control unit of the device displays the chromaticity circle on a display, and the digital image data stored in the first storage unit is also the image. An image processing apparatus to be displayed on a display,
A first cursor that is movable in the circumferential direction along the outer periphery of the chromaticity circle displayed by the color attribute display device, connects the first cursor and the center of the chromaticity circle, and moves with the movement of the first cursor. An operating tool display means for displaying a rotating radius line, a second cursor movable on the radius line, and a circular line concentric with the chromaticity circle and passing through the second cursor;
Operation input means capable of independently moving the first cursor and the second cursor;
The mapping pixels in the HSV color space stored in the second storage unit of the color attribute display device in the circumferential direction are rotated according to the rotation of the radial line accompanying the movement of the first cursor by the operation input unit. The mapping pixel moved or erased in the radial direction is moved or erased in accordance with the increase or decrease of the radius of the circular line accompanying the movement of the second cursor by the operation input means. For the pixel, color space data changing means for changing to the destination color attribute value,
Display pixel data changing means for performing the same color attribute changing process on the pixels of the digital image data in the first storage means corresponding to the mapping pixels to be changed (moved or deleted) by the color space data changing means; An image processing apparatus comprising:
前記色属性表示装置が表示させる前記色度円の外周に沿って周方向へ移動可能な第1カーソル、前記第1カーソルと前記色度円の中心を結び、前記第1カーソルの移動に伴って回動する半径線、前記半径線上を移動可能な第2カーソル、前記色度円と同心で前記第2カーソルを通過する円線及び前記色空間正面図中を前記HSV色空間に係る円柱軸と平行な方向へ移動可能な第3カーソルを表示させる操作ツール表示手段と、
前記第1カーソル、前記第2カーソル及び第3カーソルをそれぞれ独立に移動させることが可能な操作入力手段と、
前記操作入力手段による前記第1カーソルの移動に伴う前記半径線の回動に応じて、前記色属性表示装置の前記第2記憶手段が記憶している前記HSV色空間のマッピング画素を周方向について移動又は消去させ、前記操作入力手段による前記第2カーソルの移動に伴う前記円線の半径の増減に応じて、前記HSV色空間のマッピング画素を半径方向について移動又は消去させ、また前記操作入力手段による前記第3カーソルの移動に応じて、前記HSV色空間のマッピング画素を円柱軸と平行な方向について移動又は消去させると共に、移動したマッピング画素については移動先の色属性値に変更する色空間データ変更手段と、
前記色空間データ変更手段が変更(移動又は消去)の対象としたマッピング画素に対応する前記第1記憶手段のデジタル画像データの画素について、同一の色属性の変更処理を行う表示画素データ変更手段と
を具備したことを特徴とする画像処理装置。 3. A digital image color attribute display device according to claim 2, wherein the display control means of the device displays the chromaticity circle and the color space front view on a display, and the digital data stored in the first storage means. An image processing apparatus for displaying an image of image data on the display,
A first cursor that is movable in the circumferential direction along the outer periphery of the chromaticity circle displayed by the color attribute display device, connects the first cursor and the center of the chromaticity circle, and moves with the movement of the first cursor. A rotating radius line, a second cursor movable on the radius line, a circular line concentric with the chromaticity circle and passing through the second cursor, and a cylinder axis related to the HSV color space in the color space front view An operation tool display means for displaying a third cursor movable in a parallel direction;
Operation input means capable of independently moving the first cursor, the second cursor, and the third cursor;
The mapping pixels in the HSV color space stored in the second storage unit of the color attribute display device in the circumferential direction are rotated according to the rotation of the radial line accompanying the movement of the first cursor by the operation input unit. The HSV color space mapping pixel is moved or erased in the radial direction in accordance with the increase or decrease of the radius of the circular line accompanying the movement of the second cursor by the operation input means, and the operation input means According to the movement of the third cursor by the color space data, the mapping pixel in the HSV color space is moved or deleted in the direction parallel to the cylinder axis, and the moved mapping pixel is changed to the destination color attribute value. Change means,
Display pixel data changing means for performing the same color attribute changing process on the pixels of the digital image data in the first storage means corresponding to the mapping pixels to be changed (moved or deleted) by the color space data changing means; An image processing apparatus comprising:
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014-234516 | 2014-11-19 | ||
| JP2014234516 | 2014-11-19 | ||
| JP2015124726A JP5854573B1 (en) | 2014-11-19 | 2015-06-22 | Digital image color attribute display apparatus, method and program, and image processing apparatus |
| JP2015-124726 | 2015-06-22 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016080011A1 true WO2016080011A1 (en) | 2016-05-26 |
Family
ID=55269166
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2015/068537 Ceased WO2016080011A1 (en) | 2014-11-19 | 2015-06-26 | Color attribute display device, method, and program for digital image and image processing apparatus |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP5854573B1 (en) |
| WO (1) | WO2016080011A1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114022389A (en) * | 2021-11-17 | 2022-02-08 | 河北农业大学 | Method for distinguishing plant leaf color grade based on digital camera |
| CN114612454A (en) * | 2022-03-21 | 2022-06-10 | 玉林师范学院 | Fish feeding state detection method |
| JP7296182B1 (en) | 2022-04-05 | 2023-06-22 | 株式会社ロジック・アンド・デザイン | Image processing method |
| WO2024009700A1 (en) * | 2022-07-07 | 2024-01-11 | 株式会社ロジック・アンド・デザイン | Image processing method |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018185695A (en) * | 2017-04-26 | 2018-11-22 | キヤノン株式会社 | Information processing device, information processing method and program |
| JP7364381B2 (en) | 2019-07-19 | 2023-10-18 | ファナック株式会社 | Image processing device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0758968A (en) * | 1993-06-30 | 1995-03-03 | Fuji Xerox Co Ltd | Method and device for processing image of hue conversion |
| JP2005286985A (en) * | 2004-03-02 | 2005-10-13 | Seiko Epson Corp | Setting the color tone to be added to the image |
| JP2006314145A (en) * | 1997-03-14 | 2006-11-16 | Sony Corp | Image processing apparatus and image processing method |
| JP2013101354A (en) * | 2012-12-07 | 2013-05-23 | Renesas Electronics Corp | Display drive circuit |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4211819B2 (en) * | 1997-03-14 | 2009-01-21 | ソニー株式会社 | Image processing device |
-
2015
- 2015-06-22 JP JP2015124726A patent/JP5854573B1/en not_active Expired - Fee Related
- 2015-06-26 WO PCT/JP2015/068537 patent/WO2016080011A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0758968A (en) * | 1993-06-30 | 1995-03-03 | Fuji Xerox Co Ltd | Method and device for processing image of hue conversion |
| JP2006314145A (en) * | 1997-03-14 | 2006-11-16 | Sony Corp | Image processing apparatus and image processing method |
| JP2005286985A (en) * | 2004-03-02 | 2005-10-13 | Seiko Epson Corp | Setting the color tone to be added to the image |
| JP2013101354A (en) * | 2012-12-07 | 2013-05-23 | Renesas Electronics Corp | Display drive circuit |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114022389A (en) * | 2021-11-17 | 2022-02-08 | 河北农业大学 | Method for distinguishing plant leaf color grade based on digital camera |
| CN114022389B (en) * | 2021-11-17 | 2022-08-09 | 河北农业大学 | Method for distinguishing plant leaf color grade based on digital camera |
| CN114612454A (en) * | 2022-03-21 | 2022-06-10 | 玉林师范学院 | Fish feeding state detection method |
| JP7296182B1 (en) | 2022-04-05 | 2023-06-22 | 株式会社ロジック・アンド・デザイン | Image processing method |
| JP2023153733A (en) * | 2022-04-05 | 2023-10-18 | 株式会社ロジック・アンド・デザイン | Image processing device |
| WO2024009700A1 (en) * | 2022-07-07 | 2024-01-11 | 株式会社ロジック・アンド・デザイン | Image processing method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2016105574A (en) | 2016-06-09 |
| JP5854573B1 (en) | 2016-02-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5854573B1 (en) | Digital image color attribute display apparatus, method and program, and image processing apparatus | |
| CN103069373B (en) | Two-Dimensional Block in Beam Seas control | |
| US9547427B2 (en) | User interface with color themes based on input image data | |
| US8760464B2 (en) | Shape masks | |
| JP4677323B2 (en) | Image processing apparatus and image processing method | |
| WO2012154258A1 (en) | User-aided image segmentation | |
| US20170228899A1 (en) | Custom heatmaps | |
| US20140292800A1 (en) | Automatically Keying an Image | |
| JPS59197085A (en) | Color image altering apparatus | |
| US10489938B2 (en) | Digital paint generation feedback | |
| US20180365866A1 (en) | Multi-dimensional Color and Opacity Gradation Tools, Systems, Methods and Components | |
| CN105719591A (en) | Display Apparatus And Controlling Method | |
| JP4747970B2 (en) | Image processing device | |
| US10742846B2 (en) | Information processing apparatus and non-transitory computer readable medium for presenting visual effect of spot color | |
| US7573596B2 (en) | Systems and methods for facilitating user adjustment of print settings | |
| US20140240343A1 (en) | Color adjustment control in a digital graphics system using a vision system | |
| JP2006121421A (en) | Device and method for color converging image data and recording medium recording its program | |
| US10593067B2 (en) | Intelligent systems and methods for dynamic color hierarchy and aesthetic design computation | |
| WO2015037388A1 (en) | User interface device, sound control apparatus, sound system, sound control method, and program | |
| CN100411009C (en) | Image display system and method | |
| JP2016012899A (en) | Projector, image projection method and program | |
| US20070040763A1 (en) | Image display system | |
| JP3887151B2 (en) | Color display control device, display color setting method thereof, storage medium, color display device, and writing color setting method thereof | |
| JP2006229480A (en) | Program and apparatus for image processing and recording medium | |
| JP2021018600A (en) | Image processing apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15860512 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15860512 Country of ref document: EP Kind code of ref document: A1 |