CN114422676A - Parameter recording method and device and vignetting adjusting method and device for camera module - Google Patents

Parameter recording method and device and vignetting adjusting method and device for camera module Download PDF

Info

Publication number
CN114422676A
CN114422676A CN202210049303.7A CN202210049303A CN114422676A CN 114422676 A CN114422676 A CN 114422676A CN 202210049303 A CN202210049303 A CN 202210049303A CN 114422676 A CN114422676 A CN 114422676A
Authority
CN
China
Prior art keywords
camera module
focal length
adjusting
sensor
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210049303.7A
Other languages
Chinese (zh)
Inventor
欧俊文
关本立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ava Electronic Technology Co Ltd
Original Assignee
Ava Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ava Electronic Technology Co Ltd filed Critical Ava Electronic Technology Co Ltd
Priority to CN202210049303.7A priority Critical patent/CN114422676A/en
Publication of CN114422676A publication Critical patent/CN114422676A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Abstract

The invention discloses a parameter recording method, a vignetting adjusting method and a device of a camera module. The parameter recording method of the camera module comprises the following steps: receiving a focal length to be recorded of a camera module, wherein the focal length to be recorded is one of a plurality of candidate focal lengths; calculating an axis offset value, wherein the axis offset value is an offset value of the center of a drawing area of a sensor of the camera module relative to the optical center of a lens of the camera module; adjusting parameters of a camera module according to the axis offset value; and recording the currently adjusted parameters of the camera module for the focal length to be recorded. The invention records each candidate focal length and the corresponding vignetting-free parameter for later use, solves the technical problem that no image without vignetting can be shot under each focal length, and simplifies the production flow without disassembling and reassembling in the recording and adjusting process.

Description

Parameter recording method and device and vignetting adjusting method and device for camera module
Technical Field
The invention relates to the technical field of data processing, in particular to a parameter recording method, a vignetting adjusting method and a device of a camera module.
Background
The dark corner is a phenomenon in which, when a scene with uniform brightness is photographed, the brightness of the four corners of the screen is reduced, unlike the actual scene. There are many reasons for generating the vignetting, and when factors such as the size of a target surface of a sensor, the optical characteristics of a zoom lens and the like are not comprehensively considered in the model selection link of the sensor and the zoom lens, an image with the vignetting is generated under a partial focal length; in the sensor PCB manufacturing link, the dark corner phenomenon can be caused by the offset of the sensor paster position; in the assembly process, the dark corner phenomenon is also caused by errors caused by assembly operation, part structures or assembly tolerances.
In the traditional method for solving the dark corner phenomenon, the design link and the assembly link are generally improved, the dark corner can be eliminated when the lens center and the sensor target surface center are on the same horizontal line under any focal length, but the cost is high, and the dark corner phenomenon of all products cannot be completely guaranteed due to the influence of the assembly process.
Disclosure of Invention
In order to overcome at least one of the defects in the prior art, the invention provides a parameter recording method, a vignetting adjusting method and a device of a camera module.
In a first aspect, the present invention provides a method for recording parameters of a camera module, including the steps of:
receiving a focal length to be recorded of a camera module, wherein the focal length to be recorded is one of a plurality of candidate focal lengths;
calculating an axis offset value, wherein the axis offset value is an offset value of the center of a drawing area of a sensor of the camera module relative to the optical center of a lens of the camera module;
adjusting parameters of a camera module according to the axis offset value;
and recording the currently adjusted parameters of the camera module for the focal length to be recorded.
In an embodiment, the process of adjusting parameters of a camera module according to the axis offset value includes the steps of:
adjusting the position of an image taking area on a sensor of the camera module according to the axis offset value; the image taking area is smaller than an effective imaging surface of the sensor, and the size of the image taking area is fixed.
In an embodiment, the process of adjusting parameters of a camera module according to the axis offset value includes the steps of:
and controlling a mechanical structure of the camera module to move the sensor according to the axis deviation value.
In an embodiment, the process of adjusting parameters of the camera module according to the axis offset value further includes the steps of:
after the sensor moves through the mechanical structure, when a vignetting still exists in the image taking area, the position of the image taking area on the sensor of the camera module is adjusted according to the position of the current vignetting.
In one embodiment, the mapping area is smaller than the effective imaging plane of the sensor, and the size of the mapping area is fixed.
In one embodiment, in the process of recording the currently adjusted parameters of the camera module for the focal length to be recorded, the currently adjusted parameters are recorded on a memory of the camera module.
In one embodiment, the method further comprises the steps of: and outputting the received data from the camera module in real time.
In a second aspect, the present invention provides a method for adjusting a vignetting of a camera module, including the steps of:
receiving a focal length to be adjusted;
obtaining a parameter to be adjusted according to the focal length to be adjusted, wherein the adjustment parameter is obtained by the parameter recording method of any one of the above embodiments;
and adjusting the sensor according to the adjusting parameter.
In a third aspect, the present invention provides a parameter recording device for a camera module, including:
the receiving module is used for receiving a focal length to be recorded of the camera module, wherein the focal length to be recorded is one of a plurality of candidate focal lengths;
the calculation module is used for calculating an axis offset value, wherein the axis offset value is an offset value of the center of a drawing area of a sensor of the camera module relative to the optical center of a lens of the camera module;
the adjusting module is used for adjusting parameters of the camera module according to the axis offset value;
and the recording module is used for recording the currently adjusted parameters of the camera module for the focal length to be recorded.
In a fourth aspect, the present invention provides a vignetting adjusting device for a camera module, including:
the receiving module is used for receiving the focal length to be adjusted;
the acquisition module is used for acquiring parameters to be adjusted according to the focal length to be adjusted, wherein the adjustment parameters are acquired through the parameter recording device of the camera module;
and the adjusting module is used for adjusting the sensor according to the adjusting parameter.
In a fifth aspect, the present invention provides a camera vignetting adjustment system, comprising: the camera module and the arithmetic logic processing unit;
the camera module includes: sensors and mechanical structures;
the mechanical structure is used for moving the sensor in the camera module;
the arithmetic logic processing unit is configured to perform the method of any of the above embodiments.
In a sixth aspect, the present invention provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any of the above embodiments when executing the program.
In a seventh aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, wherein the program is configured to implement the method of any of the above embodiments when executed by a processor.
The method tests each candidate focal length to find out the optimal parameter of each candidate focal length on the aspect of eliminating the vignetting relative to the sensor, and records each candidate focal length and the optimal parameter corresponding to the candidate focal length for later use, so as to solve the technical problem that no image without the vignetting can be shot under each focal length. In the recording and adjusting process, disassembly and reassembly are not needed, the production flow is simplified, and the requirement for errors in the production process can be reduced, the production cost is saved, and the production efficiency is improved.
Drawings
Fig. 1 is a schematic flow chart according to a first embodiment of the present invention.
Fig. 2 is a schematic overall structure diagram of a fifth embodiment of the present invention.
Fig. 3a is a schematic adjustment diagram of an implementation manner of the first embodiment of the invention.
Fig. 3b is a schematic adjustment diagram of another implementation manner of the first embodiment of the invention.
Fig. 4 is a flowchart illustrating a second embodiment of the present invention.
Fig. 5 is a schematic overall structure diagram of a third embodiment of the present invention.
Fig. 6 is a schematic overall structure diagram of a fourth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It should be noted that the term "first \ second \ … …" related to the embodiments of the present invention is only used for distinguishing similar objects, and does not represent a specific ordering for the objects, and it should be understood that "first \ second \ … …" may be interchanged with a specific order or sequence, where permitted. It should be understood that the objects identified as "first \ second \ … …" may be interchanged under appropriate circumstances such that the embodiments of the invention described herein may be practiced in sequences other than those illustrated or described herein.
Example one
The Camera Module is called a Camera Compact Module, which is abbreviated as CCM. The CCM comprises four major components: lens (lens), sensor (sensor), Flexible Printed Circuit (FPC), image processing chip (DSP). Important components for determining the quality of a camera are: lens (lens), image processing chip (DSP), sensor (sensor). The lens consists of a plurality of lenses and can image the scenery to be shot on the sensor; the sensor is a device for receiving the light rays passing through the lens and converting light signals into electric signals; the DSP optimizes the digital image signals through a complex mathematical operation method and then transmits the signals to a display. The working principle of the camera is mainly that a scene is shot through a lens, a generated optical image is projected onto a sensor, the sensor converts the optical image into an electric signal, the electric signal is converted into a digital image signal through an internal image processor (ISP), the digital image signal is output to a Digital Signal Processor (DSP) to be processed and converted into standard image signals in formats of GRB, YUV and the like.
Referring to fig. 1, fig. 1 is a schematic flow chart of a parameter recording method of a camera module according to an embodiment of the present invention, where the method includes step S110, step S120, step S130, and step S140. It should be noted that steps S110 to S140 are merely reference numerals for clearly explaining the corresponding relationship between the embodiment and fig. 1, and do not represent the order limitation of the steps in the present embodiment. As shown in fig. 2, an arithmetic logic processing unit is generally provided, and the arithmetic logic processing unit is used for receiving data of the camera module, processing the data, and writing the processed data into a memory of the camera module or other types of memories, and if there is a mechanical structure, the method can also control the relevant mechanical structure to perform operations.
Step S110, receiving a focal length to be recorded of the camera module, where the focal length to be recorded is one of the candidate focal lengths.
The method is suitable for the camera module with the zoom lens. Generally, due to the influence of a plurality of factors such as the size of a target surface of a sensor and the optical characteristics of a zoom lens, the vignetting generated under different focal lengths is different, so that even if the adjustment is completed on a single focal length, the vignetting phenomenon caused by the generation error can be eliminated, and a clear and vignetting-free image can not be completely obtained under other focal lengths. Aiming at the situation, the method records the adjusting parameters of each focal length to confirm the adjusting parameters which do not generate the dark corner phenomenon under each focal length, and adjusts the adjusting parameters corresponding to the used focal length when in use to ensure that the image without the dark corner can be shot under each focal length. Therefore, after the focal length is adjusted to the selected focal length to be recorded in the plurality of candidate focal lengths, the step receives data of the currently selected focal length to be recorded, and starts to record the adjustment parameter of the focal length to be recorded.
It should be noted that the candidate focal length here may be a focal length segment that is selected in advance. The selected focal lengths may be focal lengths that are prone to vignetting, or focal lengths selected for other reasons.
Step S120, calculating an axis offset value, where the axis offset value is an offset value of a center of a mapping area of a sensor of the camera module relative to an optical center of a lens of the camera module.
In general, the area that can be imaged on the sensor is the effective imaging plane, and the area that is finally used for image taking on the effective imaging plane is the image taking area of the sensor. As shown in fig. 3, the solid-line circle in fig. 3 is the optical lens range, the solid-line rectangle is the effective imaging surface of the sensor, and the dotted-line rectangle is the actual image-taking area at the standard resolution, which is the image frame finally presented by the camera module. Initially, as shown in the left image of fig. 3a, the center of the effective imaging plane overlaps the center of the image capture area.
And calculating an axis offset value, wherein the center of the current image taking area can be calculated according to the position of the vignetting of the current image taking area, and then the axis offset value is obtained, and the axis offset value represents the offset degree between the center of the image taking area and the center of the lens of the camera module.
And step S130, adjusting parameters of the camera module according to the axis offset value.
Generally, the vignetting can be eliminated as long as the lens center and the center of the image taking area of the target surface of the sensor are ensured to be on the same horizontal line, so that the parameters of the sensor are adjusted according to the data of the current axis deviation value, the axis deviation value is reduced, and the image taking area of the sensor can be free of the vignetting. The way in which the parameters of the sensor are adjusted is varied. For example, as shown in fig. 3a, in general, the area actually imaged by the sensor is smaller than the effective imaging plane, and may be selected in the effective imaging plane, that is, the imaging area of the sensor may move in the effective imaging plane. After the axis offset value is calculated, the moving direction of the image taking area of the sensor can be determined, and the position of the image taking area is moved, so that the center of the image taking area of the sensor is aligned with the optical center of the lens, and the dark corner phenomenon is eliminated.
It should be noted here that, after the position of the image-taking area is moved, when the standard resolution is used as the actual image-taking area, some image-taking areas may be outside the effective imaging plane of the sensor, and at this time, the actual image-taking area may be reduced to ensure that the center of the image-taking area of the sensor is aligned with the optical center of the lens, and the entire image-taking area is still inside the effective imaging plane. Of course, the product at this time may be considered to be not satisfactory and should be discarded, and the invention is not limited to what means is specifically taken when a part of the image-taking area is outside the effective imaging surface of the sensor.
For another example, as shown in fig. 3b, a mechanical structure for fine-tuning the position of the sensor, such as a voice coil motor, is added to the camera module, and the mechanical structure drives the sensor to move slightly as a whole, so that the center of the effective imaging surface of the sensor is aligned with the optical center of the lens.
And step S140, recording the currently adjusted parameters of the camera module for the focal length to be recorded.
The current parameter is the parameter when the center of the image taking area of the sensor is aligned with the optical center of the lens after the focal length to be recorded is adjusted, namely the current parameter is matched with the current focal length to be recorded for use, so that the vignetting can be eliminated. Therefore, the current adjustment parameter is recorded as the dark corner eliminating matching parameter of the current focal length to be recorded.
It should be noted here that the position where the parameter record is written may be recorded in the memory of the camera module, or may be recorded in the corresponding memory according to actual needs.
The method tests each candidate focal length, finds out the optimal parameter of each candidate focal length on the aspect of eliminating the vignetting of the sensor, and records each candidate focal length and the optimal parameter corresponding to the candidate focal length for later use, so as to solve the technical problem that no image without the vignetting can be shot under each focal length.
In an embodiment, the process of adjusting parameters of the camera module according to the axis offset value includes step S210.
Step S210, adjusting the position of an image taking area on a sensor of the camera module according to the axis offset value; the image taking area is smaller than an effective imaging surface of the sensor, and the size of the image taking area is fixed.
In this embodiment, as shown in fig. 3a, the position of the image capture area on the sensor is moved so that the center of the image capture area of the sensor is aligned with the optical center of the lens, thereby eliminating the vignetting phenomenon. At this time, the parameter of the sensor includes the position of the mapping area on the sensor.
In the embodiment, only the position of the image taking area is changed, and the disassembly and the reassembly are not needed, so that the production flow is simplified, and the requirement on errors in the production process can be reduced, the production cost is saved, and the production efficiency is improved.
In an embodiment, the process of adjusting parameters of the camera module according to the axis offset value includes step S310.
And step S310, controlling a mechanical structure movement sensor of the camera module according to the axis deviation value.
In this embodiment, as shown in fig. 3b, a mechanical structure for fine-tuning the position of the sensor is added in the camera module, such as a motor for implementing adjustment driving in two directions, or two motors for implementing adjustment driving in the X direction and the Y direction, and the position of the sensor is adjusted by controlling the number of driving steps in the X direction and the number of driving steps in the Y direction of the motors, so that the center of the effective imaging plane of the sensor is aligned with the optical center of the lens. At this time, the parameter of the sensor includes control information of the mechanical structure.
In the embodiment, add the mechanical structure who is used for finely tuning the sensor position in camera module, when there is the vignetting phenomenon, need not tear the machine and repack just can adjust the position of sensor, the flow of production has been simplified, and just owing to need not tear the machine and repack, can solve current camera module and cause the technical problem that there is the vignetting in the shot image at structural tolerance and/or equipment error, whole process is automatic to be accomplished, need not artificial judgement and participate in the adjustment, the production time has been saved and manpower consumption has also been saved, help improving production efficiency.
In an embodiment, the process of adjusting parameters of the camera module according to the axis offset value further includes step S320.
And step S320, after the sensor moves through the mechanical structure, when the vignetting still exists in the image taking area, adjusting the position of the image taking area on the sensor of the camera module according to the current position of the vignetting.
After the adjustment of the mechanical structure, there is a possibility that the dark corner phenomenon continues to exist. At the moment, the position of the image taking area on the sensor of the camera module can be adjusted through movement, so that the aim of completely eliminating the dark corner is fulfilled. This corresponds to a coarse adjustment of the mechanical adjustment and a fine adjustment of the position of the image capture area.
Here, the position of the drawing area on the sensor of the camera module may be adjusted by fixing the size of the drawing area as shown in fig. 3a, or by appropriately cutting and reducing the size of the drawing area, and the specific adjustment method is not limited in the present embodiment.
In one embodiment, the mapping region in step S320 is smaller than the effective imaging plane of the sensor, and the size of the mapping region is fixed.
In the present embodiment, as shown in fig. 3a, the size of the mapping region is fixed so as to ensure that the output content has a standard resolution.
In one embodiment, in the process of recording the currently adjusted parameters of the camera module for the focal length to be recorded, the currently adjusted parameters are recorded on a memory of the camera module.
The parameter record with the adjustment is on the memory of camera module for the adjustment parameter is walked with the camera module forever, makes things convenient for the independent installation and the switching of camera module.
In an embodiment, the method for recording parameters of a camera module further includes step S150.
And step S150, outputting the received data from the camera module in real time.
The data that come from the camera module that real-time output was received is exported the unit that can show data in real time with data, does so and is favorable to the corrector to observe the result of correcting in real time in the display element.
Example two
Corresponding to the method of the first embodiment, the present invention further provides a method for adjusting a vignetting of a camera module, please refer to fig. 4, and fig. 4 is a schematic flow chart of the method for adjusting a vignetting of a camera module according to the second embodiment of the present invention, where the method includes step S410, step S420, and step S430. It should be noted that steps S410, S420 and S430 are only reference numerals for clearly explaining the corresponding relationship between the embodiment and fig. 4, and do not represent the order limitation of the steps in this embodiment.
Step S410, receiving a focal length to be adjusted.
Step S420, obtaining a parameter to be adjusted according to the focal length to be adjusted; wherein the adjustment parameter is obtained by the method of the first embodiment.
And step S430, adjusting the sensor according to the adjusting parameter.
In the first embodiment, a dark corner elimination matching parameter is recorded for each focal length to be recorded, in the method, the focal length to be used is used as the focal length to be adjusted, the dark corner elimination matching parameter corresponding to the focal length is obtained, and the sensor is adjusted according to the matching parameter.
It should be noted that, in the first embodiment, the adjustment parameter of the candidate focal length is recorded, and in the method, the focal length to be adjusted that may be acquired is not one of the candidate focal lengths in the first embodiment, so in step S420 of the method, the parameter to be adjusted corresponding to the focal length to be adjusted that is not recorded may be found through the preset mapping model.
The parameters adjusted by the method are the optimal parameters which are adjusted in advance and recorded, so that the technical problem that no image without a vignetting can be shot under each focal segment can be solved. In addition, the process of adjusting the recording parameters is carried out without disassembling and reassembling, so the adjusting process of the method does not need disassembling and reassembling, the production cost can be saved, and the production efficiency is improved.
EXAMPLE III
Corresponding to the method of the first embodiment, as shown in fig. 5, the present invention further provides a parameter recording apparatus 5 for a camera module, including: a receiving module 501, a calculating module 502, an adjusting module 503 and a recording module 504.
The receiving module 501 is configured to receive a focal length to be recorded of a camera module, where the focal length to be recorded is one of multiple candidate focal lengths;
a calculating module 502, configured to calculate an axis offset value, where the axis offset value is an offset value of a center of an image capture area of a sensor of the camera module relative to an optical center of a lens of the camera module;
an adjusting module 503, configured to adjust a parameter of the camera module according to the axis offset value;
a recording module 504, configured to record a currently adjusted parameter of the camera module for the focal length to be recorded.
The device tests each candidate focal length, finds out the optimal parameter of each candidate focal length on the aspect of eliminating the vignetting relative to the sensor, and records each candidate focal length and the optimal parameter corresponding to the candidate focal length for later use, so as to solve the technical problem that no image without the vignetting can be shot under each focal length.
In one embodiment, the adjusting module performs a process of adjusting parameters of the camera module according to the axis offset value, and includes: adjusting the position of an image taking area on a sensor of the camera module according to the axis offset value; the image taking area is smaller than an effective imaging surface of the sensor, and the size of the image taking area is fixed.
In one embodiment, the adjusting module performs a process of adjusting parameters of the camera module according to the axis offset value, and includes: and controlling a mechanical structure movement sensor of the camera module according to the axis deviation value.
In an embodiment, the adjusting module, in executing a process of adjusting parameters of the camera module according to the axis offset value, further includes: after the sensor moves through the mechanical structure, when a vignetting still exists in the image taking area, the position of the image taking area on the sensor of the camera module is adjusted according to the position of the current vignetting.
In one embodiment, the mapping area is smaller than the effective imaging plane of the sensor, and the size of the mapping area is fixed.
In one embodiment, the parameter recording device of the camera module further comprises an output module; the output module is used for outputting the received data from the camera module in real time.
Example four
Corresponding to the method of the second embodiment, as shown in fig. 6, the present invention further provides a vignetting adjustment device 6 for a camera module, including: a receiving module 601, an obtaining module 602, and an adjusting module 603.
A receiving module 601, configured to receive a focal length to be adjusted;
an obtaining module 602, configured to obtain a parameter to be adjusted according to the focal length to be adjusted, where the adjustment parameter is obtained through a parameter recording device of the camera module according to the third embodiment;
and an adjusting module 603, configured to adjust the sensor according to the adjustment parameter.
The parameters adjusted by the device are the optimal parameters which are adjusted in advance and recorded, so the technical problem that no image without a dark corner can be shot under each focal segment can be solved. In addition, the process of adjusting the recording parameters is carried out without disassembling and reassembling, so that the adjusting process of the device does not need disassembling and reassembling, the production cost can be saved, and the production efficiency is improved.
EXAMPLE five
As shown in fig. 2, an embodiment of the present invention further provides a camera vignetting adjustment system, including: the camera module and the arithmetic logic processing unit; the camera module includes: sensors and mechanical structures; the mechanical structure is used for moving the sensor in the camera module, and the arithmetic logic processing unit is configured to execute the parameter recording method or the vignetting adjusting method of the camera module in any one of the embodiments.
The camera vignetting adjustment system tests each candidate focal length, finds out the optimal parameter of each candidate focal length on the aspect of vignetting elimination related to the sensor, records each candidate focal length and the optimal parameter corresponding to the candidate focal length for later use, and solves the technical problem that no vignetting-free image can be shot under each focal length. In the recording and adjusting process, disassembly and reassembly are not needed, the production flow is simplified, and the requirement for errors in the production process can be reduced, the production cost is saved, and the production efficiency is improved.
EXAMPLE six
The embodiment of the invention also provides a storage medium, wherein computer instructions are stored on the storage medium, and when the instructions are executed by a processor, the parameter recording method or the vignetting adjusting method of the camera module group in any embodiment is realized.
Those skilled in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Random Access Memory (RAM), a Read-Only Memory (ROM), a magnetic disk, and an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a RAM, a ROM, a magnetic or optical disk, or various other media that can store program code.
Corresponding to the computer storage medium, in an embodiment, there is further provided a computer device, including a memory, an encoder, and a computer program stored on the memory and executable on the encoder, wherein the encoder executes the computer program to implement the parameter recording method or the vignetting adjustment method of the camera module according to any one of the embodiments.
The computer device tests each candidate focal length, finds out the optimal parameter of each candidate focal length on the aspect of eliminating the vignetting relative to the sensor, and records each candidate focal length and the optimal parameter corresponding to the candidate focal length for later use, so as to solve the technical problem that no image without the vignetting can be shot under each focal length. In the recording and adjusting process, disassembly and reassembly are not needed, the production flow is simplified, and the requirement for errors in the production process can be reduced, the production cost is saved, and the production efficiency is improved.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.

Claims (13)

1. A parameter recording method of a camera module is characterized by comprising the following steps:
receiving a focal length to be recorded of a camera module, wherein the focal length to be recorded is one of a plurality of candidate focal lengths;
calculating an axis offset value, wherein the axis offset value is an offset value of the center of a drawing area of a sensor of the camera module relative to the optical center of a lens of the camera module;
adjusting parameters of a camera module according to the axis offset value;
and recording the currently adjusted parameters of the camera module for the focal length to be recorded.
2. The method for recording parameters of a camera module according to claim 1, wherein the process of adjusting the parameters of the camera module according to the axis offset value comprises the steps of:
adjusting the position of an image taking area on a sensor of the camera module according to the axis offset value; the image taking area is smaller than an effective imaging surface of the sensor, and the size of the image taking area is fixed.
3. The method for recording parameters of a camera module according to claim 1, wherein the process of adjusting the parameters of the camera module according to the axis offset value comprises the steps of:
and controlling a mechanical structure of the camera module to move the sensor according to the axis deviation value.
4. The method for recording parameters of a camera module according to claim 3, wherein the process of adjusting the parameters of the camera module according to the axis offset value further comprises the steps of:
after the sensor moves through the mechanical structure, when a vignetting still exists in the image taking area, the position of the image taking area on the sensor of the camera module is adjusted according to the position of the current vignetting.
5. The method for recording the parameters of the camera module according to claim 4, wherein the image-taking area is smaller than an effective imaging surface of the sensor, and the size of the image-taking area is fixed.
6. The method for recording parameters of a camera module according to claim 1, wherein in the process of recording the currently adjusted parameters of the camera module for the focal length to be recorded, the currently adjusted parameters are recorded on a memory of the camera module.
7. The method for recording the parameters of the camera module according to any one of claims 1 to 6, further comprising the steps of:
and outputting the received data from the camera module in real time.
8. A camera module vignetting adjusting method is characterized by comprising the following steps:
receiving a focal length to be adjusted;
acquiring a parameter to be adjusted according to the focal length to be adjusted, wherein the adjustment parameter is acquired by the parameter recording method of any one of claims 1 to 7;
and adjusting the sensor according to the adjusting parameter.
9. The utility model provides a parameter recording device of camera module which characterized in that includes:
the receiving module is used for receiving a focal length to be recorded of the camera module, wherein the focal length to be recorded is one of a plurality of candidate focal lengths;
the calculation module is used for calculating an axis offset value, wherein the axis offset value is an offset value of the center of a drawing area of a sensor of the camera module relative to the optical center of a lens of the camera module;
the adjusting module is used for adjusting parameters of the camera module according to the axis offset value;
and the recording module is used for recording the currently adjusted parameters of the camera module for the focal length to be recorded.
10. The utility model provides a vignetting adjusting device of camera module which characterized in that includes:
the receiving module is used for receiving the focal length to be adjusted;
an obtaining module, configured to obtain a parameter to be adjusted according to the focal length to be adjusted, where the adjustment parameter is obtained by a parameter recording device of the camera module according to claim 9;
and the adjusting module is used for adjusting the sensor according to the adjusting parameter.
11. A camera vignetting adjustment system, comprising: the camera module and the arithmetic logic processing unit;
the camera module includes: sensors and mechanical structures;
the mechanical structure is used for moving the sensor in the camera module;
the arithmetic logic processing unit is configured to perform the method of any of claims 1-8.
12. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-8 when executing the program.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.
CN202210049303.7A 2022-01-17 2022-01-17 Parameter recording method and device and vignetting adjusting method and device for camera module Pending CN114422676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210049303.7A CN114422676A (en) 2022-01-17 2022-01-17 Parameter recording method and device and vignetting adjusting method and device for camera module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210049303.7A CN114422676A (en) 2022-01-17 2022-01-17 Parameter recording method and device and vignetting adjusting method and device for camera module

Publications (1)

Publication Number Publication Date
CN114422676A true CN114422676A (en) 2022-04-29

Family

ID=81272852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210049303.7A Pending CN114422676A (en) 2022-01-17 2022-01-17 Parameter recording method and device and vignetting adjusting method and device for camera module

Country Status (1)

Country Link
CN (1) CN114422676A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008145662A (en) * 2006-12-08 2008-06-26 Fujifilm Corp Imaging apparatus and adjusting method thereof
CN102445817A (en) * 2010-09-30 2012-05-09 株式会社尼康 Interchangeable lens, camera body and camera system
CN103002199A (en) * 2012-10-19 2013-03-27 北京小米科技有限责任公司 Camera-module-based image acquisition method and device and mobile terminal
CN103365030A (en) * 2012-03-29 2013-10-23 安讯士有限公司 A method for calibrating a camera
CN106170066A (en) * 2016-09-26 2016-11-30 信利光电股份有限公司 The LSC compensation method of a kind of fish-eye camera and device
CN107295268A (en) * 2016-07-29 2017-10-24 广东欧珀移动通信有限公司 The dark angle compensation method of image, device and terminal device
CN107390339A (en) * 2014-12-30 2017-11-24 广东欧珀移动通信有限公司 Capture apparatus and intelligent mobile terminal for intelligent mobile terminal
CN108122260A (en) * 2017-12-26 2018-06-05 歌尔科技有限公司 Built-in camera method of adjustment and device
CN109769088A (en) * 2017-11-09 2019-05-17 佳能株式会社 Photographic device and changable lens device and its control method and storage medium
JP2019087937A (en) * 2017-11-09 2019-06-06 キヤノン株式会社 Imaging device and interchangeable lens device
CN110248080A (en) * 2019-07-29 2019-09-17 维沃移动通信有限公司 The calibration method and image pickup method of a kind of mobile terminal and its camera module
CN110636277A (en) * 2018-06-21 2019-12-31 佳能株式会社 Detection apparatus, detection method, and image pickup apparatus
CN110675458A (en) * 2019-10-08 2020-01-10 Oppo广东移动通信有限公司 Method and device for calibrating camera and storage medium
CN110858872A (en) * 2018-08-23 2020-03-03 浙江宇视科技有限公司 Optical axis offset compensation method and device
CN112118370A (en) * 2019-06-20 2020-12-22 浙江宇视科技有限公司 Dark corner defect eliminating method, device, equipment and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008145662A (en) * 2006-12-08 2008-06-26 Fujifilm Corp Imaging apparatus and adjusting method thereof
CN102445817A (en) * 2010-09-30 2012-05-09 株式会社尼康 Interchangeable lens, camera body and camera system
CN103365030A (en) * 2012-03-29 2013-10-23 安讯士有限公司 A method for calibrating a camera
CN103002199A (en) * 2012-10-19 2013-03-27 北京小米科技有限责任公司 Camera-module-based image acquisition method and device and mobile terminal
CN107390339A (en) * 2014-12-30 2017-11-24 广东欧珀移动通信有限公司 Capture apparatus and intelligent mobile terminal for intelligent mobile terminal
CN107295268A (en) * 2016-07-29 2017-10-24 广东欧珀移动通信有限公司 The dark angle compensation method of image, device and terminal device
CN106170066A (en) * 2016-09-26 2016-11-30 信利光电股份有限公司 The LSC compensation method of a kind of fish-eye camera and device
CN109769088A (en) * 2017-11-09 2019-05-17 佳能株式会社 Photographic device and changable lens device and its control method and storage medium
JP2019087937A (en) * 2017-11-09 2019-06-06 キヤノン株式会社 Imaging device and interchangeable lens device
CN108122260A (en) * 2017-12-26 2018-06-05 歌尔科技有限公司 Built-in camera method of adjustment and device
CN110636277A (en) * 2018-06-21 2019-12-31 佳能株式会社 Detection apparatus, detection method, and image pickup apparatus
CN110858872A (en) * 2018-08-23 2020-03-03 浙江宇视科技有限公司 Optical axis offset compensation method and device
CN112118370A (en) * 2019-06-20 2020-12-22 浙江宇视科技有限公司 Dark corner defect eliminating method, device, equipment and storage medium
CN110248080A (en) * 2019-07-29 2019-09-17 维沃移动通信有限公司 The calibration method and image pickup method of a kind of mobile terminal and its camera module
CN110675458A (en) * 2019-10-08 2020-01-10 Oppo广东移动通信有限公司 Method and device for calibrating camera and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
薛建平等: "《35毫米自动调焦新型照相机》", 31 August 1994, pages: 176 - 177 *

Similar Documents

Publication Publication Date Title
JP4968885B2 (en) IMAGING DEVICE AND ITS CONTROL METHOD, IMAGING SYSTEM, IMAGE PROCESSING METHOD, AND PROGRAM
CN102870404B (en) Imaging device and dark current correction method of same
TWI491214B (en) Image capturing apparatus and method for controlling image capturing apparatus
JPH09181913A (en) Camera system
CN106161926A (en) Camera head and the control method of camera head
JP2012160886A (en) Imaging device, control method therefor, and program
CN111242858B (en) Distortion correction method and system for camera lens
JP4764712B2 (en) Digital camera and control method thereof
JP2010263520A (en) Image capturing apparatus, data generating apparatus, and data structure
CN110262167A (en) Picture pick-up device
JP2012231262A (en) Imaging apparatus, blur correction method, control program, and recording medium for recording control program
JP2007336394A (en) Imaging apparatus and image compositing method
JP2012133194A (en) Imaging apparatus
JP2015177302A (en) Imaging device and control method therefor
JP2008116663A (en) Imaging apparatus
JP6980480B2 (en) Imaging device and control method
CN114422676A (en) Parameter recording method and device and vignetting adjusting method and device for camera module
CN101577791B (en) Digital image processing method for correcting handshake fuzziness
US8629925B2 (en) Image processing apparatus, image processing method, and computer program
JP2005252680A (en) Lens system
JP2018142983A (en) Image processing device and method of controlling the same, program, and storage medium
JP2015177303A (en) Imaging device and control method therefor
US20110228132A1 (en) Camera and image composition program
JP2003241071A (en) Image pickup device and automatic focusing method for the same
JP2018007205A (en) Image processing apparatus, imaging apparatus, control method for image processing apparatus, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination