Reflective gray scale test card manufacturing method, device, computer equipment and storage medium

By manufacturing a reflective grayscale test chart that conforms to HLG gamma characteristics, the problem that existing SDR grayscale test charts cannot determine whether a camera's HLG gamma characteristics comply with the ITU-R BT.2100 standard has been solved, achieving an intuitive determination effect.

CN123185344APending Publication Date: 2026-11-27中央广播电视总台
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611257166.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-19
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing SDR grayscale test charts cannot intuitively determine whether a camera's HLG gamma characteristics comply with the ITU-R BT.2100 standard.

Method used

By acquiring the normalized level and number of gray levels of the target imaging device, and using the target inverse transform relationship of HLG gamma characteristics, the relative value of scene brightness and target reflectivity corresponding to each gray level are determined, and a reflective grayscale test card is manufactured to conform to the target inverse transform relationship distribution of HLG gamma characteristics.

Benefits of technology

It achieves a linear distribution of grayscale levels on a waveform analyzer, enabling intuitive determination of whether the HLG gamma characteristics of a camera comply with the ITU-R BT.2100 standard.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123185344A_ABST
    Figure CN123185344A_ABST
Patent Text Reader

Abstract

The application relates to a reflective gray scale test card manufacturing method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a normalized level corresponding to a first gray scale, a normalized level corresponding to a second gray scale and a preset number of gray scales of a target imaging device; uniformly dividing a normalized level range from the first gray scale to the second gray scale to obtain a normalized level corresponding to each gray scale; using a target inverse transformation relationship of an HLG gamma characteristic to inversely transform the normalized level corresponding to each gray scale to determine a scene brightness relative value corresponding to each gray scale; under a standard test illumination condition, determining a target reflectivity corresponding to each gray scale according to the scene brightness relative value corresponding to each gray scale; and determining a material corresponding to each gray scale according to the target reflectivity corresponding to each gray scale to manufacture a reflective gray scale test card based on the material corresponding to each gray scale.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more specifically, to a method, apparatus, computer equipment, and storage medium for manufacturing a reflective grayscale test card. Background Technology

[0002] In the broadcast television field, the gamma characteristic of broadcast-grade cameras is one of the core optoelectronic performance indicators, making the verification of their HLG gamma characteristics a critical technical problem that urgently needs to be solved. The current industry practice is to use a general-purpose SDR (Standard Dynamic Range) grayscale test chart combined with a waveform analyzer for testing, based on the GY / T425-2025 standard. However, this type of SDR grayscale test chart is designed based on the SDR standard with γ=0.45, and cannot provide a direct assessment of whether the camera's HLG (Hybrid Log-Gamma) gamma characteristics comply with the ITU-R BT.2100 standard. Summary of the Invention

[0003] This application provides a method, apparatus, computer equipment, and storage medium for manufacturing a reflective grayscale test card. This method can intuitively determine whether the HLG gamma characteristics of a camera conform to the ITU-R BT.2100 standard.

[0004] A first aspect of this application provides a method for manufacturing a reflective grayscale test card, the method comprising: The normalized level corresponding to the first gray level, the normalized level corresponding to the second gray level, and the preset number of gray levels of the target imaging device are obtained. The first gray level is the highest brightness gray level in the HLG gamma characteristic, and the second gray level is the lowest brightness gray level in the HLG gamma characteristic. According to the preset number of gray levels, the normalized level range from the first gray level to the second gray level is uniformly divided to obtain the normalized level corresponding to each gray level. Using the target inverse transformation relationship of HLG gamma characteristics, the normalized level corresponding to each gray level is inversely transformed to determine the relative value of scene brightness corresponding to each gray level. Under standard test illumination conditions, the target reflectivity corresponding to each gray level is determined based on the relative value of scene brightness corresponding to each gray level. Based on the target reflectivity corresponding to each gray level, the material corresponding to each gray level is determined, and a reflective grayscale test card is manufactured based on the material corresponding to each gray level.

[0005] Optionally, the step of uniformly dividing the normalized level range from the first gray level to the second gray level according to a preset number of gray levels to obtain the normalized level corresponding to each gray level includes: Based on the difference between the normalized level corresponding to the first gray level and the normalized level corresponding to the second gray level, and the preset number of gray levels, the distinguishable level difference between adjacent gray levels is determined. Starting from the normalized level corresponding to the first gray level, the distinguishable level difference is subtracted sequentially to obtain the normalized level corresponding to each intermediate gray level, until the normalized level corresponding to the second gray level is reached.

[0006] Optionally, the method further includes: Obtain the minimum resolvable level difference, which is set based on human visual perception and the calibration accuracy requirements of the waveform analyzer; When the resolvable level difference is less than the minimum resolvable level difference, the number of gray levels is adjusted to obtain a new resolvable level difference.

[0007] Optionally, determining the target reflectivity corresponding to each gray level based on the relative scene brightness value corresponding to each gray level includes: For the first gray level in the relative brightness value sequence of the scene, the maximum reflectivity is determined as the target reflectivity corresponding to the first gray level; For other gray levels in the scene brightness relative value sequence, determine the ratio of the scene brightness relative value corresponding to the gray level to the scene brightness relative value corresponding to the first gray level, and determine the target reflectance corresponding to the gray level by multiplying the maximum reflectance by the ratio.

[0008] Optionally, determining the material corresponding to each gray level based on the target reflectivity of each gray level includes: For each gray level corresponding to the target reflectance, the actual reflectance corresponding to each material is obtained. When the difference between the actual reflectance and the target reflectance is less than a preset reflectance threshold, the material corresponding to the actual reflectance is taken as the material corresponding to the gray level.

[0009] Optionally, determining the material corresponding to each gray level based on the target reflectivity of each gray level includes: For each gray level, the target reflectance is converted into the corresponding density to obtain the actual density of each material. When the difference between the actual density and the target density is less than a preset density threshold, the material corresponding to the actual density is taken as the material corresponding to the gray level.

[0010] Optionally, the target inverse transformation relationship includes multiple inverse transformation relationships. The target inverse transformation relationship using HLG gamma characteristics performs an inverse transformation on the normalized level corresponding to each gray level to determine the relative value of scene brightness corresponding to each gray level, including: For each gray level in the normalized level sequence, the target range of the normalized level is determined. The normalized level is then inversely transformed using the inverse transformation relationship corresponding to the target range to obtain the relative value of the scene brightness corresponding to the gray level.

[0011] In a second aspect, this application provides a reflective grayscale test card manufacturing apparatus, comprising: The acquisition unit is used to acquire the normalized level corresponding to the first gray level, the normalized level corresponding to the second gray level, and the preset number of gray levels of the target imaging device. The first gray level is the highest brightness gray level in the HLG gamma characteristic, and the second gray level is the lowest brightness gray level in the HLG gamma characteristic. The segmentation unit is used to uniformly divide the normalized level range from the first gray level to the second gray level according to a preset number of gray levels, so as to obtain the normalized level corresponding to each gray level. The first determining unit is used to perform an inverse transformation on the normalized level corresponding to each gray level using the target inverse transformation relationship of HLG gamma characteristics, and determine the relative value of scene brightness corresponding to each gray level. The second determining unit is used to determine the target reflectivity corresponding to each gray level based on the relative value of scene brightness corresponding to each gray level under standard test illuminance conditions. The third determining unit is used to determine the material corresponding to each gray level based on the target reflectivity of each gray level, so as to manufacture a reflective grayscale test card based on the material corresponding to each gray level.

[0012] Optionally, the segmentation unit is used for: Based on the difference between the normalized level corresponding to the first gray level and the normalized level corresponding to the second gray level, and the preset number of gray levels, the distinguishable level difference between adjacent gray levels is determined. Starting from the normalized level corresponding to the first gray level, the distinguishable level difference is subtracted sequentially to obtain the normalized level corresponding to each intermediate gray level, until the normalized level corresponding to the second gray level is reached.

[0013] Optionally, the apparatus further includes a fourth determining unit, the fourth determining unit being configured to: Obtain the minimum resolvable level difference, which is set based on human visual perception and the calibration accuracy requirements of the waveform analyzer; When the resolvable level difference is less than the minimum resolvable level difference, the number of gray levels is adjusted to obtain a new resolvable level difference.

[0014] Optionally, the second determining unit is used for: For the first gray level in the relative brightness value sequence of the scene, the maximum reflectivity is determined as the target reflectivity corresponding to the first gray level; For other gray levels in the scene brightness relative value sequence, determine the ratio of the scene brightness relative value corresponding to the gray level to the scene brightness relative value corresponding to the first gray level, and determine the target reflectance corresponding to the gray level by multiplying the maximum reflectance by the ratio.

[0015] Optionally, the third determining unit is used for: For each gray level corresponding to the target reflectance, the actual reflectance corresponding to each material is obtained. When the difference between the actual reflectance and the target reflectance is less than a preset reflectance threshold, the material corresponding to the actual reflectance is taken as the material corresponding to the gray level.

[0016] Optionally, the third determining unit is used for: For each gray level, the target reflectance is converted into the corresponding density to obtain the actual density of each material. When the difference between the actual density and the target density is less than a preset density threshold, the material corresponding to the actual density is taken as the material corresponding to the gray level.

[0017] Optionally, the target inverse transform relationship includes multiple inverse transform relationships, and the first determining unit is used for: For each gray level in the normalized level sequence, the target range of the normalized level is determined. The normalized level is then inversely transformed using the inverse transformation relationship corresponding to the target range to obtain the relative value of the scene brightness corresponding to the gray level.

[0018] A third aspect of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of any of the above methods.

[0019] A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, characterized in that the computer program, when executed by a processor, implements the steps of the method as described in any of the above.

[0020] In this embodiment, the normalized level corresponding to the first gray level, the normalized level corresponding to the second gray level, and a preset number of gray levels of the target imaging device are obtained. The first gray level is the highest brightness gray level in the HLG gamma characteristic, and the second gray level is the lowest brightness gray level in the HLG gamma characteristic. The normalized level range from the first gray level to the second gray level is uniformly divided according to the preset number of gray levels to obtain the normalized level corresponding to each gray level. Using the target inverse transformation relationship of the HLG gamma characteristic, the normalized level corresponding to each gray level is inversely transformed to determine the relative value of scene brightness corresponding to each gray level. Under standard test illuminance conditions, the target reflectivity corresponding to each gray level is determined based on the relative value of scene brightness corresponding to each gray level. Based on the target reflectivity corresponding to each gray level, the material corresponding to each gray level is determined, and a reflective grayscale test card is manufactured based on the material corresponding to each gray level. It can be seen that this embodiment, by inversely deriving reflectivity, ensures that the relative values ​​of scene brightness at each gray level on the reflective grayscale test card strictly follow the target inverse transformation relationship distribution of the HLG gamma characteristic. When the camera captures an image of the reflective grayscale test chart in HLG mode, it maps the input brightness value to a preset arithmetic normalized level, thus presenting a linearly distributed grayscale level on the waveform analyzer. Therefore, by observing whether the output level is a strictly linear sequence, one can intuitively determine whether the camera's HLG gamma characteristics comply with the ITU-R BT.2100 standard. Attached Figure Description

[0021] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a schematic diagram of a reflective grayscale test card provided in one embodiment of this application; Figure 2 A flowchart illustrating a method for manufacturing a reflective grayscale test card according to an embodiment of this application; Figure 3 This is a schematic diagram of a reflective grayscale test card manufacturing apparatus provided in one embodiment of this application; Figure 4 This is a schematic diagram of a computer device structure provided in one embodiment of this application. Detailed Implementation

[0022] In the broadcast television field, the gamma characteristic of broadcast-grade cameras is one of the core optoelectronic performance indicators, making the verification of their HLG gamma characteristics a critical technical problem that urgently needs to be solved. The current industry practice is to use a general-purpose SDR grayscale test chart combined with a waveform analyzer for testing, based on the GY / T425-2025 standard. However, this type of SDR grayscale test chart is designed based on the SDR standard with γ=0.45, and cannot provide a direct determination of whether the camera's HLG gamma characteristics comply with the ITU-R BT.2100 standard.

[0023] To address the aforementioned issues, this application provides a method for manufacturing a reflective grayscale test card. The method involves acquiring the normalized level of a target imaging device at a first grayscale level, the normalized level of a second grayscale level, and a preset number of grayscale levels. The first grayscale level is the highest brightness grayscale level in the HLG gamma characteristic, and the second grayscale level is the lowest brightness grayscale level in the HLG gamma characteristic. The normalized level range from the first grayscale level to the second grayscale level is uniformly divided according to the preset number of grayscale levels to obtain the normalized level corresponding to each grayscale level. Using the target inverse transform relationship of the HLG gamma characteristic, the normalized level corresponding to each grayscale level is inversely transformed to determine the relative value of scene brightness for each grayscale level. Based on the relative value of scene brightness for each grayscale level, the target reflectivity for each grayscale level is determined. Based on the target reflectivity for each grayscale level, the material corresponding to each grayscale level is determined, and a reflective grayscale test card is manufactured based on the material corresponding to each grayscale level. It is evident that this application, through the inverse derivation of reflectivity, ensures that the relative values ​​of scene brightness for each grayscale level on the reflective grayscale test card strictly follow the target inverse transform relationship distribution of the HLG gamma characteristic. When the camera captures an image of the reflective grayscale test chart in HLG mode, it maps the input brightness value to a preset arithmetic normalized level, thus presenting a linearly distributed grayscale level on the waveform analyzer. Therefore, by observing whether the output level is a strictly linear sequence, one can intuitively determine whether the camera's HLG gamma characteristics comply with the ITU-R BT.2100 standard.

[0024] Please see Figure 1 This application provides a reflective grayscale test chart, which includes 11 grayscale levels, an HDR reference white block, a center black block, and other standard reflective units. The materials used for each grayscale level are determined based on the method described in this application. It can verify whether the HLG photoelectric conversion function of a camera conforms to the ITU-R BT.2100 standard under standard illumination.

[0025] Please see Figure 2 The following embodiments use electronic devices as the execution subject. The method for manufacturing a reflective grayscale test card provided in this application includes the following steps 201-205: Step 201: Obtain the normalized level corresponding to the first gray level, the normalized level corresponding to the second gray level, and the preset number of gray levels of the target imaging device.

[0026] The first grayscale level is the highest brightness grayscale level in the HLG gamma characteristic, such as a bright white corresponding to 100% HLG level; the second grayscale level is the lowest brightness grayscale level in the HLG gamma characteristic, such as a dark grayscale level corresponding to HLG black level. Normalized level refers to the normalized representation of the video signal level under the HLG gamma characteristic, with a value range of [0,1]. 1.0 corresponds to the maximum output level of the camera (e.g., 100% HLG level), and 0.26 corresponds to black level. The target imaging device refers to the imaging device to be tested or calibrated that supports HLG gamma working mode, including but not limited to broadcast-grade ultra-high-definition cameras, professional-grade cameras, consumer-grade cameras, and mobile terminals or testing instruments with integrated HLG imaging functions. Grayscale refers to a series of color blocks on a reflective grayscale test chart used to characterize different brightness levels. Each grayscale level corresponds to a specific reflectivity value, generating a corresponding output level after the camera captures the image. The number of grayscale levels is the number of grayscale levels, determined according to the test accuracy requirements, and is an integer greater than or equal to 2.

[0027] It should be noted that the executing entity of this application is an electronic device, such as a computer or server. This electronic device includes at least a processor and a memory, used to perform steps such as parameter calculation, reflectivity deduction, and material matching in the aforementioned method for manufacturing the reflective grayscale test card.

[0028] Step 202: According to the preset number of gray levels, the normalized level range from the first gray level to the second gray level is uniformly divided to obtain the normalized level corresponding to each gray level.

[0029] In this step, let the normalized level of the first grayscale be E1′, the normalized level of the second grayscale be EN′, and the preset number of grayscales be N. Calculate the resolvable level difference Δ = (E1′ - EN′) / (N-1) between adjacent grayscales. Then, for i = 1 to N, determine the normalized level Ei′ = E1′ - (i-1) × Δ for the i-th grayscale, thus obtaining the normalized level corresponding to each grayscale. Alternatively, consider the first and second grayscales as interval endpoints, and divide the interval [EN′, E1′] into N-1 smaller intervals. The normalized level corresponding to each interpolation point is Ei′ = E1′ + (EN′ ​​- E1′) × Δ. When i=1, we get E1′; when i=N, we get EN′. This allows us to obtain the normalized level for each grayscale level in ascending order. Alternatively, other methods can be used to obtain the normalized level for each grayscale level; this is not limited here.

[0030] Step 203: Using the target inverse transformation relationship of HLG gamma characteristics, perform inverse transformation on the normalized level corresponding to each gray level to determine the relative value of scene brightness corresponding to each gray level.

[0031] The target inverse transformation relationship of HLG gamma characteristics refers to the mapping function that converts the normalized level signal (coded value) under HLG gamma characteristics into a linear relative value of scene brightness, i.e., the inverse function of the HLG Opto-Electronic Transfer Function (OETF). -1 Scene brightness relative value refers to a normalized relative value that is proportional to the linear brightness of the scene in front of the camera, obtained by converting the target inverse transform relationship of HLG gamma characteristics from the normalized encoding level.

[0032] Step 204: Under standard test illumination conditions, determine the target reflectivity corresponding to each gray level based on the relative value of scene brightness corresponding to each gray level.

[0033] The standard test illumination conditions refer to the pre-set illumination conditions used to ensure the repeatability, comparability, and accuracy of test results when testing the HLG gamma characteristics of a camera. These illumination conditions include, but are not limited to: the illumination value and permissible deviation of the test card surface, optical darkroom conditions, the color temperature of the light source, the incident angle of the light source (usually symmetrically arranged at a 45° angle to the normal of the test card), and the range of ambient temperature and relative humidity. The relative value of scene brightness is linearly proportional to the target reflectivity.

[0034] In this step, for the first gray level in the scene brightness relative value sequence, the maximum reflectance is determined as the target reflectance corresponding to the first gray level; for other gray levels in the scene brightness relative value sequence, the ratio of the scene brightness relative value corresponding to the gray level to the scene brightness relative value corresponding to the first gray level is determined, and the product of the maximum reflectance and the ratio is determined as the target reflectance corresponding to the gray level.

[0035] Step 205: Determine the material corresponding to each gray level based on the target reflectivity corresponding to each gray level, and manufacture a reflective grayscale test card based on the material corresponding to each gray level.

[0036] The term "materials" refers to the physical medium used to create the various grayscale patches on the reflective grayscale test card, including but not limited to diffuse reflective coatings, diffuse reflective films, diffuse reflective paper bases, diffuse reflective plastic sheets, and black velvet cloth.

[0037] In this step, the corresponding material is matched according to the target reflectance corresponding to each gray level; thus, the materials corresponding to each gray level can be sequentially fixed on the substrate in the order of the gray levels, and a reflective grayscale test card dedicated to HLG is obtained by adding reference white, central black block, background and identifier.

[0038] In addition, when verifying the HLG gamma characteristic of a camera, the manufactured reflective grayscale test card is fixed on a standard support, such that the optical axis of the camera coincides with the normal of the test card; the surface of the reflective grayscale test card is adjusted to a standard test illuminance condition; the camera is set to an HLG gamma mode, and automatic exposure and automatic white balance are turned off; the reflective grayscale test card is photographed, such that a gray-level reflection unit fills a frame; and a gray-level level distribution is observed via a waveform analyzer. If each gray-level level is linearly distributed (a relative deviation of a difference between adjacent gray-level levels does not exceed a predetermined tolerance), it is determined that the HLG gamma characteristic of the camera is qualified; if the distribution is non-linear, a camera parameter is adjusted, and then testing is re-performed.

[0039] Further, according to the determination result, a corresponding preset operation may be performed: if the test is qualified, a test qualification report is generated and stored; if the test is not qualified, an alarm is issued to a user or a test system to prompt that there is a deviation in the HLG gamma characteristic of the camera, and it is recommended to perform calibration or maintenance. For a mass production line, a test result may be automatically uploaded to a quality management system, to realize product screening and traceability.

[0040] In this embodiment, the normalized level corresponding to the first gray level, the normalized level corresponding to the second gray level, and a preset number of gray levels of the target imaging device are obtained. The first gray level is the highest brightness gray level in the HLG gamma characteristic, and the second gray level is the lowest brightness gray level in the HLG gamma characteristic. The normalized level range from the first gray level to the second gray level is uniformly divided according to the preset number of gray levels to obtain the normalized level corresponding to each gray level. Using the target inverse transformation relationship of the HLG gamma characteristic, the normalized level corresponding to each gray level is inversely transformed to determine the relative value of scene brightness corresponding to each gray level. Under standard test illuminance conditions, the target reflectivity corresponding to each gray level is determined based on the relative value of scene brightness corresponding to each gray level. Based on the target reflectivity corresponding to each gray level, the material corresponding to each gray level is determined, and a reflective grayscale test card is manufactured based on the material corresponding to each gray level. It can be seen that this embodiment, by inversely deriving reflectivity, ensures that the relative values ​​of scene brightness at each gray level on the reflective grayscale test card strictly follow the target inverse transformation relationship distribution of the HLG gamma characteristic. When the camera captures an image of the reflective grayscale test chart in HLG mode, it maps the input brightness value to a preset arithmetic normalized level, thus presenting a linearly distributed grayscale level on the waveform analyzer. Therefore, by observing whether the output level is a strictly linear sequence, one can intuitively determine whether the camera's HLG gamma characteristics comply with the ITU-R BT.2100 standard.

[0041] In this embodiment, the resolvable level difference between adjacent gray levels is calculated using the normalized level difference between the first and second gray levels and a preset number of gray levels. Then, following an arithmetic progression, starting from the normalized level of the first gray level, this resolvable level difference is subtracted sequentially to derive the normalized levels of all intermediate gray levels until the normalized level of the second gray level is reached. Specific steps include: Based on the difference between the normalized level corresponding to the first gray level and the normalized level corresponding to the second gray level, and the preset number of gray levels, the distinguishable level difference between adjacent gray levels is calculated; starting from the normalized level corresponding to the first gray level, the distinguishable level difference is subtracted sequentially to obtain the normalized level corresponding to each intermediate gray level, until the normalized level corresponding to the second gray level is reached.

[0042] The preset number of gray levels is set based on the needs of technicians; for example, the preset number of gray levels is 11.

[0043] Specifically, let the normalized level corresponding to the first gray level be E1′, the normalized level corresponding to the second gray level be EN′, and the preset number of gray levels be N (N≥2). Then the resolvable level difference Δ between adjacent gray levels is calculated by the following formula: Then, following an arithmetic progression, starting from the first gray level, the distinguishable level difference is subtracted sequentially to obtain the normalized level Ei′ (i=1,2,…,N) corresponding to the i-th gray level, i.e.: Ei′=E1′-(i-1)×Δ, where i=1 corresponds to the first gray level and i=N corresponds to the second gray level. This yields the normalized level sequence [E1′,E2′,…,EN′], which satisfies that the level difference between adjacent gray levels is Δ and decreases strictly.

[0044] For example, if the preset number of gray levels is 11, and E1′=1.0, EN′=0.26, and N=11, then Δ=(1.0-0.26) / (11-1)=0.074≈7.5%, and the normalized level sequence is: 1.0, 0.925, 0.85, 0.775, 0.7, 0.625, 0.55, 0.475, 0.4, 0.325, 0.26.

[0045] In addition, the distinguishable level difference can be verified, and if the verification fails, the distinguishable level difference can be regenerated. The specific steps include: obtaining the minimum distinguishable level difference; when the distinguishable level difference is less than the minimum distinguishable level difference, adjusting the number of gray levels to obtain a new distinguishable level difference.

[0046] The minimum resolvable level difference is set based on human visual perception and the calibration accuracy requirements of the waveform analyzer. Specifically, a first minimum resolvable level difference for the difference in brightness between adjacent gray levels is determined, and a second minimum resolvable level difference is determined corresponding to the level measurement accuracy of the waveform analyzer. The two are compared, and the larger minimum resolvable level difference is determined as the final minimum resolvable level difference used.

[0047] In this step, it is detected whether the resolvable level difference calculated above is greater than or equal to the minimum resolvable level difference. If it is greater than or equal to, it indicates that the current grayscale sequence meets the resolvability requirement and can be based on... Further processing is required; if the difference is less than the threshold, it indicates that the level difference between adjacent gray levels is too small, which may exceed the human eye's resolution limit or the measurement accuracy of the waveform analyzer, resulting in gray levels being unable to be effectively distinguished. In this case, the relevant parameters need to be adjusted, specifically by reducing the preset number of gray levels. After that, it is necessary to recalculate whether the calculated distinguishable level difference is greater than or equal to the minimum distinguishable level difference, until the calculated distinguishable level difference is greater than or equal to the minimum distinguishable level difference.

[0048] In this embodiment, for the brightest grayscale, a preset maximum reflectance is used as its target reflectance; for the remaining grayscales, the ratio of the relative scene brightness value of the grayscale to the relative scene brightness value of the first grayscale is first calculated, and then the maximum reflectance is multiplied by the ratio, and the resulting product is the target reflectance of the grayscale. Specifically, for the first grayscale in the relative scene brightness value sequence, the maximum reflectance is determined as the target reflectance corresponding to the first grayscale; for other grayscales in the relative scene brightness value sequence, the ratio of the relative scene brightness value corresponding to the grayscale to the relative scene brightness value corresponding to the first grayscale is determined, and the product of the maximum reflectance and the ratio is determined as the target reflectance corresponding to the grayscale.

[0049] Other gray levels are those other than the first gray level. The maximum reflectivity can be selected from the highest stable reflectivity of commercially available diffuse reflective materials, such as 89.9%.

[0050] For other gray levels, according to the formula Calculate the target reflectivity corresponding to this gray level, where, The target reflectivity corresponding to the nth gray level. The reflectance of the brightest grayscale. This represents the relative scene brightness value corresponding to the nth gray level. This represents the relative brightness value of the scene corresponding to the first gray level.

[0051] In this embodiment of the application, the corresponding material can be directly matched based on the reflectance. The specific steps include: for the target reflectance corresponding to each gray level, the actual reflectance corresponding to each material is obtained. When the difference between the actual reflectance and the target reflectance is less than a preset reflectance threshold, the material corresponding to the actual reflectance is taken as the material corresponding to the gray level.

[0052] In this step, the actual reflectance corresponding to each material is pre-stored. For the target reflectance corresponding to each gray level in the target reflectance sequence, the difference between the target reflectance and the actual reflectance corresponding to each material is calculated. When a certain difference is less than a preset threshold, the material corresponding to the difference is determined as the material corresponding to that gray level.

[0053] Alternatively, reflectivity can be converted into density, and then the corresponding material can be matched based on the density. Specific steps include: for each grayscale level, the target reflectivity is converted into the corresponding density; the actual density of each material is obtained; when the difference between the actual density and the target density is less than a preset density threshold, the material corresponding to the actual density is used as the material corresponding to the grayscale level.

[0054] For example, according to the formula Calculate the density corresponding to the target reflectivity, where d is the density and ρ is the target reflectivity. When the target reflectivity is 2.0%, the density corresponding to the target reflectivity is: .

[0055] In this embodiment of the application, for each gray level in the normalized level sequence, the numerical range (target range) to which its normalized level belongs is first determined, and then the inverse transformation calculation is performed according to the HLG inverse transformation relationship corresponding to the range (such as the square law formula for the low level area and the logarithmic formula for the high level area) to obtain the scene brightness relative value of the gray level.

[0056] For each gray level in the normalized level sequence, the target range of the normalized level is determined. The normalized level is then inversely transformed using the inverse transformation relationship corresponding to the target range to obtain the relative value of the scene brightness corresponding to the gray level.

[0057] In this step, when the normalized level E' satisfies 0≤E'≤0.5, the corresponding scene brightness relative value E is calculated using the formula E = (E')² / 3; when the normalized level E' satisfies 0.5 < E' ≤1, the corresponding scene brightness relative value E is calculated using the formula E ={exp[(E'-c) / a]+b} / 12, where a = 0.17883277, b = 1-4a, and c = 0.5 - a·ln(4a).

[0058] Specifically, according to the formula Calculate the relative scene brightness value corresponding to the normalized level, where E' is the normalized level and E is the relative scene brightness value.

[0059] It should be understood that although the steps in the flowchart are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order constraint on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the diagram may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0060] Please see Figure 3 One embodiment of this application provides a reflective grayscale test card manufacturing apparatus 300, comprising: The acquisition unit 301 is used to acquire the normalized level corresponding to the first gray level, the normalized level corresponding to the second gray level, and the preset number of gray levels of the target imaging device. The first gray level is the highest brightness gray level in the HLG gamma characteristic, and the second gray level is the lowest brightness gray level in the HLG gamma characteristic. The segmentation unit 302 is used to uniformly segment the normalized level range from the first gray level to the second gray level according to a preset number of gray levels, so as to obtain the normalized level corresponding to each gray level. The first determining unit 303 is used to perform an inverse transformation on the normalized level corresponding to each gray level using the target inverse transformation relationship of HLG gamma characteristics, and determine the scene brightness relative value corresponding to each gray level. The second determining unit 304 is used to determine the target reflectivity corresponding to each gray level based on the relative value of scene brightness corresponding to each gray level under standard test illuminance conditions. The third determining unit 305 is used to determine the material corresponding to each gray level based on the target reflectivity of each gray level, so as to manufacture a reflective gray level test card based on the material corresponding to each gray level.

[0061] Optionally, the segmentation unit 302 is used for: Based on the difference between the normalized level corresponding to the first gray level and the normalized level corresponding to the second gray level, and the preset number of gray levels, the distinguishable level difference between adjacent gray levels is determined. Starting from the normalized level corresponding to the first gray level, the distinguishable level difference is subtracted sequentially to obtain the normalized level corresponding to each intermediate gray level, until the normalized level corresponding to the second gray level is reached.

[0062] Optionally, the device further includes a fourth determining unit 306, the fourth determining unit 306 being configured to: Obtain the minimum resolvable level difference, which is set based on human visual perception and the calibration accuracy requirements of the waveform analyzer; When the resolvable level difference is less than the minimum resolvable level difference, the number of gray levels is adjusted to obtain a new resolvable level difference.

[0063] Optionally, the second determining unit 304 is used for: For the first gray level in the relative brightness value sequence of the scene, the maximum reflectivity is determined as the target reflectivity corresponding to the first gray level; For other gray levels in the scene brightness relative value sequence, determine the ratio of the scene brightness relative value corresponding to the gray level to the scene brightness relative value corresponding to the first gray level, and determine the target reflectance corresponding to the gray level by multiplying the maximum reflectance by the ratio.

[0064] Optionally, the third determining unit 305 is used to: For each gray level corresponding to the target reflectance, the actual reflectance corresponding to each material is obtained. When the difference between the actual reflectance and the target reflectance is less than a preset reflectance threshold, the material corresponding to the actual reflectance is taken as the material corresponding to the gray level.

[0065] Optionally, the third determining unit 305 is used to: For each gray level, the target reflectance is converted into the corresponding density to obtain the actual density of each material. When the difference between the actual density and the target density is less than a preset density threshold, the material corresponding to the actual density is taken as the material corresponding to the gray level.

[0066] Optionally, the target inverse transformation relationship includes multiple inverse transformation relationships, and the first determining unit 303 is used for: For each grayscale level in the normalized level sequence, the target range of the normalized level is determined. Using the inverse transformation relationship corresponding to the target range, the normalized level is inversely transformed to obtain the relative scene brightness value corresponding to the grayscale level. Specific limitations regarding the above-mentioned reflective grayscale test card manufacturing device can be found in the limitations of the reflective grayscale test card manufacturing method described above, and will not be repeated here. Each unit in the above-mentioned reflective grayscale test card manufacturing device can be implemented entirely or partially through software, hardware, or a combination thereof. Each of the above units can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.

[0067] In one embodiment, a computer device is provided, the internal structure of which can be as shown in the figure. Figure 4 As shown. The computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores data. The network interface communicates with external terminals via a network connection. The computer device contains one or more computer programs executed by the processor to implement the above-described method for manufacturing a reflective grayscale test card. The computer device includes a memory and a processor; the memory stores a computer program, and the processor executes the computer program to implement any step in the above-described method for manufacturing a reflective grayscale test card.

[0068] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, can perform any of the steps in the above method for manufacturing a reflective grayscale test card.

[0069] Those skilled in the art will understand that embodiments of this application can be provided as a method, system, or computer program product for manufacturing reflective grayscale test cards. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0070] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0071] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0072] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0073] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0074] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations to this application fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for manufacturing a reflective grayscale test card, characterized in that, The method includes: The normalized level corresponding to the first gray level, the normalized level corresponding to the second gray level, and the preset number of gray levels of the target imaging device are obtained. The first gray level is the highest brightness gray level in the HLG gamma characteristic, and the second gray level is the lowest brightness gray level in the HLG gamma characteristic. According to the preset number of gray levels, the normalized level range from the first gray level to the second gray level is uniformly divided to obtain the normalized level corresponding to each gray level. Using the target inverse transformation relationship of HLG gamma characteristics, the normalized level corresponding to each gray level is inversely transformed to determine the relative value of scene brightness corresponding to each gray level. Under standard test illumination conditions, the target reflectivity corresponding to each gray level is determined based on the relative value of scene brightness corresponding to each gray level. Based on the target reflectivity corresponding to each gray level, the material corresponding to each gray level is determined, and a reflective grayscale test card is manufactured based on the material corresponding to each gray level.

2. The method according to claim 1, characterized in that, The step of uniformly dividing the normalized level range from the first gray level to the second gray level according to a preset number of gray levels to obtain the normalized level corresponding to each gray level includes: Based on the difference between the normalized level corresponding to the first gray level and the normalized level corresponding to the second gray level, and the preset number of gray levels, the distinguishable level difference between adjacent gray levels is determined. Starting from the normalized level corresponding to the first gray level, the distinguishable level difference is subtracted sequentially to obtain the normalized level corresponding to each intermediate gray level, until the normalized level corresponding to the second gray level is reached.

3. The method according to claim 2, characterized in that, The method further includes: Obtain the minimum resolvable level difference, which is set based on human visual perception and the calibration accuracy requirements of the waveform analyzer; When the resolvable level difference is less than the minimum resolvable level difference, the number of gray levels is adjusted to obtain a new resolvable level difference.

4. The method according to claim 1, characterized in that, The step of determining the target reflectivity corresponding to each gray level based on the relative value of scene brightness corresponding to each gray level includes: For the first gray level in the relative brightness value sequence of the scene, the maximum reflectivity is determined as the target reflectivity corresponding to the first gray level; For other gray levels in the scene brightness relative value sequence, determine the ratio of the scene brightness relative value corresponding to the gray level to the scene brightness relative value corresponding to the first gray level, and determine the target reflectance corresponding to the gray level by multiplying the maximum reflectance by the ratio.

5. The method according to claim 1, characterized in that, The step of determining the material corresponding to each gray level based on the target reflectivity includes: For each gray level corresponding to the target reflectance, the actual reflectance corresponding to each material is obtained. When the difference between the actual reflectance and the target reflectance is less than a preset reflectance threshold, the material corresponding to the actual reflectance is taken as the material corresponding to the gray level.

6. The method according to claim 1, characterized in that, The step of determining the material corresponding to each gray level based on the target reflectivity includes: For each gray level, the target reflectance is converted into the corresponding density to obtain the actual density of each material. When the difference between the actual density and the target density is less than a preset density threshold, the material corresponding to the actual density is taken as the material corresponding to the gray level.

7. The method according to claim 1, characterized in that, The target inverse transformation relationship includes multiple inverse transformation relationships. The target inverse transformation relationship using HLG gamma characteristics performs an inverse transformation on the normalized level corresponding to each gray level to determine the relative value of scene brightness corresponding to each gray level, including: For each gray level in the normalized level sequence, the target range of the normalized level is determined. The normalized level is then inversely transformed using the inverse transformation relationship corresponding to the target range to obtain the relative value of the scene brightness corresponding to the gray level.

8. A reflective grayscale test card manufacturing apparatus, characterized in that, The device includes: The acquisition unit is used to acquire the normalized level corresponding to the first gray level, the normalized level corresponding to the second gray level, and the preset number of gray levels of the target imaging device. The first gray level is the highest brightness gray level in the HLG gamma characteristic, and the second gray level is the lowest brightness gray level in the HLG gamma characteristic. The segmentation unit is used to uniformly divide the normalized level range from the first gray level to the second gray level according to a preset number of gray levels, so as to obtain the normalized level corresponding to each gray level. The first determining unit is used to perform an inverse transformation on the normalized level corresponding to each gray level using the target inverse transformation relationship of HLG gamma characteristics, and determine the relative value of scene brightness corresponding to each gray level. The second determining unit is used to determine the target reflectivity corresponding to each gray level based on the relative value of scene brightness corresponding to each gray level under standard test illuminance conditions. The third determining unit is used to determine the material corresponding to each gray level based on the target reflectivity of each gray level, so as to manufacture a reflective grayscale test card based on the material corresponding to each gray level.

9. A computer device, characterized in that, It includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.