CN110837351B - Pure color processing method, device, equipment and storage medium based on ICC (inter-color computer) processing - Google Patents
Pure color processing method, device, equipment and storage medium based on ICC (inter-color computer) processing Download PDFInfo
- Publication number
- CN110837351B CN110837351B CN201911179840.8A CN201911179840A CN110837351B CN 110837351 B CN110837351 B CN 110837351B CN 201911179840 A CN201911179840 A CN 201911179840A CN 110837351 B CN110837351 B CN 110837351B
- Authority
- CN
- China
- Prior art keywords
- color
- processing
- concentration
- data
- transition
- 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
Links
- 238000012545 processing Methods 0.000 title claims abstract description 301
- 238000003672 processing method Methods 0.000 title claims abstract description 24
- 230000007704 transition Effects 0.000 claims abstract description 119
- 239000007787 solid Substances 0.000 claims abstract description 64
- 239000003086 colorant Substances 0.000 claims abstract description 42
- 238000004590 computer program Methods 0.000 claims abstract description 10
- 238000000034 method Methods 0.000 claims description 59
- 230000008569 process Effects 0.000 claims description 32
- 206010013496 Disturbance in attention Diseases 0.000 claims description 16
- 238000004364 calculation method Methods 0.000 claims description 10
- 238000009499 grossing Methods 0.000 claims description 3
- 238000007639 printing Methods 0.000 abstract description 22
- 230000000694 effects Effects 0.000 abstract description 9
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000010365 information processing Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 6
- 239000012535 impurity Substances 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 238000007792 addition Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007641 inkjet printing Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1208—Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J2/00—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
- B41J2/005—Typewriters 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/01—Ink jet
- B41J2/21—Ink jet for multi-colour printing
- B41J2/2132—Print quality control characterised by dot disposition, e.g. for reducing white stripes or banding
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a pure color processing method, device and equipment based on ICC (information processing technology) processing and a storage medium, and relates to the field of printer color tubes. The pure color processing method based on ICC processing comprises the following steps: acquiring ICC processing data; acquiring a concentration interval; performing solid color treatment; determining a transitional treatment concentration interval; performing transition treatment; the pure color processing device based on ICC processing of the invention comprises: the device comprises a data acquisition module, a concentration interval acquisition module, a solid color processing module, a determination module and a transition processing module. The pure color processing apparatus of the present invention, which is based on ICC processing, comprises a processor, a memory and computer program instructions stored in said memory. The storage medium of the present invention has computer program instructions stored thereon. The pure color processing method, device, equipment and medium based on ICC processing can solve the technical problem that the existing ICC printing processing method can not eliminate the abrupt phenomenon of printing ink dots of pure colors and ensure the integral transitional effect of printing.
Description
Technical Field
The invention relates to the field of printer color tubes, in particular to a pure color processing method, device, equipment and storage medium based on ICC (information processing) processing.
Background
At present, as the requirements of people on printing colors are more and more strict, most manufacturers start to use ICC files to perform color correction printing, in the existing ICC printing processing method, although the addition of ICC processing can improve the reduction degree of the colors, the colors of single colors (single C, single K and the like) in original pictures are processed into mixed colors (C, M, Y, K and the like), and when the colors are changed from single colors into mixed colors, printing ink points of other colors doped in the colors are abrupt, and the influence on visual effects is great; therefore, when ICC printing is used, the impurity point removing treatment is performed on the colors of other ink points which do not need to be doped, but the overall transitional effect is seriously affected after the impurity points are directly removed. Therefore, how to avoid the abrupt printing of ink dots and ensure the whole transition of the printed product when the ICC prints pure colors is a big problem which needs to be solved rapidly at present.
Disclosure of Invention
The invention provides a pure color processing method, device, equipment and storage medium based on ICC processing, which are used for solving the technical problem that the existing ICC printing processing method can not eliminate the phenomenon of abrupt ink dot printing of pure color and simultaneously ensure the integral transitional effect of printing.
In a first aspect, the present invention provides a pure color processing method based on ICC processing, the method comprising:
s1, acquiring ICC processing data of a monochromatic channel of an original image;
s2, acquiring a concentration interval of solid color processing of the monochromatic channel;
s3, performing solid-color processing on the ICC processing data according to the solid-color processing concentration interval to obtain intermediate solid-color processing data;
s4, determining a transition treatment concentration interval according to the concentration interval of the solid color treatment;
and S5, performing transition treatment on the intermediate solid-color treatment data according to the transition treatment concentration interval to obtain transition treatment data.
Preferably, the step S4 of determining a transition process concentration interval according to the concentration interval of the solid color process includes:
s41, acquiring a concentration interval of solid color treatment;
s42, acquiring a concentration range of transition treatment;
s43, determining a concentration interval for acquiring the transition treatment according to the concentration interval for the solid color treatment and the concentration range for the transition treatment.
Preferably, the intermediate solid-color processing data includes concentration values of respective colors, and the step of performing transition processing on the intermediate solid-color processing data according to the concentration interval of the transition processing to obtain the transition processing data includes:
s51, performing interpolation processing on the intermediate solid color processing data according to the transition processing concentration interval to obtain interpolation processing data;
s52, acquiring concentration loss between interpolation processing data and intermediate solid-color processing data;
and S53, adjusting the concentration value of the color corresponding to the single-color channel in the intermediate solid-color processing data according to the concentration loss to obtain transition processing data.
Preferably, the step S51 of interpolating the intermediate solid color processing data according to the concentration interval of the transition processing to obtain interpolation processing data includes:
s511, acquiring data which does not belong to a transition processing concentration interval of colors except colors corresponding to the monochromatic channels in the intermediate pure color processing data, and recording the data as interpolation reference data;
s512, calculating interpolation calculation data corresponding to the intermediate solid color processing data belonging to the transition processing concentration interval according to the interpolation reference data;
s513, replacing the solid-color processing data belonging to the transition processing concentration interval in the original intermediate solid-color processing data with the interpolation calculation data to obtain interpolation processing data.
Preferably, the method for acquiring the concentration loss between the interpolation processing data and the intermediate solid-color processing data in S52 includes:
s521, acquiring the concentration value of the color except the color corresponding to the monochromatic channel in the middle pure color processing data;
s522, acquiring a concentration value of a color except the color corresponding to the monochromatic channel in the interpolation processing data;
s523, calculating a difference Δp between the density values of the colors other than the color corresponding to the monochrome channel in the intermediate solid color processing data and the interpolation processing data as a density loss from the density values of the colors other than the color corresponding to the monochrome channel in the intermediate solid color processing data and the interpolation processing data.
Preferably, the step S53 of adjusting the density value of the color corresponding to the single color channel in the intermediate solid color processing data according to the density loss to obtain the transition processing data includes:
s531, acquiring a concentration value P of a color corresponding to the monochromatic channel belonging to a transition processing concentration interval in ICC processing data or intermediate pure color processing data;
s532, calculating according to the concentration value P and the concentration difference value delta P to obtain a concentration value Pt of the color corresponding to the adjusted monochromatic channel, wherein Pt=P+delta P;
s533, judging whether the adjusted concentration value Pt is larger than the concentration value of the color corresponding to the monochromatic channel before ICC processing;
s534, if yes, taking the concentration value of the color corresponding to the monochromatic channel before ICC processing as the concentration value of the color corresponding to the monochromatic channel in the transition processing data;
s535, if not, using the adjusted density value Pt as the density value of the color corresponding to the monochrome channel in the transition processing data.
Preferably, the method further includes S6, after performing transition processing on the intermediate solid-color processed data according to the transition processing concentration interval in S5 to obtain transition processing data, performing smoothing processing on the transition processing data to obtain target solid-color processed data.
In a second aspect, the present invention provides a solid-color processing apparatus based on ICC processing, the apparatus comprising:
the data acquisition module is used for acquiring ICC processing data of a monochromatic channel;
the concentration interval acquisition module is used for acquiring a concentration interval of the solid color treatment of the monochromatic channel;
the pure color processing module is used for carrying out pure color processing on the ICC processing data according to the concentration interval of pure color processing to obtain middle pure color processing data;
the transition treatment concentration interval determining module is used for determining a transition treatment concentration interval according to the concentration interval of the solid color treatment;
and the transition processing module is used for performing transition processing on the intermediate solid color processing data according to the transition processing concentration interval to obtain transition processing data.
In a third aspect, the present invention provides a solid-color processing device based on ICC processing, comprising at least one processor, at least one memory and computer program instructions stored in the memory, which, when executed by the processor, implement the method of the first aspect.
In a fourth aspect, the present invention provides a storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of the first aspect:
in summary, the pure color processing method, device, equipment and storage medium based on the ICC processing provided by the invention fully utilize the advantage that the ICC processing can well improve the reduction degree of color, and after pure color processing of removing impurity points is performed on ICC processing data of a monochromatic channel, transition processing is performed on data in a certain concentration range near the concentration interval of the pure color processing according to the concentration interval of the pure color processing. The color rendition of the original image is obviously improved. On the basis, the phenomenon of abrupt ink dot printing of pure color after ICC processing is eliminated, the integral natural transition effect of the printed image is ensured, and finally, the comprehensive printing effect is obviously improved.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are needed to be used in the embodiments of the present invention will be briefly described, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a solid color processing method based on ICC processing of embodiment 1 of the present invention.
Fig. 2 is a flowchart of a method of the transition process in embodiment 1 of the present invention.
Fig. 3 is a flowchart of a method of interpolation processing in embodiment 1 of the present invention.
Fig. 4 is a flowchart of a method of adjusting intermediate solid color processing data according to embodiment 1 of the present invention.
Fig. 5 is a schematic diagram of the structure of a pure color processing apparatus based on ICC processing according to embodiment 2 of the present invention.
Fig. 6 is a schematic structural diagram of a pure color processing apparatus based on ICC processing of embodiment 3 of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely configured to illustrate the invention and are not configured to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the invention.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
Example 1
In the embodiment 1 of the invention, the advantage that the ICC processing can well improve the color reduction degree is fully utilized, and after pure color processing for removing the impurity points is carried out on ICC processing data of a monochromatic channel, transition processing is carried out on the data in a certain concentration range near the concentration interval of the pure color processing according to the concentration interval of the pure color processing. The color rendition of the original image is obviously improved. On the basis, the phenomenon of abrupt ink dot printing of pure color after ICC processing is eliminated, the integral natural transition effect of the printed image is ensured, and finally, the comprehensive printing effect is obviously improved. In the transition processing, the embodiment uses the solid color processing data outside the transition area as the reference data to carry out color transition by an interpolation method, so that the transition area can be well connected with the surrounding area, and the transition from the solid color processing concentration interval to the rest concentration interval is more natural.
The technical problem that the existing ICC printing processing method cannot eliminate the abrupt phenomenon of pure-color printing ink points and ensure the integral transitional effect of printing at the same time is solved.
The data related to the printing color in the field of inkjet printing generally includes density values of four color channels, i.e., CMYK values, of a Cyan channel (C, cyan), a Magenta channel (M, magenta), a Yellow channel (Y, yellow), and a black channel (K, black). Wherein the concentration value typically ranges from 0 to 100%. In the original image to be printed, some areas often belong to pure color areas, and the density values of the color channels except the pure color are all 0 corresponding to the pure color areas. For example, there is a cyan solid area in the original, and the corresponding CMYK value of this area is (98,0,0,0).
Referring to fig. 1, the present embodiment provides a pure color processing method based on ICC processing, where the method includes:
s1, acquiring ICC processing data of a monochromatic channel of an original image;
the monochrome region in the original image is typically printed using monochrome data channels (e.g., C channel, M channel, Y channel, K channel, etc.), whereas during the ICC printing process, the monochrome (single C, single K, etc.) colors in the original image are processed as mixed colors (C, M, Y, K, etc.). The monochrome data, for example, C98 having a density value of 98% in the C channel is subjected to ICC processing and converted into corresponding ICC processed data having a CMYK value (98,5,8,2). In the specific implementation, ICC processing can be carried out on all the monochromatic channel data one by one, and the concentration value of the monochromatic channel is converted into a corresponding CMYK value to obtain ICC processing data. For example, the original image includes C, M, Y, K single colors, and the data of C, M, Y, K single color channels with 0-100% concentration can be respectively subjected to ICC processing to obtain CMYK values corresponding to the data of C0-C100, M0-M100, Y0-Y100, and K0-K100 (the numbers behind the capital letters representing the colors represent the concentration values of the colors, for example, M20 represents the data of M single color channels with 20% concentration values).
S2, acquiring a concentration interval of solid color processing of the monochromatic channel;
since pure color data, which was originally printed with only one color after ICC processing, becomes color mixture data that is likely to appear as a mixed dot, it is necessary to process these color mixture data. The range of data processing needs to be determined before processing. This range is a certain density section of the monochrome channel before the ICC process, which can be determined according to the print requirements.
S3, performing solid-color processing on the ICC processing data according to the solid-color processing concentration interval to obtain intermediate solid-color processing data;
and if the concentration interval of the pure color processing of the C channel designated in the previous step is 95% -100%, the pure color processing is carried out on the data of which the concentration value of the C single-color channel is 95% -100%, namely the pure color processing is carried out on the data which corresponds to the C95-C100 and is subjected to ICC processing.
The specific processing method can be that the concentration value of the rest colors in ICC processing data is directly set to be zero, and the minimum value of the three colors except the single color in ICC processing data (C\M\Y\K) can be extracted to be overlapped with the corresponding single-color concentration value in mixed color data to be used as a final result.
S4, determining a transition treatment concentration interval according to the concentration interval of the solid color treatment;
the specific steps of determining the transition treatment concentration interval according to the concentration interval of the solid color treatment comprise the following steps:
s41, acquiring a concentration interval of solid color treatment;
s42, acquiring a concentration range of transition treatment;
s43, determining a concentration interval for acquiring the transition treatment according to the concentration interval for the solid color treatment and the concentration range for the transition treatment.
Wherein the concentration range of the transition treatment is optimal for twice the width of the concentration interval of the pure color treatment, and the color transition is also natural. For example, the concentration range of the solid color treatment of the C channel is 95% -100%, i.e., the width of the concentration range of the solid color treatment is 5%, and the concentration range of the transition treatment is 10%, and the corresponding concentration range of the transition treatment is 85% -95%.
S5, performing transition treatment on the intermediate solid color treatment data according to the transition treatment concentration interval to obtain transition treatment data;
the situation that the color is suddenly changed near the processed solid-color region can occur from the view point of the whole effect of the image after the solid-color processing, so that a certain region is selected near the solid-color region for transition. As shown in fig. 2, the step of obtaining transition processing data after performing transition processing on intermediate solid color processing data according to a concentration interval of the transition processing includes:
s51, performing interpolation processing on the intermediate solid color processing data according to the transition processing concentration interval to obtain interpolation processing data;
as shown in fig. 3, the specific steps of the interpolation process are:
s511, acquiring data which does not belong to a transition processing concentration interval of colors except the color corresponding to the monochromatic channel in the middle pure color processing data as interpolation reference data;
s512, calculating interpolation calculation data corresponding to the intermediate solid color processing data belonging to the transition processing concentration interval according to the interpolation reference data;
for example, the data of the monochromatic C channel in the original image is processed by processing ICC to obtain C, M, Y, K value corresponding to C0-C100. And then carrying out solid-color processing on 95% -100% of the data to obtain C, M, Y, K values of intermediate solid-color processed data corresponding to C95-C100, and taking 85% -95% as a concentration interval of transition processing. Then, when interpolation processing is performed, the concentration values of M, Y, K of the data outside the two groups of transition processing concentration intervals, namely C0-C85 and C95-C100, are taken out as difference reference data, and the concentration values of M, Y, K colors are respectively interpolated. Taking interpolation of the concentration value of M as an example, 86 data points of C0, C2, … … C84 and C85 and 6 data points of C95, C96, … … C99 and C100 can be selected for interpolation calculation, so as to obtain the concentration value of M color corresponding to the data of C85-C95. The method can be used for calculating by using a cubic spline interpolation method, the concentration value of the C color channel before ICC processing is taken as input, the concentration value of the M color is taken as output to obtain an interpolated curve, and the concentration values of the Y color and the K color corresponding to the data of C85-C95 can be calculated by the same method.
S513, replacing the solid-color processing data belonging to the transition processing concentration interval in the original intermediate solid-color processing data with the interpolation calculation data to obtain interpolation processing data.
Since the interpolation process calculates the color value of the data in the transition process concentration interval, the data in the transition process concentration interval is replaced on the basis of the original intermediate solid color process data.
S52, acquiring concentration loss between interpolation processing data and intermediate solid-color processing data;
the method for acquiring the concentration loss between the interpolation processing data and the intermediate solid-color processing data comprises the following specific steps:
s521, acquiring the concentration value of the color except the color corresponding to the monochromatic channel in the middle pure color processing data;
s522, acquiring a concentration value of a color except the color corresponding to the monochromatic channel in the interpolation processing data;
s523, calculating a difference delta P of the concentration values of the colors except the color corresponding to the single-color channel in the intermediate solid-color processing data and the interpolation processing data as concentration loss according to the concentration values of the colors except the color corresponding to the single-color channel in the intermediate solid-color processing data and the interpolation processing data;
for example, the density values of the three colors M, Y, K of the intermediate solid color processing data before interpolation processing is performed on the data of the single-color C channel in the original image are Mm, ym, km, respectively. The concentration values of the M, Y, K three colors after interpolation processing are Mr, yr and Kr
Concentration loss Δp=Δm+Δy+Δk= (Mm-Cr) + (Ym-Yr) + (Km-Kr).
And S53, adjusting the concentration value of the color corresponding to the single-color channel in the intermediate solid-color processing data according to the concentration loss to obtain transition processing data.
As shown in fig. 4, the specific steps for obtaining the transition processing data by adjusting the density value of the color corresponding to the single color channel in the intermediate solid color processing data according to the density loss are as follows:
s531, acquiring a concentration value P of a color corresponding to the monochromatic channel belonging to a transition processing concentration interval in ICC processing data or intermediate pure color processing data;
s532, calculating according to the concentration value P and the concentration difference value delta P to obtain a concentration value Pt of the color corresponding to the adjusted monochromatic channel, wherein Pt=P+delta P;
for example, interpolation processing is performed on corresponding intermediate solid color processing data of a single color C channel in an original image by using 85% -95% of data of a concentration interval of transition processing, concentration values of colors C of the concentration interval of 85% -95% are obtained first, and then deltaP and the concentration values of the colors C are added to obtain the concentration values of the colors C.
S533, judging whether the adjusted concentration value Pt is larger than the concentration value of the color corresponding to the monochromatic channel before ICC processing;
s534, if yes, taking the concentration value of the color corresponding to the monochromatic channel before ICC processing as the concentration value of the color corresponding to the monochromatic channel in the transition processing data;
s535, if not, using the adjusted density value Pt as the density value of the color corresponding to the monochrome channel in the transition processing data.
The implementation judges and processes the overall change of the concentration before and after interpolation, so that the concentration after adjustment can be ensured not to exceed the corresponding concentration of single color in the original image.
The implementation can also carry out smoothing processing on the transition processing data after the transition processing to obtain target solid-color processing data so as to enable the color change of the image to be smoother as a whole.
Example 2
Referring to fig. 5, an embodiment of the present invention provides a pure color processing apparatus based on ICC processing, where the apparatus includes:
the data acquisition module is used for acquiring ICC processing data of a monochromatic channel;
the concentration interval acquisition module is used for acquiring a concentration interval of the solid color treatment of the monochromatic channel;
the pure color processing module is used for carrying out pure color processing on the ICC processing data according to the concentration interval of pure color processing to obtain middle pure color processing data;
the transition treatment concentration interval determining module is used for determining a transition treatment concentration interval according to the concentration interval of the solid color treatment;
and the transition processing module is used for performing transition processing on the intermediate solid color processing data according to the transition processing concentration interval to obtain transition processing data.
Wherein the transition processing module further comprises:
the interpolation processing module is used for carrying out interpolation processing on the intermediate solid-color processing data according to the transition processing concentration interval to obtain interpolation processing data;
the concentration loss acquisition module is used for acquiring concentration loss between interpolation processing data and intermediate solid-color processing data;
and the concentration value adjusting module is used for adjusting the concentration value of the color corresponding to the monochromatic channel in the intermediate pure color processing data according to the concentration loss to obtain transition processing data.
Wherein the interpolation processing module comprises:
the interpolation reference data acquisition module is used for acquiring data which does not belong to a transition processing concentration interval of colors except the color corresponding to the monochromatic channel in the intermediate pure color processing data, and recording the data as interpolation reference data;
the interpolation data calculation module is used for calculating interpolation calculation data corresponding to the intermediate solid color processing data belonging to the transition processing concentration interval according to the interpolation reference data;
and the data replacement module is used for replacing the solid-color processing data belonging to the transition processing concentration interval in the original intermediate solid-color processing data with the interpolation calculation data to obtain interpolation processing data.
Example 3
In addition, the solid-color processing method based on the ICC process of the embodiment of the present invention described in connection with fig. 6 may be implemented by a solid-color processing apparatus based on the ICC process. Fig. 6 shows a schematic hardware structure of a pure color processing apparatus based on ICC processing according to an embodiment of the present invention.
The ICC process based solid-color processing device may comprise a processor 401 and a memory 402 storing computer program instructions.
In particular, the processor 401 described above may include a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured as one or more integrated circuits implementing embodiments of the present invention.
Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 may comprise a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. Memory 402 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid state memory. In a particular embodiment, the memory 402 includes Read Only Memory (ROM). The ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor 401 implements the data addressing method of random area printing in any of the above embodiments by reading and executing computer program instructions stored in the memory 402.
The pure color processing apparatus based on ICC processing in one example may further include a communication interface 403 and a bus 410. As shown in fig. 6, the processor 401, the memory 402, and the communication interface 403 are connected by a bus 410 and perform communication with each other.
The communication interface 403 is mainly used to implement communication between each module, device, unit and/or apparatus in the embodiment of the present invention.
Bus 410 includes hardware, software, or both, coupling the components of the pure color process based on the ICC process to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. Bus 410 may include one or more buses, where appropriate. Although embodiments of the invention have been described and illustrated with respect to a particular bus, the invention contemplates any suitable bus or interconnect.
Example 4
In addition, in connection with the pure color processing based on the ICC processing in the above embodiments, embodiments of the present invention may be implemented by providing a computer-readable storage medium. The computer readable storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the pure color processing methods based on ICC processing in the above embodiments.
The above is a detailed description of the pure color processing method, apparatus, device and storage device based on ICC processing provided in the embodiments of the present invention.
It should be understood that the invention is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after appreciating the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
In the foregoing, only the specific embodiments of the present invention are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present invention is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and they should be included in the scope of the present invention.
Claims (9)
1. A method for processing a solid color based on ICC processing, the method comprising:
s1, acquiring ICC processing data of a monochromatic channel of an original image;
s2, acquiring a concentration interval of solid color processing of the monochromatic channel;
s3, performing solid-color processing on the ICC processing data according to the solid-color processing concentration interval to obtain intermediate solid-color processing data; the solid color treatment specifically comprises the following steps: setting the concentration value of the other colors except for the single color in the ICC processing data to be zero or superposing the minimum value of the other colors except for the single color in the ICC processing data with the corresponding concentration value of the single color in the mixed color data to obtain a final result;
s4, determining a transition treatment concentration interval according to the concentration interval of the solid color treatment;
s5, performing transition treatment on the intermediate solid color treatment data according to the transition treatment concentration interval to obtain transition treatment data;
the step S5 comprises the following steps:
s51, performing interpolation processing on the intermediate solid color processing data according to the transition processing concentration interval to obtain interpolation processing data;
s52, acquiring concentration loss between interpolation processing data and intermediate solid-color processing data;
and S53, adjusting the concentration value of the color corresponding to the single-color channel in the intermediate solid-color processing data according to the concentration loss to obtain transition processing data.
2. The ICC process-based solid color processing method according to claim 1, wherein S4, determining a transition process concentration interval from a concentration interval of solid color process comprises:
s41, acquiring a concentration interval of solid color treatment;
s42, acquiring a concentration range of transition treatment;
s43, determining a concentration interval for acquiring the transition treatment according to the concentration interval for the solid color treatment and the concentration range for the transition treatment.
3. The ICC process-based solid color processing method according to claim 1, wherein: the step S51 of obtaining interpolation processing data after interpolation processing is carried out on the intermediate solid color processing data according to the concentration interval of the transition processing comprises the following steps:
s511, acquiring data which does not belong to a transition processing concentration interval of colors except the color corresponding to the monochromatic channel in the middle pure color processing data, and recording the data as interpolation reference data;
s512, calculating interpolation calculation data corresponding to the intermediate solid color processing data belonging to the transition processing concentration interval according to the interpolation reference data;
s513, replacing the solid-color processing data belonging to the transition processing concentration interval in the original intermediate solid-color processing data with the interpolation calculation data to obtain interpolation processing data.
4. A pure color processing method based on ICC processing according to claim 3, wherein: the step S52 of acquiring the density loss between the interpolation processing data and the intermediate solid-color processing data includes:
s521, acquiring the concentration value of the color except the color corresponding to the monochromatic channel in the middle pure color processing data;
s522, acquiring a concentration value of a color except the color corresponding to the monochromatic channel in the interpolation processing data;
s523, calculating a difference Δp between the density values of the colors other than the color corresponding to the monochrome channel in the intermediate solid color processing data and the interpolation processing data as a density loss from the density values of the colors other than the color corresponding to the monochrome channel in the intermediate solid color processing data and the interpolation processing data.
5. The ICC process-based solid color processing method according to claim 4, wherein: the step S53 of adjusting the density value of the color corresponding to the single color channel in the intermediate solid color processing data according to the density loss to obtain transition processing data includes:
s531, acquiring a concentration value P of a color corresponding to the monochromatic channel belonging to a transition processing concentration interval in ICC processing data or intermediate pure color processing data;
s532, calculating according to the concentration value P and the concentration difference value delta P to obtain a concentration value Pt of the color corresponding to the adjusted monochromatic channel, wherein Pt=P+delta P;
s533, judging whether the adjusted concentration value Pt is larger than the concentration value of the color corresponding to the monochromatic channel before ICC processing;
s534, if yes, taking the concentration value of the color corresponding to the monochromatic channel before ICC processing as the concentration value of the color corresponding to the monochromatic channel in the transition processing data;
s535, if not, using the adjusted density value Pt as the density value of the color corresponding to the monochrome channel in the transition processing data.
6. The ICC process-based solid color processing method according to any one of claims 1 to 5, wherein after said S5, performing a transition process on intermediate solid color processed data according to a transition process concentration interval to obtain transition process data, the method further comprises: and S6, performing smoothing treatment on the transition treatment data to obtain target solid-color treatment data.
7. A pure color processing apparatus based on ICC processing, the apparatus comprising:
the data acquisition module is used for acquiring ICC processing data of a monochromatic channel;
the concentration interval acquisition module is used for acquiring a concentration interval of the solid color treatment of the monochromatic channel;
the pure color processing module is used for carrying out pure color processing on the ICC processing data according to the concentration interval of pure color processing to obtain middle pure color processing data; the solid color treatment specifically comprises the following steps: setting the concentration value of the other colors except for the single color in the ICC processing data to be zero or superposing the minimum value of the other colors except for the single color in the ICC processing data with the corresponding concentration value of the single color in the mixed color data to obtain a final result;
the transition treatment concentration interval determining module is used for determining a transition treatment concentration interval according to the concentration interval of the solid color treatment;
the transition processing module is used for performing transition processing on the intermediate solid color processing data according to the transition processing concentration interval to obtain transition processing data;
wherein, the transition processing module includes: the interpolation processing module is used for carrying out interpolation processing on the intermediate solid-color processing data according to the transition processing concentration interval to obtain interpolation processing data; the concentration loss acquisition module is used for acquiring concentration loss between interpolation processing data and intermediate solid-color processing data; and the concentration value adjusting module is used for adjusting the concentration value of the color corresponding to the monochromatic channel in the intermediate pure color processing data according to the concentration loss to obtain transition processing data.
8. A pure color processing apparatus based on ICC processing, characterized in that it comprises at least one processor, at least one memory and computer program instructions stored in said memory, which, when executed by said processor, implement the method according to any of claims 1-6.
9. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911179840.8A CN110837351B (en) | 2019-11-27 | 2019-11-27 | Pure color processing method, device, equipment and storage medium based on ICC (inter-color computer) processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911179840.8A CN110837351B (en) | 2019-11-27 | 2019-11-27 | Pure color processing method, device, equipment and storage medium based on ICC (inter-color computer) processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110837351A CN110837351A (en) | 2020-02-25 |
CN110837351B true CN110837351B (en) | 2023-09-08 |
Family
ID=69577447
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911179840.8A Active CN110837351B (en) | 2019-11-27 | 2019-11-27 | Pure color processing method, device, equipment and storage medium based on ICC (inter-color computer) processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110837351B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114202591A (en) * | 2020-09-17 | 2022-03-18 | 森大(深圳)技术有限公司 | Color transition method, device, device and storage medium based on background color removal |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001030065A1 (en) * | 1999-10-15 | 2001-04-26 | Cv Us, Inc. | Halftoning method and system for improved color printing |
EP1422665A1 (en) * | 2002-11-22 | 2004-05-26 | Agfa-Gevaert | Method and apparatus for converting image color values from a first to a second color space |
CN101527779A (en) * | 2009-03-12 | 2009-09-09 | 北京大学 | Method for correcting color and device thereof |
JP2009284261A (en) * | 2008-05-22 | 2009-12-03 | Fuji Xerox Co Ltd | Color processing device, method and program |
US7911665B1 (en) * | 2008-05-15 | 2011-03-22 | Adobe Systems Incorporated | Preserving pure primary colors in color transforms |
CN102542522A (en) * | 2010-12-31 | 2012-07-04 | 北京大学 | Color separating method and system |
CN105262930A (en) * | 2015-10-20 | 2016-01-20 | 北京圣彩虹文化艺术发展股份有限公司 | ICC file manufacturing method of converting RGB color mode to CMYK color mode |
CN106612424A (en) * | 2015-10-23 | 2017-05-03 | 广州汽车集团股份有限公司 | Image display method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7859721B2 (en) * | 2008-01-15 | 2010-12-28 | Adobe Systems Incorporated | Smoothly changing gray levels in color transforms |
-
2019
- 2019-11-27 CN CN201911179840.8A patent/CN110837351B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001030065A1 (en) * | 1999-10-15 | 2001-04-26 | Cv Us, Inc. | Halftoning method and system for improved color printing |
EP1422665A1 (en) * | 2002-11-22 | 2004-05-26 | Agfa-Gevaert | Method and apparatus for converting image color values from a first to a second color space |
US7911665B1 (en) * | 2008-05-15 | 2011-03-22 | Adobe Systems Incorporated | Preserving pure primary colors in color transforms |
JP2009284261A (en) * | 2008-05-22 | 2009-12-03 | Fuji Xerox Co Ltd | Color processing device, method and program |
CN101527779A (en) * | 2009-03-12 | 2009-09-09 | 北京大学 | Method for correcting color and device thereof |
CN102542522A (en) * | 2010-12-31 | 2012-07-04 | 北京大学 | Color separating method and system |
CN105262930A (en) * | 2015-10-20 | 2016-01-20 | 北京圣彩虹文化艺术发展股份有限公司 | ICC file manufacturing method of converting RGB color mode to CMYK color mode |
CN106612424A (en) * | 2015-10-23 | 2017-05-03 | 广州汽车集团股份有限公司 | Image display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110837351A (en) | 2020-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108944106B (en) | Ink-jet printing image color optimization method, device, equipment and storage medium | |
CN110851094B (en) | Printer color cycle correction method, device, equipment and storage medium | |
CN109949379B (en) | Color-tracing method, device, equipment and storage medium for ink-jet printer | |
EP3422692B1 (en) | Image processing apparatus and image processing method | |
CN114889329B (en) | Printer ink quantity adjusting method, device, equipment and storage medium | |
CN111044146B (en) | Inkjet calibration method, inkjet calibration device, tile inkjet printer and readable storage medium | |
CN110837351B (en) | Pure color processing method, device, equipment and storage medium based on ICC (inter-color computer) processing | |
CN108960351B (en) | Image printing method, device, equipment and storage medium | |
CN111752492B (en) | Continuous color-following method, device, equipment and storage medium for ink-jet printer | |
CN110888612B (en) | Evaluation method, device, equipment and medium for printing target color gamut | |
EP1199884A1 (en) | Color proofing method and apparatus, and recorded medium on which color proofing program is recorded | |
US7596262B2 (en) | Image forming apparatus, image processing method, program, and image processing apparatus | |
US7777926B2 (en) | Image processing apparatus and method | |
JP4571607B2 (en) | Noise reduction apparatus and method | |
CN111752493A (en) | Automatic color-tracing method, device, equipment and storage medium for printer | |
KR101069573B1 (en) | Image processing apparatus | |
CN116801108A (en) | Method and device for determining exposure parameters | |
CN114475005B (en) | Method, device, equipment and medium for setting white ink quantity based on foreground image | |
CN111845100B (en) | Printer ink amount setting method, device, equipment and medium based on image processing | |
CN113306301B (en) | Data processing method, apparatus, device, medium for eliminating image dot overlap | |
CN112083894B (en) | Method, device, equipment and medium for automatically setting white ink quantity of image pixel-by-pixel point | |
CN110385917B (en) | Method, device and equipment for controlling ink output quantity of ink-jet printer and storage medium | |
CN115543228A (en) | Ink jet printer color tracing method, device, equipment and storage medium | |
JP2534678B2 (en) | Color image processing device | |
JP2020088545A (en) | Image formation device, color calibration method, and color calibration 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 | ||
CP03 | Change of name, title or address |
Address after: 518000 a201-a301, building a, Sino German European Industrial Demonstration Park, Hangcheng Avenue, guxing community, Xixiang street, Bao'an District, Shenzhen, Guangdong Patentee after: Shenzhen Hansen Software Co.,Ltd. Address before: 1701, 1703, building C6, Hengfeng Industrial City, 739 Zhoushi Road, Hezhou community, Hangcheng street, Bao'an District, Shenzhen, Guangdong 518000 Patentee before: SHENZHEN HOSONSOFT Co.,Ltd. |
|
CP03 | Change of name, title or address |