CN109521662B - Method, device, equipment and storage medium for generating double-color image - Google Patents

Method, device, equipment and storage medium for generating double-color image Download PDF

Info

Publication number
CN109521662B
CN109521662B CN201811474349.3A CN201811474349A CN109521662B CN 109521662 B CN109521662 B CN 109521662B CN 201811474349 A CN201811474349 A CN 201811474349A CN 109521662 B CN109521662 B CN 109521662B
Authority
CN
China
Prior art keywords
color
pigments
image
pigment
cartridges
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.)
Active
Application number
CN201811474349.3A
Other languages
Chinese (zh)
Other versions
CN109521662A (en
Inventor
马杨晓
尹爱国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Pantum Electronics Co Ltd
Original Assignee
Zhuhai Pantum Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Pantum Electronics Co Ltd filed Critical Zhuhai Pantum Electronics Co Ltd
Priority to CN201811474349.3A priority Critical patent/CN109521662B/en
Publication of CN109521662A publication Critical patent/CN109521662A/en
Application granted granted Critical
Publication of CN109521662B publication Critical patent/CN109521662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G15/00Apparatus for electrographic processes using a charge pattern
    • G03G15/01Apparatus for electrographic processes using a charge pattern for producing multicoloured copies
    • G03G15/0105Details of unit
    • G03G15/0126Details of unit using a solid developer
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17503Ink cartridges
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41MPRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
    • B41M5/00Duplicating or marking methods; Sheet materials for use therein

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Color Electrophotography (AREA)
  • Color Image Communication Systems (AREA)

Abstract

The embodiment of the invention provides a method, a device, equipment and a storage medium for generating a bi-color image, wherein the method is suitable for image generation equipment, the equipment comprises N box bodies, N is more than 2, and the N box bodies comprise pigments with the colors less than or equal to N-1, and the method comprises the following steps: determining a box to be used from the N boxes, wherein the box to be used comprises pigments of a specified color and pigments of other colors required for generating a bi-color image, and the specified color is a color in the bi-color image; acquiring image data; an image forming operation is performed based on the cartridge to be used and the image data. The scheme provided by the embodiment of the invention can improve the generation quality of the bi-color image.

Description

Method, device, equipment and storage medium for generating double-color image
Technical Field
The embodiment of the invention relates to the technical field of printing, in particular to a method, a device, equipment and a storage medium for generating a bi-color image.
Background
At present, two printing modes adopted by a double-color printer generally comprise two modes, one mode is to use two powder boxes (a black powder box and a special powder box) for printing, and aiming at the condition, the carbon powder in the black powder box is easily exhausted, but the carbon powder in the special powder box is left much, so that the carbon powder resource is unreasonably used; the other is to use four cartridges to perform image formation in a CMYK system. In the CMYK image forming method, when 4 cartridges contain 4 colors of toner, the toner in three non-black toner cartridges is usually blended into a spot color to form an image, but the blended spot color often has a problem of large color difference, resulting in poor image forming quality, and when such cartridges are used to form a two-color image, a user may need to frequently replace the cartridges due to the unreasonable utilization of toner resources in the cartridges, resulting in a problem of low working efficiency of the image forming apparatus, and even more, when such cartridges are used to form an image, if the amount of remaining toner in one of the cartridges is low, resulting in poor image quality of the output image.
There is a need for a method for forming a dual-color image that can ensure the quality of the formed image and the rational utilization of the toner resources in the toner cartridge.
Disclosure of Invention
The embodiment of the invention provides a method, a device and equipment for generating a double-color image and a storage medium, which are used for improving the forming quality of the double-color image.
A first aspect of embodiments of the present invention provides a bi-color image generating method, which is applied to an image generating apparatus including N cartridges, where N is greater than 2, where N-1 or less colors of pigments are included in the N cartridges, and the method includes:
determining a box to be used from the N boxes, wherein the box to be used comprises pigments of a specified color and pigments of other colors required for generating a bi-color image, and the specified color is a color in the bi-color image;
acquiring image data;
an image forming operation is performed based on the cartridge to be used and the image data.
A second aspect of embodiments of the present invention provides a bi-color image generating device provided in an image generating apparatus including N cartridges, where N is greater than 2, the N cartridges including pigments of N-1 colors or less, the device including:
a determining module, configured to determine a cartridge to be used from the N cartridges, where the cartridge to be used includes a pigment of a specified color and pigments of other colors required for generating a bi-color image, where the specified color is a color in the bi-color image;
the acquisition module is used for acquiring image data;
and the execution module is used for executing image forming operation based on the cartridge to be used and the image data.
A third aspect of embodiments of the present invention provides an image generating apparatus, where the apparatus includes N cartridges, where N is greater than 2, where the N cartridges include pigments of less than or equal to N-1 colors, and the apparatus further includes a processor and a memory, where the memory stores instructions, and when the processor executes the instructions, the method according to the first aspect is performed.
A fourth aspect of the embodiments of the present invention provides an image generating apparatus, including N cartridges, where N is greater than 2, and the N cartridges include pigments of N-1 colors or less;
the image generation apparatus determines a cartridge to be used from among the N cartridges, and performs an image forming operation based on the cartridge to be used and the received image data.
A fifth aspect of embodiments of the present invention provides a computer-readable storage medium, which includes instructions, when the instructions are executed on the computer, the computer may perform the method of the first aspect.
In the embodiment of the present invention, N cartridges are provided in an image generating apparatus, the N cartridges are loaded with pigments of N-1 colors or less, and when an operation of generating a two-color image is performed, image data is acquired by determining a cartridge to be used from among the N cartridges so that the cartridge to be used includes a pigment of a specified color and pigments of other colors necessary for generating the two-color image, and an image forming operation is performed based on the cartridge to be used and the acquired image data. Because the embodiment of the invention can load the pigments with less than or equal to N-1 colors in the N boxes of the image generation equipment, a plurality of boxes can be used for loading the pigments with larger consumption colors at the same time, even in some feasible examples, all N boxes can be used for storing the pigments with two colors required for generating the bi-color image, thereby avoiding the problems that the boxes are frequently replaced and the operation efficiency is influenced because the pigments with larger consumption colors are consumed too fast, bringing inconvenience to users, in addition, by storing the pigments with two colors required for generating the bi-color image in the N boxes, the problem that the generated bi-color image has color difference caused by the special color mixing of a plurality of colors in the prior art can be solved, the generation quality of the bi-color image is improved, and even in some examples, the pigment resources in the boxes can be reasonably utilized by setting the selection rule of the boxes to be used, the problem of light color is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a method of producing a bi-color image according to an embodiment of the present invention;
FIG. 2 is a flow chart of a bi-color image generation method provided by an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a bi-color image generating device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a determining module 33 according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention, are intended to cover non-exclusive inclusions, e.g., a process or an apparatus that comprises a list of steps is not necessarily limited to those structures or steps expressly listed but may include other steps or structures not expressly listed or inherent to such process or apparatus.
Fig. 1 is a flowchart of a bi-color image generation method provided by an embodiment of the present invention, which may be performed by an image generation apparatus including N cartridges, where N is greater than 2, and N cartridges include pigments of N-1 or less colors, and even in a feasible example, the N cartridges may include only pigments of two colors required for generating a bi-color image, for example, 4 cartridges are included in the image generation apparatus, so that when printing a red-black bi-color image, one or more of the 4 cartridges may be used to load red pigments, and the rest of the cartridges may be used to load black pigments. In addition, in consideration of the fact that the amount of black pigment used may be greater than that of red pigment, in order to reduce the number of times of replacing the cartridges, the number of cartridges in which black pigment is loaded may be set greater than that of cartridges in which red pigment is loaded. The image generating device includes an inkjet printer, a laser printer, an LED printer, a copier, a scanner, a multifunction machine, or the like, and for convenience of understanding, in the present embodiment, the image generating device may be exemplarily understood as a printer, the cartridge may be exemplarily understood as a cartridge on the printer, and the pigment loaded in the cartridge may be exemplarily understood as toner. As shown in fig. 1, the method comprises the steps of:
step 101, determining a box to be used from the N boxes, wherein the box to be used comprises pigments of a specified color and pigments of other colors required for generating a bi-color image, and the specified color is a color in the bi-color image.
The color of the panchromatic image to be generated in the present embodiment may be set as needed, for example, a user may set which two colors the panchromatic image to be generated includes through a user interface and set one of the colors as a specified color.
Or the image generation device may also provide various options of the bi-color image, and the user may select the bi-color image generated by the target from the options, and at this time, the designated color may be designated through the user interface, for example, when generating a red-black image, the user may designate red as the designated color through the user interface. Alternatively, a default designated color for each of the two-color images may be set in the image generating device in advance, and the designated color may be determined once the user selects the two-color image to be generated. For example, if the default designated color of the red-black image is red, the designated color is red when the red-black image is generated. The foregoing is, of course, illustrative and not limiting of the invention.
Illustratively, the determining of the cartridge to be used in the present embodiment includes determining the cartridge containing the pigment of the specified color to be used and the cartridge containing the pigment of the other color necessary for generating the two-color image to be used.
For example, assuming that the target generated two-color image is a red-black image, a box loaded with a red pigment is selected from the N boxes as a box for generating a red part of the two-color image, and a box loaded with a black pigment is selected as a box for generating a black part of the two-color image, wherein the number of boxes to be used selected by the present embodiment is less than or equal to N-1, that is, the number of boxes for each color for generating the two-color image may be one or more, for example, when the remaining amount of the red pigment loaded in one box is greater than the total amount of the red pigment required for generating the two-color image, the box may be used only as a box for generating the red part, and when the remaining amount of the red pigment in the box is less than the total amount of the red pigment required for generating the two-color image, the other one or more boxes loaded with the red pigment may be simultaneously selected as a spare box, to switch to a spare cartridge to continue operation after the use of the pigment in one cartridge is exhausted.
The cartridge to be used may be selected based on a preset rule, for example, in one possible manner, the cartridge may be selected based on the color of the pigment in the cartridge and the remaining amount of the pigment (for example, the remaining amount is the largest or the lowest), in another possible manner, the cartridge may be selected randomly based on the color of the pigment in the cartridge or according to a preset order of use of the cartridges, or in other possible manners, the cartridge with the earliest date of production may be selected as the cartridge to be used according to the color of the pigment in the cartridge and the date of production of the cartridge. Of course, the above technical means are only for illustration and not for exclusive limitation, and actually, the selection rule of the cartridge to be used may be arbitrarily set according to the requirement. ok
Step 102, image data is acquired.
Specifically, the operation of acquiring the image data in the present embodiment includes an operation of acquiring a specified color pixel value, an operation of acquiring an initial pixel value of each pixel point on the color image, and an operation of determining a target pixel value of each pixel point on the color image based on each initial pixel value, the specified color pixel value, and a box to be used.
Among them, the color image according to the present embodiment can be obtained by inputting data on a user interface, which may be any of an operation panel, a driver interface, a web page, and an app interface of an image forming apparatus such as a printer. This embodiment is not limited to this.
For example, in the present embodiment, the type of the color image may be an RGB image or a CMYK image. For example, when the type of the color image is an RGB image, the pixel values of the pixels on the color image are RGB values (r, g, b). When the type of the color image is a CMYK image, the pixel values of the pixel points on the color image are CMYK values (c, m, y, k).
For example, in a possible implementation manner, the operation of determining the target pixel value of each pixel point on the color image based on each initial pixel value, the specified color pixel value, and the box to be used may include: the method comprises the steps of carrying out color replacement processing on initial value pixel values according to a preset rule based on deviation between the initial pixel values and appointed color pixel values to obtain a first pixel value of each pixel point, and determining a target pixel value of each pixel point based on the first pixel value of each pixel point and a box body to be used.
Specifically, the box body containing the pigment with the designated color to be used and the box bodies containing the pigments with other colors required for generating the bi-color image to be used can be determined through the step 101, according to the deviation between each initial pixel value and the pixel value with the designated color, the first pixel value of the pixel point belonging to the area corresponding to the designated color on the bi-color image and the first pixel value of the pixel point belonging to the area part corresponding to the other colors required for generating the bi-color image can be determined, and then the pixel value is replaced after the box body containing the pigment with the designated color to be used is determined, so that the target pixel value of the pixel point is obtained; and aiming at the pixel points belonging to the area parts corresponding to other colors required for generating the bi-color image, after determining a box body to be used and containing pigments of other colors required for generating the bi-color image, replacing the pixel values, thereby obtaining the target pixel values of the pixel points.
For the sake of understanding, the following exemplifies an acquisition method of image data.
For example, assuming that the type of the color image is an RGB image, and the initial pixel values of the pixel points on the color image are (r, g, b), the colors to be replaced for each initial pixel value on the color image can be determined based on the following methods:
Delta=abs(R-g)+abs(R-b)
where Delta is the deviation between the initial pixel value and the specified color pixel value.
And when Delta is smaller than or equal to a preset threshold value, determining that the pixel point corresponding to the initial pixel value belongs to the area part corresponding to the specified color on the bi-color image, otherwise determining that the pixel point corresponding to the initial pixel value belongs to the area part corresponding to other colors required for generating the bi-color image.
If the designated color is red and the pixel value of the designated color is (R,0,0), it is determined that a certain pixel point on the color image belongs to a red region portion on the two-color image, an example may be to replace the pixel values of the pixel points belonging to the red region by (255, min (R, g, b), min (R, g, b)), or (255, avg (g, b)), or (255, 0,0), that is, when a pixel point on the color image belongs to the designated color region, the channel value corresponding to the designated color in the pixel values of the pixel point may be set to be maximum and the channel values of the other colors may be set to be equal, wherein when the channel values of the other colors than the designated color are set, the channel value of any one of the other two colors than the designated color in the pixel values may be used instead of the other colors than the designated color in the pixel values, alternatively, the channel value of the color other than the specified color in the pixel values may be replaced with the smallest channel value of all the channel values in the pixel values, or the channel value of the color other than the specified color in the pixel values may also be replaced with the average value of all the channel values in the pixel values.
When a pixel point on a color image belongs to a region portion corresponding to other colors required for generating a two-color image, an example may replace the pixel value of the pixel point with (min (r, g, b), min (r, g, b), min (r, g, b)), or (avg (r, g, b)), or (0,0, 255), that is, when a pixel point on a color image belongs to a region portion corresponding to other colors required for generating a two-color image, all channel values of the pixel value of the pixel point may be set to be equal, wherein when the channel values of the respective colors are set, all channel values of the pixel value may be the smallest as a target replacement value, or an average value of all channel values of the pixel value may be the target replacement value, or when the two-color image is a red-black image, the pixel values of the pixel points belonging to the non-red region on the color image may be directly replaced by (0,0, 255).
The first pixel value of each pixel point can be obtained by replacing the pixel value of each pixel point through the process.
Further, it is assumed that the arrangement of the cartridges mounted on the image generating apparatus is KKKR, where "K" denotes that black pigment is loaded in the cartridges and "R" denotes that red pigment is loaded in the cartridges. If the first pixel value of a pixel point in the color image obtained based on the method is (0,100, 0), the pixel point belongs to the red part of the bi-color image, and the 4 th powder box is determined as the box containing the red pigment to be used according to the arrangement sequence of the boxes, when the red-black image is generated, the pixel value (0,100, 0) of the pixel point is replaced by (0,0, 100), and the target pixel value (0,0, 100) of the pixel point on the color image is obtained.
If the first pixel value of a pixel point on the color image is processed to be (0,0,0,100), the pixel point belongs to the black part of the two-color image, and the first box is determined to be the box containing the black pigment to be used according to the arrangement sequence of the boxes, the pixel value (0,0,0,100) of the pixel point is replaced by (100,0,0,0), and the target pixel value (100,0,0,0) of the pixel point on the color image is obtained.
The foregoing examples are, of course, illustrative only and are not intended to be limiting of the invention.
And 103, executing image forming operation based on the cartridge to be used and the image data.
For example, after obtaining the target pixel value of each pixel point based on the method in step 102, the image forming apparatus may generate a two-color image based on the target pixel value and the cartridge to be used. For example, in the above example, the red portion in the two-color image may be generated based on the R cartridge of the four cartridges of the KKKR, and the black portion in the two-color image may be generated based on one or more of the three K cartridges. It is of course only illustrative and not exclusive here.
In the present embodiment, N cartridges are provided in the image generating apparatus, the N cartridges are loaded with pigments of N-1 colors or less, and when an operation of generating a two-color image is performed, image data is acquired by determining a cartridge to be used from among the N cartridges so that the cartridge to be used includes a pigment of a specified color and pigments of other colors necessary for generating the two-color image, and an image forming operation is performed based on the cartridge to be used and the acquired image data. In addition, by storing the pigments with two colors required for generating the double-color image in the N boxes, the problem that the generated double-color image has color difference caused by special color allocation through multiple colors in the prior art can be solved, the generation quality of the double-color image is improved, and even pigment resources in the boxes can be reasonably utilized by setting the selection rule of the box to be used in some examples, the problem of light color is avoided.
Further optimization and extension of the above embodiment are provided below.
Fig. 2 is a flow chart of a method for generating a bi-color image according to an embodiment of the present invention, and as shown in fig. 2, step 101 includes the following sub-steps based on the embodiment of fig. 1:
step 1011, obtain the remaining amount of pigment in each cartridge, and the grouping of cartridges of N cartridges that include pigment of the specified color, and the grouping of cartridges of other color pigments needed to generate a bi-color image.
If the image generation device includes 4 boxes and the arrangement of the four boxes is KKRR, the obtained box groups are KK and RR respectively when the operation of generating the red and black images is performed. It is of course only illustrative and not exclusive here.
Step 1012 determines the cartridges to be used in each grouping based on the remaining amount of pigment for each cartridge in each grouping.
The method for determining the cartridge to be used based on the residual amount of the pigment in the cartridge may include the following steps:
in a feasible manner, the box body with the large residual amount of the pigment in each group can be determined as the box body to be used in the group, and when the amount of the residual pigment in the box body does not reach the preset threshold value, the user is prompted to replace the box body. Still in the above example, assuming that the remaining amount of the pigment in the first box in the KK grouping is the largest, the first box in the KK is taken as the box to be used, and after the box to be used is determined, if the amount of the pigment of the box to be used is lower than the preset threshold, the user is prompted to replace the box, and similarly, the selection operation of the box to be used in the RR grouping may also be the same.
The box body with the largest residual amount of the pigment in each group is selected as the box body to be used, so that the generation quality of the double-color image can be ensured, and the problem of poor quality of the generated image caused by the fact that the residual amount of the color in the box body to be used is small is avoided.
In another possible way, the cartridge with the least amount of remaining pigment in each group may be determined as the cartridge to be used, and the user may be prompted to replace the cartridge when the amount of remaining pigment in the cartridge does not reach a preset threshold. Still in the above example, assuming that the remaining amount of the pigment in the first box in the KK grouping is the minimum, the first box in the KK is taken as the box to be used, and after the box to be used is determined, if the amount of the pigment of the box to be used is lower than the preset threshold, the user is prompted to replace the box, and similarly, the selection operation of the box to be used in the RR grouping may also be the same.
The box body with the minimum residual amount of the pigment in each group is selected to effectively avoid that the pigment in the box body with less residual amount cannot be utilized all the time and the pigment in all the final box bodies is less, so that the printing requirement cannot be met, and at the moment, the user is prompted to replace the box body, so that the inconvenience is brought to the user, and the pigment utilization rate of the image generation equipment is further improved.
In still another possible manner, a box in which the remaining amount of pigment in each group is larger than the total amount of pigment required to be consumed in the group may be determined as a box to be used by acquiring the total amount of pigment required to be consumed in each group, for example, a box in which the remaining amount of pigment in each group is larger than and closest to the total amount of pigment required to be consumed may be determined as a box to be used. Therefore, the quality of the generated double-color image can be ensured, the problem of poor quality of the generated image caused by less residual quantity of the color in the box body to be used is avoided, and the utilization rate of the pigment is improved.
Alternatively, a box in each group in which the remaining amount of the pigment is larger than the sum of the total amount of the pigment required to be consumed in the group and a preset threshold value may be determined as the box to be used. For example, in one possible design, the cartridge in each group having the remaining amount of pigment greater than and closest to the sum may be determined as the cartridge to be used. The problem of light color can be prevented by adding the preset threshold value factor, and the utilization rate of the pigment can be improved by selecting the box body with the residual amount of the pigment being larger than and closest to the sum value.
In another possible way, if there are a plurality of boxes with the same residual quantity and the largest residual quantity of pigment, the box with the earliest production date can be selected from the plurality of boxes to be used, or the box with the earliest production date can be directly determined from the whole group to be used, so as to prevent the pigment in the box from exceeding the quality guarantee period to cause pigment waste and poor quality of the generated image.
Based on any one of the above modes, the present embodiment can improve the generation quality of a two-color image and improve the pigment utilization rate.
Fig. 3 is a schematic structural diagram of a dual-color image generating device provided in an image generating apparatus, where the image generating apparatus includes N cartridges, N is greater than 2, and N cartridges include pigments of N-1 colors or less, and as shown in fig. 3, the device 30 includes:
a determining module 31, configured to determine a cartridge to be used from the N cartridges, where the cartridge to be used includes a pigment of a specified color and pigments of other colors required for generating a bi-color image, where the specified color is a color in the bi-color image;
an acquisition module 32 for acquiring image data;
and an execution module 33 for executing an image forming operation based on the cartridge to be used and the image data.
In one possible design, the obtaining module 32 includes:
the first obtaining submodule is used for obtaining an initial pixel value and a specified color pixel value of each pixel point in the color image;
and the first determining submodule is used for determining the target pixel value of each pixel point on the color image based on each initial pixel value, the specified color pixel value and the box body to be used.
In one possible design, the number of cartridges to be used is less than or equal to N-1.
The apparatus provided in this embodiment can be used to execute the method shown in the embodiment in fig. 1, and the execution manner and the beneficial effects are similar, which are not described herein again.
Fig. 4 is a schematic structural diagram of a determining module 33 according to an embodiment of the present invention, and as shown in fig. 4, on the basis of the embodiment of fig. 3, the determining module 31 includes:
a second obtaining submodule 311, configured to obtain a remaining amount of the pigment in each cartridge, a cartridge group including the pigment of the designated color in the N cartridges, and a cartridge group of the other color pigments required for generating the bi-color image;
a second determining sub-module 312 for determining the cartridges to be used in each grouping based on the remaining amount of pigment of each cartridge in each grouping.
In one possible design, the determining module 31 includes:
the second obtaining submodule is used for obtaining the residual amount of the pigments in each box body, the box body groups of the N box bodies containing the pigments with the specified colors and the box body groups of the pigments with other colors required for generating the double-color image;
and the third determining submodule is used for determining the box bodies to be used in each group based on the residual quantity of the pigment of each box body in each group and the production date of each box body.
In one possible design, the second determining submodule 312 includes:
a first determining subunit for determining the cartridge with the largest remaining amount of pigment in each group as the cartridge to be used,
or a second determining subunit for determining the cartridge with the least remaining amount of pigment in each group as the cartridge to be used.
In one possible design, the second determining submodule 312 includes:
a third determining subunit for determining the total amount of the pigment that needs to be consumed in each group when the operation of generating the two-color image is performed;
a fourth determining subunit or a fifth determining subunit, wherein the fourth determining subunit is configured to determine, as a cartridge to be used, a cartridge in which the remaining amount of the pigment in each of the groupings is larger than the total amount of the pigment required to be consumed by the grouping,
and the fifth determining subunit is used for determining the box body with the residual quantity of the pigment in each group larger than the sum of the total quantity of the pigment consumed by the group and a preset value as a box body to be used.
In one possible design, the fourth determining subunit is specifically configured to:
and determining the box body with the residual quantity of the pigment in each group being larger than and closest to the total quantity of the pigment required to be consumed by the group as a box body to be used.
The apparatus provided in this embodiment can be used to execute the method shown in the embodiment of fig. 2, and the execution manner and the beneficial effects are similar, which are not described herein again.
The embodiment of the invention also provides image generation equipment, which comprises N box bodies, wherein N is larger than 2, the N box bodies comprise pigments with colors smaller than or equal to N-1, the equipment further comprises a processor and a memory, the memory stores instructions, and when the processor executes the instructions, the method of any one of the above embodiments is executed.
The embodiment of the invention also provides image generation equipment, which comprises N box bodies, wherein N is more than 2, and the N box bodies comprise pigments with the colors less than or equal to N-1; the image generation device determines a box to be used from the N boxes; an image forming operation is performed based on the cartridge to be used and the received image data.
The method for determining the box to be used comprises the following steps: acquiring the residual amount of the pigment in each box body, box body groups of N box bodies containing the pigment with the specified color and box body groups of other colors of the pigment required for generating the double-color image; the cartridges to be used in each group are determined based on the remaining amounts of pigments of the respective cartridges in each group.
The method for determining the cartridge to be used based on the residual amount of the pigment in the cartridge may include the following steps:
in a feasible manner, the box body with the large residual amount of the pigment in each group can be determined as the box body to be used in the group, and when the amount of the residual pigment in the box body does not reach the preset threshold value, the user is prompted to replace the box body. Still in the above example, assuming that the remaining amount of the pigment in the first box in the KK grouping is the largest, the first box in the KK is taken as the box to be used, and after the box to be used is determined, if the amount of the pigment of the box to be used is lower than the preset threshold, the user is prompted to replace the box, and similarly, the selection operation of the box to be used in the RR grouping may also be the same.
The box body with the largest residual amount of the pigment in each group is selected as the box body to be used, so that the generation quality of the double-color image can be ensured, and the problem of poor quality of the generated image caused by the fact that the residual amount of the color in the box body to be used is small is solved.
In another possible way, the cartridge with the least amount of remaining pigment in each group may be determined as the cartridge to be used, and the user may be prompted to replace the cartridge when the amount of remaining pigment in the cartridge does not reach a preset threshold. Still in the above example, assuming that the remaining amount of the pigment in the first box in the KK grouping is the minimum, the first box in the KK is taken as the box to be used, and after the box to be used is determined, if the amount of the pigment of the box to be used is lower than the preset threshold, the user is prompted to replace the box, and similarly, the selection operation of the box to be used in the RR grouping may also be the same.
The box body with the minimum residual amount of the pigment in each group is selected to effectively avoid that the pigment in the box body with less residual amount cannot be utilized all the time and the pigment in all the final box bodies is less, so that the printing requirement cannot be met, and at the moment, the user is prompted to replace the box body, so that the inconvenience is brought to the user, and the pigment utilization rate of the image generation equipment is further improved.
In still another possible manner, a box in which the remaining amount of pigment in each grouping is larger than the total amount of pigment required to be consumed in the grouping may be determined as a box to be used by acquiring the total amount of pigment required to be consumed in each grouping, for example, a box in which the remaining amount of pigment in each grouping is larger than and closest to the total amount of pigment required to be consumed may be determined as a box to be used. Therefore, the quality of the generated double-color image can be ensured, the problem of poor quality of the generated image caused by less residual quantity of the color in the box body to be used is avoided, and the utilization rate of the pigment is improved.
Alternatively, a box in each group in which the remaining amount of the pigment is larger than the sum of the total amount of the pigment required to be consumed in the group and a preset threshold value may be determined as the box to be used. For example, in one possible design, the cartridge in each group having the remaining amount of pigment greater than and closest to the sum may be determined as the cartridge to be used. The problem of light color can be prevented by adding the preset threshold value factor, and the utilization rate of the pigment can be improved by selecting the box body with the residual amount of the pigment being larger than and closest to the sum value.
In another possible way, if there are a plurality of boxes with the same residual quantity and the largest residual quantity of pigment, the box with the earliest production date can be selected from the plurality of boxes to be used, or the box with the earliest production date can be directly determined from the whole group to be used, so as to prevent the pigment in the box from exceeding the quality guarantee period to cause pigment waste and poor quality of the generated image.
Based on any one of the above modes, the present embodiment can improve the generation quality of a two-color image and improve the pigment utilization rate.
Of course, the above methods for determining the cartridge to be used are only illustrative and not restrictive.
In addition, in one possible design, the number of cartridges to be used is less than or equal to N-1. As N boxes comprise the pigments with the color being less than or equal to N-1 and the number of the boxes to be used is less than or equal to N-1, only one box comprising the pigments with the repeated color can participate in the imaging process, and the boxes with other repeated colors do not participate in imaging.
The embodiment of the present invention further provides a computer-readable storage medium, which includes instructions, and when the instructions are executed on a computer, the computer can be used to implement the technical solutions of the above embodiments.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate, all or part of the processes in the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, and the program can be stored in a computer readable storage medium, and when executed, the program can include the processes in the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
Each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (14)

1. A bi-color image generation method applicable to an image generation apparatus including N cartridges detachably mountable in the image generation apparatus, where N is greater than 2, characterized in that the N cartridges include therein pigments of N-1 colors or less, the pigments including a pigment of a specified color and pigments of other colors required for generating a bi-color image, and the number of cartridges containing the pigment of the specified color is equal to or less than the number of cartridges containing the pigments of the other colors, the method comprising:
determining a box to be used from the N boxes, wherein the box to be used comprises pigments of a specified color and pigments of other colors required for generating a bi-color image, and the specified color is a color in the bi-color image;
acquiring image data;
an image forming operation is performed based on the cartridge to be used and the image data.
2. The method of claim 1, wherein the acquiring image data comprises:
acquiring an initial pixel value and a designated color pixel value of each pixel point in a color image;
and determining the target pixel value of each pixel point on the color image based on each initial pixel value, the specified color pixel value and the box body to be used.
3. The method according to claim 1, wherein said determining a cartridge to be used from said N cartridges comprises:
acquiring the residual amount of the pigment in each box body, the box body groups of the N box bodies containing the pigment with the specified color and the box body groups of the pigments with other colors required for generating the double-color image;
the cartridges to be used in each group are determined based on the remaining amounts of pigments of the respective cartridges in each group.
4. The method according to claim 1, wherein said determining a cartridge to be used from said N cartridges comprises:
acquiring the residual amount of the pigment in each box body, the box body groups of the N box bodies containing the pigment with the specified color and the box body groups of the pigments with other colors required for generating the double-color image;
the cartridge to be used in each group is determined based on the remaining amount of pigment of each cartridge in each group and the date of manufacture of each cartridge.
5. Method according to any of claims 1 to 4, characterized in that the number of cartridges to be used is less than or equal to N-1.
6. A bi-color image generating device provided in an image generating apparatus including N cartridges detachably mountable in the image generating apparatus, where N is greater than 2, characterized in that pigments of N-1 colors or less including a pigment of a specified color and pigments of other colors required to generate a bi-color image are included in the N cartridges, and the number of cartridges containing the pigment of the specified color is equal to or less than the number of cartridges containing the pigments of the other colors, the device comprising:
a determining module, configured to determine a cartridge to be used from the N cartridges, where the cartridge to be used includes a pigment of a specified color and pigments of other colors required for generating a bi-color image, where the specified color is a color in the bi-color image;
the acquisition module is used for acquiring image data;
and the execution module is used for executing image forming operation based on the cartridge to be used and the image data.
7. The apparatus of claim 6, wherein the obtaining module comprises:
the first obtaining submodule is used for obtaining an initial pixel value and a specified color pixel value of each pixel point in the color image;
and the first determining submodule is used for determining the target pixel value of each pixel point on the color image based on each initial pixel value, the specified color pixel value and the box body to be used.
8. The apparatus of claim 6, wherein the determining module comprises:
the second obtaining submodule is used for obtaining the residual amount of the pigments in each box body, the box body groups of the N box bodies containing the pigments with the specified colors and the box body groups of the pigments with other colors required for generating the double-color image;
and a second determining submodule for determining a cartridge to be used in each grouping based on the remaining amount of the pigment of each cartridge in each grouping.
9. The apparatus of claim 6, wherein the determining module comprises:
the second obtaining submodule is used for obtaining the residual amount of the pigments in each box body, the box body groups of the N box bodies containing the pigments with the specified colors and the box body groups of the pigments with other colors required for generating the double-color image;
and the third determining submodule is used for determining the box bodies to be used in each group based on the residual quantity of the pigment of each box body in each group and the production date of each box body.
10. Device according to any one of claims 6 to 9, characterized in that the number of cartridges to be used is less than or equal to N-1.
11. An image generation device comprising N cartridges, wherein N is greater than 2, wherein the N cartridges comprise less than or equal to N-1 colors of paint, wherein the device further comprises a processor and a memory, wherein the memory has stored therein instructions that, when executed by the processor, perform the method of any of claims 1-5.
12. An image generation device characterized by comprising:
n cartridges which are detachably mountable in the image generating apparatus, wherein N is greater than 2, and which contain therein pigments of less than or equal to N-1 colors, the pigments including a pigment of a specified color and pigments of other colors required for generating a two-color image, and the number of cartridges containing a pigment of a specified color being less than or equal to the number of cartridges containing pigments of the other colors;
the image generation apparatus determines a cartridge to be used from among the N cartridges, and performs an image forming operation based on the cartridge to be used and the received image data.
13. The apparatus according to claim 12, characterized in that the number of cartridges to be used is less than or equal to N-1.
14. A computer-readable storage medium comprising instructions which, when executed on the computer, cause the computer to perform the method of any of claims 1-5.
CN201811474349.3A 2018-12-04 2018-12-04 Method, device, equipment and storage medium for generating double-color image Active CN109521662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811474349.3A CN109521662B (en) 2018-12-04 2018-12-04 Method, device, equipment and storage medium for generating double-color image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811474349.3A CN109521662B (en) 2018-12-04 2018-12-04 Method, device, equipment and storage medium for generating double-color image

Publications (2)

Publication Number Publication Date
CN109521662A CN109521662A (en) 2019-03-26
CN109521662B true CN109521662B (en) 2022-05-06

Family

ID=65794130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811474349.3A Active CN109521662B (en) 2018-12-04 2018-12-04 Method, device, equipment and storage medium for generating double-color image

Country Status (1)

Country Link
CN (1) CN109521662B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488508A (en) * 2002-09-02 2004-04-14 ���ǵ�����ʽ���� Colour printing and apparatus for ink-jetting printer
CN101526782A (en) * 2008-03-03 2009-09-09 夏普株式会社 Image forming apparatus
CN102520601A (en) * 2011-12-19 2012-06-27 珠海天威飞马打印耗材有限公司 Carbon powder supplying and discharging device and system thereof
CN103973939A (en) * 2013-01-28 2014-08-06 株式会社理光 Image processing apparatus and image processing method
CN104317176A (en) * 2014-09-29 2015-01-28 韩进龙 Continuous toner supply toner cartridge and image forming device
KR20170140543A (en) * 2016-06-13 2017-12-21 김영준 Toner cartridges, Laser printer having toner cartridge and Automatic toner supply system of laser printer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6472336B2 (en) * 2014-06-18 2019-02-20 キヤノン株式会社 Image processing apparatus, image processing method, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488508A (en) * 2002-09-02 2004-04-14 ���ǵ�����ʽ���� Colour printing and apparatus for ink-jetting printer
CN101526782A (en) * 2008-03-03 2009-09-09 夏普株式会社 Image forming apparatus
CN102520601A (en) * 2011-12-19 2012-06-27 珠海天威飞马打印耗材有限公司 Carbon powder supplying and discharging device and system thereof
CN103973939A (en) * 2013-01-28 2014-08-06 株式会社理光 Image processing apparatus and image processing method
CN104317176A (en) * 2014-09-29 2015-01-28 韩进龙 Continuous toner supply toner cartridge and image forming device
KR20170140543A (en) * 2016-06-13 2017-12-21 김영준 Toner cartridges, Laser printer having toner cartridge and Automatic toner supply system of laser printer

Also Published As

Publication number Publication date
CN109521662A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
US9584700B2 (en) Color separation table optimized for a printing process according to a print attribute by selecting particular Neugebauer primaries and Neugebauer primary area coverages
US10868943B2 (en) Color mapping
US8363273B2 (en) Printing system
JP2011199696A (en) Image processing apparatus
US9406004B2 (en) Image processing apparatus, image processing method, and storage medium
JP6252003B2 (en) Printing apparatus, printing method, image processing apparatus, and program
CN109521662B (en) Method, device, equipment and storage medium for generating double-color image
JP2008067029A (en) Image processor and program
US10200568B2 (en) Pixel processing
US11157223B2 (en) Color conversion method, color conversion device and program
US20210176378A1 (en) Generating an area coverage vector
US11057545B2 (en) Weighting functions which vary with intended area color values
JP6701989B2 (en) Color chart generation method for color selection and color chart generation program for color selection
US10638019B2 (en) Gray component replacement in a digital image to generate a color transformed image
US20220360686A1 (en) Print material element sets
JP2014162005A (en) Method of generating print data, printer, and print system
JP2012223903A (en) Method of producing look-up table, printer, and method of printing
JP4273318B2 (en) Color conversion apparatus, color conversion method, and print control program
US20210368069A1 (en) Color tables
JP2017182461A (en) Print data generation device
JP2006044096A (en) Printing device and printing method
JP4498249B2 (en) Image processing apparatus and image processing method
CN117008849A (en) Printing method, electronic equipment and storage medium
JP4408773B2 (en) Color processing apparatus and color processing method
JP2015008406A (en) Image processing method, image processing device, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant