A method and system for evaluating the color representation capability of a multispectral sensor
By obtaining the quantum efficiency curve of the multispectral sensor and calculating the three-stimulus value, the color characterization ability of the multispectral sensor is solved, and the problem of being unable to quantify the color expression level of the multispectral sensor in the prior art is achieved, and a simple and accurate color characterization evaluation is achieved.
Patent Information
- Application Number
- CN202211072312.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-02
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2042-09-02
AI Technical Summary
The prior art lacks an effective method to evaluate the color characterization capabilities of multispectral sensors and cannot quantify the color expression levels of different multispectral sensors.
By obtaining the quantum efficiency curve of the multi-spectral sensor, the three-stimulus values of each channel are calculated, and the color coordinates are determined in the chromaticity coordinate system, the color characterization capabilities of the multi-spectral sensor are evaluated, the optical signal is measured using a monochromator and an optical power meter, and the data calculation is performed in combination with a processor and memory.
It provides a simple and easy method to clearly evaluate the color expression ability of multispectral sensors, with simple operation and accurate results, and is suitable for the evaluation of color characterization ability of multispectral sensors.
Smart Images

Figure CN115406531B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of sensor technology, and in particular to a method and device for evaluating the color representation capability of a multispectral sensor. Background Art
[0002] Existing digital image sensor evaluation metrics include image dimensional uniformity and distortion, but do not include an assessment of color resolution. When digital image sensors capture a richer range of colors, some sensors can express a wider variety of colors, while others can only express a smaller variety. Currently, there is a lack of a method to evaluate the color representation capabilities of a digital image sensor based on hardware metrics.
[0003] Multispectral sensors face the same problem. Their filtering performance varies widely, and there are no good quantitative indicators or methods to measure the color expression capabilities of different multispectral sensors. Summary of the Invention
[0004] In view of this, embodiments of the present application provide a method and apparatus for evaluating the color representation capability of a multispectral sensor, which can solve at least one technical problem in the related art.
[0005] In a first aspect, an embodiment of the present application provides a method for evaluating the color representation capability of a multispectral sensor, comprising: obtaining a quantum efficiency curve graph of the multispectral sensor to be tested; wherein the quantum efficiency curve graph includes several quantum efficiency curves, each quantum efficiency curve corresponding to a channel of the multispectral sensor to be tested; calculating the tristimulus values corresponding to each channel based on the quantum efficiency curves; calculating the color coordinates corresponding to each channel in a chromaticity coordinate system based on the tristimulus values; and evaluating the color representation capability of the multispectral sensor based on the color coordinates.
[0006] This embodiment provides a method for evaluating the color representation capability of a multispectral sensor. The method evaluates the color representation capability of the multispectral sensor by calculating the quantum efficiency curve of the multispectral sensor. The method is simple to operate, easy to implement, and provides clear analysis results.
[0007] In some embodiments, calculating the color coordinates corresponding to each channel in the chromaticity coordinate system based on the tristimulus values includes: calculating chromaticity values based on the tristimulus values, marking the chromaticity values corresponding to each channel in the chromaticity coordinate system, and obtaining the color coordinates corresponding to each channel.
[0008] In some embodiments, evaluating the color representation capability of the multispectral sensor based on the color coordinates includes: determining a first closed area with the largest area that can be enclosed by the color coordinates corresponding to all channels; determining an area ratio of the first closed area compared to a second closed area enclosed by a standard chromaticity diagram, and determining the color representation capability of the multispectral sensor based on the area ratio.
[0009] In some embodiments, the color representation capability of the multispectral sensor is proportional to the area ratio.
[0010] In some embodiments, determining the maximum closed area that can be enclosed by the color coordinates corresponding to all channels includes: representing the color coordinates corresponding to all channels in a standard chromaticity diagram to obtain a plurality of coordinate points; and connecting at least some of the plurality of coordinate points to obtain a first closed area with the largest area.
[0011] In some embodiments, evaluating the color representation capability of the multispectral sensor based on the color coordinates includes: determining a first closed area with the largest area that can be enclosed by the color coordinates corresponding to all channels; and obtaining the color representation capability of the multispectral sensor based on the area of the first closed area.
[0012] In some embodiments, the color representation capability is proportional to the area size.
[0013] In a second aspect, an embodiment of the present application provides a system for evaluating the color representation capability of a multispectral sensor, comprising a monochromator, an optical power meter, a processor, a memory, and a computer program stored in the memory and executable on the processor; the monochromator is configured to provide a narrow-band optical signal for the multispectral sensor to be tested; the optical power meter is configured to measure the optical power value of the optical signal; the processor is configured to obtain the exposure time and output signal of the multispectral sensor to be tested under the optical signal, and calculate the quantum efficiency based on the exposure time, the output signal, and the optical power value of the optical signal to obtain a quantum efficiency curve of the multispectral sensor to be tested, and is further configured to implement the method for evaluating the color representation capability of the multispectral sensor as described in any embodiment of the first aspect when executing the computer program.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for evaluating the color characterization capability of a multispectral sensor as described in any embodiment of the first aspect is implemented.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for evaluating the color characterization capability of a multispectral sensor as described in any embodiment of the first aspect is implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the method for evaluating the color characterization capability of a multispectral sensor as described in any embodiment of the first aspect.
[0017] It should be understood that the beneficial effects of the second to fifth aspects can be found in the relevant description of the embodiment of the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0019] Figure 1 This is a schematic diagram of the structure of a system for evaluating the color representation capability of a multispectral sensor provided in one embodiment of the present application;
[0020] Figure 2 1 is a schematic diagram of a quantum efficiency curve of an 8-channel multispectral sensor provided in one embodiment of the present application;
[0021] Figure 3 1 is a schematic diagram of a quantum efficiency curve of a 3-channel multispectral sensor provided in one embodiment of the present application;
[0022] Figure 4 This is a schematic diagram of an implementation flow of a method for evaluating the color representation capability of a multispectral sensor provided in one embodiment of the present application;
[0023] Figure 5 This is a schematic diagram of the implementation process of step S440 in a method for evaluating the color representation capability of a multispectral sensor provided in one embodiment of the present application;
[0024] Figure 6 This is a schematic diagram of color coordinates of an 8-channel multispectral sensor provided in one embodiment of the present application;
[0025] Figure 7 This is a schematic diagram of color coordinates of a 3-channel multispectral sensor provided in one embodiment of the present application;
[0026] Figure 8This is a schematic structural diagram of a device for evaluating the color representation capability of a multispectral sensor provided in one embodiment of the present application;
[0027] Figure 9 This is a schematic structural diagram of an evaluation module in an evaluation device for the color representation capability of a multispectral sensor provided in one embodiment of the present application;
[0028] Figure 10 Schematic diagram of the structure of an evaluation module in an evaluation device for the color representation capability of a multispectral sensor provided in another embodiment of the present application. DETAILED DESCRIPTION
[0029] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.
[0030] The term "and / or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0031] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of the present application include a particular feature, structure, or characteristic described in conjunction with that embodiment. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in yet other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0032] In addition, in the description of this application, "a plurality of" means two or more. The terms "first" and "second" are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0033] In order to illustrate the technical solution described in this application, specific embodiments are provided below.
[0034] A multispectral sensor is a digital image sensor that utilizes multispectral imaging technology. The multispectral sensor includes several detectors corresponding to different wavelength bands, which are used to collect spectral information of different wavelength bands to obtain multispectral images. General single-band imaging is to place the target to be detected under a single-band detection light (essentially an electromagnetic wave) to collect the radiation brightness and obtain a spectral image. The multispectral imaging utilized by the multispectral sensor is to place the target to be detected under detection light of different wavelength bands to collect the radiation brightness and obtain a multispectral image. In essence, a digital image sensor converts a certain number of photons incident on the pixel surface during the exposure time into a certain number of electrons, and then converts them into a voltage signal of a certain amplitude through a capacitor that stores these charges. This signal is amplified and quantized and finally becomes the grayscale value of the digital image. The photoelectric performance of digital image sensors needs to be tested during the manufacturing process. The evaluation of the color representation capability of multispectral sensors in this application is also a test of photoelectric performance.
[0035] The evaluation of the color representation capability of a multispectral sensor is used to determine whether the color gamut of a manufactured multispectral sensor meets expected requirements. Assuming a certain number of channels, the color gamut is the primary indicator of multispectral sensor quality. The color gamut refers to the range of colors that can be expressed by a given color representation mode, and also refers to the range of colors that can be expressed by specific media such as screen displays, digital output, and printed reproduction. On the production line, after evaluating the color representation capability of the multispectral sensor on proof-produced products, if the color gamut does not meet expected requirements, the production process must be adjusted accordingly to ensure that the performance of subsequent mass-produced multispectral sensors meets expectations.
[0036] See also Figure 1 , Figure 1 Figure 1 is a schematic diagram of a system for evaluating the color representation capabilities of a multispectral sensor, according to one embodiment of the present invention. In this embodiment, the system includes a processor 110, a memory 111, a computer program 112 stored in the memory 111 and executable on the processor 110, a monochromator 120, and an optical power meter 121.
[0037] The monochromator 120 is a spectroscopic instrument suitable for generating monochromatic light. The monochromator can output a series of independent optical signals with a sufficiently narrow spectral range, and the wavelength of the output optical signal can be continuously adjusted as needed. In this embodiment, the monochromator 120 is used to provide an optical signal with a narrow wavelength band for the multi-spectral sensor to be tested. The optical power meter 121 refers to an instrument used to measure the absolute optical power or the relative loss of optical power passing through a section of optical fiber. In this embodiment, the optical power meter 121 is used to measure the optical power value of the optical signal output by the monochromator 120. The processor 110, the memory 111, and the computer program 112 stored in the memory 111 and executable on the processor 110 can be integrated into an electronic device, which is not limited here.
[0038] In this embodiment, the evaluation system for the color representation capability of a multispectral sensor can be used to evaluate the color representation capability of a multispectral sensor. To better illustrate how the evaluation system evaluates the color representation capability of a multispectral sensor, the following briefly describes the test principle:
[0039] The color representation capability of a multispectral sensor is related to the quantum efficiency corresponding to each channel of the multispectral sensor. The quantum efficiency is defined as the ratio of the number of photoelectrons generated by the absorption of incident photons by the multispectral sensor to the number of incident photons. It reflects the spectral sensitivity of the imaging device within the spectral response range.
[0040] When measuring quantum efficiency, first use an optical power meter to measure the energy of a monochromatic uniform light source at a certain light intensity and test the output signal of the device under this monochromatic light. According to formula (1), calculate the light energy E received by a single pixel in a certain integration time at a specific wavelength: λ .
[0041]
[0042] Where P is the output power of the optical power meter, A d is the pixel area of the sensor being measured, T is the sensor integration time, A s is the optical power meter probe area.
[0043] The energy of a single photon at a specific wavelength λ is calculated using formula (2).
[0044]
[0045] Where h is the Planck point constant and c is the speed of light in a vacuum.
[0046] According to formula (3), the number of photons N received by each pixel during the integration time is calculated as λ .
[0047]
[0048] Among them, E λ Indicates the light energy received by each pixel within a certain integration time, E γ Represents the energy of a single photon.
[0049] Then calculate the number of electrons N generated and collected by each pixel according to formula (4): e .
[0050]
[0051] Where V0 represents the sensor output signal (Dn), S V Represents the conversion gain of the sensor (DN / e-). According to the definition of quantum efficiency, the quantum efficiency η is calculated according to formula (5).
[0052]
[0053] Among them, N e Represents the number of electrons per pixel, N λ It represents the number of photons received by each pixel during the integration time.
[0054] The quantum efficiency test steps include: first, calibrate the optical power of different wavelengths, place the optical power meter probe in position A in front of a monochromatic uniform light source, ensure that the monochromatic light source can evenly illuminate the optical power meter probe, scan the monochromator at a fixed step distance within the measurement wavelength range, and record the optical power value P at each wavelength; remove the optical power meter, place the sensor to be tested in the same position A, ensure that the monochromatic light source can evenly illuminate the surface of the sensor to be tested, scan the monochromator at a fixed step distance within the measurement wavelength range, adjust the sensor exposure time at each wavelength so that the sensor output value reaches half saturation, and record the exposure time T and the sensor output mean (DN) at each wavelength; in order to facilitate material collection, you can also fix the image sensor exposure time, but ensure that the sensor output is not overexposed. Among them, exposure time refers to the exposure time of the sensor, and output mean refers to the signal value of the sensor, which is expressed as a digital quantity (DN). Because we need to obtain the number of photoelectrons (e-) collected by the sensor within a certain exposure time, and the number of electrons is difficult to measure, the ratio of the output signal value (DN) to the conversion gain (DN / e-) is used to indirectly calculate the number of electrons (e-). The conversion gain (the unit can be DN / e- or uV / e-) can be understood as the conversion coefficient of the signal conversion stage (charge > voltage > digital signal) collected by the image sensor.
[0055] In this embodiment, the processor 110 obtains the quantum efficiency of each channel of the multispectral sensor based on the above test steps, and then obtains the quantum efficiency curve of the sensor. The quantum efficiency curve of the multispectral sensor includes a plurality of quantum efficiency curves, each of which corresponds to a channel of the multispectral sensor. Taking a multispectral sensor with 8 channels as an example, Figure 2 As shown in the figure, the quantum efficiency curves of the 8 channels of the multispectral sensor can be measured, where each of the 8 quantum efficiency curves corresponds to one channel; the multispectral sensor is 3 channels, as shown in the figure. Figure 3 As shown, the quantum efficiency curves of the three channels of the multispectral sensor can be measured, wherein each of the three quantum efficiency curves corresponds to one channel.
[0056] The embodiment of the present application proposes a method for evaluating the color representation capability of a multispectral sensor. The system test provided by the above embodiment can be used to obtain a quantum efficiency curve of the multispectral sensor, and further evaluate the color expression capability range of the multispectral sensor. The operation is simple, easy to implement, and the analysis results are clear.
[0057] Figure 4 This is a schematic diagram of the implementation flow of a method for evaluating the color representation capability of a multispectral sensor provided in an embodiment of the present application. The evaluation method in this embodiment can be executed by an electronic device. Figure 4 As shown, the evaluation method may include steps S410 to S440.
[0058] S410: Obtain a quantum efficiency curve of the multispectral sensor to be tested.
[0059] The quantum efficiency curve graph includes several quantum efficiency curves, each corresponding to a channel of the multispectral sensor to be measured. The embodiment of the present application does not limit the number of channels of the multispectral sensor, for example, 4 channels, 8 channels, 9 channels, etc.
[0060] S420: Calculate tristimulus values corresponding to each channel according to the quantum efficiency curve.
[0061] After obtaining the quantum efficiency curves of all channels, the electronic device calculates the tristimulus values corresponding to each channel based on the quantum efficiency curves of each channel. The tristimulus values include X (the amount of red primary color stimulation), Y (the amount of green primary color stimulation), and Z (the amount of blue primary color stimulation).
[0062] The embodiments of the present application do not specifically limit the method for calculating tristimulus values based on the quantum efficiency curve, and all methods that can be used to achieve the purpose of the invention of this application can be used in this application.
[0063] In one embodiment, the quantum efficiency curve of the first channel is: C1=c_1(1,m), Wavelength=w(1,m), where m represents the number of wavelengths. The X, Y, and Z tristimulus values of the first channel are calculated based on the quantum efficiency curve:
[0064] C1_X=X.*C1
[0065] =s_x(1)*c_1(1)+s_x(2)*c_1(2)+......+s_x(m)*c_1(m)
[0066] C1_Y=Y.*C1
[0067] =s_y(1)*c_1(1)+s_y(2)*c_1(2)+......+s_y(m)*c_1(m)
[0068] C1_Z=Z.*C1
[0069] =s_z(1)*c_1(1)+s_z(2)*c_1(2)+......+s_z(m)*c_1(m)
[0070] Where C1_X, C1_Y, and C1_Z represent the X, Y, and Z tristimulus values of the first channel, respectively. X., Y., and Z. represent the XYZ parameter values of CIE1931XYZ, respectively. C1 represents the quantum efficiency curve of the first channel. s_x is the matrix representation of the tristimulus values X, s_y is the matrix representation of the tristimulus values Y, and s_z is the matrix representation of the tristimulus values Z. The tristimulus values of other channels can be calculated using the same method.
[0071] S430: Calculate the color coordinates corresponding to each channel in the chromaticity coordinate system according to the tristimulus values.
[0072] The embodiments of the present application do not specifically limit the method for calculating color coordinates based on tristimulus values, and all methods that can be used to achieve the purpose of the invention of the present application can be used in the present application.
[0073] In one embodiment, the chromaticity value is calculated according to the tristimulus values, and the chromaticity value corresponding to each channel is marked in a chromaticity coordinate system to obtain the color coordinate corresponding to each channel.
[0074] Specifically, for the first channel, the chromaticity value of the first channel is calculated according to the X, Y, and Z tristimulus values of the first channel:
[0075]
[0076] Where C1_X, C1_Y, and C1_Z represent the X, Y, and Z tristimulus values of the first channel, respectively. It should be noted that since C1_x + C1_y + C1_z = 1, the chromaticity value of the first channel can be expressed using only (C1_x, C1_y). By marking the chromaticity values (C1_x, C1_y) corresponding to the first channel in the chromaticity coordinate system, the color coordinates corresponding to the first channel can be obtained. The color coordinates of the remaining channels can be calculated using the same method.
[0077] S440, evaluating the color representation capability of a multispectral sensor based on color coordinates.
[0078] After obtaining the color coordinates corresponding to all channels, the electronic device evaluates the color representation capability of the multispectral sensor based on these color coordinates.
[0079] In some possible embodiments, the color representation capability of a multispectral sensor can be evaluated based on the area of the enclosed region defined by these color coordinates. The larger the enclosed region, the stronger the color representation capability of the multispectral sensor, and vice versa. Color representation capability is proportional to the size of the enclosed region. Preferably, in one embodiment, the color representation capability of a multispectral sensor can be evaluated based on the largest enclosed region defined by these color coordinates.
[0080] In some other possible embodiments, the area of the first closed area enclosed by these color coordinates can be compared with the area of the second closed area enclosed by the standard chromaticity diagram to obtain the color representation capability of the multispectral sensor. Specifically, the ratio of the area of the first closed area to the area of the second closed area is determined. The larger the ratio, the stronger the color representation capability of the multispectral sensor. The color representation capability is proportional to the ratio. Preferably, in one embodiment, Figure 5 As shown, step S440 may include steps S441 and S442.
[0081] S441 , determining a first closed region with the largest area that can be enclosed by the color coordinates corresponding to all channels.
[0082] S442 : Determine an area ratio of the first closed area to the second closed area enclosed by the standard chromaticity diagram, and determine a color representation capability of the multispectral sensor based on the area ratio.
[0083] In one possible implementation, step S441 includes: representing the color coordinates corresponding to all channels in a standard chromaticity diagram to obtain a plurality of coordinate points; and connecting at least some of the plurality of coordinate points to obtain a first closed region with the largest area.
[0084] As a non-limiting example, Figure 1The 8 color coordinates corresponding to the 8 channels shown are plotted in the standard chromaticity diagram, and the following is obtained: Figure 6 To get the first closed region with the largest area, we can find the outermost circle and connect it with straight lines to form a closed region, as shown in Figure 1. Figure 6 The larger the area of region B, the stronger the color representation capability of the multispectral sensor. As an alternative to this non-limiting example, continue to refer to Figure 6 As shown, region A is a second closed area enclosed by the standard chromaticity diagram, and the proportion of region B compared to region A is determined. The larger the proportion, the stronger the color representation ability of the multispectral sensor, and vice versa.
[0085] As another non-limiting example, Figure 3 The three color coordinates corresponding to the three channels shown are plotted in the standard chromaticity diagram, and the following is obtained: Figure 7 The three circles shown in the figure can be connected by a straight line to form a first closed area. The larger the area of the first closed area, Figure 3 The stronger the color representation capability of the 3-channel multispectral sensor shown, the wider the color gamut that the multispectral sensor can detect. As an alternative to this non-limiting example, continue to refer to Figure 7 As shown, the area ratio of the first closed area to the second closed area enclosed by the standard chromaticity diagram is determined. The larger the area ratio, the stronger the color representation capability of the multispectral sensor, and vice versa.
[0086] It should be noted that, compared Figure 6 and Figure 7 It can be concluded that the color representation capability of an 8-channel multispectral sensor is better than that of a 3-channel multispectral sensor. In other words, the narrower the channel quantum efficiency curve, the wider the color gamut that can be expressed.
[0087] This embodiment provides a method for evaluating the color representation capability of a multispectral sensor. The method evaluates the color representation capability of the multispectral sensor by calculating the quantum efficiency curve of the multispectral sensor. The method is simple to operate, easy to implement, and provides clear analysis results.
[0088] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0089] One embodiment of the present application further provides an evaluation device for the color representation capability of a multispectral sensor. Where the evaluation device is not described in detail, please refer to the description of the evaluation method embodiment above for details.
[0090] See also Figure 8 , Figure 8This is a schematic diagram of the structure of an evaluation device for the color representation capability of a multi-spectral sensor provided in one embodiment of the present application. The evaluation device includes: an acquisition module 71, a first calculation module 72, a second calculation module 73, and an evaluation module 74. The acquisition module 71 is used to obtain a quantum efficiency curve diagram of the multi-spectral sensor to be tested. The quantum efficiency curve diagram includes a plurality of quantum efficiency curves, each quantum efficiency curve corresponding to a channel of the multi-spectral sensor to be tested. The first calculation module 72 is used to calculate the tristimulus values corresponding to each channel based on the quantum efficiency curve. The second calculation module 73 is used to calculate the color coordinates corresponding to each channel in the chromaticity coordinate system based on the tristimulus values. The evaluation module 74 is used to evaluate the color representation capability of the multi-spectral sensor based on the color coordinates.
[0091] In some embodiments, the second calculation module 73 is specifically configured to calculate chromaticity values according to the tristimulus values, mark the chromaticity values corresponding to each channel in a chromaticity coordinate system, and obtain color coordinates corresponding to each channel.
[0092] In some embodiments, as Figure 9 As shown, evaluation module 74 includes a first determination submodule 741 and a first comparison submodule 742. First determination submodule 741 is configured to determine a first enclosed area with the largest area enclosed by the color coordinates corresponding to all channels. First comparison submodule 742 is configured to determine the area ratio of the first enclosed area to the area ratio of a second enclosed area enclosed by a standard chromaticity diagram, and to determine the color representation capability of the multispectral sensor based on the area ratio. The color representation capability of the multispectral sensor is proportional to the area ratio.
[0093] In some embodiments, the first determining submodule 741 is specifically configured to: represent the color coordinates corresponding to all channels in a standard chromaticity diagram to obtain a plurality of coordinate points; and connect at least some of the plurality of coordinate points to obtain a first closed region with the largest area.
[0094] In some other embodiments, such as Figure 10 As shown, evaluation module 74 includes a second determination submodule 743 and a second acquisition submodule 744. Second determination submodule 743 is configured to determine the largest first closed area enclosed by the color coordinates corresponding to all channels. Second acquisition submodule 744 is configured to obtain the color representation capability of the multispectral sensor based on the size of the first closed area. The color representation capability of the multispectral sensor is proportional to the size of the first closed area.
[0095] In the embodiment of the present application, the electronic device may include one or more processors 110 ( Figure 1Only one is shown in the figure), memory 111, and a computer program 112 stored in memory 111 and executable on one or more processors 110, for example, a program for evaluating the color representation capability of a multispectral sensor. When one or more processors 110 execute computer program 112, each step of an embodiment of a method for evaluating the color representation capability of a multispectral sensor can be implemented. Alternatively, when one or more processors 110 execute computer program 112, each module / unit in an embodiment of an apparatus for evaluating the color representation capability of a multispectral sensor can be implemented, without limitation herein.
[0096] Those skilled in the art will understand that Figure 1 The electronic devices shown in the figure are merely examples of electronic devices and do not limit the scope of the electronic devices. The electronic devices may include more or fewer components than shown in the figure, or may combine certain components or different components. For example, the electronic devices may also include input and output devices, network access devices, buses, etc.
[0097] In one embodiment, the processor 110 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0098] In one embodiment, the memory 111 may be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device. The memory 111 may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device. Furthermore, the memory 111 may include both an internal storage unit of the electronic device and an external storage device. The memory 111 is used to store computer programs and other programs and data required by the electronic device. The memory 111 may also be used to temporarily store data that has been output or is about to be output.
[0099] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0100] An embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the steps of the method for evaluating the color representation capability of a multispectral sensor can be implemented.
[0101] An embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device can implement the steps of the embodiment of the method for evaluating the color representation capability of a multispectral sensor.
[0102] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0103] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0104] In the embodiments provided in this application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0105] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0106] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0107] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned method embodiment, and the computer program that can be completed by instructing the relevant hardware through a computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0108] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A method for evaluating the color representation capability of a multispectral sensor, characterized in that: include: Obtaining a quantum efficiency curve graph of the multispectral sensor to be tested; wherein the quantum efficiency curve graph includes a plurality of quantum efficiency curves, each quantum efficiency curve corresponding to a channel of the multispectral sensor to be tested; Calculate the tristimulus values corresponding to each channel according to the quantum efficiency curve; Calculate the color coordinates corresponding to each channel in the chromaticity coordinate system according to the tristimulus values; Evaluating the color representation capability of the multispectral sensor according to the color coordinates includes: Determine a first closed region with the largest area that can be enclosed by the color coordinates corresponding to all channels; determining an area ratio of the first closed area to an area ratio of a second closed area enclosed by a standard chromaticity diagram, and determining a color representation capability of the multispectral sensor based on the area ratio; or Determine a first closed region with the largest area that can be enclosed by the color coordinates corresponding to all channels; The color representation capability of the multispectral sensor is obtained according to the area of the first closed area.
2. The evaluation method according to claim 1, wherein: Calculating the color coordinates corresponding to each channel in the chromaticity coordinate system according to the tristimulus values includes: The chromaticity value is calculated according to the three stimulus values, and the chromaticity value corresponding to each channel is marked in a chromaticity coordinate system to obtain the color coordinate corresponding to each channel.
3. The evaluation method according to claim 1, wherein: The color representation capability of the multispectral sensor is proportional to the area ratio.
4. The evaluation method according to claim 1, wherein: The determining of the first closed area with the largest area that can be enclosed by the color coordinates corresponding to all channels includes: The color coordinates corresponding to all channels are expressed in a standard chromaticity diagram to obtain a plurality of coordinate points; and at least some of the plurality of coordinate points are connected to obtain a first closed region with the largest area.
5. The evaluation method according to claim 1, wherein: The color representation capability is proportional to the area size.
6. A system for evaluating the color representation capability of a multispectral sensor, characterized in that: The optical device comprises a monochromator, an optical power meter, a processor, a memory, and a computer program stored in the memory and executable on the processor; The monochromator is used to provide a narrow-band optical signal for the multi-spectral sensor to be tested; The optical power meter is used to measure the optical power value of the optical signal; The processor is used to obtain the exposure time and output signal of the multispectral sensor to be tested under the light signal, and calculate the quantum efficiency based on the exposure time, the output signal and the optical power value of the light signal to obtain a quantum efficiency curve graph of the multispectral sensor to be tested, and is also used to implement the evaluation method according to any one of claims 1 to 5 when executing a computer program.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the evaluation method according to any one of claims 1 to 5 is implemented.
8. A computer storage medium storing a computer program, wherein: When the computer program is executed by a processor, the evaluation method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Quantum efficiency calibration device and calibrating method for CCD (charge coupled device)
CN103308280A
A design method of wide color gamut and high light efficiency spectrum
CN108984935A