Color difference measuring method, color difference measuring apparatus, electronic device, storage medium, and program

The color difference measurement method and apparatus address the issue of color deviation in dyed fabrics by segmenting the fabric into yarn package segments, determining valid sampling times, and calculating accurate color difference values, thus improving detection accuracy.

JP7775405B2Active Publication Date: 2025-11-25ZHEJIANG HENGYI PETROCHEMICAL CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2024161260
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2023-09-19
Filing Date
2024-09-18
Publication Date
2025-11-25
Estimated Expiration
2044-09-18

AI Technical Summary

Technical Problem

The actual color after dyeing woven fabrics may deviate from the expected color, necessitating accurate inspection of dyeing results.

Method used

A color difference measurement method and apparatus that involves weaving fabrics with segments corresponding to yarn packages, determining a time range for each segment's passage through a detection unit, selecting valid sampling points, and calculating color difference values based on these points and a reference value.

Benefits of technology

Improves the accuracy of color detection by ensuring valid sampling points are used, thereby enhancing the precision of color difference measurements in woven fabrics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007775405000004
    Figure 0007775405000004
  • Figure 0007775405000005
    Figure 0007775405000005
  • Figure 0007775405000006
    Figure 0007775405000006
Patent Text Reader

Abstract

To provide a color difference measuring method, a color difference measuring device, an electronic device, a storage medium, and a program.SOLUTION: The color difference measuring method includes: sequentially conveying each textile segment of a textile to be measured to a measurement port of a detection unit to collect color values at a plurality of sampling locations; determining a time range within which a target segment of the textile to be measured passes through the measurement port of the detection unit, wherein the target segment is one textile segment of the textile to be measured; selecting valid sampling locations for the target segment based on the time range and the sampling time points of the plurality of sampling locations; and determining a color difference value for a corresponding target wound yarn package based on the color values of the valid sampling locations and a reference value.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to the technical field of data processing, and in particular to technical fields such as color difference measurement. [Background technology]

[0002] Woven fabrics are flat, soft, sheet-like materials formed by intersecting, intertwining, and connecting long, fine, soft fabrics. Woven fabrics include woven fabrics, knitted fabrics, tertiary woven fabrics, nonwoven fabrics, triaxial woven fabrics, and three-dimensional woven fabrics. All fabrics can be dyed. Summary of the Invention [Problem to be solved by the invention]

[0003] However, the actual color after dyeing may deviate from the expected color, so it is necessary to inspect the dyeing results of the textile. [Means for solving the problem]

[0004] The present disclosure provides a color difference measurement method, a color difference measurement apparatus, an electronic device, a storage medium, and a program to solve or alleviate one or more technical problems in the prior art.

[0005] In a first aspect, the present disclosure provides a color difference measurement method, wherein a measured fabric is woven using a plurality of wound yarn packages, and the measured fabric has fabric segments corresponding to each wound yarn package, with divisions between different fabric segments, and the color difference measurement method includes: Sequentially conveying each fabric segment of the fabric to be measured to a measurement port of the detection unit, and the detection unit collecting color values ​​of multiple sampling points on the fabric to be measured according to a predetermined sequence of sampling times; determining a time range in which a target segment of the measured fabric passes through a measurement opening of the detection unit during a process of transporting the measured fabric to the detection unit and sampling the fabric, the target segment being any one of the fabric segments of the measured fabric; selecting valid sampling points for the target segment from the plurality of sampling points based on a time range and sampling times of the plurality of sampling points; determining a color difference value of the target wound yarn package corresponding to the target segment based on the color values ​​of the valid sampling points and the reference value.

[0006] In a second aspect, the present disclosure provides a color difference measuring device, wherein a test fabric is woven using a plurality of yarn packages, and the test fabric has fabric segments corresponding to the respective yarn packages, with divisions between different fabric segments; and the color difference measuring device comprises: a conveying module for conveying each fabric segment of the fabric to be measured to a measurement port of the detecting unit in order for the detecting unit to collect color values ​​of a plurality of sampling points on the fabric according to a predetermined sequence of sampling times; a first determination module for determining a time range in which a target segment of the measured fabric passes through a measurement opening of the detection unit during a process of transporting the measured fabric to the detection unit and sampling the fabric, the target segment being any fabric segment of the measured fabric; a selection module for selecting valid sampling points of the target segment from the plurality of sampling points based on a time range and sampling time points of the plurality of sampling points; and a second determination module for determining a color difference value of the target wound yarn package corresponding to the target segment based on the color values ​​of the valid sampling points and the reference value.

[0007] In a third aspect, the present disclosure provides an electronic device, the device comprising: at least one processor; a memory communicatively coupled to the at least one processor; The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, cause the implementation of any one of the methods in the embodiments of the present disclosure.

[0008] In a fourth aspect, there is provided a non-transitory computer-readable storage medium having stored thereon computer instructions for causing a computer to perform any one of the methods in the embodiments of the present disclosure.

[0009] In a fifth aspect, a program is provided, which, when executed by a processor, implements any one of the methods in the embodiments of the present disclosure.

[0010] The beneficial effects of the technical solution provided by the present disclosure include at least the following: The time range in which the target segment passes through the measurement opening of the detection unit is compared with the sampling time points of multiple sampling points to obtain color values ​​of valid sampling points, which helps to improve the accuracy of color detection of the measured textile based on the detection unit; The color difference values ​​can be more accurately determined based on the color values ​​of valid sampling points, which helps to improve the accuracy of color difference detection results of the wound yarn package corresponding to the measured textile.

[0011] It should be understood that the contents described herein are not intended to describe key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will be better understood through the following specification.

[0012] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the accompanying drawings indicate the same or similar components or elements. The accompanying drawings are not necessarily drawn to scale. It should be understood that the drawings illustrate only some examples provided by the present disclosure and should not be considered as limiting the scope of the present disclosure. [Brief explanation of the drawings]

[0013] [Figure 1] FIG. 1 is a schematic diagram illustrating a configuration of a fabric to be measured according to an embodiment of the present disclosure. [Figure 2]FIG. 10 is a schematic diagram illustrating a configuration of a color detection device according to another embodiment of the present disclosure. [Figure 3] 10 is a flowchart of a color difference measurement method according to another embodiment of the present disclosure. [Figure 4] FIG. 10 is a schematic diagram illustrating a configuration of a color detection device according to another embodiment of the present disclosure. [Figure 5] FIG. 10 is a schematic diagram illustrating a configuration of a color detection device according to another embodiment of the present disclosure. [Figure 6] FIG. 10 is a schematic diagram for determining a time range of a target segment in another embodiment of the present disclosure. [Figure 7] FIG. 10 is a schematic diagram for sampling a target segment in another embodiment of the present disclosure. [Figure 8] FIG. 10 is a schematic diagram for determining effective sampling points of a target segment in another embodiment of the present disclosure. [Figure 9] FIG. 10 is a schematic diagram illustrating the configuration of a color difference measuring device according to another embodiment of the present disclosure. [Figure 10] FIG. 1 is a block diagram of an electronic device for implementing a color difference measurement method according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION

[0014] The present disclosure will now be described in more detail with reference to the accompanying drawings, in which like numbers represent functionally identical or similar elements and in which various aspects of the embodiments are shown, and which, unless otherwise noted, are not necessarily drawn to scale.

[0015] Furthermore, in order to better explain the present disclosure, many specific details are described in the following specific embodiments. Those skilled in the art should understand that the present disclosure can be similarly implemented without specific details. In some embodiments, methods, means, components, circuits, etc. that are well known to those skilled in the art are not described in detail so as not to obscure the subject matter of the present disclosure.

[0016] A textile is woven using yarn wound on a yarn package. In an embodiment of the present disclosure, the dyeing result of the yarn on each yarn package needs to be detected using a color detection device. To improve detection efficiency, the embodiment of the present disclosure uses multiple yarn packages to measure the textile. Each yarn package has a corresponding textile segment in the textile, and there are divisions between different textile segments. FIG. 1 is a schematic diagram showing the configuration of a textile in an embodiment of the present disclosure. In FIG. 1, the textile is woven from textile segment 1, textile segment 2, textile segment 3, ... textile segment N, with divisions between textile segment 1 and textile segment 2, between textile segment 2 and textile segment 3, and between textile segment N-1 and textile segment N. Therefore, there is a corresponding relationship between each textile segment and each yarn package. Specifically, fabric segment 1 corresponds to winding package 1, fabric segment 2 corresponds to winding package 2, fabric segment 3 corresponds to winding package 3, and fabric segment N corresponds to winding package N, where N is a positive integer greater than or equal to 1.

[0017] The widths of the dividing sections may be the same or different, which allows multiple wound yarn packages to be detected using one fabric to be measured.

[0018] 2 is a schematic diagram showing the configuration of a color detection device according to an embodiment of the present disclosure. Core components of the color detection device include a housing 201, a detection unit 202 located inside the housing, an inlet and an outlet arranged opposite each other along a first direction in the housing, a mounting member 203, and a moving assembly 204.

[0019] Here, the detection unit 202 is for detecting the color of the textile to be measured. The core component of the detection unit 202 may be a spectrometer or a colorimeter, but the embodiments of the present disclosure are not limited thereto, and any component capable of measuring the color value of the textile to be measured may be used. The mounting member 203 is for fitting the textile to be measured. The moving assembly 204 is connected to the mounting member 203. The moving assembly 204 drives the textile to be measured to move along a first direction relative to the housing 201 so that the textile can enter the housing 201 through the inlet and exit the housing 201 through the outlet. This allows the textile to pass through the measurement opening of the detection unit 202 during transportation, thereby enabling color measurement at the sampling point of the textile to be measured.

[0020] Thus, the color detector samples a plurality of sampling points on the fabric to be measured, and when performing this, a sequence of predetermined sampling times can be set, the sequence including a plurality of time points, for example, sequence 1<t1、t2…tn> Here, the detection unit performs sampling according to the sequence.

[0021] An embodiment of the present disclosure provides a color difference measurement method because the color value of each wound yarn package needs to be detected. Figure 3 is a flowchart of the color difference measurement method in one embodiment of the present disclosure, which includes:

[0022] In S301, each fabric segment of the fabric to be measured is sequentially conveyed to the measurement port of the detection unit, and the detection unit collects color values ​​of multiple sampling points on the fabric to be measured according to a preset sequence of sampling times.

[0023] Here, the detection unit samples the color values ​​of the fabric to be measured. Since the color value of one sampling point may be limited, color values ​​of a sufficient number of sampling points are generally collected. In the embodiment of the present disclosure, the number of sampling points is not limited.

[0024] The preset sampling time points can be determined in various ways, and multiple preset sampling time points constitute a sequence of preset sampling time points. However, the embodiments of the present disclosure do not limit the method of determining the preset sampling time points. For example, the preset sampling time points can be obtained by manually setting them. Specifically, when two sampling points are set for each fabric segment, the sequence of sampling time points can be manually set as follows:

[0025]

number

[0026] JPEG0007775405000002.jpg144164

[0027] JPEG0007775405000003.jpg62164

[0028] However, during use of the detection unit, the state of the fabric being measured can affect the color difference detection results. For example, during the process of fitting the fabric to the mounting member, the fabric is usually inevitably pulled. If the pulling tension is uneven, the local width of the fabric being measured (i.e., the width along the direction in which the fabric segments are arranged in series) will deviate from the expected width. In this case, when the detection unit samples the fabric being measured, the obtained sampling location may be inaccurate, for example, the sampling may deviate from the desired portion of the fabric being measured. In this case, the measured color of the fabric may differ from the expected color of the fabric, affecting the color difference detection results of the wound yarn package analyzed based on the measured color of the fabric. However, due to constraints on hardware equipment, it is usually difficult to completely avoid pulling on the fabric being measured. Therefore, if the problem of inaccurate sampling by the detection unit can be overcome even when the fabric being measured is pulled, the problem of inaccurate color differences in the wound yarn package measured by the detection unit can be effectively solved.

[0029] Therefore, in S302, during the process of transporting the fabric to be measured to the detection unit by the mounting member and the moving assembly and sampling, the time range during which the target segment of the fabric to be measured passes through the measurement opening of the detection unit can be determined.

[0030] The target segment is any fabric segment of the measured fabric. The time range in which the target segment of the measured fabric passes through the measurement opening of the detection unit can be understood as the time between the time when the target segment first arrives at the measurement opening of the detection unit and the time when the target segment leaves the measurement opening of the detection unit.

[0031] In S303, valid sampling points of the target segment are selected from the multiple sampling points based on the time range and the sampling time points of the multiple sampling points.

[0032] However, not all of the sampling points collected in the measured fabric are valid for the target segment. That is, if the sampling time falls within the above-mentioned time range, the corresponding sampling point is a valid sampling point belonging to the target segment. Therefore, if the sampling time does not fall within the above-mentioned time range, the corresponding sampling point is an invalid sampling point for the target segment, and these invalid sampling points need to be discarded.

[0033] In S304, a color difference value of the target wound yarn package corresponding to the target segment is determined based on the color values ​​of the valid sampling points and the reference value.

[0034] Here, the reference value can be customized, that is, any color value can be set as the reference value (i.e., expected value) according to actual needs. The color difference value can be obtained from the color value and the reference value.

[0035] In the embodiment of the present disclosure, the time range in which the target segment passes through the measurement opening of the detection unit is compared with the sampling time points of the multiple sampling points to select valid sampling points of the target segment, thereby obtaining color values ​​of the valid sampling points, thereby improving the accuracy of color detection of the measured fabric by the detection unit. Compared with directly determining the color difference values ​​of the target wound yarn package corresponding to the target segment based on the color values ​​of the multiple sampling points, the determined color difference values ​​based on the color values ​​of the valid sampling points can be more accurate, which helps to improve the accuracy of the color difference detection results of the wound yarn package corresponding to the measured fabric.

[0036] In some embodiments, a valid sampling point is a sampling point that does not lie on a division of a target segment.

[0037] Here, since the dividing portion of the target segment may occupy a certain width in the measured fabric, the sampling points for the target segment may also be located at the dividing portion of the target segment, and the portion of the sampling points located at the dividing portion of the target segment should also be discarded, i.e., the valid sampling points do not include the sampling points located at the dividing portion of the target segment.

[0038] In an embodiment of the present disclosure, there is also a difference in color value between the target segment and the divided portion of the target segment, and strictly speaking, the divided portion does not correspond to the same winding package as the target segment. Therefore, by not using the sampling points in the divided portion of the target segment as valid sampling points, it is possible to prevent the color values ​​of the sampling points in the divided portion from affecting the color values ​​of the target segment, and improve the accuracy of the color values ​​and color difference values ​​of the target segment measured based on the valid sampling points.

[0039] In some embodiments, determining the time range in which the target segment of the measured fabric passes through the measurement opening of the detector can be achieved in two ways:

[0040] Method 1

[0041] In step A1, when the tension fluctuation during the entire transport process of the measured fabric is less than the fluctuation threshold, the time required for the entire process of transporting the measured fabric so that the measured fabric completely passes through the measurement opening is acquired.

[0042] Here, the tension fluctuation of the measured fabric during the entire transport process can be measured by a tension sensor, and the fluctuation threshold is a standard for measuring the tension fluctuation width. If the tension fluctuation of the measured fabric during the entire transport process is smaller than the fluctuation threshold, i.e., if the tension is uniform, the width of each fabric segment throughout the entire measured fabric is considered to be the same. The tension fluctuation of the measured fabric during the entire transport process can be controlled using a PID (proportional, integral, derivative) control algorithm.

[0043] In step A2, the time required to transport the target segment is determined based on the time required for this entire process, to obtain a time range.

[0044] Here, if the width of each fabric segment is the same throughout the entire measured fabric, and the total number of fabric segments of the measured fabric is known, the transport time required for any fabric segment of the measured fabric can be obtained by dividing the time required for the entire process by the total number of fabric segments. Since the transport time required for each fabric segment is the same, the time required to transport the target segment can be obtained. In the embodiment of the present disclosure, the time required to transport the target segment is set to the time range in which the target segment passes through the measurement port of the detection unit.

[0045] In the embodiments of the present disclosure, when the tension is uniform throughout the entire transport process of the measured fabric, the time range in which the target segment passes through the measurement port of the detection unit can be determined directly based on the total number of fabric segments in the measured fabric and the time required for the entire process of transporting the measured fabric to the measurement port, which helps to improve the efficiency of determining the time range.

[0046] Method 2

[0047] In step B1, if the tension fluctuation during the entire transport process of the fabric to be measured is greater than the fluctuation threshold, images of the transport process of the fabric to be measured being transported to the measurement port of the detection unit are acquired.

[0048] In addition, when the tension fluctuation measured by the tension sensor is greater than the fluctuation threshold, i.e., when the tension is non-uniform, the corresponding widths of each fabric segment across the entire measured fabric are usually not the same, and in this case, it is difficult to determine the time range in which the target segment passes through the measurement opening of the detection unit using the above-mentioned Method 1. Therefore, during the process of transporting the measured fabric to the detection unit and sampling, images of the transport process of the measured fabric can be simultaneously acquired using a line scan camera.

[0049] Here, a line scan camera can capture one line of pixels of the scanned item by scanning the item with the line scan camera. Software in the vision processor or image capture card stores this one line of pixels and uses this one line of pixels to reconstruct a final two-dimensional image of the scanned item. Line scan cameras typically have shorter exposure times than area array scan cameras, and the cost of acquiring images is slightly lower than that of area array cameras, making line scan camera image acquisition methods suitable for capturing high-resolution images of fast-moving items such as fast-moving textiles.

[0050] In the embodiment of the present disclosure, since the measured fabric moves within the detection unit and the movement speed is generally relatively fast, a line scan camera can be used to scan one row of pixel lines on the measured fabric in the order in which it passes, thereby constructing an image of the transport process in which the measured fabric is transported to the measurement port of the detection unit.

[0051] 4 is a schematic diagram showing the configuration of a color detection device equipped with a line scan camera 205 according to an embodiment of the present disclosure. As shown in FIG. 4, the line scan camera 205 is disposed inside the color detector housing 201, and scans and samples the fabric to be measured at the same time and in the same position as the detection unit 202, making it easy to directly compare time points.

[0052] 5 is a schematic diagram illustrating the configuration of another color detection device including a line scan camera 205 according to an embodiment of the present disclosure. As shown in FIG. 5, the line scan camera 205 is disposed outside the color detector housing 201 and can scan the fabric to capture images of the fabric during transport. The present disclosure does not limit the specific location of the line scan camera. In this case, the time when the line scan camera 205 scans the target position on the fabric can be calculated to coincide with the time when the detection unit 202 samples the target position, and the two time points can then be compared.

[0053] In step B2, image analysis is performed on the images of the transport process to determine the time range in which the target segment passes through the measurement opening of the detection unit.

[0054] In an embodiment of the present disclosure, when the influence of tension fluctuations is large, a line scan camera is used to scan the fabric to be measured and acquire images of the transport process in which the fabric to be measured is transported to the measurement port of the detection unit. This makes it possible to acquire high-quality images of the transport process at a lower cost than with an area array camera, and also makes it easy to determine the time range in which the target segment passes through the measurement port of the detection unit based on the images of the transport process.

[0055] In implementation, image analysis can be achieved in two ways:

[0056] Method 1) Image analysis based on color values ​​of row pixels

[0057] In step C1, the color values ​​of the row pixels of the in-process image are analyzed to identify the divisions of different fabric segments.

[0058] Because the divisions have color values ​​and the color values ​​of the fabric segments and the divisions are different, adjacent fabric segments are separated by the divisions, and therefore, the divisions between each fabric segment can be identified in the measured fabric. For example, taking the measured fabric in FIG. 1 as an example, the color of the divisions in the actual measured fabric has a large color difference from the surrounding area. Based on this, if the color difference between the pixels in the previous row and the pixels in the next row in the measured fabric is detected to be greater than the color difference threshold, it can be determined that the pixels in the previous row or the next row are the junctions between the divisions and the fabric segment. In this way, the start and end rows of the divisions can be determined.

[0059] In step C2, a time range in which the target segment passes through the measurement opening of the detection unit is determined based on the scanning time of the divided portion of the target segment.

[0060] Here, the division section may have a fixed width on the measured fabric, i.e., the division section may be composed of multiple rows of pixels. Therefore, when determining the time range in which the target segment passes through the measurement port based on the scanning time of the division section, the influence of the time range in which the target segment scans the division section on the time range in which the target segment passes through the measurement port should not be considered. For example, FIG. 6 shows a schematic diagram for determining the time range of the target segment. In FIG. 6, the scanning time ranges of the division section are t1 to t2 and t3 to t4. In this case, when the time range in which the target segment passes through the measurement port is determined based on the scanning time of the division section, this time range is t2 to t3.

[0061] In the embodiment of the present disclosure, by performing image analysis on the color values ​​of the row pixels of the image of the conveying process, the dividing section can be identified based on different color values, and the scanning time of the dividing section can be used to confirm the time range in which the target segment passes through the measurement port of the detection section, which helps to accurately identify the time range in which the target segment passes through the measurement port of the detection section.

[0062] Method 2) Image analysis using a segmentation identification network

[0063] In step D1, images of the transport process are input to a pre-trained segmentation identification network to identify segments of the target segment.

[0064] Here, by adopting a pre-trained segmentation identification network, automatic identification of segmentations in the images of the transport process can be realized, and the segmentations of the target segment can be identified.

[0065] In step D2, a time range in which the target segment passes through the measurement opening of the detection unit is determined based on the scanning time of the divided portion of the target segment.

[0066] In the embodiment of the present disclosure, by analyzing the image of the conveying process through the dividing part identification network, the dividing part of the target segment can be automatically identified, which helps to improve the efficiency of identifying the dividing part. By checking the time range in which the target segment passes through the measurement opening of the detection part based on the scanning time of the dividing part, it helps to accurately identify the time range in which the target segment passes through the measurement opening of the detection part.

[0067] Tension fluctuations can cause the widths of fabric segments in the measured fabric to vary. In this case, when sampling is performed on a target segment, the resulting sampling points may not belong to the target segment. For example, if a sampling point is located at a division or another fabric segment, the color value of the target segment calculated based on the sampling point may be offset, potentially affecting the color difference value of the target segment. Therefore, it is necessary to select valid sampling points that truly belong to the target segment from among multiple sampling points. For example, in Figure 7, there is a target segment, fabric segment 1, and fabric segment 2. Sampling is required for the target segment. However, sampling point 1 of the target segment is located at fabric segment 1, sampling point 2 at the division, and sampling point 5 at fabric segment 2. In this case, sampling point 3 and sampling point 4 are valid sampling points for the target segment. Sampling point 5 is determined as a valid sampling point for fabric segment 2, which is after the target segment, and sampling point 1 is determined as a valid sampling point for fabric segment 1, which is before the target segment.

[0068] In some embodiments, valid sampling points for a target segment can be selected from the multiple sampling points based on the time range and the sampling time points of the multiple sampling points, including:

[0069] In step E1, the sampling time of the target segment is determined from a preset sequence of sampling time points.

[0070] In FIG. 7, the time from t1 corresponding to sampling point 1 to t5 corresponding to sampling point 5 is the sampling time of the target segment.

[0071] In step E2, based on the sampling time of the target segment, the sampling points whose sampling time points are within the time range are selected as valid sampling points of the target segment.

[0072] Here, all valid sampling points of a target segment originate from the target segment, i.e., all valid sampling points of a target segment are located in the target segment.

[0073] To better understand how to determine valid sampling points for a target segment from a sequence of preset sampling points, this process will be described below with reference to FIG. 8. FIG. 8 is a schematic diagram for determining valid sampling points for a target segment in an embodiment of the present disclosure. In FIG. 8, the preset sampling points are 1.07 s and 1.11 s. However, the time range corresponding to the target segment is 1.05 s to 1.09 s, and the preset sampling point in the range of 1.05 s to 1.09 s is 1.07 s. Therefore, the sampling point corresponding to 1.07 s is the valid sampling point for the target segment.

[0074] In the embodiments of the present disclosure, by selecting valid sampling points of a target segment from among multiple sampling points, it is possible to avoid the sampling points being located on other fabric segments from affecting the calculated color values ​​and color difference values ​​of the target segment, which helps to improve the accuracy of the color values ​​and color difference values ​​of the target segment measured and obtained based on a color difference meter.

[0075] In some embodiments, when it is necessary to obtain images of the transport process of the measured fabric based on a line scan camera and to sample the measured fabric based on a detection unit to obtain valid sampling locations of the target segment, the system time of the line scan camera and the system time of the detection unit are synchronized to time-align the system time of the line scan camera and the system time of the detection unit, thereby facilitating direct comparison of the sampling time point and the time range of the target segment.

[0076] In some embodiments, calculating the average value of the color values ​​of multiple valid sampling points of the target segment and using this average value as the color value of the target segment helps to realize the average level of the color value of the target segment, thereby improving the accuracy of determining the color value of the target segment.

[0077] In addition, after selecting sampling points whose sampling time points are within the time range as valid sampling points of the target segment, sampling points whose sampling time points belong to the target segment but are determined not to be valid sampling points can be collected into a set of points to be processed, and the following operations can be performed on each of the points to be processed in the set.

[0078] In step F1, the row pixel closest to the sampling time point of the location to be processed is determined for the acquisition and collection of row pixels of the image during the transport process.

[0079] In step F2, if the row pixel does not belong to a segment, the fabric segment in which the row pixel is located is determined.

[0080] In step F3, the location to be processed is determined as the valid sampling location of the fabric segment in which the row pixel is located.

[0081] Continuing with the example of Figure 7, within the sampling time of the target segment, sampling points 1, 2, and 5 are outside the time range of the target segment, so sampling points 1, 2, and 5 are not valid sampling points of the target segment, but are collected into a set of points to be processed. For sampling point 1 in the set of points to be processed, the row pixel closest to the sampling time of sampling point 1 belongs to textile segment 1, so sampling point 1 is a valid sampling point for textile segment 1. For sampling point 2 in the set of points to be processed, the row pixel closest to the sampling time of sampling point 2 belongs to the segmentation section, so sampling point 2 is an invalid sampling point. For sampling point 5 in the set of points to be processed, the row pixel closest to the sampling time of sampling point 5 belongs to textile segment 2, so sampling point 5 is a valid sampling point for textile segment 2.

[0082] In the embodiment of the present disclosure, after selecting valid sampling points of the target segment, other sampling points other than the valid sampling points of the target segment within the sampling time of the target segment are re-determined as points to be processed, and it is determined whether the points to be processed are valid sampling points of other textile segments, which helps to improve the utilization rate of the sampling points.

[0083] Based on the same technical idea, an embodiment of the present disclosure provides a color difference measuring device 900, where the fabric to be measured is woven using a plurality of yarn winding packages, and the fabric to be measured has fabric segments corresponding to each yarn winding package, and there are divisions between different fabric segments. As shown in FIG. 9, the color difference measuring device: a conveying module 901 for conveying each fabric segment of the fabric to be measured to a measuring port of the detecting unit in order for the detecting unit to collect color values ​​of multiple sampling points on the fabric according to a predetermined sequence of sampling times; a first determination module 902 for determining a time range in which a target segment of the measured fabric passes through a measurement opening of the detection unit during the process of transporting the measured fabric to the detection unit for sampling, the target segment being any fabric segment of the measured fabric; a selection module 903 for selecting valid sampling points of the target segment from the plurality of sampling points based on the time range and the sampling time points of the plurality of sampling points; and a second determination module 904 for determining a color difference value of the target wound yarn package corresponding to the target segment based on the color values ​​of the valid sampling points and the reference value.

[0084] In some embodiments, the first determination module: a first acquisition unit for acquiring the time required for the entire process of transporting the test fabric so that the test fabric completely passes through the measurement opening when the tension fluctuation during the entire transport process of the test fabric is less than the fluctuation threshold value; and a first determining unit for determining the time required to transport the target segment based on the time required for the entire process to obtain a time range.

[0085] In some embodiments, the first determination module: a second acquisition unit for acquiring images of the transport process of the fabric to be measured to the measurement port of the detection unit when the tension fluctuation during the entire transport process of the fabric to be measured is greater than the fluctuation threshold, the second acquisition unit acquiring images of the transport process using a line scan camera during the process of transporting the fabric to the detection unit and sampling it; and an analysis unit for performing image analysis on the images of the transport process to determine the time range in which the target segment passes through the measurement opening of the detection unit.

[0086] In some embodiments, the analysis unit specifically: analyzing the color values ​​of the row pixels of the in-process image to identify divisions of different fabric segments; and determining a time range in which the target segment passes through the measurement opening of the detection unit based on the scanning time of the divided portion of the target segment.

[0087] In some embodiments, the analysis unit specifically: inputting the images of the transportation process into a pre-trained segmentation identification network to identify segments of the target segment; and determining a time range in which the target segment passes through the measurement opening of the detection unit based on the scanning time of the divided portion of the target segment.

[0088] In some embodiments, the screening module comprises: a second determining unit for determining a sampling time of the target segment from a sequence of preset sampling instants; A selection unit is provided for selecting sampling points whose sampling time points are in a time range based on the sampling time of the target segment as valid sampling points of the target segment.

[0089] In some embodiments, the sorting unit specifically: The sampling points that are determined not to be valid sampling points even though the sampling time belongs to the target segment are collected into a set of points to be processed, and for each of the points to be processed in the set, determining the row pixels of the image during the transport process that are collected at the time point closest to the sampling time point of the location to be processed, and acquiring the image during the transport process based on a line scan camera during the process of transporting the fabric to be measured to the detection unit and sampling; determining the fabric segment in which the row pixel is located if the row pixel does not belong to a segmentation; determining the location to be processed as the valid sampling location of the fabric segment in which the row pixel is located.

[0090] In some embodiments, a valid sampling point is a sampling point that does not lie within a division of a target segment.

[0091] For specific functions and exemplary descriptions of each module and sub-module of the apparatus according to the embodiments of the present disclosure, please refer to the relevant descriptions of the corresponding steps in the above-mentioned method embodiments, and they will not be repeated here.

[0092] In the technical solution of the present disclosure, the acquisition, storage, and application of users' personal information comply with the provisions of relevant laws and regulations and do not violate public order and morals.

[0093] FIG. 10 is a structural block diagram of an electronic device according to an embodiment of the present disclosure. As shown in FIG. 10, the electronic device includes a memory 1010 and a processor 1020, and the memory 1010 stores a computer program executable by the processor 1020. The number of memories 1010 and processors 1020 may be one or more. The memory 1010 may store one or more computer programs, which, when executed by the electronic device, cause the electronic device to perform the method provided by the above method embodiments. The electronic device may further include: a communication interface 1030 for communicating with external devices and performing data interaction and transmission;

[0094] When the memory 1010, the processor 1020, and the communication interface 1030 are implemented independently, the memory 1010, the processor 1020, and the communication interface 1030 are connected to each other via a bus to enable communication between them. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be classified into an address bus, a data bus, a control bus, and the like. For ease of explanation, only one bold line is shown in FIG. 10, but this does not represent only one bus or one type of bus.

[0095] Optionally, in a specific implementation, when the memory 1010, the processor 1020, and the communication interface 1030 are integrated on one chip, the memory 1010, the processor 1020, and the communication interface 1030 can communicate with each other via an internal interface.

[0096] It should be understood that the processor may be a Central Processing Unit (CPU), or may be other general-purpose processors, Digital Signal Processing (DSP), Application Specific Integrated Circuits (ASIC), Field Programmable Gate Arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware assemblies, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.

[0097] Additionally, the memory may optionally include read-only memory and random access memory, or may further include non-volatile random access memory. The memory may be either volatile or non-volatile memory, or may include both volatile and non-volatile memory. Here, non-volatile memory may include read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available. For example, static random access memory (Static RAM, SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct RAMBUS RAM (DR RAM).

[0098] The above-described embodiments may be implemented, in whole or in part, in software, hardware, firmware, or any combination thereof. When implemented in software, they may be implemented, in whole or in part, in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, a process or function according to an embodiment of the present disclosure is generated, in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, Bluetooth, microwave, etc.). A computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device including a server, a data center, etc. integrated with one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a Digital Versatile Disc (DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)). Note that the computer-readable storage medium referred to in this disclosure may be a non-volatile storage medium, in other words, a non-transitory storage medium.

[0099] Those skilled in the art can understand that all or part of the steps for realizing the above embodiments may be implemented by hardware, or may be implemented by instructing relevant hardware by a program, and the program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic disk, an optical disk, etc.

[0100] In describing embodiments of the present disclosure, references such as "one embodiment," "some embodiments," "example," "specific example," or "some examples" mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present disclosure. Furthermore, the described specific features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine different embodiments or examples and features of different embodiments or examples described in the present disclosure to the extent that they are not mutually inconsistent.

[0101] In the description of the embodiments of the present disclosure, unless otherwise specified, " / " means "or," for example, A / B can mean either A or B. "And / or" in the present disclosure is merely to describe the related relationship of related objects, and indicates that three types of relationships may exist, for example, A and / or B can indicate the following three types of situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0102] In describing the embodiments of the present disclosure, the terms "first" and "second" are used for descriptive purposes only and should not be interpreted as indicating or implying relative importance, nor should they be interpreted as implying the number of technical features shown. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of such features. In describing the embodiments of the present disclosure, "plurality" means two or more, unless otherwise specified.

[0103] The above are merely illustrative examples of the present disclosure, and do not limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure should be included in the scope of protection of the present disclosure.

Claims

1. A color difference measurement method, comprising: The fabric to be measured is woven using a plurality of yarn winding packages, and has fabric segments corresponding to the respective yarn winding packages in the fabric to be measured, and has dividing sections between different fabric segments; The color difference measurement method includes: Sequentially transporting each fabric segment of the test fabric to a measurement port of a detection unit, and the detection unit collecting color values ​​of multiple sampling points on the test fabric according to a predetermined sequence of sampling times; determining a time range in which a target segment of the measured fabric passes through a measurement opening of the detection unit during a process of transporting the measured fabric to the detection unit and sampling the fabric, the target segment being any one of the fabric segments of the measured fabric; selecting valid sampling points for the target segment from the plurality of sampling points based on the time range and sampling time points of the plurality of sampling points; determining a color difference value of the target wound yarn package corresponding to the target segment based on the color values ​​of the valid sampling points and a reference value; Color difference measurement method.

2. Determining a time range in which the target segment of the measured fabric passes through the measurement opening of the detection unit includes: When the tension fluctuation during the entire transport process of the test fabric is less than the fluctuation threshold, acquiring the time required for the entire process of transporting the test fabric so that the test fabric completely passes through the measurement opening; determining a time required to deliver the target segment based on the time required for the entire process to obtain the time range; The color difference measuring method according to claim 1 .

3. Determining a time range in which the target segment of the measured fabric passes through the measurement opening of the detection unit includes: When the tension fluctuation during the entire transport process of the test fabric is greater than a fluctuation threshold, acquiring images of the transport process of the test fabric being transported to the measurement port of the detection unit, wherein the images of the transport process are acquired using a line scan camera during the process of transporting the test fabric to the detection unit and sampling; and performing image analysis on the images of the transport process to determine a time range in which the target segment passes through the measurement opening of the detection unit. The color difference measuring method according to claim 1 .

4. performing image analysis on the image of the transport process to determine a time range in which the target segment passes through the measurement opening of the detection unit; analyzing the color values ​​of the row pixels of the image of the transport process to identify divisions of different fabric segments; determining a time range in which the target segment passes through the measurement opening of the detection unit based on a scanning time of the divided portion of the target segment; The color difference measuring method according to claim 3.

5. performing image analysis on the image of the transport process to determine a time range in which the target segment passes through the measurement opening of the detection unit; inputting the images of the transport process into a pre-trained segmentation identification network to identify segments of the target segment; determining a time range in which the target segment passes through the measurement opening of the detection unit based on a scanning time of the divided portion of the target segment; The color difference measuring method according to claim 3.

6. Selecting valid sampling points for the target segment from the plurality of sampling points based on the time range and sampling time points of the plurality of sampling points includes: determining a sampling time for the target segment from the sequence of predetermined sampling times; and selecting sampling points whose sampling time points are within the time range as valid sampling points of the target segment based on the sampling time of the target segment. The color difference measuring method according to claim 1 .

7. After selecting the sampling points whose sampling time points are in the time range as valid sampling points of the target segment, the color difference measurement method includes: The sampling points that are determined not to be valid sampling points even though the sampling time points belong to the target segment are collected into a set of points to be processed, and for each of the points to be processed in the set, determining the row pixels of the image during the transport process that are collected at the time point closest to the sampling time point of the portion to be processed, and acquiring the image during the transport process based on a line scan camera during the process of transporting the fabric to the detection unit and sampling; if said row pixel does not belong to said partition, determining the fabric segment in which said row pixel is located; determining the location to be processed as a valid sampling location of the fabric segment in which the row pixel is located; The color difference measuring method according to claim 6.

8. The valid sampling points are sampling points that are not located in division portions of the target segment. The color difference measuring method according to claim 1 .

9. A color difference measuring device, The fabric to be measured is woven using a plurality of yarn winding packages, and has fabric segments corresponding to the respective yarn winding packages in the fabric to be measured, and has dividing sections between different fabric segments; The color difference measuring device is a conveying module for conveying each fabric segment of the test fabric to a measuring port of the detecting unit in order for the detecting unit to collect color values ​​of a plurality of sampling points on the test fabric according to a predetermined sequence of sampling times; a first determination module for determining a time range in which a target segment of the measured fabric passes through a measurement opening of the detection unit during the process of transporting the measured fabric to the detection unit and sampling the fabric, the target segment being any fabric segment of the measured fabric; a selection module for selecting valid sampling points for the target segment from the plurality of sampling points based on the time range and sampling time points of the plurality of sampling points; a second determination module for determining a color difference value of the target wound yarn package corresponding to the target segment based on the color values ​​of the valid sampling points and a reference value. Color difference measuring device.

10. at least one processor; a memory communicatively coupled to the at least one processor; The memory stores instructions executable by the at least one processor, the instructions, when executed by the at least one processor, causing the at least one processor to perform the color difference measurement method of any one of claims 1 to 8. Electronic devices.

11. A program for implementing the color difference measurement method according to any one of claims 1 to 8 when executed by a processor in a computer.

Citation Information

Patent Citations

  • Textile color identification method and system

    CN105787508A

  • Fabric color difference detection device

    CN217819970U

  • Cotton yarn printing and dyeing color difference detection device

    CN217980550U

  • A method of continuous measurement of colouring of textile surfaces and a measuring machine for carrying out the method

    EP3035035A1

  • Henshokujobutsuno jidoshikisasokuteihoho oyobi sonosochi

    JP1976099088A