Image processing apparatus, image processing method, and program

The image processing apparatus addresses the issue of reduced color discrimination in monochrome conversions by adjusting gray values and emphasizing edges, effectively improving object distinguishability in monochrome images.

JP2024162429AInactive Publication Date: 2024-11-21CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023077921
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-10
Publication Date
2024-11-21
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing methods for converting full-color images to monochrome reduce color discrimination due to similar gray values after conversion, leading to decreased object distinguishability.

Method used

An image processing apparatus that adjusts converted gray values to ensure a minimum difference between adjacent values and emphasizes object edges, using a combination of gray value adjustment and edge enhancement processing.

Benefits of technology

Improves object distinguishability in monochrome images by ensuring adequate gray value differences and highlighting edges, thereby enhancing discrimination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024162429000001_ABST
    Figure 2024162429000001_ABST
Patent Text Reader

Abstract

To appropriately improve the distinctiveness between objects in a monochrome image.SOLUTION: An image processing apparatus for printing a color image in a monochrome format has: acquisition means that acquires PDL data; conversion means that converts each of a plurality of color values representing a plurality of colors designated for every object in the PDL data into a gray value; adjustment means that adjusts the gray values obtained through the conversion so that, when the plurality of gray values obtained through the conversion are sorted, a difference in the combination of the adjacent gray values becomes a predetermined value or more; and processing means that performs processing of emphasizing the edges of the objects corresponding to the combination in which the difference is reduced as a result of the adjustment.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to processing to improve the distinctiveness of monochrome images. [Background technology]

[0002] In a typical office, documents such as presentation materials created using word processing applications are usually created in full color. However, even document images created in full color are often printed in monochrome (black only). When printing such full-color document images (hereinafter referred to as "color images") in monochrome, a grayscale conversion process is required to convert the color values ​​of the color image to monochrome.

[0003] For example, when printing a color image with color values ​​in the RGB color space in monochrome, the RGB values ​​are converted to gray values ​​that represent brightness using weighting calculations such as the NTSC weighted average method. In this process, colors that are completely different in the RGB values ​​may end up with the same or similar gray values ​​after conversion. In this case, the color distinction that existed in the color image is reduced in the grayscale image.

[0004] Patent Document 1 describes a method for improving the distinctiveness of objects in a grayscale image by correcting gray values ​​converted from RGB values ​​of a color image so that the differences between the gray values ​​become larger. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Japanese Patent Application Publication No. 2023-33978 Summary of the Invention [Problem to be solved by the invention]

[0006] However, with the method of Patent Document 1, there are combinations of gray values ​​where the gray value difference is smaller after the gray value is corrected, and in this case, the distinctiveness of the object corresponding to the smaller gray value difference may be perceived as being reduced by correcting the gray value. [Means for solving the problem]

[0007] The image processing device disclosed herein is an image processing device for printing color images in monochrome, and is characterized by having an acquisition means for acquiring PDL data, a conversion means for converting each of a plurality of color values ​​representing a plurality of colors specified for each object in the PDL data into a gray value, an adjustment means for adjusting the converted gray values ​​so that the difference between adjacent combinations of gray values ​​when the converted gray values ​​are sorted becomes equal to or greater than a predetermined value, and a processing means for performing processing to emphasize the edges of objects corresponding to the combinations whose difference has become smaller as a result of the adjustment. [Effects of the Invention]

[0008] According to the present disclosure, it is possible to appropriately improve the distinctiveness of objects in monochrome images. [Brief explanation of the drawings]

[0009] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of an image processing system. [Figure 2] FIG. 2 is a diagram illustrating the functional configuration of an image forming apparatus and a host PC. [Figure 3] 4A and 4B are diagrams for explaining a drawing command, a color raster image, and attribute information. [Figure 4] FIG. 10 is a diagram illustrating edge enhancement processing. [Figure 5] 10 is a flowchart showing the flow of a print process. [Figure 6] 10 is a flowchart for explaining details of a process executed in a print process. [Figure 7]FIG. 10 is a diagram for explaining a color value list. [Figure 8] FIG. 10 is a diagram showing an example of a monochrome image. [Figure 9] 10 is a flowchart showing the flow of a process for determining a decrease in distinctiveness. DETAILED DESCRIPTION OF THE INVENTION

[0010] The following detailed description of the embodiments of the technology disclosed herein will be given with reference to the accompanying drawings. Note that the following embodiments do not limit the scope of the claimed technology, and not all of the combinations of features described in the following embodiments are necessarily essential to the solutions of the technology disclosed herein. In the following embodiments, an image forming apparatus will be used as an example of an image processing apparatus.

[0011] <Embodiment 1> In this embodiment, in order to print a color page in monochrome, a method is described for suppressing a decrease in distinctiveness caused by gray values ​​converted from color values ​​of different colors showing similar grays when color color values ​​are converted to gray color values ​​(gray values).

[0012] [Image processing system configuration] 1 is a diagram showing an example of the configuration of an image processing system 117 according to this embodiment. The image processing system 117 includes an image forming apparatus 101 and a host PC 119. The image processing system 117 is also connected to an external PC 127, including a server or cloud, that performs image processing.

[0013] The image forming apparatus 101 of this embodiment is a multi-function peripheral (MFP) that includes the functions of an image processing apparatus and also integrates multiple other functions such as a scanning function and a printing function, etc. The image forming apparatus 101 has a control unit 110, an operation unit 118, an image output unit 109, an image reading unit 108, a preview display unit 125, and an image transmission unit 126.

[0014] The control unit 110 comprehensively controls the image forming apparatus 101. The control unit 110 has a CPU 105, a ROM 106, a RAM 107, an HDD 111, an operation unit I / F 112, a printer I / F 113, a scanner I / F 114, a network I / F 115, and a preview display I / F 124.

[0015] CPU 105 controls the operation of image forming apparatus 101 by loading a program stored in ROM 106 into RAM 107 and executing it. RAM 107 is a temporary storage memory that can temporarily store image data, programs, etc. ROM 106 stores parameters for controlling image forming apparatus 101, applications, programs, an OS, etc. for implementing control according to this embodiment. HDD 111 stores image data obtained by scanning with image reading unit 108.

[0016] The image data stored in the HDD 111 is output to a preview display unit 125 via a preview display I / F 124, and the image can be displayed as a preview. The stored image data can also be transmitted from an image transmission unit 126 via a network I / F 115 to a host PC 119 or the like through a LAN 116.

[0017] The control unit 110 controls the operation unit 118 via an operation unit I / F 112. The operation unit 118 is, for example, a touch panel. Similarly, the control unit 110 controls the image output unit 109 via a printer I / F 113. The image output unit 109 is, for example, a printer. The control unit 110 also controls the image reading unit 108 via a scanner I / F 114. The image reading unit 108 is, for example, a scanner.

[0018] The control unit 110 controls the image transmission unit 126 via the network I / F 115. The control unit 110 receives images and the like from the host PC 119 via the LAN 116 and transmits images and the like to the host PC 119.

[0019] When the CPU 105 expands the program stored in the ROM 106 into the RAM 107 and executes it, the image reading unit 108 realizes a scanning function for reading a document, and the image output unit 109 realizes a printer function for outputting an image onto a recording medium such as paper.

[0020] On the other hand, the host PC 119 is an information processing device and includes a CPU 120, a ROM 121, a RAM 122, and an HDD 123. The CPU 120 controls the operation of the host PC 119 by loading a program stored in the ROM 121 into the RAM 122 and executing it. The RAM 122 is a temporary storage memory and is capable of temporarily storing images, programs, etc.

[0021] [Functional configuration related to print processing] FIG. 2 is a diagram illustrating the functional configuration of the image forming apparatus 101 and the host PC 110 during print processing in the image processing system 117. As shown in FIG.

[0022] The host PC 110 has an application 201 and a printer driver 202. The application 201 and the printer driver 202 are installed in the ROM 121 of the host PC 110, and are controlled by the CPU 105 loading the programs stored in the ROM 121 into the RAM 122 and executing them.

[0023] An application 201 is an application used to generate electronic data such as a document, a presentation document, etc. Electronic data such as a document, a presentation document, etc. is created by the application.

[0024] The printer driver 202 is a driver that transmits print data based on a document, a presentation document, etc. to the image forming apparatus 101 and causes the image forming apparatus 101 to print an image based on the print data.

[0025] This print data is then converted into a raster image by the command processing unit 207 of the image forming apparatus 101, and the raster image is stored in the image storage unit 210. Thereafter, image processing is performed in the image processing unit 220. The following describes each step in turn.

[0026] Next, we will explain the functional configuration related to image processing of the image forming apparatus 101. The image forming apparatus 101 has a command processing unit 207, an image storage unit 210, and an image processing unit 220. The command processing unit 207 has a command discrimination unit 203, a command analysis unit 204, an image processing unit 205, and a command execution unit 206.

[0027] The command determination unit 203 determines the type of PDL (Print Description Language) data representing an image acquired as print data by the control unit 110 of the image forming apparatus 101. The type of PDL data includes PostScript (PS) and Printer Command Language (PCL), etc.

[0028] The command analysis unit 204 extracts and analyzes the command of the PDL type identified by the command discrimination unit 203 .

[0029] The image processing unit 205 performs image processing according to the analysis result of the command analysis unit 204, such as color conversion processing for objects with predetermined attributes and thickness adjustment processing for lines or objects.

[0030] The command execution unit 206 generates raster image data by executing RIP (Raster Image Processor) processing (rasterization) that performs drawing based on the analysis result of the command analysis unit 204 and the processing result of the image processing unit 205. The command execution unit 206 also generates attribute information that indicates the attributes of each object.

[0031] Next, a description will be given of the processing of the image storage unit 210. The image storage unit 210 stores the raster image data and attribute information generated by the command execution unit 206 in the HDD 111. The image storage unit 210 also performs output control for outputting print data from the image storage unit 210 to the preview display unit 125 or the image transmission unit 126.

[0032] The image processing unit 220 performs various image processing using the raster image data and attribute information generated by the command execution unit 206 or the raster image data and attribute information stored in the image storage unit 210 .

[0033] The color conversion processing unit 211 performs color conversion from the RGB color space to the CMYK color space, color conversion from color to gray, or color conversion from the RGB color space to the RGB color space.

[0034] The filter processing unit 212 performs sharpness processing such as edge enhancement and smoothing. Details of the processing by the filter processing unit 212 will be described later.

[0035] The trapping processor 213 performs trapping processing to make a color plate slip into an adjacent pixel in order to prevent white spots due to misalignment between the color plates.

[0036] A gamma processing unit 214 performs gamma processing using a one-dimensional LUT (look-up table) according to the characteristics of the printer. Other image processing units include dither processing and the like performed on gamma-processed images.

[0037] The functions of the command processing unit, image storage unit 210, and image processing unit 220 of the image forming apparatus 101 shown in Fig. 2 are realized by the CPU 105 loading program code stored in the ROM 106 into the RAM 107 and executing it. Alternatively, some or all of the functions of the units in Fig. 2 may be realized by hardware such as an ASIC or electronic circuit. For example, at least the functions of the units in the image processing unit 220 may be realized by hardware such as an ASIC or electronic circuit.

[0038] [About drawing commands] FIG. 3 is a diagram for explaining an example of processing in which the command execution unit 206 generates a raster image and attribute information by drawing via a RIP (raster image processor) in accordance with the analysis result of the command analysis unit 204.

[0039] Fig. 3(a) shows drawing commands 300 in image data (PDL data) containing commands written in PDL, acquired as print data by the image forming apparatus 101. Fig. 3(b) shows a color raster image 310 generated by RIP processing performed by the command execution unit 206 in response to analysis of the drawing commands 300 by the command analysis unit 204. The commands included in the print data include drawing commands and control commands.

[0040] The control commands include commands for specifying paper sizes such as A4 and A3, 2-in-1 settings for fitting two pages onto one output sheet, commands for specifying finishing information such as double-sided printing, etc. The control commands also include commands for converting the image indicated by the print data from color to monochrome, and commands for specifying whether or not to cause the image storage unit 210 to store image data on the HDD.

[0041] Next, we will briefly explain the contents of the drawing command 300 shown in Figure 3(a). The color values ​​included in the drawing command 300 are specified as 8-bit signal values ​​in three-dimensional RGB space. The second command in the drawing command 300, the color mode setting command 301, indicates the color mode of the job. "Set Page Color (CL)" indicates that the following commands will be expanded in color. Note that the color values ​​need only be specified as multi-dimensional color component values, and are not limited to color values ​​in RGB space.

[0042] The third command, character size setting command 302, is a command for specifying the character size, and "SetTextSize(20)" indicates that the character size is 20 points. The fourth command, font setting command 303, is a command for specifying the character font, and "Set Font (Arial)" indicates that the character font is Arial. The fifth command, color setting command 307, "Set Color(255,50,255)" indicates that the RGB component values ​​are pink, with R=255, G=50, and B=255. In this specification, the color values ​​in the RGB space (RGB values) may be expressed as (R component signal value, G component signal value, B component signal value). The sixth command, object drawing command 304, is a command for drawing characters, and "Draw Text("A")" indicates that the character "A" is to be drawn. The third to sixth commands indicate that the character object "A" is drawn in Arial font, with a character size of 20 points, and in pink color.

[0043] As a result, as shown in Fig. 3(b), a character object 311 of "A" is drawn in pink in the raster image 310 of the page. The area indicated by the symbol "311" in Fig. 3(a) indicates the area for drawing the character object 311 in Fig. 3(b), and the same applies to other commands.

[0044] The seventh and eighth commands indicate that a "B" is to be drawn as a character object 312 on the raster image 310. The ninth and tenth commands indicate that a "C" is to be drawn as a character object 313 on the raster image 310.

[0045] The eleventh command, a color setting command 305, "Set Color (255,192,0)," indicates the color to be drawn. The twelfth command, an object drawing command 306, "Draw Polygon," indicates that a shape is to be drawn based on coordinate values. The coordinate values ​​are omitted in FIG. 3(a). As a result, as shown in FIG. 3(b), a circular shape object 314 is drawn in yellow within the raster image 310.

[0046] The 13th to 20th commands indicate that the four fan-shaped graphic objects are to be drawn in different colors. As a result, as shown in Figure 3(b), fan-shaped graphic object 315, which constitutes the pie chart, is drawn in raster image 310 with coordinates (153, 204, 255). Furthermore, fan-shaped graphic object 316 is drawn with coordinates (133, 240, 133), fan-shaped graphic object 317 with coordinates (255, 176, 150), and fan-shaped graphic object 318 with coordinates (200, 200, 200).

[0047] In addition, commands for setting coordinates and line thickness, commands for drawing images such as photographs, etc. are also included, but these are omitted in Fig. 3(a). In this embodiment, characters and figures excluding images are called graphics.

[0048] 3(c) is a diagram illustrating attribute information. Attribute information 320 is an image having the same number of pixels as raster image 310, with pixel values ​​being 8-bit attribute values ​​per channel. In attribute information 320, an attribute value with a bit set indicating character attribute 322 of "00100111" is generated as the pixel value of pixels corresponding to the areas of character objects 311 to 313 of the character "A," character "B," and character "C." An attribute value with a bit set indicating graphic attribute 321 of "00100011" is generated as the pixel value of pixels corresponding to the areas of circular graphic object 314 and sector-shaped graphic objects 315 to 318 that make up the pie chart.

[0049] [About edge enhancement processing] 4 is a diagram for explaining edge enhancement processing (sharpness processing), which is one of the filter processes performed on a raster image by the filter processing unit 212. Here, the edge enhancement processing will be explained using as an example processing on the C plate, which is the C (cyan) color plate among the CMYK color plates in a raster image in the CMYK color space.

[0050] The shaded pixels in image 401 in FIG. 4(a) represent pixels with a signal value of 50, which indicates density. White pixels in image 401 represent pixels with a signal value of 0. Partial image 402 in FIG. 4(b) represents a 3×3 pixel partial image that includes the edge of an object in image 401. In edge enhancement processing, processing is performed for each pixel to be processed, and the signal value of the pixel to be processed is modified. Of the 3×3 pixels that make up partial image 402 of the edge in FIG. 4(b), the pixel to be processed is the central pixel represented by the thick rectangle. FIG. 4(c) shows the weight of each pixel in the 3×3 that includes the pixel to be processed, for modifying the pixel value of the pixel to be processed.

[0051] In edge enhancement, a 3x3 pixel partial image 402 including the pixel to be processed shown in Fig. 4(b) is multiplied by the 3x3 weight shown in Fig. 4(c) for each pixel, and the resulting values ​​are added together to obtain a corrected signal value for the central pixel to be processed. Therefore, in the case of partial image 402, a corrected pixel value of 100 is obtained as shown in the following equation.

[0052] (Signal value of center pixel) = 50 x 0 + 50 x (-1) + 0 x 0 + 50 x (-1) + 50 x 5 + 0 x (-1) + 50 x 0 + 50 x (-1) + 0 x 0 = 100 As a result, the signal value of the central pixel of partial image 402 is corrected from 50 before the edge enhancement process to 100. As a result of the edge enhancement process, the central pixel of the partial image indicating the edge portion is corrected to become darker, as shown in partial image 403 in FIG. 4(d). By performing this process so that the pixel values ​​to be processed are the same for all pixels in image 401, it is possible to enhance the edges of image 401 in FIG. 4(a) by darkening the edge portions, as shown in image 404 in FIG. 4(e).

[0053] Similar to the edge enhancement process for the C plate, it is also possible to process each of the M, Y, and K plates. It is also possible to perform similar processing for other color spaces such as RGB data.

[0054] [Print processing] The user designates whether to print a color page image in monochrome via a UI screen displayed on a display unit (not shown) of the host PC 119 by the printer driver 202. Furthermore, when monochrome printing is selected, the user can select via the UI screen whether to convert the image to a monochrome image that improves distinctiveness.

[0055] When monochrome printing is specified in the printer driver 202 of the host PC 119, the application 201 or the printer driver 202 may perform conversion from color to gray. However, when monochrome printing with improved distinctiveness is specified, PDL data representing a color image is input to the image forming apparatus 101. The reason for this is that the image forming apparatus 101 is to perform processing to improve distinctiveness.

[0056] The process to improve distinctiveness involves extracting all color values ​​used in the text and graphics in an image, such as R, G, and B signal values ​​(RGB values). The extracted color values ​​are converted into gray values, which are then assigned at predetermined intervals within the range of possible gray values. To extract all RGB values ​​for the entire image, it is more efficient to extract RGB values ​​for each object from the commands written in the PDL before RIP processing, rather than obtaining RGB values ​​for each pixel in the raster image after RIP processing. Furthermore, converting the corresponding RGB values ​​to the desired gray values ​​for each object written in the PDL at once is more efficient than converting them pixel by pixel.

[0057] In this manner, in this embodiment, adjustments are made to correct gray values ​​so that the difference in gray values ​​after color conversion is equal to or greater than a predetermined value, in order to improve the distinctiveness of objects in monochrome images. However, as a result of the gray value adjustment, the difference in gray values ​​may become smaller than before the gray value adjustment, and as a result, there may be objects whose distinctiveness is reduced.

[0058] Therefore, in this embodiment, a distinctiveness reduction determination process is performed to determine whether there are any objects whose distinctiveness has decreased due to a smaller difference in gray values ​​as a result of gray value adjustment to improve distinctiveness. Objects whose distinctiveness is not determined to have decreased in the distinctiveness reduction determination process are converted from color to gray using the adjusted gray values ​​during RIP processing. On the other hand, for objects whose distinctiveness is determined to have decreased, a method is described in which RIP processing is performed in color and then grayed after edge enhancement. Objects with imagery such as photographs to which distinctiveness improvement processing is not applied are RIP processed as color objects and converted to gray before edge enhancement.

[0059] Fig. 5 is a flowchart showing the flow of print processing in the image forming apparatus 101 according to this embodiment. The flowchart in Fig. 5 explains print processing when conversion to monochrome output to improve distinctiveness is specified.

[0060] The series of processes shown in the flowchart in Fig. 5 are realized by CPU 105 loading a program stored in ROM 106 into RAM 107 and executing it. Also, some or all of the functions of the steps in Fig. 5 may be realized by hardware such as an ASIC or electronic circuit. Note that the symbol "S" in the explanation of each process indicates a step in the flowchart, and this also applies to subsequent flowcharts.

[0061] In S501, the command discrimination unit 203 acquires PDL data as print data from the host PC 119 via the network I / F 115.

[0062] In S502, the command analysis unit 204 analyzes the drawing commands and control commands included in the PDL data acquired in S501. For example, the command analysis unit 204 acquires information such as whether a color mode is specified and whether distinctiveness improvement processing is specified from the control command. The command analysis unit 204 also acquires attributes of each object in the print data from the drawing command. As a result of this step, it is assumed that it has been acquired that the color mode during printing is monochrome mode and that monochrome printing with improved distinctiveness has been specified.

[0063] Then, in S503, the color values ​​are converted into gray values, and the converted gray values ​​are adjusted. Then, in S504, a process for determining whether or not there is a decrease in distinctiveness is executed.

[0064] [Conversion to gray values ​​and adjustment of gray values] FIG. 6(a) is a flowchart for explaining the details of the process executed in S503.

[0065] In S601, the image processing unit 205 extracts color values ​​(RGB values) of different colors specified in color setting commands corresponding to objects with graphic attributes and text attributes from the drawing commands included in the PDL data acquired in S501. Then, the image processing unit 205 adds the extracted RGB values ​​to a color value list.

[0066] 7(a) is a diagram showing a color value list 700. The color value list 700 has a column 701 that holds an index for identifying the extracted RGB value, and a column 703 that holds the extracted RGB value (input luminance value). There is also a column 702 that holds the name of the object corresponding to the extracted RGB value. The index value is represented by "i".

[0067] In S601, the RGB value (0,0,0) representing black, which is the darkest color, is added as the 0th (i=0) color value in the color value list 700. Therefore, "0" is added to column 701, and (0,0,0) is added as the input luminance value in column 703.

[0068] In the case of the drawing command 300 in Fig. 3(a), the image processing unit 205 first extracts (255, 50, 255) as the RGB values ​​of the "A" character object 311. The extracted RGB values ​​are then added to column 703 of row 311 of the color value list 700 as the first (i=1) input luminance value. In the color value list 700 in Fig. 7(a), the row corresponding to an object is assigned the same code as the code of that object.

[0069] Similarly, the RGB values ​​of the "B" character object 312, the "C" character object 313, the circular graphic object 314, and the fan-shaped graphic objects 315 to 318 that make up the pie chart are added to the color value list as input luminance values. Finally, the RGB value (255, 255, 255) that represents white as the background color is added as the ninth color value (i=9). The color value list 700 with all the added color values ​​is saved in RAM 107. Through the above processing, a color value list 700 is generated that contains a total of nine different colors on the page. In this way, a color value list 700 is generated for each page to be drawn.

[0070] In S602, the image processing unit 205 reads the input luminance values ​​stored in column 703 of the color value list 700 stored in the RAM 107, and calculates the luminance values ​​as gray values ​​through NTSC conversion. Note that the gray values ​​are not limited to luminance values.

[0071] In NTSC conversion, gray values ​​are calculated from RGB values ​​by weighting each color component in the RGB values, as shown in Equation 1. R is the signal value of the R component, G is the signal value of the G component, and B is the signal value of the B component.

[0072] Brightness value = 0.299 × R + 0.587 × G + 0.114 × B (Equation 1) For example, if you convert an input luminance value with index "1" (i=1) to NTSC, 0.299×255+0.587×50+0.114×255=135 The luminance value calculated from the i-th input luminance value (RGB value) is added to column 704 of color value list 700 as NTSC luminance value ntsc[i]. The same calculation is performed on all input luminance values ​​stored in column 703 to calculate NTSC luminance values ​​ntsc[i].

[0073] Figure 8(a) shows a monochrome image 801 generated after converting all color values ​​of the drawing command 300 in Figure 3(a) to NTSC luminance values. Because the difference in gray values ​​between the fan-shaped graphic objects 315 to 318 that make up the pie chart is small, the objects cannot be distinguished from one another in the image, compared to the color raster image 310 in Figure 3(b). Furthermore, because the difference in gray values ​​between the "C" character object 313, the "A" character object 311, and the "B" character object 312 is also small, the image cannot be distinguished from one another in gray.

[0074] In S603, the image processing unit 205 reads the color value list 700 stored in the RAM 107. The color value list 700 is then sorted in ascending (or descending) order based on the NTSC luminance values ​​stored in column 704. New indices are then assigned to the sorted color value list. The following description will assume that the sorted indices are assigned in order from "0" to correspond to luminance values ​​that represent dark (dark) gray.

[0075] The image processing unit 205 generates data (not shown) that links the pre-sort index with the post-sort index, and stores this data in the RAM 107. In the color value list 700 of FIG. 7(a), the NTSC luminance values ​​are already stored in ascending order in column 704, so the order of the data remains unchanged before and after sorting. In the following explanation, the index stored in column 701 represents the index values ​​before and after sorting. Furthermore, the NTSC luminance value ntsc[i] stored in column 704 will be explained as the NTSC luminance value corresponding to index "i" after sorting.

[0076] In S604, the image processing unit 205 reads out the NTSC luminance values ​​ntsc[i] stored in column 704 in ascending order of index value in the color value list 700 saved in the RAM 107. Then, the image processing unit 205 calculates the NTSC luminance difference diffb[i], which is the difference between adjacent luminance values ​​between the read NTSC luminance value ntsc[i] and the NTSC luminance value ntsc[i+1] associated with the next index, based on Equation 2. The NTSC luminance difference diffb[i] is stored in column 705 of the color value list 700.

[0077] diffb[i]=ntsc[i+1]-ntsc[i] (Formula 2) In the case of the color value list 700 of FIG. 7(a), diffb[0] and diffb[1] are calculated from the NTSC luminance values ​​stored in column 704 as follows:

[0078] diffb[0]=ntsc[1]-ntsc[0]=135-0=135 diffb[1]=ntsc[2]-ntsc[1]=138-135=3 If the indexes stored in the column 701 of the color value list 700 are up to N (i=N), the NTSC luminance differences are calculated up to diffb[N-1].

[0079] In S605, the image processing unit 205 calculates the distinctiveness-adjusted luminance value bw[i] corresponding to the index held in the color value list 700. This step will be explained using the distinctiveness adjustment list 710 in FIG. 7B. Columns 701 and 705 in the distinctiveness adjustment list 710 hold the same data as columns 701 and 705 in the color value list 700.

[0080] First, the image processing unit 205 reads out the NTSC luminance differences diffb[i] stored in the RAM 107 in order from the one associated with the smallest index value. Then, the image processing unit 205 compares the read NTSC luminance differences with a predetermined discrimination threshold thres stored in the ROM 106. The discrimination threshold thres is a value set to ensure discrimination between a certain luminance value and the closest luminance value. When the NTSC luminance value can take a value from 0 to 255, for example, the discrimination threshold thres is set to "17."

[0081] The image processing unit 205 calculates the surplus / deficiency left[i], which is the difference between the NTSC luminance difference diffb[i] and the discrimination threshold thres, using Equation 3.

[0082] diffb[i]-thres=left[i] (Equation 3) If diffb[i] is greater than the discrimination threshold thres, a positive value is obtained as the surplus / deficit left[i]. If the surplus / deficit left[i] is a positive value, it is called a surplus. If it is smaller than the discrimination threshold thres, a negative value is obtained as the surplus / deficit left[i]. If the surplus / deficit left[i] is a negative value, it is called a deficit. Next, to adjust the surplus and deficit, the sum of the surpluses, margin_sum, and the sum of the deficits, short_sum, are calculated.

[0083] In the color value list 700, the NTSC luminance difference diffb[0] corresponding to Index "0" is "135", which is greater than the discrimination threshold thres "17". Therefore, the margin is calculated as left[0] = 135 - 17 = 118. Similarly, the margin is calculated as left[3] = 49 - 17 = 32, left[8] = 55 - 17 = 38. As a result, the sum of the margins, margin_sum, is diffb[0]+left[3]+left[8]=118+32+38=188 It is required that:

[0084] On the other hand, the sum of the shortage, shоrt_sum, is left[1]+left[2]+left[4]+left[5]+left[6]+left[7] =(-14)+(-15)+(-11)+(-16)+(-16)+(-14) =-86 It is required that:

[0085] Next, the image processing unit 205 performs a process of allocating the brightness difference from the surplus to the shortage so that the surplus / shortage left[i] is equal to or greater than the discrimination threshold thres. The allocation amount from the surplus to the shortage is determined according to the ratio of the surplus based on the following equation 4.

[0086] Allocation[i]=-short_sum×left[i] / margin_sum (Formula 4) From left[0], it is determined that 54 is assigned because 86×118 / 188=54. From left[3], it is determined that 54 is assigned because 86×32 / 188=15. From left[8], it is determined that 17 is assigned because 86×38 / 188=17.

[0087] Based on the allocation amount determined in this way, the image processing unit 205 calculates the adjusted surplus / shortage lefta[i] based on the following equation 5 when the surplus / shortage left[i] is a positive value (surplus).

[0088] lefta[i]=diffb[i]-allocation[i] (Equation 5) In the discrimination adjustment list 710 of FIG. 7(b), the indexes corresponding to the positive values ​​of the surplus / deficit left[i] are “0”, “3”, and “8”, so the surplus / deficit lefta[i] after each adjustment is lefta[0]=135-54=81, lefta[3]=49―15=34 lefta[8]=55―17=38 This becomes:

[0089] Furthermore, the image processing unit 205 calculates the adjusted surplus / deficit lefta[i] when the surplus / deficit left[i] is a negative value (deficit) based on the following equation 6.

[0090] lefta[i]=thres (Equation 6) In the discrimination adjustment list 710 of Fig. 7(b), the indexes corresponding to the negative values ​​of surplus / deficit left[i] are "1," "2," "4," "5," "6," and "7." Therefore, the adjusted surplus / deficit lefta[1], lefta[2], lefta[4], lefta[5], lefta[6], and lefta[7] are calculated as lefta[i] = 17.

[0091] Then, the image processing unit 205 calculates the distinctiveness-adjusted luminance value bw[i], which is a luminance value for improving the distinctiveness.

[0092] When i=0, the distinctiveness-adjusted luminance value bw[0] is calculated based on Equation 7.

[0093] bw[0]=ntsc[0] (Equation 7) The other distinctiveness-adjusted luminance values ​​bw[i] are calculated using Equation 8.

[0094] bw[i]=bw[i−1]+lefta[i] (formula 8) In the case of the values ​​held in the discrimination adjustment list 710 of FIG. 7(b), for example, bw[1] and bw[2] are calculated as follows: bw[1]=bw[0]+lefta[0]=0+81=81 bw[2]=bw[1]+lefta[1]=81+17=98 Similarly, the calculations are bw[3] = 115, bw[4] = 149, bw[5] = 166, bw[6] = 183, bw[7] = 200, bw[8] = 217, and bw[9] = 255. The image processing unit 205 stores the calculated distinctiveness-adjusted luminance values ​​bw[i] in column 706 of the color value list 700.

[0095] Furthermore, the output luminance value before correction is calculated and saved based on the distinctiveness-adjusted luminance value bw[i] calculated as a result of S604. The R, G, and B signal values ​​of the output luminance value before correction are determined as R=B=G=bw[i], as shown in column 708.

[0096] The monochrome image 802 in FIG. 8 is an image generated after the color values ​​of the drawing command 300 in FIG. 3( a) are adjusted to the distinctiveness-adjusted luminance values. Compared to the monochrome image 801, the fan-shaped graphic objects 315-318 in the pie chart are more distinguishable, demonstrating improved distinctiveness. There are also differences in gray values ​​between the "C" character object 313, the "A" character object 311, and the "B" character object 312. Meanwhile, the luminance difference between the "C" character object 313 and the round graphic object 314 is smaller with the distinctiveness-adjusted luminance values ​​than with the NTSC luminance values. Therefore, the distinctiveness between the "C" character object 313 and the round graphic object 314 appears to be reduced. Thus, simply adjusting the luminance values ​​to create a difference in luminance may not sufficiently improve distinctiveness.

[0097] In S606, the image processing unit 205 reads the distinctiveness-adjusted luminance value bw[i] stored in column 706 of the color value list 700 saved in the RAM 107, and calculates the distinctiveness-adjusted luminance difference diffa[i] based on the following equation 9. The distinctiveness-adjusted luminance difference diffa[i] is stored in column 707 of the color value list 700.

[0098] diffa[i]=bw[i+1]-bw[i] (Equation 9) For the distinctiveness-adjusted luminance values ​​stored in column 706 of color value list 700 in FIG. 7(a), diffb[0] is diffa[0]=bw[1]-bw[0]=81-0=81 It can be calculated as follows.

[0099] Alternatively, the adjusted surplus / deficiency lefta[i] calculated in the process of S605 is the same as diffa[i]. Therefore, the image processing unit 205 may store the adjusted surplus / deficiency lefta[i] and use the stored lefta[i] as the value of diffa[i].

[0100] [Regarding the discrimination process] FIG. 6B is a flowchart for explaining the details of the distinctiveness degradation determination process executed in S504.

[0101] Steps S611 to S615 are loop processes. In step S611, "i" indicating the index to be processed is selected. Initially, "i" is set to "0." In steps S612 to S614, an operation is performed on the index "i" to be processed, and this process is repeated while incrementing "i" as long as 0≦i≦N.

[0102] In S612, the image processing unit 205 reads the NTSC luminance difference diffb[i] and the distinctiveness-adjusted luminance difference diffa[i] of the processing target “i” from columns 705 and 707 of the color value list 700 stored in the RAM 107. The image processing unit 205 then calculates the amount of change in luminance difference using the following equation 10.

[0103] Change = diffb[i] - diffa[i] (Equation 10) The image processing unit 205 compares the calculated amount of change with a threshold value th. In the following description, the threshold value th is assumed to be 0. If the amount of change is greater than 0, this means that the luminance difference between similar luminance values ​​has become smaller as a result of the luminance value adjustment in S605 than before the adjustment. If the amount of change is less than or equal to 0, this means that the luminance difference between similar luminance values ​​has become larger as a result of the luminance value adjustment, or that there has been no change.

[0104] If the image processing unit 205 determines in S612 that the amount of change is greater than the threshold (YES in S612), the process proceeds to S613. When the brightness difference is reduced as a result of the brightness value adjustment, the distinctiveness of the object corresponding to the brightness value that constitutes the reduced brightness difference may be reduced. For this reason, in S613, preparations are made to emphasize the edge of the object corresponding to the reduced brightness difference.

[0105] In S613, the image processing unit 205 reads the pre-correction output luminance value out[i] corresponding to the current processing target "i" stored in the color value list 700. The image processing unit 205 then corrects the output luminance value from R = G = B (hereinafter, RGB equality) to R ≠ G ≠ B (hereinafter, RGB unequality). Column 709 of the color value list 700 shows the corrected output luminance value, but the pre-correction output luminance value in column 708 may be overwritten with the corrected output luminance value. The image processing unit 205 further reads the pre-correction output luminance value out[i+1] and corrects the RGB equality output luminance value to RGB unequality. Because edge enhancement for white and black does not result in any change, black out[0] and white out[9] are not subject to correction.

[0106] The purpose of correcting the output luminance value will be explained. The color represented by the RGB equivalent RGB value (output luminance value) is gray. For this reason, in the color conversion process from the RGB color space to the CMYK color space, which will be described later, the RGB value representing gray is converted to (0,0,0,K). In this specification, the color values ​​in the CMYK color space are represented by (C signal value, M signal value, Y signal value, K signal value).

[0107] On the other hand, the color represented by the RGB values ​​of RGB inequality is a color. Therefore, in the color conversion process from the RGB color space to the CMYK color space, the RGB values ​​of RGB inequality are converted to (C,M,Y,0). Then, in the subsequent edge enhancement process, the edge enhancement process is performed only on the C,M,Y plates. Therefore, it is possible to enhance the edges only on the object corresponding to the RGB values ​​(output luminance values) corrected in S608. Details will be described later.

[0108] In the case of the color value list 700 in Figure 7(a), the change amount is determined to be greater than 0 when the "i" to be processed is "0," "3," or "8." Furthermore, black OUT[0] and white OUT[9] are not subject to correction. Therefore, the output luminance values ​​to be corrected in S613 are OUT[1], OUT[3], OUT[4], and OUT[8].

[0109] For example, the pre-correction output luminance value out[3] corresponding to the "C" character object 313, whose output luminance value is to be corrected in S613, is (115, 115, 115). This output luminance value is corrected to RGB inequality. As a correction method, the pre-correction output luminance value out[3] is corrected to RGB inequality so that the combination of R, G, and B that results in a value after NTSC conversion equal to "115," the distinctiveness-adjusted luminance value bw[3]. For example, (115, 115, 115) is corrected to (121, 111, 121). Similarly, the output luminance values ​​of the "A" character object 311, the circular graphic object 314, and the sector-shaped graphic objects 318 that make up the pie chart are also corrected to RGB inequality values. The output luminance values ​​shown in bold in column 709 of the color value list 700 are the corrected luminance values.

[0110] In this way, not only the output luminance value OUT[i] corresponding to the processing target "i" but also the output luminance value OUT[i+1] are selected as objects to be modified in order to be subjected to edge enhancement. The reason why the object corresponding to the output luminance value OUT[i+1] is also subjected to edge enhancement will be explained using image 803 in FIG. 8.

[0111] Image 803 in Figure 8 shows an image in which the edges of the "A" character object 311, the "C" character object 313, the circular graphic object 314, and the sector-shaped graphic object 318 of the pie chart in image 802 have been enhanced. In the distinctiveness reduction determination process of this embodiment, no process is performed to grasp the positional relationship of the objects. If the difference between two adjacent luminance values ​​decreases when the luminance values ​​after distinctiveness adjustment are sorted, a process is performed to enhance the edges of the objects corresponding to those two luminance values, thereby improving distinctiveness.

[0112] Here, the following description focuses on the character object "C" 313 and the circular graphic object 314. If only the output luminance value out[i] corresponding to the target "i" is modified for edge enhancement, it is possible that the output luminance value of the circular graphic object 314 is modified, but the output luminance value of the character object "C" 313 is not modified. For example, if the output luminance value of the character object "C" 313 is out[4] and the output luminance value of the circular graphic object 314 is out[3], the output luminance value of the character object "C" 313 will not be modified. If the output luminance value is not modified, the edge of the character object "C" 313 will not be enhanced, which will make the user feel that the distinctiveness of the character object "C" 313 remains reduced. For this reason, in S613, the output luminance value out[i+1] is also selected as a target for output luminance value modification in order to subject the character object "C" to edge enhancement.

[0113] When the processing of S613 is completed, the process proceeds to S614. On the other hand, if the image processing unit 205 determines that the amount of change is less than or equal to the threshold (NO in S612), the process proceeds to S614. If the amount of change is less than or equal to the threshold, edge enhancement to improve distinctiveness is not necessary. Therefore, S613 is skipped. In S614, the image processing unit 205 adds 1 to the current i, sets the obtained value as the new i, and updates the "i" to be processed.

[0114] This completes the process of determining whether or not distinctiveness has decreased in S504, and the corrected output luminance values ​​are stored in column 709 of color value list 700, and color value list 700 is saved in RAM 107. Of the values ​​stored in color value list 700 in Figure 7(a), the only values ​​that will be used in subsequent processing are the input luminance values ​​in column 703 and the corrected output luminance values ​​in column 709, so unnecessary values ​​do not need to be saved.

[0115] [Edge enhancement for less distinctive objects] Returning to Figure 5, the description of the flowchart in Figure 5 will continue. In S505, the command execution unit 206 executes RIP processing to convert the image data from PDL data to raster image data. In the RIP processing, the command execution unit 206 reads the color value list 700 stored in the RAM 107 and generates a raster image while converting RGB values, which are input luminance values, into RGB values, which are corrected output luminance values, with reference to the color value list 700. As a result, a raster image is generated in which objects and image objects determined to have reduced distinctiveness are in color and the rest are in gray.

[0116] In S506, the color conversion processing unit 211 performs color conversion from color values ​​in the RGB color space to color values ​​in the CMYK color space for graphic objects such as characters and figures in the raster image generated in S505. The color conversion performed in this step is called color conversion 1.

[0117] In color conversion 1, the RGB values ​​of pixels in the raster image that represent gray with equal RGB values ​​are converted to color values ​​of only the K plate, such as (0,0,0,K). The signal value of the K plate, K, is determined by inverting the luminance value after distinctiveness adjustment, i.e., K = 255 - bw[i].

[0118] On the other hand, the RGB values ​​of pixels that represent colors with RGB inequalities are converted to color values ​​other than the K color, such as (C,M,Y,0). The signal values ​​C, M, and Y of the C, M, and Y colors are determined by calculating C+M+Y as the inverted value of the distinctiveness-adjusted luminance value, i.e., C+M+Y=255-bw[i].

[0119] Specifically, when RGB values ​​of pixels of an object other than an image with unequal RGB amounts are color converted using color conversion 1, the RGB values ​​are first converted to brightness values ​​using formula 1. Then, the values ​​of C, M, and Y are determined so that the value obtained by subtracting the calculated brightness value from 255 (called the A value) becomes C+M+Y.

[0120] There are no limitations on how the values ​​of C, M, and Y are determined. For example, the values ​​may be determined by dividing the A value into thirds and assigning values ​​so that the C, M, and Y values ​​are equal. Alternatively, the A value may be divided into two and assigned to C and M, or M and Y, or only C and Y, with the others set to 0. Alternatively, the A value may be assigned to only C, or only M, or only Y, with the other two set to 0.

[0121] For image objects, normal gray conversion is performed. For example, after weighting R, G, and B to calculate the luminance value, the calculated luminance value is inverted to convert it into the K version signal value, which is a density signal value.

[0122] In S507, the filter processing unit 212 performs edge enhancement processing using the filter shown in FIG. 8(c). In S507, filter processing is performed only on the C, M, and Y plates for each color plate, and filter processing is not performed on the K plate. In the output luminance value correction processing of S613 in the distinctiveness reduction determination processing of S504, the color values ​​of pixels other than those of the object whose output luminance values ​​have been corrected have been converted to a single K color value as a result of color conversion 1. For this reason, by performing filter processing only on the C, M, and Y plates in S507, it is possible to prevent edge enhancement from being applied to objects other than those whose output luminance values ​​have been corrected, as in image 803. On the other hand, the objects whose output luminance values ​​have been corrected in S613 have been color converted to the colors of the C, M, and Y plates, so edge enhancement is performed.

[0123] In S508, the color conversion processing unit 211 performs color conversion processing to convert the color values ​​of all pixels in the raster image so that the color values ​​become (0,0,0,K). The color conversion in S508 is called color conversion 2.

[0124] For example, if the current signal values ​​are represented by C for the C plate, M for the M plate, Y for the Y plate, and K for the K plate, the color conversion processing unit 211 determines the signal value of the K plate so that C+M+Y+K becomes the signal value of the K plate after color conversion. As a result, the signal value of a pixel converted to (0,0,0,K) in color conversion 1 remains (0,0,0,K) after color conversion 2 is performed. On the other hand, the signal value of a pixel converted to (C,M,Y,0) in color conversion 1 is converted to (0,0,0,C+M+Y) in color conversion 2. In color conversion 1, the signal value K at (0,0,0,K) and the signal value C+M+Y at (C,M,Y,0) are converted to 255-bw[i]. Therefore, as a result of color conversion 2 in S508, the signal value of the K plate of an object other than an image becomes the inverse of the distinctiveness-adjusted luminance value bw[i].

[0125] Furthermore, the color values ​​of the pixels at the edges of the object whose edges have been enhanced in S507 become darker (0,0,0,C+M+Y+α), where α is the increase in signal value due to the filtering process. This results in a monochrome image in which the edges of the object are enhanced, as shown in image 803 in Figure 8.

[0126] In color conversion 1 of S506, the RGB equivalence values ​​may be converted to (C, 0, 0, 0), and the RGB inequality values ​​may be converted to (0, M, Y, K). In this case, the edge enhancement of S507 may be performed on only the M, Y, and K plates, but not on the C plate, thereby achieving the same effect. In this way, gray adjustment and edge enhancement processing are performed on image 801 generated by normal monochrome conversion, thereby generating image 803 with improved distinctiveness.

[0127] In S509, CPU 105 determines whether processing has been completed for all pages of the received print data. If unprocessed pages remain, the page to be processed becomes the next page, and the processing of S502 to S508 is performed again. If processing has been completed for all pages, this flowchart ends.

[0128] As described above, in this embodiment, it is possible to provide a gray value difference equal to or greater than the discrimination threshold for all gray values ​​converted from different input luminance values. Furthermore, edge enhancement is performed on objects whose gray value difference is smaller than that of normal monochrome conversion. In this way, by adjusting gray values ​​to improve discrimination, it is possible to enhance the edges of objects whose discrimination is perceived to be less than that of normal monochrome conversion. Therefore, this embodiment makes it possible to appropriately improve discrimination even when objects with similar gray values ​​overlap (are adjacent to each other). Furthermore, this embodiment can improve the discrimination of monochrome images without determining adjacent regions, eliminating the need for dedicated hardware for determining adjacent regions.

[0129] Furthermore, while edge enhancement of objects alone can improve the distinctiveness of objects that are in contact with each other, it cannot improve the distinctiveness of objects that are far apart and have similar gray colors. On the other hand, the gray value adjustment of this embodiment can improve the distinctiveness of objects that are not adjacent to each other. Therefore, by combining gray value adjustment and edge enhancement processing as in this embodiment, it is possible to appropriately improve distinctiveness.

[0130] <Embodiment 2> In this embodiment, a method will be described in which, after gray value adjustment to improve distinctiveness, all objects are converted to monochrome and then edge enhancement processing is performed on the target object. If only monochrome images can be handled after RIP processing, the method of this embodiment can improve distinctiveness. This embodiment will be described focusing on the differences from embodiment 1. Unless otherwise specified, the configuration and processing are the same as embodiment 1.

[0131] First, we will explain the attribute information generation process shown in Figure 3(c), which is a process for generating attribute information 320, which is an image having the same number of pixels as the raster image 310. In the analysis process of S502 in Figure 5, an attribute list is generated in which, for each object extracted from the drawing command, the extracted object is associated with an 8-bit attribute value representing the attribute of that object. Then, in the RIP process of S505, the attribute value associated with the drawn object is obtained from the attribute list, and the obtained attribute value is assigned to the pixel located at the same position as the drawn object. By performing this process, the attribute information 320 is generated.

[0132] 9 is a flowchart showing the flow of the distinctiveness degradation determination process of this embodiment. S911, S912, S914, and S915 are the same as S611, S612, S614, and S615, respectively, and therefore description thereof will be omitted.

[0133] In this embodiment, if the image processing unit 205 determines in S912 that the amount of change is greater than the threshold (YES in S912), the image processing unit 205 performs processing in S913 to modify the attribute value of the object corresponding to the "i" being processed in the attribute list.

[0134] The attribute value representing the character attribute is set to "00100111", with "1" set in the 0th, 1st, 2nd, and 5th bits, starting from the least significant bit. In this embodiment, the 3rd bit of the attribute value is used as the bit for determining whether distinctiveness has decreased. For example, if the 3rd bit is "0", it indicates that distinctiveness has not decreased, and if the 3rd bit is "1", it indicates that distinctiveness has decreased.

[0135] In S913, the image processing unit 205 reads out the attribute value associated with the object corresponding to the index "i" of the current processing target, which is held in the attribute list, and corrects the third bit of the attribute value to "1." The image processing unit 205 further reads out the attribute value associated with the object corresponding to the index "i+1," which is held in the attribute list, and corrects the third bit of the attribute value to "1." In this way, the attribute value of the object whose distinctiveness has decreased is corrected.

[0136] As a result, the attribute values ​​of the "A" character object 311 and the "C" character object 313 are corrected from "00100111" to "00101111." The attributes of the circle graphic object 314 and the sector-shaped graphic object 318 that makes up the pie chart are corrected from "00100011" to "00101011."

[0137] In this embodiment, in S505, the command execution unit 206 performs RIP processing using the color value list 700. However, the color value list 700 in this embodiment does not hold corrected output luminance values ​​like those in column 709 in FIG. 7A. Therefore, the command execution unit 206 generates a raster image while converting the RGB values ​​that are input luminance values ​​into RGB equivalent values ​​that are output luminance values ​​before correction that are held in column 708. Image objects are also grayed out during RIP processing.

[0138] As a result, a raster image in which all objects are gray is generated. The raster image containing only the K version is sent to subsequent processing steps. That is, the K version raster image, whose pixel values ​​are luminance values, is sent to the next processing step. Furthermore, in S505 of this embodiment, attribute information 320 is generated based on the attribute list in which the attribute values ​​have been modified.

[0139] In S506, the color conversion processing unit 211 converts the color values ​​of each pixel of the raster image from color values ​​in the luminance space to color values ​​in the density space. If the luminance values, which are the current color values ​​of the raster image, are represented by gray, the color conversion processing unit 211 converts them to density values ​​of 255-Gray.

[0140] In S507, the filter processing unit 212 performs edge enhancement. In S507 of this embodiment, the attribute information 320 is read from the RAM 107, and it is determined for each pixel whether the third bit of the attribute value is 1. The filter processing unit 212 sequentially selects, as pixels to be processed, pixels of the raster image corresponding to pixels whose third bit of the attribute value is 1, and performs filter processing to enhance the edge.

[0141] In this embodiment, since the raster image after RIP processing is already a gray image, color conversion 2 processing is not necessary, and S508 is skipped.

[0142] As described above, according to this embodiment, it is possible to appropriately improve discrimination even in an image processing device that can only handle gray images after RIP processing, or in cases where high-speed processing is required for monochrome output.

[0143] <Other embodiments> The degree of edge enhancement and the threshold value th for determining whether or not the distinctiveness has decreased in the distinctiveness decrease determination in S504 may be changeable according to user settings on a UI screen (not shown). By making the settings changeable in this way, it is possible to accommodate users who want an image with clearly emphasized edges so that distinctiveness takes priority, as well as users who do not like edge enhancement but still want to maintain a certain level of distinctiveness.

[0144] The present disclosure can also be realized by supplying a program that realizes one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that realizes one or more functions.

[0145] <Other> The disclosure of the above-described embodiment includes the following configurations.

[0146] (Configuration 1) An image processing device for printing a color image in monochrome, An acquisition means for acquiring PDL data; a conversion means for converting each of a plurality of color values ​​representing a plurality of colors specified for each object in the PDL data into a gray value; an adjusting means for adjusting the converted gray values ​​so that, when the converted gray values ​​are sorted, the difference between adjacent combinations of gray values ​​becomes equal to or greater than a predetermined value; a processing means for performing processing to emphasize the edges of the object corresponding to the combination whose difference has become smaller as a result of the adjustment; 1. An image processing device comprising:

[0147] (Configuration 2) The method further includes generating means for generating a raster image based on the PDL data, The processing means The raster image is subjected to a process for enhancing the edges. 2. The image processing device according to configuration 1,

[0148] (Configuration 3) The generating means RIP processing is performed in color on the object corresponding to the combination in which the difference has become small, and RIP processing is performed in gray on the object other than the object corresponding to the combination in which the difference has become small to generate the raster image; The processing means A color value representing a color of the raster image is subjected to a process for enhancing the edge. 3. The image processing device according to configuration 2.

[0149] (Configuration 4) the generating means generates the raster image in which pixel values ​​are RGB values, a first color conversion means for converting the RGB values ​​of the raster image into signal values ​​of each of the CMYK plates; the processing means performs the process of emphasizing the edge only on the plate including the signal value of the object corresponding to the combination in which the difference is small among the plates of CMYK, The image processing device further includes a second color conversion means for converting the signal value after the edge enhancement process into a K-plane signal value. 4. The image processing device according to configuration 2 or 3.

[0150] (Configuration 5) The plate containing the signal value of the object is a CMY plate, The processing means performs processing to emphasize the edges on the CMY plates. 5. The image processing device according to configuration 4.

[0151] (Configuration 6) The adjusted gray value is expressed as an RGB value in which the signal values ​​of RGB are equal, a correcting means for correcting an RGB value representing the adjusted gray value of the object corresponding to the combination in which the difference has become smaller to an RGB value having unequal signal values; The first color conversion means When the signal values ​​are RGB values ​​with equal amounts, color conversion is performed so that the signal values ​​are converted into K signal values, and when the signal values ​​are RGB values ​​with unequal amounts, color conversion is performed so that the signal values ​​are converted into CMY signal values. 6. The image processing device according to configuration 5.

