CN115144077A - Method and system for integrating spectrocolorimeter, computer equipment and storage medium - Google Patents

Method and system for integrating spectrocolorimeter, computer equipment and storage medium Download PDF

Info

Publication number
CN115144077A
CN115144077A CN202210733792.8A CN202210733792A CN115144077A CN 115144077 A CN115144077 A CN 115144077A CN 202210733792 A CN202210733792 A CN 202210733792A CN 115144077 A CN115144077 A CN 115144077A
Authority
CN
China
Prior art keywords
color
spectrocolorimeter
data
color measurement
equipment
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.)
Pending
Application number
CN202210733792.8A
Other languages
Chinese (zh)
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.)
Shanghai Zhijing Information Technology Co ltd
Original Assignee
Shanghai Zhijing Information Technology 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 Shanghai Zhijing Information Technology Co ltd filed Critical Shanghai Zhijing Information Technology Co ltd
Priority to CN202210733792.8A priority Critical patent/CN115144077A/en
Publication of CN115144077A publication Critical patent/CN115144077A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/46Measurement of colour; Colour measuring devices, e.g. colorimeters
    • G01J3/463Colour matching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Spectrometry And Color Measurement (AREA)

Abstract

The invention relates to a method and a system for integrating a spectrocolorimeter, computer equipment and a storage medium, wherein the technical scheme is as follows: the method comprises the following steps: establishing a unified spectrocolorimeter model according to each spectrocolorimeter; analyzing the operation instructions of each spectrocolorimeter to create a plurality of instruction chains; matching a plurality of instruction chains with the operation behaviors of the unified spectrocolorimeter model in a one-to-one correspondence manner; establishing a mapping relation between equipment color measurement data and standard color measurement data of each spectrocolorimeter, and unifying standard color measurement data structures; controlling corresponding spectrocolorimeter equipment to perform color measurement on the sample cloth according to the instruction chain to obtain corresponding equipment color measurement data; performing data mapping on the equipment color measurement data to obtain standard color measurement data; storing the standard colorimetric data into a colorimetric database; this application has the advantage that can make things convenient for unified management and operate beam split colorimeter.

Description

