Imaging Device and Method, Apparatus, and Storage Medium for Eliminating Moiré Patterns
By determining the color and width of the interference fringe in the CMOS imaging device, and accurately determining the interference fundamental frequency in combination with spectrum data, the problem of inaccurate removal of interference fringe in the prior art is solved, and efficient interference fringe removal is achieved.
Patent Information
- Application Number
- CN202210949483.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-09
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2042-08-09
AI Technical Summary
In the prior art, due to the lack of confirmation of interference frequency, the interference source cannot be accurately positioned, which makes it impossible to effectively eliminate interference fringes in CMOS imaging equipment.
By obtaining the screen displayed by the imaging device, determining the color and width of the stripes, combining the spectrum data of the simulated power supply, determining the interference frequency and offset, and then accurately determining the interference fundamental frequency, and eliminating the interference fringes is performed based on the interference fundamental frequency.
Improve the accuracy and efficiency of interference elimination and reduce the cost of elimination.
Smart Images

Figure CN115174832B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of CMOS imaging, and particularly to an imaging device, a method, a device, and a storage medium for eliminating interference fringes thereof. Background Art
[0002] A CMOS image sensor is a solid-state imaging sensor. A common pixel structure in a CMOS image sensor is a 3T model or a 4T model. Under the control of a reset transistor, a photodiode PD periodically enters a reset state and an integration state, and then reads out an effective optical signal. During the process of reading the optical signal, if there is a fluctuation in the AVDD power supply, since the CMOS image sensor outputs through row scanning, this fluctuation will eventually be coupled to the output result, thereby generating horizontal stripes.
[0003] Currently, the positioning of this interference problem usually adopts an empirical trial method. By adding shielding measures such as shielding covers and wave-absorbing materials to eliminate the stripes generated by interference, due to the lack of confirmation of the interference frequency, the interference source cannot be accurately located, which is not conducive to accurately eliminating the interference source. Summary of the Invention
[0004] In view of this, embodiments of the present application provide an imaging device, a method, a device, and a storage medium for eliminating interference fringes thereof, so as to solve the problem in the prior art that due to the lack of confirmation of the interference frequency, the interference source cannot be accurately located, which is not conducive to accurately eliminating the interference source.
[0005] The first aspect of the embodiments of the present application provides a method for eliminating interference fringes of an imaging device, and the method includes:
[0006] Obtain the image displayed by the imaging device, and determine the color and width of the stripes in the image;
[0007] Determine the frequency point close to the interference frequency according to the color of the stripes, and determine the offset of the interference source relative to the close frequency point according to the width of the stripes;
[0008] Obtain the spectrum data of the analog power supply of the imaging device, and determine the interference fundamental frequency of the imaging device according to the spectrum data and the offset of the interference source relative to the close frequency point;
[0009] Perform interference fringe elimination processing according to the determined interference fundamental frequency.
[0010] In combination with the first aspect, in the first possible implementation manner of the first aspect, determining the frequency point close to the interference frequency according to the color of the stripes includes:
[0011] When the color of the stripe is a red and blue stripe, the frequency point that the interference frequency approaches is N times the line scanning frequency;
[0012] When the color of the stripe is a green and purple stripe, the frequency point that the interference frequency approaches is N.5 times the line scanning frequency, where N is a positive integer.
[0013] Combined with the first aspect, in the second possible implementation manner of the first aspect, determining the offset of the interference source relative to the frequency point it approaches according to the width of the stripe includes:
[0014] Determining the offset of the interference source relative to the frequency point it approaches according to the number of lines of the stripe generated by the stripe width in the picture.
[0015] Combined with the first aspect, in the third possible implementation manner of the first aspect, determining the interference fundamental frequency of the imaging device according to the spectral data and the offset of the interference source relative to the frequency point it approaches includes:
[0016] Determining a first set of frequency points higher than the fundamental frequency in the spectral data;
[0017] Determining a second set of frequency points according to the determined offset relative to the frequency point it approaches;
[0018] Determining the interference fundamental frequency of the imaging device according to the first set of frequency points and the second set of frequency points.
[0019] Combined with the third possible implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect, determining the interference fundamental frequency of the imaging device according to the first set of frequency points and the second set of frequency points includes:
[0020] Determining the same frequency points included in the first set of frequency points and the second set of frequency points;
[0021] Determining the interference fundamental frequency of the imaging device according to the multiple relationship between the same frequency points.
[0022] Combined with the third possible implementation manner of the first aspect, in the fifth possible implementation manner of the first aspect, performing interference stripe elimination processing according to the determined interference fundamental frequency includes:
[0023] Establishing a simulation model according to the circuit of the imaging device, where the simulation model includes the isolation degree between the interference source and the device under interference;
[0024] Adjusting the isolation degree of the circuit according to the simulation model, obtaining the influence of the change in the isolation degree on the interference fundamental frequency, and determining the interference stripe elimination processing of the imaging device according to the influence.
[0025] Combined with the fifth possible implementation of the first aspect, in the sixth possible implementation of the first aspect, adjusting the isolation degree of the circuit according to the simulation model includes:
[0026] Adjusting the position of the trimming block of the circuit included in the simulation model to adjust the isolation degree of the circuit;
[0027] And / or, adding isolation devices between the trimming blocks of the circuit to adjust the isolation degree of the circuit.
[0028] A second aspect of the embodiments of the present application provides an interference stripe elimination device for an imaging device, the device includes:
[0029] A picture determination unit, configured to obtain the picture displayed by the imaging device and determine the color and width of the stripes in the picture;
[0030] An interference source frequency point determination unit, configured to determine the frequency point close to the interference frequency according to the color of the stripes, and determine the offset of the interference source relative to the close frequency point according to the width of the stripes;
[0031] An interference fundamental frequency determination unit, configured to obtain the spectrum data of the analog power supply of the imaging device, and determine the interference fundamental frequency of the imaging device according to the spectrum data and the offset of the interference source relative to the close frequency point;
[0032] An interference elimination unit, configured to perform interference stripe elimination processing according to the determined interference fundamental frequency.
[0033] A third aspect of the embodiments of the present application provides an imaging device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where when the processor executes the computer program, the steps of the method according to any one of the first aspect are implemented.
[0034] A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of the first aspect are implemented.
[0035] The beneficial effects of the embodiments of the present application compared with the prior art are as follows: By obtaining the screen displayed by the imaging device, determining the frequency point close to the interference frequency based on the color of the stripes in the screen, limiting the offset of the interference source relative to the close frequency point based on the width of the stripes, obtaining the spectrum data of the analog power supply of the imaging device, and combining the offset of the interference source relative to the close frequency point, the interference fundamental frequency of the imaging device is determined, so as to perform the elimination process of the interference stripes according to the determined interference fundamental frequency. Since the present application can more accurately determine the interference fundamental frequency of the interference source, it is convenient to perform accurate and effective interference stripe elimination processing according to the interference fundamental frequency, which is beneficial to improving the interference elimination efficiency and saving the interference elimination cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0037] Figure 1 is a schematic diagram of the pixel structure of a 3T model of a CMOS image sensor;
[0038] Figure 2 is a schematic diagram of the implementation process of a method for eliminating interference stripes of an imaging device provided by an embodiment of the present application;
[0039] Figure 3 is a schematic diagram of a device for eliminating interference stripes of an imaging device provided by an embodiment of the present application;
[0040] Figure 4 is a schematic diagram of an imaging device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0041] In the following description, specific details such as specific system structures and technologies are proposed for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also 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 unnecessary details from interfering with the description of the present application.
[0042] In order to illustrate the technical solutions described in the present application, the following will be described through specific embodiments.
[0043] The typical pixel structure of a CMOS image sensor is a 3T or 4T model. For example Figure 1Schematic diagram of the pixel structure of a 3T model (including three CMOS transistors Q1, Q2, and Q3) of a typical CMOS image sensor. Under the control of the reset transistor Q1, the photodiode PD periodically enters the reset state and the integration state, and then reads out the effective optical signal. During this process, if there is a fluctuation in the power supply AVDD, since the CMOS image sensor outputs through row scanning, this fluctuation will also be coupled to the final output result, resulting in horizontal stripes. Therefore, when the analog circuit part of the CMOS image sensor is disturbed, especially when the analog power supply is disturbed, it will cause the horizontal stripe problem in the CMOS image sensor.
[0044] To eliminate this problem, the embodiment of the present application proposes a method for eliminating interference stripes of an imaging device, as Figure 2 shown, this method includes:
[0045] In S201, obtain the picture displayed by the imaging device, and determine the color and width of the stripes in the picture.
[0046] When the CMOS image sensor performs imaging scanning in a row scanning manner, the multiple frequency relationship between the external interference signal frequency and its row scanning frequency will cause different stripe manifestations in the picture. Therefore, the proximity of the interference frequency to the frequency points of integer multiple frequency or N.5 multiple frequency can be determined by the number of stripes or the width of the stripes in the picture.
[0047] The picture displayed by the image collected by the CMOS image sensor also needs to go through ISP (English full name: Image Signal Processor, Chinese full name: Image Signal Processing). After being processed by ISP, abnormal stripes in the picture will form an envelope frequency. When the interference frequency is N.5 times the row scanning frequency, fine stripes will form an envelope frequency. The width of the stripes generated by the envelope frequency corresponding to N.5 multiple frequency is the same as the width of the stripes generated when the interference frequency is N times the row scanning frequency, but the colors are different. Therefore, the proximity of the interference stripes to the frequency point of N times the row scanning frequency or N.5 times the row scanning frequency can be identified by collecting the color of the stripes in the picture.
[0048] In the embodiment of the present application, when collecting the picture displayed by the imaging device, the image data stream can be directly read from the image display channel, and the displayed picture can be determined according to the read image data stream. Or, the display picture of the image collected by the CMOS image sensor can also be taken by a camera. For example, the display picture of the image collected by the CMOS image sensor can be taken in a fixed shooting scene without environmental interference.
[0049] In a possible implementation, a light box can be set up in the shooting scene. When the imaging device is powered on, the light box is preheated, and the maximum gain of the imaging device is set. Since the exposure time of the CMOS image sensor affects the brightness performance of the picture, the picture brightness of different imaging devices can be kept uniform by setting the maximum gain and varying the exposure time, which is beneficial to improving the accuracy of horizontal stripe detection during horizontal stripe detection.
[0050] For the displayed picture, in a way of horizontal projection, for the data in one row of the currently processed picture, by averaging all the data in one row, the characteristics of this row can be characterized. By calculating the average value of each row of each channel (such as R, G, B channels) (i.e., performing horizontal projection on the image), one-dimensional data can be obtained, which can significantly reduce random noise and facilitate data processing. For example, after performing RGBY separation processing on the data after horizontal projection and filtering in the frequency domain, the peaks and valleys are detected to facilitate calculating the number of horizontal stripes, the amplitude of horizontal stripes, the frequency or wavelength of horizontal stripes, etc.
[0051] In a possible implementation, after collecting the picture displayed by the imaging device, the stripes in the picture can be identified and calculated according to the pre-set stripe features. For example, the pre-set stripe features can include color features of the stripes, etc. The color features can include features such as red, blue, green, and purple features.
[0052] Among them, when the size of the screen displaying the picture is fixed, the wider the width of the stripe, the smaller the number of stripes displayed in the picture. When the width of the stripe is thinner, the number of stripes displayed in the picture is larger. Therefore, according to either the width of the stripe or the number of stripes, the proximity or closeness of the interference frequency of the interference source to the multiple frequency point of the line scan frequency can be determined.
[0053] In S202, according to the color of the stripe, the frequency point that the interference frequency approaches is determined, and according to the width of the stripe, the offset of the interference source relative to the approaching frequency point is determined.
[0054] In the embodiments of the present application, since different stripe colors correspond to different frequency points that the interference frequency of the interference source approaches. The frequency point that the interference frequency approaches can be determined by the identified color of the stripe.
[0055] Since when the interference frequency approaches N.5 times the line scan frequency, fine stripes will form an envelope frequency, and the stripe width generated by the envelope frequency is the same as the stripe width near the N - multiple frequency of the line scan frequency. For example, the stripes when N = 2.499 times the frequency are basically the same as the stripes when N = 2.999 times the frequency.
[0056] For signals with envelopes, such as when the frequency multiplication factor N = 2.499, at the position where the amplitude changes the most, the brightness between adjacent rows jumps between 255 and 0, alternating between the R signal and the B signal. One of them is constantly high, the other is constantly low, and their phases are opposite. The G signal exists in each row. Therefore, the G signal has both high and low values. After the interpolation algorithm, the G signal (green) is "diluted", so the picture should show "red and blue stripes".
[0057] For signals without envelopes, since the interference signal itself is directly shown in the picture, there should be no color cast during the interpolation process. And because its stripes are wider, the illumination between adjacent rows changes slowly. After the interpolation algorithm, there will be no obvious color cast. The color cast appears in the AWB correction link. The basic principle is as follows: When the CMOS image sensor is normally photosensitive, the G signal is larger than the R signal and the B signal. To finally achieve white balance, the R signal and the B signal need to be multiplied by a gain, such as gain R and gain B respectively, and then the correct white balance can be achieved. When the interference signal is equally added to all three of RGB, after white balance correction, there will be a greenish and purplish color cast.
[0058] Therefore, it is possible to determine whether the envelope frequency is included in the stripes by the color of the stripes. That is, when the stripes show red and blue stripes, the envelope frequency is included in the stripes. When the stripes show a greenish and purplish color cast, the envelope frequency is not included in the stripes. When it is determined whether the envelope frequency is included in the stripes, it is possible to determine that the frequency of the interference source in the image is near N times or N.5 times the line scanning frequency.
[0059] After determining the width of the stripes, the number of stripes included in the picture can be determined based on the width of the stripes. Based on the width of the stripes or based on the number of stripes, the offset of the interference frequency of the interference source from the nearby frequency point can be determined, so as to accurately determine the frequency of the interference frequency.
[0060] For example, when the interference frequency is an integer multiple of the line scanning frequency, or when the interference frequency is N.5 times the line scanning frequency (N is a positive integer), there are no stripes in the picture. When the interference frequency is a multiple frequency other than N times or N.5 times the line scanning frequency, there are stripes in the picture. When the interference frequency is closer to N times the scanning frequency, the stripes in the picture appear thicker. When the interference frequency is closer to N.5 times the scanning frequency, the stripes appear finer.
[0061] Since the size of the picture is fixed, when the width of the stripes is wider, the number of rows of stripes in the picture is fewer. When the width of the stripes is thinner, the number of rows of stripes in the picture is more. Therefore, the possible values of the interference frequency can be calculated by the width of the stripes or the number of rows of stripes in the picture.
[0062] For example, when the number of stripes in the picture is 10 rows, that is, the total number of light and dark rows is 20 rows. When the interference frequency is N times or N.5 times the line scanning frequency, there are no stripes in the picture. The offset of the interference frequency relative to N times or N.5 times frequency can be calculated by a formula. For example, the calculation formula can be: m = 255(sin(2πkj)+1) / 2, where k is the interference frequency multiple number, j is the number of rows of interference stripes, and m is the brightness of each row calculated according to the theory. The multiple number of the interference frequency relative to the line scanning frequency can be calculated based on the number of rows of interference stripes and the brightness of each row.
[0063] In a possible implementation, the offset can be the quotient of the line scanning frequency and the number of stripes, that is, the product of the reciprocal of the number of rows of stripes and the scanning frequency. For example, the line scanning frequency of a CMOS image sensor is 40.5KHz, the number of stripes is 20, and the frequency point it approaches is N.5. When changing the value of N, possible interference frequencies can be obtained. That is, when it is determined that the stripes include an envelope frequency, it can be determined that the frequency point that the interference frequency approaches is the frequency point of N times the line scanning frequency. For different N values, combined with the calculated frequency deviation, possible interference frequencies of the interference source can be obtained.
[0064] In S203, obtain the spectrum data of the analog power supply of the imaging device, and determine the interference fundamental frequency of the imaging device according to the spectrum data and the offset of the interference source relative to the approached frequency point.
[0065] Due to different values of N, the interference frequencies of the corresponding multiples can be determined at this value, but the interference frequency of the interference source still cannot be accurately obtained. Therefore, the present application further obtains the spectrum data of the analog power supply of the imaging device. Based on the obtained spectrum data of the analog power supply of the imaging device, determine the first frequency point set composed of the frequency points where the interference frequency is located. According to the previously determined approached frequency point and the frequency deviation value, a second frequency point set can be determined. According to the same frequency points in the first frequency point set and the second frequency point set, the frequency points of the interference frequencies generated by the interference source in the first frequency point set can be determined.
[0066] For example, it is determined through the spectrum data that the frequency points of 500KHz and 1000KHz are significantly higher than the background noise. Therefore, it can be determined that there is noise here (at 500KHz and 1000KHz). According to the possible values of the interference frequency, it can be known that the noises at 500KHz and 1000KHz both belong to the interference frequency. Considering that 500KHz and 1000KHz are in a multiple relationship, it can be determined that the fundamental frequency of the interference frequency is 500KHz.
[0067] In S204, perform interference stripe elimination processing according to the determined interference fundamental frequency.
[0068] After determining the interference fundamental frequency of the imaging device, targeted isolation measures can be formulated based on the determined interference fundamental frequency. For example, a filter corresponding to this frequency can be set according to the interference fundamental frequency, or the layout can be adjusted.
[0069] In a possible implementation manner, the present application can establish a simulation model based on the interference fundamental frequency of the determined interference source and the PCB circuit. Based on the established simulation model, isolation simulation calculations are performed in the simulation system to determine a more effective isolation scheme for improvement measures, so as to facilitate directly applying the determined isolation scheme to the isolation processing of the imaging device to eliminate or reduce the horizontal stripes generated by the interference source.
[0070] In a possible implementation manner, the circuits in the printed circuit board can be first trimmed (for example, trimmed through Siwave software) to obtain the trimmed module. The trimmed module is converted to HFSS3D Layor, a 3D structure model and an S-parameter model are added, and the isolation degree simulation is performed by setting the simulation frequency band according to the interference fundamental frequency of the interference source. By continuously modifying the isolation strategy, including adjusting the position of the PCB trimming block and adding isolation devices such as shielding covers or absorbing materials. According to the simulation results, the best isolation scheme considering factors such as isolation effect and cost is determined, so as to effectively reduce the waste of materials caused during the test process and effectively improve the determination efficiency of isolation gravity.
[0071] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0072] Figure 3 This is a schematic diagram of an interference stripe elimination device for an imaging device provided by an embodiment of the present application, as Figure 3 shown, the device includes:
[0073] A screen determination unit 301, configured to obtain the screen displayed by the imaging device and determine the color and width of the stripes in the screen;
[0074] An interference source frequency point determination unit 302, configured to determine the frequency point close to the interference frequency according to the color of the stripes, and determine the offset of the interference source relative to the close frequency point according to the width of the stripes;
[0075] An interference fundamental frequency determination unit 303, configured to obtain the spectrum data of the analog power supply of the imaging device, and determine the interference fundamental frequency of the imaging device according to the spectrum data and the offset of the interference source relative to the close frequency point;
[0076] An interference cancellation unit 304 is configured to perform interference fringe cancellation processing based on the determined interference fundamental frequency.
[0077] Figure 3 The interference fringe cancellation device of the imaging device shown corresponds to Figure 2 the interference fringe cancellation method of the imaging device shown.
[0078] Figure 4 is a schematic diagram of an imaging device provided by an embodiment of the present application. As Figure 4 shown, the imaging device 4 of this embodiment includes: a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40, such as an interference fringe cancellation program for the imaging device. When the processor 40 executes the computer program 42, the steps in the above-mentioned embodiments of the interference fringe cancellation method for each imaging device are implemented. Alternatively, when the processor 40 executes the computer program 42, the functions of each module / unit in the above-mentioned device embodiments are implemented.
[0079] Exemplarily, the computer program 42 can be divided into one or more modules / units, and the one or more modules / units are stored in the memory 41 and executed by the processor 40 to complete the present application. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 42 in the imaging device 4.
[0080] The imaging device may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art can understand that Figure 4 this is only an example of the imaging device 4 and does not constitute a limitation on the imaging device 4. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, the imaging device may further include an input / output device, a network access device, a bus, etc.
[0081] The so-called processor 40 may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0082] The memory 41 may be an internal storage unit of the imaging device 4, such as a hard disk or memory of the imaging device 4. The memory 41 may also be an external storage device of the imaging device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the imaging device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the imaging device 4. The memory 41 is used to store the computer program and other programs and data required by the imaging device. The memory 41 may also be used to temporarily store data that has been output or will be output.
[0083] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, 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. Each functional unit and module in the embodiment can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be described in detail here.
[0084] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0085] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0086] In the embodiments provided in the present application, it should be understood that the disclosed device / terminal device and method can be implemented in other ways. For example, the device / terminal device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, 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 displayed or discussed couplings or direct couplings or communication connections between each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical or other forms.
[0087] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0088] In addition, in each embodiment of the present application, the functional units 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 units can be implemented in the form of hardware or in the form of software functional units.
[0089] 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, all or part of the processes in the above-mentioned method embodiments of the present application can also be completed by hardware related to computer program instructions. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included 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, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0090] The above-described 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 foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included within the protection scope of the present application.
Claims
1. A method for eliminating interference fringes of an imaging device, characterized in that, The method includes: Obtaining the screen displayed by the imaging device, and determining the color and width of the stripes in the screen; Determining the frequency point close to the interference frequency according to the color of the stripes, and determining the offset of the interference source relative to the close frequency point according to the width of the stripes; Obtaining the spectrum data of the analog power supply of the imaging device, and determining the interference fundamental frequency of the imaging device according to the spectrum data and the offset of the interference source relative to the close frequency point; Performing interference stripe elimination processing according to the determined interference fundamental frequency.
2. The method according to claim 1, wherein Determining the frequency point close to the interference frequency according to the color of the stripes includes: When the color of the stripes is red and blue stripes, the frequency point close to the interference frequency is N times the line scanning frequency; When the color of the stripes is green and purple stripes, the frequency point close to the interference frequency is N.5 times the line scanning frequency, where N is a positive integer.
3. The method according to claim 1, wherein Determining the offset of the interference source relative to the close frequency point according to the width of the stripes includes: Determining the offset of the interference source relative to the close frequency point according to the number of rows of the stripes generated in the screen according to the stripe width.
4. The method according to claim 1, wherein Determining the interference fundamental frequency of the imaging device according to the spectrum data and the offset of the interference source relative to the close frequency point includes: Determining a first set of frequency points higher than the fundamental frequency in the spectrum data; Determining a second set of frequency points according to the determined offset relative to the close frequency point; Determining the interference fundamental frequency of the imaging device according to the first set of frequency points and the second set of frequency points.
5. The method according to claim 4, characterized in that, Determining the interference fundamental frequency of the imaging device according to the first set of frequency points and the second set of frequency points includes: Determining the same frequency points included in the first set of frequency points and the second set of frequency points; Determining the interference fundamental frequency of the imaging device according to the multiple relationship between the same frequency points.
6. The method according to claim 4, wherein Performing interference stripe elimination processing according to the determined interference fundamental frequency includes: Establishing a simulation model according to the circuit of the imaging device, where the simulation model includes the isolation degree between the interference source and the device under interference; Adjusting the isolation degree of the circuit according to the simulation model, obtaining the influence of the change of the isolation degree on the interference fundamental frequency, and determining the interference stripe elimination processing of the imaging device according to the influence.
7. The method according to claim 6, wherein Adjusting the isolation degree of the circuit according to the simulation model includes: Adjusting the isolation degree of the circuit by adjusting the position of the trimming block of the circuit included in the simulation model; And / or, adding an isolation device between the trimming blocks of the circuit to adjust the isolation degree of the circuit.
8. An interference fringe elimination device for an imaging device, characterized in that, The device includes: A screen determination unit, configured to obtain the screen displayed by the imaging device, and determine the color and width of the stripes in the screen; An interference source frequency point determination unit, configured to determine the frequency point close to the interference frequency according to the color of the stripes, and determine the offset of the interference source relative to the close frequency point according to the width of the stripes; An interference fundamental frequency determination unit, configured to obtain spectrum data of an analog power supply of the imaging device, and determine an interference fundamental frequency of the imaging device according to the spectrum data and an offset of the interference source relative to a nearby frequency point; An interference cancellation unit, configured to perform interference fringe cancellation processing according to the determined interference fundamental frequency.
9. An imaging device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Efficient and high-quality fMOST or MOST microscopic image stripe noise removal method
CN110838093A
Image processing method and device
CN114422656A