[0152] (Configuration 7) The RGB values ​​whose signal values ​​are unequal are RGB values ​​that, when converted into gray values ​​by the conversion method used by the conversion means, become the adjusted gray values. 7. The image processing device according to configuration 6,

[0153] (Configuration 8) The RGB values ​​are brightness values, and the signal values ​​of each CMYK plate are density values, The first color conversion means For RGB values ​​having equal signal values, converting them into K signal values ​​by inverting any of the signal values ​​constituting the RGB values; The RGB values ​​having unequal signal values ​​are converted into signal values ​​of CMY plates such that the sum of the signal values ​​of the CMY plates results in a value obtained by inverting the adjusted gray value. 8. The image processing device according to configuration 7,

[0154] (Configuration 9) an attribute information generating means for generating attribute information including a value indicating an attribute of each of the objects based on the PDL data; and modifying means for modifying a value indicating the attribute of the object corresponding to the combination in which the difference has become smaller so that the value indicating the attribute includes predetermined information, The processing means A process for emphasizing the edge of an object corresponding to a value indicating the attribute containing the predetermined information is performed. 3. The image processing device according to configuration 1 or 2.

[0155] (Configuration 10) a determining means for comparing the difference between the gray values ​​of the combinations before the adjustment and the gray values ​​of the combinations after the adjustment to determine whether there are any combinations for which the difference has become smaller as a result of the adjustment, The processing means The determining means performs processing to emphasize the edges of the objects corresponding to the combinations determined to have a small difference in gray value. 10. The image processing device according to any one of configurations 1 to 9, wherein:

[0156] (Configuration 11) The adjusting means is When the converted gray values ​​are sorted in ascending or descending order, two adjacent gray values ​​are considered as the combination, and the converted gray values ​​are adjusted. 11. The image processing device according to any one of configurations 1 to 10,

[0157] (Configuration 12) The conversion means converts the signal values ​​of the plurality of color components into gray values ​​by weighting each of the signal values. 12. The image processing device according to any one of configurations 1 to 11,

[0158] (Configuration 13) The processing means As a result of the adjustment, a process is performed to emphasize the edges of the object corresponding to the combination in which the difference is smaller than the threshold value. 13. The image processing device according to any one of configurations 1 to 12.

[0159] (Configuration 14) An image processing device for printing a color image in monochrome, an acquisition step of acquiring PDL data; a conversion step of converting each of a plurality of color values ​​representing a plurality of colors specified for each object in the PDL data into a gray value; an adjusting step of adjusting the converted gray values ​​so that when the converted gray values ​​are sorted, a difference between combinations of adjacent gray values ​​becomes equal to or greater than a predetermined value; a processing step of performing processing to enhance the edges of the object corresponding to the combination whose difference has become smaller as a result of the adjustment; An image processing method comprising:

[0160] (Configuration 15) 14. A program for causing a computer to execute each means of the image processing device according to any one of configurations 1 to 13. [Explanation of symbols]

[0161] 101 Image forming device 220 Image Processing Unit

Claims

1. 1. An image processing apparatus for printing a color image in monochrome, comprising: An acquisition means for acquiring PDL data; a conversion means for converting each of a plurality of color values ​​representing a plurality of colors designated for each object in the PDL data into a gray value; an adjustment means for adjusting the converted gray values ​​so that, when the converted gray values ​​are sorted, a difference between combinations of adjacent gray values ​​becomes equal to or greater than a predetermined value; a processing means for performing processing to emphasize an edge of an object corresponding to the combination in which a difference is reduced as a result of the adjustment; 13. An image processing device comprising:

2. A generating unit for generating a raster image based on the PDL data, The processing means includes: The raster image is subjected to a process for enhancing the edges.

2. The image processing device according to claim 1,

3. The generating means includes: RIP processing is performed in color for the object corresponding to the combination in which the difference is small, and RIP processing is performed in gray for the object other than the object corresponding to the combination in which the difference is small to generate the raster image; The processing means includes: A color value representing a color of the raster image is processed to enhance the edges.

3. The image processing device according to claim 2.

4. The generating means generates the raster image in which pixel values ​​are RGB values, a first color conversion means for converting the RGB values ​​of the raster image into signal values ​​of each of the CMYK plates; the processing means performs the process of emphasizing the edge only on a plate including a signal value of an object corresponding to the combination in which the difference is small among the plates of CMYK; The image processing device further includes a second color conversion means for converting the signal value after the edge enhancement process into a K signal value.

3. The image processing device according to claim 2.

5. The plate containing the signal value of the object is a CMY plate, The processing means performs processing to emphasize the edges on the CMY plates.

5. The image processing device according to claim 4.

6. the adjusted gray value is expressed as an RGB value having equal amounts of RGB signal values; a correction means for correcting an RGB value representing the adjusted gray value of an object corresponding to the combination in which the difference is reduced to an RGB value having an unequal amount of signal values; The first color conversion means is A color conversion is performed so that the RGB values ​​having equal signal values ​​are converted into K signal values, and a color conversion is performed so that the RGB values ​​having unequal signal values ​​are converted into CMY signal values.

6. The image processing device according to claim 5,

7. The RGB values ​​whose signal values ​​are unequal are the RGB values ​​which, when converted to grey values ​​by the conversion method used by the conversion means, result in the adjusted grey values.

7. The image processing device according to claim 6,

8. The RGB values ​​are luminance values, and the signal values ​​of each of the CMYK plates are density values. The first color conversion means is For RGB values ​​having equal signal values, converting the RGB values ​​into K signal values ​​by inverting any of the signal values ​​constituting the RGB values; For the RGB values ​​having unequal signal values, the signal values ​​are converted to CMY signal values ​​such that the addition of the signal values ​​of the CMY plates results in an inverse value of the adjusted gray value.

8. The image processing device according to claim 7,

9. an attribute information generating means for generating attribute information including a value indicating an attribute of each of the objects based on the PDL data; and modifying means for modifying a value indicating the attribute of the object corresponding to the combination in which the difference has become smaller so that the value indicating the attribute includes predetermined information, The processing means includes: A process for emphasizing an edge of an object corresponding to a value indicating the attribute including the predetermined information is performed.

2. The image processing device according to claim 1,

10. a determination means for determining whether or not there is a combination in which the difference has become smaller as a result of the adjustment by comparing a difference between the gray values ​​of the combinations before the adjustment and the gray values ​​of the combinations after the adjustment, The processing means includes: The determining means performs processing to emphasize the edges of the objects corresponding to the combinations in which the difference in gray values ​​is determined to be small.

2. The image processing device according to claim 1,

11. The adjustment means is The converted gray values ​​are adjusted by treating two adjacent gray values ​​as the combination when the converted gray values ​​are sorted in ascending or descending order.

2. The image processing device according to claim 1,

12. The conversion means converts the signal values ​​of the plurality of color components into gray values ​​by weighting each of the signal values.

2. The image processing device according to claim 1,

13. The processing means includes: As a result of the adjustment, a process of emphasizing the edge of the object corresponding to the combination in which the difference is smaller than the threshold value is performed.

2. The image processing device according to claim 1,

14. 1. An image processing apparatus for printing a color image in monochrome, comprising: An acquisition step of acquiring PDL data; a conversion step of converting each of a plurality of color values ​​representing a plurality of colors designated for each object in the PDL data into a gray value; an adjustment step of adjusting the converted gray values ​​so that, when the converted gray values ​​are sorted, a difference between combinations of adjacent gray values ​​becomes equal to or greater than a predetermined value; a processing step of performing processing to enhance edges of the object corresponding to the combination in which the difference is reduced as a result of the adjustment; 13. An image processing method comprising:

15. A program for causing a computer to execute each of the means of the image processing apparatus according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Image forming device, image forming device control method, image processing device, image processing method and program

    JP2023033978A