Method and system for integrating spectrocolorimeter, computer equipment and storage medium
Technical Field
The invention relates to the technical field of colorimeters, in particular to a method and a system for integrating a spectrocolorimeter, computer equipment and a storage medium.
Background
In the process of dyeing production, a dye factory needs to firstly perform color measurement on sample cloth provided by a customer, then several groups of pre-prepared formulas required for dyeing the color of the sample cloth are calculated, and finally, an optimal group of formulas is determined through a series of operations such as sample making, color matching and the like and is delivered to the next procedure for production.
In the process of color measurement and formula calculation, the existing dye factories are realized by relying on different brands of spectrocolorimeters and color matching software, and the condition has the following defects: (1) The light splitting color measuring instruments of different brands, color measuring instrument control software and color matching software cannot be communicated, the hardware and software are seriously coupled, and the operation modes are greatly different; (2) Only one-to-one communication can be realized between the light splitting color measuring instrument and the color measuring instrument control software, so that the utilization rate of color measuring instrument equipment is low; (3) Data formats of color measuring instruments and color matching software of different brands are greatly different, data sharing cannot be realized, data isolation is caused, and unified management and utilization are difficult; (4) The color matching software is limited by computing environment and existing data in the formula calculation process, and the problems of long computing time and inaccurate calculation are caused by poor local computing performance and small amount of the existing data.
Disclosure of Invention
In view of the shortcomings of the prior art, the present invention provides a method, a system, a computer device and a storage medium for integrating a spectrocolorimeter, which can solve one of the above problems.
The technical purpose of the invention is realized by the following technical scheme: a method of integrating a spectrocolorimeter comprising:
establishing a unified spectrocolorimeter model according to each spectrocolorimeter;
analyzing the operation instructions of the spectrocolorimeters to create a plurality of instruction chains; matching a plurality of instruction chains with the operation behaviors of the unified spectrocolorimeter model in a one-to-one correspondence manner;
establishing a mapping relation between equipment color measurement data and standard color measurement data of each light-splitting color meter, and unifying standard color measurement data structures;
controlling corresponding spectrocolorimeter equipment to perform color measurement on the sample cloth according to the instruction chain to obtain corresponding equipment color measurement data;
performing data mapping on the equipment color measurement data to obtain standard color measurement data;
and storing the standard colorimetric data into a colorimetric database.
Optionally, the establishing a unified spectrocolorimeter model according to each spectrocolorimeter includes:
the abstract light-splitting color photometer establishes uniform attribute, equipment model, equipment name and equipment IP;
the operation behaviors of the spectrocolorimeter are uniformly defined as pre-calibration, blackboard calibration, whiteboard calibration, green board calibration and color measurement behaviors.
Optionally, the analyzing the operation behavior of each spectrocolorimeter to create a plurality of instruction chains includes:
obtaining operation instructions executed by each light splitting color measuring instrument under different operation behaviors to obtain a plurality of operation instruction sets;
and matching the operation instruction sets with the operation behaviors and the equipment models of the corresponding spectrocolorimeters to obtain a plurality of instruction chains.
Optionally, the performing data mapping on the device color measurement data to obtain standard color measurement data includes:
31 points of reflectivity data in the device color measurement data; the 31-point reflectivity data is the reflectivity of the sample cloth under 31 wavelength points;
obtaining a sample measuring tristimulus values XYZ by the matrix product of the 31-point reflectivity data and the red, green and blue three primary colors spectrum tristimulus values under the D65/10 view field;
calculating a sample measurement Lab value according to the sample measurement tristimulus values XYZ;
and obtaining standard colorimetric data according to the 31-point reflectivity data, the sample measuring tristimulus values XYZ and the sample measuring Lab value.
Optionally, the obtaining of the measurement sample tristimulus values XYZ by matrix multiplication of the 31-point reflectivity data and the red, green and blue spectrum tristimulus values in the D65/10 field of view includes:
Figure BDA0003714549260000031
in the formula, RGB is the color component values of the articles read by the imaging means, and XYZ are tristimulus values converted into the CIE XYZ color space.
Optionally, the calculating a sample Lab value according to the sample tristimulus values XYZ includes:
a*=500[(X/X0)1/3-(Y/Y0)1/3];
b*=200[(Y/Y0)1/3-(Z/Z0)1/3];
L*=116(Y/Y0)1/3-16;
wherein, X0, Y0 and Z0 are tristimulus values of white objects which are irradiated on the complete diffuser by CIE standard light and then reflected to human eyes by the complete reflection diffuser and are constants; and a, b and L are the component values of the measured object in CIE1976L a b chromaticity space.
Optionally, after storing the standard colorimetric data in the colorimetric database, the method further includes:
acquiring sample tristimulus values XYZ of all monochromatic dyes under different concentrations;
acquiring standard color measurement data of the sample cloth from a color measurement database;
color matching is carried out on preset M kinds of single-color dyes to obtain N kinds of color matching combinations;
adjusting the concentration of the single-color dyes adopted by each color matching combination to obtain S mixed colors;
summing the tristimulus values XYZ of the measured samples of the single-color dyes with the concentrations corresponding to each mixed color to obtain corresponding tristimulus values XYZ of the measured samples of the mixed colors;
matching the tristimulus values XYZ of all mixed color test samples with the standard color test data of the sample cloth to obtain the similarity of each mixed color;
color matching combination of mixed color with highest similarity and its single color the concentration of the dyeing material is output as a pre-prepared formula of the sample cloth.
A spectrocolorimeter integration system comprising: the method comprises the following steps:
the model establishing module is used for establishing a uniform spectrocolorimeter model according to each spectrocolorimeter;
the instruction matching module is used for analyzing the operation instructions of the light splitting and color measuring instruments to create a plurality of instruction chains; matching a plurality of instruction chains with the operation behaviors of the unified spectrocolorimeter model in a one-to-one correspondence manner;
the mapping establishing module is used for establishing a mapping relation between the equipment color measurement data and the standard color measurement data of each light splitting color measuring instrument and unifying a standard color measurement data structure;
the sample cloth color measurement module is used for controlling the corresponding light splitting color measurement instrument equipment to measure the color of the sample cloth according to the instruction chain to obtain corresponding equipment color measurement data;
the data mapping module is used for carrying out data mapping on the equipment color measurement data to obtain standard color measurement data;
and the data storage module is used for storing the standard color measurement data into the color measurement database.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
In conclusion, the invention has the following beneficial effects: modeling all the spectrocolorimeters, abstracting physical equipment into logic equipment, providing equipment management functions, such as equipment registration and equipment binding, then uniformly defining the operation behaviors of the spectrocolorimeter equipment, such as defining behaviors of pre-calibration, blackboard calibration, color measurement and the like, configuring different instruction chains for constraint according to two conditions of equipment brands and operation behaviors due to different control instructions of different brands of the spectrocolorimeter equipment, matching the instruction chains with corresponding spectrocolorimeter models, and recording and warehousing; therefore, different devices can issue different instruction chains to the spectrocolorimeter to be executed by the cloud MES under different operation behaviors. By eliminating the variability of the physical devices through such modeling, more uniform management and operation can be provided.
Drawings
FIG. 1 is a schematic flow diagram of the present invention;
FIG. 2 is a block diagram of the present invention as assembled;
fig. 3 is an internal structural diagram of a computer device in an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. Several embodiments of the invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations. The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
In the present invention, unless expressly stated or limited otherwise, the recitation of a first feature "on" or "under" a second feature may include the recitation of the first and second features being in direct contact, and may also include the recitation that the first and second features are not in direct contact, but are in contact via another feature between them. Also, the first feature "on," "above" and "over" the second feature may include the first feature being directly above and obliquely above the second feature, or simply indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature. The terms "vertical," "horizontal," "left," "right," "up," "down," and the like are used for descriptive purposes only and are not intended to indicate or imply that the referenced devices or elements must be in a particular orientation, configuration, and operation, and therefore should not be construed as limiting the present invention.
The invention is described in detail below with reference to the figures and examples.
The invention provides a method for integrating a light-splitting color photometer, which comprises the following steps as shown in figure 1:
step 100, establishing a unified spectrocolorimeter model according to each spectrocolorimeter;
step 200, analyzing the operation instructions of the spectrocolorimeters to create a plurality of instruction chains; matching a plurality of instruction chains with the operation behaviors of the unified spectrocolorimeter model in a one-to-one correspondence manner;
step 300, establishing a mapping relation between the equipment color measurement data and the standard color measurement data of each spectrocolorimeter, and unifying standard color measurement data structures;
step 400, controlling corresponding spectrocolorimeter equipment to perform color measurement on sample cloth according to the instruction chain to obtain corresponding equipment color measurement data;
step 500, performing data mapping on the equipment color measurement data to obtain standard color measurement data;
and step 600, storing the standard color measurement data into a color measurement database.
In practical application, modeling is performed on all the spectrocolorimeters, physical equipment is abstracted into logic equipment, equipment management functions are provided, for example, equipment registration and equipment binding are performed, then, operation behaviors of the spectrocolorimeter equipment are uniformly defined, for example, behaviors such as pre-calibration, blackboard calibration, color measurement and the like are defined, because control instructions of different brands of spectrocolorimeter equipment are different, different instruction chains need to be configured for constraint according to two conditions of equipment brands and operation behaviors, then, the instruction chains are matched with corresponding spectrocolorimeter models, and the instruction chains are recorded and stored in a warehouse; therefore, different equipment can issue different instruction chains to the spectrocolorimeter for execution by the cloud MES under different operation behaviors. The modeling eliminates the difference of physical equipment, and can provide more uniform management and operation.
And controlling the corresponding spectrocolorimeter models to perform color measurement on the sample cloth through the instruction chain, wherein the data structures measured by different spectrocolorimeters of different brands are different due to different models, so that a data mapping relation corresponding to each spectrocolorimeter needs to be established, the data structures measured by the spectrocolorimeters of different brands and different models are unified into a standard data structure, and therefore standard color measurement data are obtained, and the standard color measurement data are stored in a color measurement database for subsequent use.
Further, the establishing of a unified spectrocolorimeter model according to each spectrocolorimeter includes:
the abstract light-splitting color photometer establishes uniform attribute, equipment model, equipment name and equipment IP;
the operation behaviors of the spectrocolorimeter are uniformly defined as pre-calibration, blackboard calibration, white board calibration, green board calibration and color measurement behaviors.
In practical application, a unified spectrocolorimeter model is established according to the equipment name, the equipment brand, the equipment model and the equipment IP of each spectrocolorimeter, unified operation behaviors are defined in a standard mode, differences among different physical equipment can be eliminated, and cloud unified management and allocation are facilitated.
Optionally, the analyzing the operation behavior of each spectrocolorimeter to create a plurality of instruction chains includes:
obtaining operation instructions executed by each light splitting color measuring instrument under different operation behaviors to obtain a plurality of operation instruction sets;
and matching the plurality of operation instruction sets with the operation behavior and the equipment model of the corresponding spectrocolorimeter to obtain a plurality of instruction chains.
In practical application, after the operation instruction of each spectrocolorimeter is matched with the equipment model, when the spectrocolorimeter needs to be controlled to perform corresponding operation, the cloud sends a corresponding instruction chain to the corresponding spectrocolorimeter model, and therefore the corresponding spectrocolorimeter is controlled to perform corresponding operation behaviors.
Optionally, the performing data mapping on the device color measurement data to obtain standard color measurement data includes:
31 points of reflectivity data in the color measurement data of the equipment; wherein, the 31-point reflectivity data is the reflectivity of the sample cloth at 31 wavelength points;
obtaining a sample measuring tristimulus values XYZ by matrix multiplication of the 31-point reflectivity data and the red, green and blue three-primary-color spectrum tristimulus values under the D65/10 visual field;
calculating a sample measurement Lab value according to the sample measurement tristimulus values XYZ;
and obtaining standard colorimetric data according to the 31-point reflectivity data, the sample measuring tristimulus values XYZ and the sample measuring Lab value.
In practical application, a sample measurement tristimulus value XYZ of XYZ chromaticity is obtained by a matrix product of 31-point reflectivity and a spectrum tristimulus value of red, green and blue under a D65/10 visual field, then a sample measurement Lab value is calculated according to a sample measurement tristimulus value XYZ and a Lab conversion formula defined by CIE1976L a b uniform color space, and finally the 31-point reflectivity, the sample measurement tristimulus value XYZ and the sample measurement Lab value are stored in a color measurement database to realize uniform management of color measurement data.
Specifically, the Lab value of the sample is obtained by the following formula:
Figure BDA0003714549260000081
in the formula, RGB is each color component value of the article read by the camera unit, and XYZ is each tristimulus value converted into CIE XYZ color space;
a*=500[(X/X0)1/3-(Y/Y0)1/3];
b*=200[(Y/Y0)1/3-(Z/Z0)1/3];
L*=116(Y/Y0)1/3-16;
in the formula, X0, Y0 and Z0 are tristimulus values of white objects which are irradiated on the complete diffuser by CIE standard light and then reflected to human eyes by the complete reflection diffuser and are constants; and a, b and L are the component values of the measured object in CIE1976L a b chromaticity space.
Further, after storing the standard colorimetric data in the colorimetric database, the method further comprises:
acquiring sample tristimulus values XYZ of all monochromatic dyes under different concentrations;
acquiring standard color measurement data of the sample cloth from a color measurement database;
color matching is carried out on preset M kinds of single-color dyes to obtain N kinds of color matching combinations;
adjusting the concentration of the single-color dyes adopted by each color matching combination to obtain S mixed colors;
calculating the sample measuring tristimulus values XYZ of the components of each mixed color to obtain corresponding mixed color sample measuring tristimulus values XYZ;
matching the tristimulus values XYZ of all mixed color test samples with the standard color test data of the sample cloth to obtain the similarity of each mixed color;
and (4) outputting the color matching combination of the mixed color with the highest similarity and the concentration of the single-color dyes of the mixed color as a pre-prepared formula of the sample cloth.
In practical application, after the standard color measurement data of the sample cloth is obtained, the reverse deduction can be carried out according to the standard color measurement data of the sample cloth; the method comprises the steps that because the colors of all single-color dyes under different concentrations are different, sample measuring tristimulus values XYZ of all the single-color dyes under different concentrations need to be obtained in advance, then, preset M single-color dyes are subjected to combined color matching to obtain N color matching combinations, S mixed colors are formed for each color matching combination due to different concentrations of the single-color dyes, and the sample measuring tristimulus values XYZ of the mixed colors can be obtained by calculating according to the sample measuring tristimulus values XYZ of the components of each mixed color; and matching the tristimulus values XYZ of the test samples of all the mixed colors with the tristimulus values XYZ of the test samples of the sample cloth to obtain the similarity between each mixed color and the sample cloth, and finding out the mixed color with the highest similarity, wherein the components forming the mixed color are the optimal dye composition and content of the dyed sample cloth, so that the pre-prepared formula of the sample cloth can be obtained.
Further, the calculating the sample tristimulus values XYZ of the composition of each mixed color to obtain the corresponding mixed color sample tristimulus values XYZ includes:
and summing the sample tristimulus values XYZ of the single-color dyes with the concentrations corresponding to each mixed color to obtain the corresponding mixed color sample tristimulus values XYZ.
In practical applications, due to the additive nature of the tristimulus values, the mixed color measurement tristimulus values XYZ are the sum of the measurement tristimulus values XYZ that make up the composition of the mixed color.
Specifically, for example, a dye house now has two spectrocolorimeters of different brands datacolor and alice, and the two physical devices are mapped into two logical devices in the dyeing and finishing MES system through the step of modeling by the spectrocolorimeters. And then configuring an instruction chain of datacolor and alicycloid under five operation behaviors of pre-calibration, blackboard calibration, white board calibration, green board calibration and color measurement. When a user logs in a dyeing and finishing MES system, a datacolor device is distributed to the user through a device binding function, when the user clicks a color measurement operation behavior, the dyeing and finishing MES sends a command chain of the datacolor under the color measurement behavior and corresponding ip address information of the datacolor device to an edge central control, the edge central control searches for the corresponding physical device datacolor according to an ip address after receiving command data issued by the MES, sends the command chain to a datacolor color measuring instrument for execution, reports color measurement data returned by the datacolor color measuring instrument to the dyeing and finishing MES system, and finally the MES system maps the reported color measurement data into 31-point reflectivity, a lab value and a De value and stores the values into a color measurement library. The scheme unifies the information and operation of the light splitting color measuring instrument through modeling and behavior definition, decouples software and hardware, eliminates operation difference, and completes unified management of color measuring data by using a color measuring library.
As shown in fig. 2, the present invention also provides a spectrocolorimeter integration system, including: the model establishing module 10 is used for establishing a uniform spectrocolorimeter model according to each spectrocolorimeter;
the instruction matching module 20 is used for analyzing the operation instructions of the light splitting and color measuring instruments to create a plurality of instruction chains; matching a plurality of instruction chains with the operation behaviors of the unified spectrocolorimeter model in a one-to-one correspondence manner;
the mapping establishing module 30 is used for establishing a mapping relation between the device color measurement data and the standard color measurement data of each light splitting color measuring instrument and unifying a standard color measurement data structure;
the sample cloth color measurement module 40 is used for controlling the corresponding light splitting color measurement instrument equipment to measure the color of the sample cloth according to the instruction chain to obtain corresponding equipment color measurement data;
the data mapping module 50 is used for performing data mapping on the equipment color measurement data to obtain standard color measurement data;
and the data storage module 60 is used for storing the standard color measurement data into the color measurement database.
Further, the model building module 10 includes:
the abstract definition unit is used for establishing uniform attribute, equipment model, equipment name and equipment IP by the abstract spectrocolorimeter;
and the operation defining unit is used for defining the operation behaviors of the spectrocolorimeter as pre-calibration, blackboard calibration, white board calibration, green board calibration and color measurement behaviors.
Further, the instruction matching module 20 includes:
the instruction acquisition unit is used for acquiring operation instructions executed by each spectrocolorimeter under different operation behaviors to obtain a plurality of operation instruction sets;
and the operation matching unit is used for matching the operation instruction sets with the operation behaviors and the equipment models of the corresponding spectrocolorimeters to obtain a plurality of instruction chains.
Further, the data mapping module 50 includes:
a reflectivity acquisition unit for acquiring 31-point reflectivity data in the device colorimetric data; (ii) a The 31-point reflectivity data is the reflectivity of the sample cloth under 31 wavelength points;
the sample measurement tristimulus XYZ calculation unit is used for multiplying the 31-point reflectivity data by a matrix of red, green and blue spectrum tristimulus values under a D65/10 field of view to obtain a sample measurement tristimulus XYZ;
a Lab value calculation unit for calculating a sample measurement Lab value from the sample measurement tristimulus values XYZ;
and the data calculation unit is used for obtaining standard colorimetric data according to the 31-point reflectivity data, the sample measuring tristimulus values XYZ and the sample measuring Lab value.
Further, the system further comprises:
the single-color tristimulus value acquisition module is used for acquiring sample tristimulus values XYZ of all single-color dyes under different concentrations;
the sample cloth data acquisition module is used for acquiring standard color measurement data of the sample cloth from the color measurement database;
the system comprises a monochromatic color matching module, a color matching module and a color matching module, wherein the monochromatic color matching module is used for performing color matching on preset M kinds of monochromatic dyes to obtain N kinds of color matching combinations;
the mixed color matching module is used for adjusting the concentration of the single-color dyes adopted by each color matching combination to obtain S mixed colors;
the color mixing calculation module is used for summing the sample measuring tristimulus values XYZ of the single-color dyes with the concentrations corresponding to each mixed color to obtain the corresponding mixed color sample measuring tristimulus values XYZ;
the data matching module is used for matching the tristimulus values XYZ of all mixed color test samples with the sample cloth standard color test data to obtain the similarity of each mixed color;
and the formula output module is used for outputting the color matching combination of the mixed color with the highest similarity and the concentration of the single-color dyes of the mixed color as a pre-prepared formula of the sample cloth.
For specific limitations of a spectrocolorimeter integration system, reference may be made to the above limitations of a spectrocolorimeter integration method, which are not described herein again. All modules in the integrated system of the light splitting and color measuring instrument can be completely or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The computer program is executed by a processor to implement a spectrocolorimeter integration method.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory having a computer program stored therein and a processor that when executing the computer program performs the steps of: establishing a unified spectrocolorimeter model according to each spectrocolorimeter;
analyzing the operation instructions of the spectrocolorimeters to create a plurality of instruction chains; matching a plurality of instruction chains with the operation behaviors of the unified spectrocolorimeter model in a one-to-one correspondence manner;
establishing a mapping relation between equipment color measurement data and standard color measurement data of each light-splitting color meter, and unifying standard color measurement data structures;
controlling corresponding spectrocolorimeter equipment to perform color measurement on the sample cloth according to the instruction chain to obtain corresponding equipment color measurement data;
performing data mapping on the equipment color measurement data to obtain standard color measurement data;
and storing the standard colorimetric data into a colorimetric database.
In one embodiment, the establishing a unified spectrocolorimeter model from the respective spectrocolorimeters includes:
the abstract light-splitting color photometer establishes uniform attribute, equipment model, equipment name and equipment IP;
the operation behaviors of the spectrocolorimeter are uniformly defined as pre-calibration, blackboard calibration, white board calibration, green board calibration and color measurement behaviors.
In one embodiment, the analyzing the operation behavior of each spectrocolorimeter creates instruction chains, including:
obtaining operation instructions executed by each light splitting color measuring instrument under different operation behaviors to obtain a plurality of operation instruction sets;
and matching the plurality of operation instruction sets with the operation behavior and the equipment model of the corresponding spectrocolorimeter to obtain a plurality of instruction chains.
In one embodiment, the performing data mapping on the device colorimetric data to obtain standard colorimetric data includes:
31 points of reflectivity data in the color measurement data of the equipment; the 31-point reflectivity data is the reflectivity of the sample cloth under 31 wavelength points;
obtaining a sample measuring tristimulus values XYZ by the matrix product of the 31-point reflectivity data and the red, green and blue three primary colors spectrum tristimulus values under the D65/10 view field;
calculating a sample Lab value according to the sample tristimulus value XYZ;
and obtaining standard colorimetric data according to the 31-point reflectivity data, the sample measuring tristimulus values XYZ and the sample measuring Lab value.
In one embodiment, the matrix multiplication of the 31-point reflectivity data and the red, green and blue three-primary-color spectral tristimulus values in the D65/10 visual field to obtain the sample tristimulus values XYZ comprises:
Figure BDA0003714549260000141
in the formula, RGB is the color component values of the articles read by the imaging means, and XYZ are tristimulus values converted into the CIE XYZ color space.
In one embodiment, the calculating the sample Lab value from the sample tristimulus values XYZ comprises:
a*=500[(X/X0)1/3-(Y/Y0)1/3];
b*=200[(Y/Y0)1/3-(Z/Z0)1/3];
L*=116(Y/Y0)1/3-16;
in the formula, X0, Y0 and Z0 are tristimulus values of white objects which are irradiated on the complete diffuser by CIE standard light and then reflected to human eyes by the complete reflection diffuser and are constants; a, b, L are the component values of the measured product in CIE1976L a b chromaticity space.
In one embodiment, after storing the standard colorimetric data in the colorimetric database, the method further comprises:
acquiring sample tristimulus values XYZ of all monochromatic dyes under different concentrations;
acquiring standard color measurement data of the sample cloth from a color measurement database;
carrying out color matching on preset M kinds of single-color dyes to obtain N kinds of color matching combinations;
adjusting the concentration of the single-color dyes adopted by each color matching combination to obtain S mixed colors;
summing the tristimulus values XYZ of the measured samples of the single-color dyes with the concentrations corresponding to each mixed color to obtain corresponding tristimulus values XYZ of the measured samples of the mixed colors;
matching the tristimulus values XYZ of all mixed color test samples with the standard color test data of the sample cloth to obtain the similarity of each mixed color;
and outputting the color matching combination of the mixed color with the highest similarity and the concentration of the single-color dye thereof as a pre-prepared formula of the sample cloth.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration, and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus Direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above embodiments, and all technical solutions that belong to the idea of the present invention belong to the scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.

Claims (10)

1. A method of integrating a spectrocolorimeter, comprising:
establishing a unified spectrocolorimeter model according to each spectrocolorimeter;
analyzing the operation instructions of the spectrocolorimeters to create a plurality of instruction chains; matching a plurality of instruction chains with the operation behaviors of the unified spectrocolorimeter model in a one-to-one correspondence manner;
establishing a mapping relation between equipment color measurement data and standard color measurement data of each light-splitting color meter, and unifying standard color measurement data structures;
controlling corresponding spectrocolorimeter equipment to perform color measurement on the sample cloth according to the instruction chain to obtain corresponding equipment color measurement data;
performing data mapping on the equipment color measurement data to obtain standard color measurement data;
and storing the standard colorimetric data into a colorimetric database.
2. The method of claim 1, wherein the establishing a unified spectrocolorimeter model from the individual spectrocolorimeters comprises:
the abstract light-splitting color photometer establishes uniform attribute, equipment model, equipment name and equipment IP;
the operation behaviors of the spectrocolorimeter are uniformly defined as pre-calibration, blackboard calibration, white board calibration, green board calibration and color measurement behaviors.
3. The method of claim 2, wherein analyzing the operational behavior of each spectrocolorimeter creates instruction chains comprising:
obtaining operation instructions executed by each light splitting color measuring instrument under different operation behaviors to obtain a plurality of operation instruction sets;
and matching the operation instruction sets with the operation behaviors and the equipment models of the corresponding spectrocolorimeters to obtain a plurality of instruction chains.
4. The method of claim 3, wherein the data mapping of the device colorimetric data to obtain standard colorimetric data comprises:
31 points of reflectivity data in the color measurement data of the equipment; the 31-point reflectivity data is the reflectivity of the sample cloth under 31 wavelength points;
obtaining a sample measuring tristimulus values XYZ by the matrix product of the 31-point reflectivity data and the red, green and blue three primary colors spectrum tristimulus values under the D65/10 view field;
calculating a sample Lab value according to the sample tristimulus value XYZ;
and obtaining standard colorimetric data according to the 31-point reflectivity data, the sample measuring tristimulus values XYZ and the sample measuring Lab value.
5. The method as claimed in claim 4, wherein the step of multiplying the 31-point reflectivity data by the matrix of the red, green and blue tristimulus spectral tristimulus values in the D65/10 field of view to obtain the sample tristimulus values XYZ comprises:
Figure FDA0003714549250000021
in the formula, RGB is the color component values of the article read by the imaging means, and XYZ are tristimulus values converted into CIE XYZ color space.
6. The method of claim 4, wherein calculating the sample Lab values from the sample tristimulus values XYZ comprises:
a*=500[(X/X0)1/3-(Y/Y0)1/3];
b*=200[(Y/Y0)1/3-(Z/Z0)1/3];
L*=116(Y/Y0)1/3-16;
in the formula, X0, Y0 and Z0 are tristimulus values of white objects which are irradiated on the complete diffuser by CIE standard light and then reflected to human eyes by the complete reflection diffuser and are constants; and a, b and L are the component values of the measured object in CIE1976L a b chromaticity space.
7. The method of claim 6, further comprising, after storing the standard colorimetric data in the colorimetric database:
acquiring sample tristimulus values XYZ of all monochromatic dyes under different concentrations;
obtaining standard color measurement data of the sample cloth from a color measurement database;
carrying out color matching on preset M kinds of single-color dyes to obtain N kinds of color matching combinations;
adjusting the concentration of the single-color dyes adopted by each color matching combination to obtain S mixed colors;
summing the tristimulus values XYZ of the measured samples of the single-color dyes with the concentrations corresponding to each mixed color to obtain corresponding tristimulus values XYZ of the measured samples of the mixed colors;
matching the tristimulus values XYZ of all mixed color test samples with the standard color test data of the sample cloth to obtain the similarity of each mixed color;
and outputting the color matching combination of the mixed color with the highest similarity and the concentration of the single-color dye thereof as a pre-prepared formula of the sample cloth.
8. A spectrocolorimeter integration system comprising:
the model establishing module is used for establishing a uniform spectrocolorimeter model according to each spectrocolorimeter;
the instruction matching module is used for analyzing the operation instructions of the light splitting and color measuring instruments to create a plurality of instruction chains; matching a plurality of instruction chains with the operation behaviors of the unified spectrocolorimeter model in a one-to-one correspondence manner;
the mapping establishing module is used for establishing a mapping relation between the equipment color measurement data and the standard color measurement data of each light splitting color measuring instrument and unifying a standard color measurement data structure;
the sample cloth color measurement module is used for controlling the corresponding light splitting color measurement instrument equipment to measure the color of the sample cloth according to the instruction chain to obtain corresponding equipment color measurement data;
the data mapping module is used for carrying out data mapping on the equipment color measurement data to obtain standard color measurement data;
and the data storage module is used for storing the standard color measurement data into the color measurement database.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202210733792.8A 2022-06-27 2022-06-27 Method and system for integrating spectrocolorimeter, computer equipment and storage medium Pending CN115144077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210733792.8A CN115144077A (en) 2022-06-27 2022-06-27 Method and system for integrating spectrocolorimeter, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210733792.8A CN115144077A (en) 2022-06-27 2022-06-27 Method and system for integrating spectrocolorimeter, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115144077A true CN115144077A (en) 2022-10-04

Family

ID=83408563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210733792.8A Pending CN115144077A (en) 2022-06-27 2022-06-27 Method and system for integrating spectrocolorimeter, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115144077A (en)

Similar Documents

Publication Publication Date Title
US3987808A (en) Metering system
US10809129B2 (en) Intelligent alignment system and method for color sensing devices
CN107103181A (en) A kind of colour-spun yarns color matching method based on least square method supporting vector machine
AU2014244399B2 (en) Systems and methods for multi-flux color matching
RU2754208C1 (en) Methods and systems for calibration and use of camera for determination of analyte in sample
CN108872156B (en) Method and device for predicting ink component proportion based on reciprocal of spectral reflectance
CN113189021A (en) Method for identifying rock color based on spectrum
CN117730655B (en) Quantitative analysis method, device, equipment and storage medium for vigor of rice seeds
CN115144077A (en) Method and system for integrating spectrocolorimeter, computer equipment and storage medium
CN113791746B (en) Method, device, system and medium for re-matching residual ink of special offset printing color
KR100914952B1 (en) Color-matching method with computer color-matching apparatus
CN112611723B (en) HSV/HSB color space colorimetric method, system and storage medium for measuring concentration of monochromatic solution
US7116336B2 (en) System and method for transforming color measurement data
Haifa et al. Comparison between digital image processing and spectrophotometric measurements methods. Application in electrophoresis interpretation
CN113189031A (en) Rosin chroma standard block quantity value tracing method and device
CN112557320B (en) Image colorimetric concentration determination method, system and storage medium based on HSV/HSB
CN110222376B (en) Computer color matching method for semitransparent material
US20220053916A1 (en) Method for determining a coloration product recommendation
CN112880831A (en) Chromatic aberration measuring method and device and chromatic aberration measuring instrument
Clausen et al. Acquisition and validation of spectral ground truth data for predictive rendering of rough surfaces
KR20240081088A (en) Apparatus for predicting absorption spectrum, apparatus and method for compensating monochromatic mixing ratio
Yu et al. Research on art design system of industrial dyestuff colour matching with computer aid
Marqués-Mateu et al. A laboratory procedure for measuring and georeferencing soil colour
CN115598124B (en) Color deconvolution water quality detection method
JP7156746B1 (en) SOIL CHEMICAL ANALYSIS METHOD AND CHEMICAL ANALYZER

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