WO2015157962A1 - 镜头安装平整度的实时调整方法及装置 - Google Patents
镜头安装平整度的实时调整方法及装置 Download PDFInfo
- Publication number
- WO2015157962A1 WO2015157962A1 PCT/CN2014/075582 CN2014075582W WO2015157962A1 WO 2015157962 A1 WO2015157962 A1 WO 2015157962A1 CN 2014075582 W CN2014075582 W CN 2014075582W WO 2015157962 A1 WO2015157962 A1 WO 2015157962A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- test
- camera
- image
- stripe
- real
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B27/00—Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
- G02B27/62—Optical apparatus specially adapted for adjusting optical elements during the assembly of optical systems
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B43/00—Testing correct operation of photographic apparatus or parts thereof
Definitions
- the invention relates to a real-time adjustment method and device for lens mounting flatness. ⁇ Background technique ⁇
- the measurement method of a digital camera can usually be printed or displayed by taking an ISO chart, subjectively visually evaluating the image to obtain a visual resolution value, or being evaluated by a software measurement method consistent with the visual evaluation. Degree value.
- a visual visual evaluation method for observing the spatial frequency of the change in the number of wedge lines as a resolution by printing or enlarging a fixed magnification ISO pattern is relatively simple, there are personal differences, time-consuming waste of labor, and limitations that are limited by the effects of display and printing equipment.
- the software's method of measuring resolution is able to achieve good consistency between scoring and visual inspection without being limited by equipment and manpower, and thus has been widely used.
- the MTF mainly reflects the resolving power of the human eye by measuring the contrast M x- n) / ( W, where I is the maximum and minimum values of the illuminance, respectively.
- measuring the SFR Spatial Frequency Response
- SFR primarily measures the effect of increasing lines of spatial frequency on a single image.
- the visual evaluation method using visual inspection, while operating the cartridge, is limited by equipment and waste of labor, and therefore is not suitable for a wide range of industrial automation production.
- MTF such as HYRes software in Japan
- SFR-based measurement methods such as the US Imatest software
- US Imatest software although relatively low cost, can achieve better mapping effects, but the operation is complicated, the requirements for factory testers are high, and real-time dynamic testing cannot be achieved.
- the technical problem to be solved by the present invention is to provide a real-time adjustment method and device for lens mounting flatness, which can automatically test the real-time resolution value of the camera in real time, the measurement result and the visual vision.
- the evaluation is consistent, flexible, and robust, and the angle of the camera's optical axis relative to the camera's photosensitive surface can be adjusted based on the camera's real-time resolution value.
- a technical solution adopted by the present invention is: providing a real-time adjustment method for lens mounting flatness, the method comprising: acquiring an image of a test chart taken by a camera in real time, wherein the image includes Illustrating at least two sets of test charts at different positions of the photosensitive surface of the camera; performing image pre-processing on the images of the test chart to separate a plurality of sets of test charts; calculating and displaying the cameras in real time according to each set of the test charts Sensitively facing the real-time resolution value of each set of the test chart; adjusting the optical axis of the camera lens relative to the photosensitive surface in real time according to the real-time resolution value of each set of the test chart according to the sensitivity of the camera Installation angle.
- Each of the test charts includes at least one test stripe group, and each of the test stripe groups includes a plurality of test strips spaced apart from each other, and a spacing between the test strips is along a spacing direction of the test strips. The vertical direction gradually changes.
- Each of the test charts includes a first test strip group and a second test strip group, and the first test strip group includes a second interval along the first direction and a second direction perpendicular to the first direction. a plurality of first test strips extending in a direction, a spacing between the first test strips is gradually changed along the second direction, and the second test stripe group includes spacing along the second direction and along the a plurality of second test strips extending in a direction, and a spacing between the second test strips gradually changes along the first direction.
- the at least two sets of test charts are five sets of test charts, wherein the four sets of test charts correspond to four corners of the photosensitive surface of the camera, and the other set of test charts correspond to the center of the photosensitive surface of the camera.
- the step of real-time calculating and displaying the real-time resolution value of each camera of the test chart according to each set of the test chart comprises: performing progressively on each set of the test chart Or sampling by column to obtain a plurality of stripe square wave signals; performing Fourier transform on the stripe square wave signals to respectively generate a spectrogram corresponding to each of the stripe square wave signals; according to each of the stripe square waves
- the spectrogram of the signal calculates and displays the real-time resolution values of the camera's light-sensing face for each set of test charts.
- the step of calculating, according to the spectrogram of each of the stripe square wave signals, the real-time resolution value of the camera facing each set of the test chart comprises: according to each of the stripe square wave signals
- the spectrogram calculates the average frequency amplitude A aver and the characteristic frequency amplitude A t of each of the stripe square wave signals; whether the characteristic frequency amplitude A t satisfies the significance condition by the following formula: where lk, Thres Ko is preset value, if the amplitude of the frequency characteristic A significant t satisfies the condition, then the fringe square wave signal corresponding to a value of the resolution of the camera facing the photosensitive test chart Real-time resolution values.
- the method further includes: rotating the image of the test chart taken by the camera by using the following formula:
- the step of performing image preprocessing on the image includes: performing grayscale processing on the image of the test chart; performing morphological filtering on the grayscale image to obtain test charts in different directions Region; image binarization of the test chart area, and separation of each group of test charts.
- a real-time adjusting device for lens mounting flatness comprising a target, a processing system, and a display device, wherein: the target is presented for An image of a test chart taken, the image including at least two sets of test charts at different positions relative to a photosensitive surface of the camera; the processing system for receiving an image of the test chart taken by a camera, for the test Performing image pre-processing on the image of the chart to separate a plurality of sets of test charts, and real-time calculation of the real-time resolution value of the camera against each set of the test charts according to each set of the test charts obtained by the separation;
- the display device is configured to receive a photorealistic resolution value of each of the test charts of the camera from the processing system and display the real-time resolution value, so that a user adjusts the camera in real time according to the real-time resolution value
- the mounting angle of the optical axis of the lens with respect to the photosensitive surface is provided.
- Each of the test charts includes at least one test stripe group, and each of the test stripe groups includes a plurality of test strips spaced apart from each other, and a spacing between the test strips is along a spacing direction of the test strips.
- the vertical direction gradually changes to 4 ⁇ .
- Each of the test charts includes a first test stripe set and a second test stripe set, the first set of test strips including a first interval along the first direction and a first perpendicular to the first direction a plurality of first test strips extending in two directions, a spacing between the first test strips gradually changing along the second direction, the second test stripe group including being spaced along the second direction and along the a plurality of second test strips extending in the first direction, and a spacing between the second test strips gradually changes along the first direction.
- the at least two sets of test charts are five sets of test charts, wherein the four sets of test charts correspond to four corners of the photosensitive surface of the camera, and the other set of test charts correspond to the center of the photosensitive surface of the camera.
- the processing system is specifically configured to perform row-by-row or column-by-column sampling on each set of the test chart to obtain a plurality of striped square wave signals, and perform Fourier transform on the obtained striped square wave signals, respectively. Generating a frequency map corresponding to each of the stripe square wave signals, and calculating a real-time resolution value of the camera's light-sensing face each set of the test chart according to the generated spectrogram of the stripe square wave signal.
- the processing system is specifically configured to calculate an average frequency amplitude A aver and a characteristic frequency amplitude A t of each of the stripe square wave signals according to a spectrogram of each of the stripe square wave signals, and determine the Whether the characteristic frequency amplitude A t satisfies the significance condition: A t / A avCT > 73 ⁇ 4r ⁇ , where Thres is a preset threshold, and if the characteristic frequency amplitude A t satisfies the significance condition, the stripe square
- the resolution value corresponding to the wave signal is the real-time resolution value of the camera's light-sensing face to the test chart.
- x and y are the abscissa and ordinate of the pixel in the image after rotation, respectively
- 3 ⁇ 4 and Wo are the height and width of the test chart before rotation in the image, respectively
- H and W are The height and width of the test chart in the image after rotation
- ⁇ is the angle of rotation.
- the processing system is specifically configured to perform grayscale processing on the image of the test chart, and perform morphological filtering on the grayscale image to obtain test chart regions in different directions, and the test chart is The area is image binarized and each set of test charts is separated.
- the invention has the beneficial effects that: the invention obtains an image of a test chart taken by a camera in real time, wherein the image includes at least two sets of test charts at different positions relative to the photosensitive surface of the camera, and the image is preprocessed to separate each group.
- Test chart calculate and display the real-time resolution value of each group of test charts in real time according to each set of test charts, adjust the camera lens in real time according to the real-time resolution value of each set of test charts according to the camera's light sensitivity.
- the mounting angle of the optical axis with respect to the photosensitive surface is a test chart taken by a camera in real time, wherein the image includes at least two sets of test charts at different positions relative to the photosensitive surface of the camera, and the image is preprocessed to separate each group.
- Test chart calculate and display the real-time resolution value of each group of test charts in real time according to each set of test charts, adjust the camera lens in real time according to the real-time resolution value of each set of test charts according to the camera's
- the real-time resolution value of the camera can be automatically tested in real time, and the installation angle of the photosensitive surface of the camera relative to the optical axis of the camera can be adjusted in real time according to the real-time resolution value of the camera, thereby saving manpower and material resources.
- the test results are consistent with the visual assessment results of the visual inspection, flexible and adjustable, and good robustness.
- FIG. 1 is a flow chart of a method for real-time adjustment of lens mounting flatness according to an embodiment of the present invention
- FIG. 2 is a flow chart of image pre-processing of an image of a test chart according to an embodiment of the present invention
- FIG. 3 is a real-time calculation of each set of test charts according to an embodiment of the present invention, and displaying a photo-sensing of the camera facing each set of tests. a flow chart of the real-time resolution values of the chart;
- FIG. 4 is a schematic diagram of a principle of camera imaging provided by an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a test stripe group according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a set of test charts provided by an embodiment of the present invention.
- FIG. 7 is a schematic diagram showing the relative positions of the photosensitive surfaces of the five sets of test charts corresponding to the camera according to the embodiment of the present invention.
- FIG. 8 is a schematic diagram showing a relationship between a signal characteristic frequency amplitude and a Moire fringe frequency amplitude of a spectrogram corresponding to one of the sample data according to an embodiment of the present invention
- FIG. 9 is a spectrum diagram corresponding to a sampling point corresponding to a resolution scale of four points according to an embodiment of the present invention
- FIG. 10 is a spectrum corresponding to a sampling point at a resolution scale of 4.5 provided by an embodiment of the present invention
- FIG. 11 is a spectrum diagram corresponding to a sampling point corresponding to a resolution scale of 5 according to an embodiment of the present invention
- FIG. 12 is a spectrum diagram corresponding to a sampling point at a resolution scale of 5.5 provided by an embodiment of the present invention
- FIG. 13 is a frequency diagram corresponding to a sample point corresponding to a resolution scale according to an embodiment of the present invention
- FIG. 14 is a spectrum diagram corresponding to a sample point corresponding to a resolution scale of 6.5 according to an embodiment of the present invention
- FIG. 15 is a spectrum diagram corresponding to a sampling point corresponding to a resolution scale of 7 according to an embodiment of the present invention
- FIG. 16 is a spectrum diagram corresponding to a sampling point corresponding to a resolution scale of 7.5 according to an embodiment of the present invention
- FIG. 17 is a schematic structural diagram of a real-time adjusting device for lens mounting flatness according to an embodiment of the present invention.
- FIG. 1 is a flowchart of a method for real-time adjustment of lens mounting flatness according to an embodiment of the present invention. This embodiment is described in terms of a real-time adjusting device for lens mounting flatness.
- the real-time adjustment methods for installation flatness include:
- S101 acquiring an image of a test chart taken by the camera in real time, the image includes at least two sets of test charts at different positions relative to the photosensitive surface of the camera;
- Fig. 4 is a schematic diagram of the principle of camera imaging.
- the light from the object passes through the lens of the camera and then converges on the film to form an inverted and reduced real image.
- the optical axis of the camera lens runs through the center point of the object, the lens, and the image of the object.
- test chart should be kept as consistent as possible with the horizontal or vertical lines to avoid affecting the accuracy of the test results.
- FIG. 5 is a schematic structural diagram of a test stripe group according to an embodiment of the present invention, where each test stripe group includes a plurality of spaced apart rows.
- the stripe is tested, and the spacing between the test strips gradually changes along the vertical direction of the interval of the test strips, and may gradually become larger or smaller.
- the spacing direction of the stripes is horizontal
- the direction perpendicular to the spacing direction of the stripes is vertical
- the spacing between the stripes from the bottom to the top is gradually increased.
- the spacing between the stripes from the top to the bottom in the straight direction is gradually reduced.
- There is also a resolution tick on the stripe test group indicating that the test stripe group is not The resolution value corresponding to the same position.
- each set of test charts includes a first test stripe set and a second test stripe set, as shown in FIG. 6,
- FIG. 6 is a structure of one set of test charts provided by an embodiment of the present invention.
- the first test stripe group includes a plurality of first test strips spaced along the first direction and extending in a second direction perpendicular to the first direction, the spacing between the first test strips gradually changing along the second direction, It can be gradually getting bigger or getting smaller.
- the second test stripe group includes a plurality of second test strips spaced along the second direction and extending along the first direction. The spacing between the second test strips gradually changes along the first direction, and may be gradually larger or gradually changing. small. Here gradually become larger or smaller, just a relative statement, please refer to the above detailed description, and will not repeat them here.
- FIG. 7 is a schematic diagram of relative positions of the photosensitive surfaces of the five sets of test charts corresponding to the camera provided by the embodiment of the present invention.
- the four sets of test charts of the group test chart correspond to the four corners of the photosensitive surface of the camera, and the other set of test charts correspond to the center of the photosensitive surface of the camera.
- S102 Perform image preprocessing on the image of the test chart to separate multiple sets of test charts; perform image preprocessing on the images of the obtained test charts to separate multiple sets of test charts.
- the test chart before the image is preprocessed, in order to avoid the accuracy of the test, the test chart can not be consistent with the horizontal or vertical lines due to device limitations or other reasons, the camera is determined by the following formula. The image of the captured test chart is rotated to make the image satisfy the condition:
- mapping according to the above formula may have floating point coordinates, it is necessary to perform bilinear interpolation optimization, ie
- n O.5Wsin0 - O.5H cos0 + O.5H o ,
- y 0 are the abscissa and ordinate of the pixel in the image before rotation, respectively, and X and y are the abscissa and ordinate of the pixel in the image after rotation, respectively.
- W The height and width of the test chart in the image before rotation, respectively, H and W are the height and width of the test chart in the image after rotation, and ⁇ is the rotation angle.
- FIG. 2 is a flowchart of image pre-processing on an image.
- the image pre-processing of the image in this embodiment may include the following sub-steps: S1021: Perform grayscale processing on the image of the test chart;
- the image of the test chart is grayed out to obtain an image gray matrix.
- Colors can be divided into black and white and color. Black and white means that the color does not contain any color components, only black and white.
- Color and gray scale can be transformed into each other, and the process of converting color to gray is called grayscale processing.
- Morphological filtering is performed on the grayscale image.
- the morphological method mainly studies the image based on the theory of the set, and performs morphological operations on the image set F with different structural elements to obtain the result set sequence Yi.
- Morphological corrosion is defined as: F ! Ei
- Morphological expansion is defined as: F ® ⁇ ⁇ ® ⁇
- the morphological opening operation is defined as:
- the morphological closing operation is defined as: F Ei UU. Ei
- S1023 Perform image binarization on the test chart area, and separate each set of test charts; image binarization is to set the gray value of the pixel on the image to 0 or 255, that is, the entire image is presented obviously. Black and white effect.
- Each set of test charts is separated by using a classical edge detection algorithm to detect the edges of the test area in different directions. At this point, the image pre-processing operation is completed.
- S103 Calculate and display real-time resolution values of the camera's light-sensing face each set of test charts in real time according to each set of test charts;
- the real-time resolution of the camera's sensitivities to each set of test charts is calculated in real time, and the calculated real-time resolution is displayed.
- FIG. 3 is a flowchart of real-time calculation and display of the real-time resolution value of the camera's light-sensing face each set of test charts according to each set of test charts according to an embodiment of the present invention, which may include the following step: SI 031: Line-by-row or column-by-column sampling for each set of test charts to obtain multiple striped square wave signals; according to each set of test charts obtained by separation, according to the central axis of symmetry of each set of test charts, progressive or By column-by-column sampling, a series of fixed-period striped square wave signals can be obtained.
- the Fourier transform is performed on the stripe square wave signal obtained by the sample, and the frequency map corresponding to each stripe square wave signal is generated separately.
- the characteristic frequency amplitude A t in the spectrogram is not significant. Therefore, in a preferred implementation, the DC component of the stripe square wave signal is removed first and then Fu
- the inner leaf transform is specifically processed as follows:
- x ( k ) is the stripe square wave signal before the DC component is removed
- mean ( x ( k ) ) is the average value of the stripe square wave signal before the DC component is removed
- x, (k ) is the stripe after removing the DC component.
- Each sampled data corresponds to a spectrogram.
- the Moire fringe frequency amplitude supplement 1 and the signal characteristic frequency amplitude A t of each sampled data can be obtained separately. See Figure 8, Figure 8 It is a schematic diagram of the relationship between the signal characteristic frequency amplitude and the Moire fringe frequency amplitude of the spectrogram corresponding to one of the sample data provided by the embodiment of the present invention.
- the signal characteristic frequency amplitude in the spectrogram is used.
- the peak amplitude is used as the signal characteristic frequency amplitude.
- FIG. 9 to FIG. 16 When the samples are respectively corresponding to the different resolution scales on the test chart, the corresponding frequency points corresponding to the sampling points of different scales are shown in FIG. 9 to FIG. 16, and FIG. 9 to FIG. 16 are embodiments of the present invention.
- the spectrograms corresponding to the sampling points at the resolution scales of 4, 4.5, 5, 5.5, 6, 6.5, 7, and 7.5 are sequentially provided.
- S 1033 calculating a real-time resolution value of the camera's light-sensing face for each set of test charts according to the spectrogram of each stripe square wave signal and displaying;
- One implementation manner is as follows: According to the spectrogram analysis, the amplitude of the moiré fringe frequency and the characteristic frequency of the signal are obtained, and whether the amplitude of the moiré fringe frequency is greater than the amplitude of the characteristic frequency of the signal, and the amplitude of the moiré fringe is greater than the signal characteristic. At the amplitude of the frequency, the resolution value corresponding to the stripe square wave signal is the sense of the camera. The light faces the real-time resolution value of the test chart.
- a threshold Thres is set to spike the amplitude of the signal characteristic frequency in the frequency diagram.
- the amplitude is used as the signal characteristic frequency amplitude A t
- the amplitude of each signal characteristic frequency is summed as an average frequency amplitude A aver .
- the characteristic frequency amplitude A t satisfies the significance condition by the following formula: A t IA aver > Thres, if the characteristic frequency amplitude A t satisfies the significant condition, the resolution value corresponding to the stripe square wave signal is the sensitivity of the camera The real-time resolution value of the test chart.
- the real-time resolution is displayed after calculating the real-time resolution value of the camera's sensitization face for each set of test charts.
- S104 adjusting the installation angle of the optical axis of the camera lens relative to the photosensitive surface in real time according to the real-time resolution value of each set of test charts according to the sensitization of the camera;
- the camera's adjustment device adjusts the installation angle of the optical axis of the lens relative to the photosensitive surface in real time according to the real-time resolution value of each set of test charts according to the displayed light sensitivity of the camera.
- the real-time adjustment method of the lens mounting flatness of the present invention acquires an image of a test chart taken by the camera in real time, and the image includes at least two sets of test charts at different positions relative to the photosensitive surface of the camera.
- the real-time resolution values of each set of test charts adjust the mounting angle of the optical axis of the lens relative to the photosensitive surface in real time.
- test results are consistent with the visual assessment results of the visual inspection, and are flexible and robust, effectively solving the shortcomings of traditional software measurement methods that cannot be dynamically measured in real time, saving time and manpower for camera manufacturers' image sensors and sharpness adjustment, and improving production efficiency. .
- FIG. 15 is a schematic structural diagram of a real-time adjusting device for lens mounting flatness according to an embodiment of the present invention.
- the real-time adjusting device 100 for lens mounting flatness of the embodiment includes a target. 11.
- the target 11 is for presenting an image of a test chart for photographing, the image including at least two sets of test charts at different positions relative to the photosensitive surface of the camera;
- the camera captures an image of the test chart presented in the target 11 in real time, wherein the image includes at least two sets of test charts at different positions relative to the photosensitive surface of the camera. It should be noted that when shooting the camera, the test chart should be kept as consistent as possible with the horizontal or vertical lines, so as not to affect the accuracy of the test results.
- each set of test charts may include at least one test stripe group, each test stripe set includes a plurality of test strips spaced apart from each other, and the spacing between the test strips gradually changes along a vertical direction of the interval of the test stripe, It can be gradually getting bigger or getting smaller.
- the spacing direction of the stripes is horizontal
- the direction perpendicular to the spacing direction of the stripes is vertical
- the spacing between the stripes from the bottom to the top is gradually increased.
- the spacing between the stripes from the top to the bottom in the straight direction is gradually reduced.
- the spacing direction of the stripes is a horizontal direction
- the direction perpendicular to the spacing direction of the stripes is a vertical direction
- the spacing between the stripes gradually becomes larger when the vertical direction is from the bottom to the top.
- the vertical direction is from top to bottom, the spacing between the stripes gradually becomes smaller.
- resolution tick marks on the stripe test group which represent the resolution values corresponding to different positions on the test stripe group.
- each set of test charts includes a first test stripe combined with a second test stripe set, the first set of test strips including spaced along the first direction and extending in a second direction perpendicular to the first direction.
- the plurality of first test strips, the spacing between the first test strips gradually changes along the second direction, and may gradually become larger or smaller.
- the second test stripe group includes a plurality of second test strips spaced along the second direction and extending along the first direction. The spacing between the second test strips gradually changes along the first direction, and may be gradually larger or gradually Become smaller.
- the camera captures images of five sets of test charts, four of which are corresponding to the four corners of the camera's photosensitive surface, and the other set of test charts corresponding to the camera's photosensitive surface. center of.
- the processing system 12 is configured to receive an image of a test chart taken by the camera, perform image pre-processing on the image of the test chart, to separate a plurality of sets of test charts, and calculate the camera in real time according to each set of the test charts obtained by the separation.
- Photosensitive faces the real-time resolution values of each of the set of test charts.
- the processing system 12 prevents the test chart taken from being unable to maintain horizontal or vertical lines due to device limitations or other reasons before image pre-processing of the image. Consistently affecting the accuracy of the test, the image of the test chart taken by the camera is rotated by the following formula to make the image satisfy the condition:
- mapping according to the above formula may have floating point coordinates, it is necessary to perform bilinear interpolation optimization, ie
- n O.5Wsin0 -0.5Hcos6 + 0.5H 0 ,
- y They are the abscissa and ordinate of the pixel in the image before rotation, and X and y are the abscissa and ordinate of the pixel in the image after rotation, H. And Wo are the height and width of the test table in the image before rotation, and H and W are the height and width of the test chart in the image after rotation, respectively, and the rotation angle.
- the processing system 12 is specifically configured to perform grayscale processing on the image of the test chart, and perform morphological filtering on the grayscale image to obtain test chart regions in different directions, and perform image binary on the test chart region. Each group of test charts is separated.
- the processing system 12 performs image gradation on each frame of image to obtain an image gray matrix.
- Colors can be divided into black and white and color. Black and white means that the color does not contain any color components, only black and white.
- Color and gray scale can be transformed into each other, and the process of converting color to gray is called grayscale processing.
- the grayscale image is then morphologically filtered to obtain test chart regions in different directions; the processing system 12 performs morphological filtering on the grayscale image.
- the morphological method mainly studies the image based on the theory of set, and performs morphological operations on the image set F with different structural elements to obtain the result set sequence Y 10 if F, ⁇ EJ c Z 2 , E 2 (2003), E n ⁇ As a collection of multiple structural elements, then:
- Morphological corrosion is defined as: F ! F !
- Morphological expansion is defined as: F e lEi UU OEi
- the morphological opening operation is defined as: F D
- the morphological closure operation is defined as: F .
- the final processing system 12 binarizes the resulting test chart area and separates each set of test charts.
- Image binarization is to set the gray value of the pixel on the image to 0 or 255, which is to show the whole image a distinct black and white effect.
- Each set of test charts is separated by using a classical edge detection algorithm to detect the edges of the test area in different directions. At this point, the image pre-processing operation is completed.
- the processing system 12 is specifically configured to perform row-by-row or column-by-column sampling for each group of test charts to obtain a plurality of stripe square wave signals, and perform Fourier transform on the obtained stripe square wave signals to generate each And a spectrogram corresponding to the stripe square wave signal, and calculating, according to the generated spectrogram of each of the stripe square wave signals, a real-time resolution value of the camera to each set of the test chart.
- the processing system 12 obtains a series of fixed-period striped square wave signals according to the separated set of test charts, according to the central axis of symmetry of each set of test charts, row by row or column by column.
- the sampled square wave signal is subjected to Fourier transform to generate a frequency map corresponding to each stripe square wave signal.
- the processing system 12 first removes the DC component of the stripe square wave signal. Fourier transform is performed, and the following processing is specifically performed:
- x ( k ) is the stripe square wave signal before the DC component is removed
- mean ( x ( k ) ) is the average value of the stripe square wave signal before the DC component is removed
- x, ( k ) is the stripe after removing the DC component Square wave signal.
- Each sampled data corresponds to a spectrogram.
- the Moiré fringe frequency amplitude A m and the signal characteristic frequency amplitude A t of each sampled data can be respectively obtained.
- the final processing system 12 calculates a real-time resolution value for each set of test charts based on the generated spectrogram of each striped square wave signal.
- the calculated sensitivities of the camera are output to the display device 13 for display in real time, so that the user can adjust the installation angle of the optical axis of the camera lens relative to the photosensitive surface in real time according to the real-time resolution value. .
- the processing system 12 calculates the real-time resolution value of the camera's light-sensing face for each set of test charts based on the frequency map of each stripe square wave signal.
- One implementation manner is as follows: According to the frequency borrowing graph analysis, the amplitude of the moiré fringe frequency and the amplitude of the characteristic frequency of the signal are obtained, and whether the amplitude of the moiré fringe frequency is greater than the amplitude of the characteristic frequency of the signal, and the amplitude of the moiré fringe is greater than the signal characteristic. At the frequency amplitude, the resolution value corresponding to the stripe square wave signal is the real-time resolution value of the camera's photosensitive face test chart.
- a threshold Thres is set to frequency the amplitude of the signal characteristic frequency in the graph.
- the peak amplitude is used as the signal characteristic frequency amplitude A t
- the amplitude of each signal characteristic frequency is summed as an average frequency amplitude A avCT .
- the fluctuations in the resolution calculation results are as follows: After calculating the camera's sensitivities to the real-time resolution values of each set of test charts, the display device
- the user can adjust the installation angle of the optical axis of the camera lens with respect to the photosensitive surface of the camera in real time according to the real-time resolution value of each set of test charts according to the sensitivity of the camera displayed by the display device 13.
- the real-time adjustment device for the lens mounting flatness of the above embodiment can be implemented as a separate device, or can be embedded in the camera or other devices to realize its function.
- the real-time adjustment device for the lens mounting flatness of the embodiment can implement the steps of the real-time adjustment method of the lens installation flatness shown in FIG. 1 to FIG. 3, and the division of each functional component is only an exemplary one, and is not used.
- the scope of protection of the present invention is defined. Under the premise that the object of the present invention can be achieved, the division of the functional elements of the real-time adjustment device of the lens mounting flatness may have other forms, for example, the components may be combined or integrated into another system, or some features. Can be ignored, or not executed.
- the real-time adjustment method and device for lens mounting flatness of the present invention acquires an image of a test chart taken by a camera in real time, and the image includes at least two groups of different positions relative to the photosensitive surface of the camera.
- Test the chart image pre-process the image of the test chart to separate multiple sets of test charts, calculate and display the real-time resolution value of the camera's sensitization face each group of test charts according to each set of test charts, according to the camera's sensitization
- the real-time resolution value of each set of test charts adjusts the mounting angle of the optical axis of the camera lens relative to the photosensitive surface of the camera in real time.
- test results are consistent with the visual assessment results, and are flexible and robust, effectively solving the shortcomings of traditional software measurement methods that cannot be dynamically measured in real time, saving time and manpower for camera manufacturers' image sensors and sharpness adjustment, and improving production efficiency.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the modules or units is only a logical function division.
- there may be another division manner for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
- the units described as separate components may or may not be physically separate, and the components displayed as the units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
- the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Abstract
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/075582 WO2015157962A1 (zh) | 2014-04-17 | 2014-04-17 | 镜头安装平整度的实时调整方法及装置 |
JP2016513211A JP2016526182A (ja) | 2014-04-17 | 2014-04-17 | レンズ装着平面性の即時調整方法及び装置 |
US15/304,439 US10375383B2 (en) | 2014-04-17 | 2014-04-17 | Method and apparatus for adjusting installation flatness of lens in real time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/075582 WO2015157962A1 (zh) | 2014-04-17 | 2014-04-17 | 镜头安装平整度的实时调整方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015157962A1 true WO2015157962A1 (zh) | 2015-10-22 |
Family
ID=54323393
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/075582 WO2015157962A1 (zh) | 2014-04-17 | 2014-04-17 | 镜头安装平整度的实时调整方法及装置 |
Country Status (3)
Country | Link |
---|---|
US (1) | US10375383B2 (zh) |
JP (1) | JP2016526182A (zh) |
WO (1) | WO2015157962A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105607409A (zh) * | 2016-01-07 | 2016-05-25 | 信利光电股份有限公司 | 一种双摄像头模组校正用的影像采集装置及其使用方法 |
CN107632407A (zh) * | 2017-11-08 | 2018-01-26 | 凌云光技术集团有限责任公司 | 一种柱透镜成像系统的校准装置 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109194953B (zh) * | 2018-08-15 | 2021-03-02 | 瑞声光学解决方案私人有限公司 | 空间颜色和分辨率测量装置及测量方法 |
US11159706B2 (en) | 2019-03-19 | 2021-10-26 | Pfa Corporation | Camera module manufacturing apparatus and camera module manufacturing method |
CN112752094B (zh) * | 2020-12-28 | 2023-12-01 | 歌尔科技有限公司 | 一种双摄像头光轴检测设备 |
CN116233408B (zh) * | 2022-12-27 | 2023-10-13 | 盐城鸿石智能科技有限公司 | 一种摄像头模组光学测试平台及测试方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1796987A (zh) * | 2004-12-29 | 2006-07-05 | 鸿富锦精密工业(深圳)有限公司 | 光学检测装置和检测方法 |
CN1831626A (zh) * | 2005-03-07 | 2006-09-13 | 普立尔科技股份有限公司 | 数字成像系统的自动调焦方法及其预览自动解析判读方法 |
CN102411256A (zh) * | 2010-09-24 | 2012-04-11 | 鸿富锦精密工业(深圳)有限公司 | 镜头测试装置 |
CN102789111A (zh) * | 2011-05-19 | 2012-11-21 | 华晶科技股份有限公司 | 镜头校准系统及其方法 |
Family Cites Families (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4453166B2 (ja) * | 2000-06-19 | 2010-04-21 | 株式会社デンソー | 積層型ガスセンサ素子及びその製造方法 |
US6985177B2 (en) * | 2000-07-04 | 2006-01-10 | Canon Kabushiki Kaisha | Image sensing system and its control method |
JP4546781B2 (ja) | 2004-07-16 | 2010-09-15 | 日本放送協会 | 撮像装置及び色ずれ補正プログラム |
JP3766835B2 (ja) * | 2004-09-10 | 2006-04-19 | シャープ株式会社 | レンズ系調整装置およびそれを用いたレンズ系調整方法 |
JP2007225768A (ja) * | 2006-02-22 | 2007-09-06 | Pentax Corp | レンズ位置調整方法及びレンズ位置調整装置 |
CN101206294A (zh) | 2006-12-14 | 2008-06-25 | 富士胶片株式会社 | 透镜光学系统的偏心调整方法、偏心调整装置和偏心调整程序 |
CN100592202C (zh) * | 2007-05-15 | 2010-02-24 | 鸿富锦精密工业(深圳)有限公司 | 相机模组的影像测试系统及方法 |
KR100896803B1 (ko) | 2007-07-30 | 2009-05-11 | 김대봉 | 카메라모듈 검사장치를 위한 검사차트 |
AU2007254627B2 (en) * | 2007-12-21 | 2010-07-08 | Canon Kabushiki Kaisha | Geometric parameter measurement of an imaging device |
CN101489040A (zh) | 2008-01-15 | 2009-07-22 | 富士胶片株式会社 | 调节图像传感器位置的方法,制造照相机组件的方法和设备,以及照相机组件 |
JP5198295B2 (ja) | 2008-01-15 | 2013-05-15 | 富士フイルム株式会社 | 撮像素子の位置調整方法、カメラモジュール製造方法及び装置、カメラモジュール |
CN101576707B (zh) * | 2008-05-06 | 2012-07-18 | 鸿富锦精密工业(深圳)有限公司 | 镜头长度量测系统及量测方法 |
JP2010256471A (ja) * | 2009-04-22 | 2010-11-11 | Aiphone Co Ltd | フォーカス調整装置 |
CN101957553B (zh) | 2009-07-17 | 2014-02-19 | 鸿富锦精密工业(深圳)有限公司 | 测量镜头的调制传递函数值的方法 |
TW201203130A (en) * | 2010-07-05 | 2012-01-16 | Hon Hai Prec Ind Co Ltd | System for correcting image and correcting method thereof |
GB2482022A (en) * | 2010-07-16 | 2012-01-18 | St Microelectronics Res & Dev | Method for measuring resolution and aberration of lens and sensor |
US8581986B2 (en) * | 2010-08-30 | 2013-11-12 | Datacolor Holding Ag | Method and apparatus for measuring the focus performance of a camera and lens combination |
JP6004637B2 (ja) * | 2010-12-06 | 2016-10-12 | キヤノン株式会社 | レンズユニット、画像読取装置、及びレンズユニットの製造方法 |
US9009952B2 (en) * | 2011-08-29 | 2015-04-21 | Asm Technology Singapore Pte. Ltd. | Apparatus for assembling a lens module and an image sensor to form a camera module, and a method of assembling the same |
JP2013198053A (ja) * | 2012-03-22 | 2013-09-30 | Sharp Corp | カメラモジュールの製造方法 |
KR101387295B1 (ko) * | 2012-05-14 | 2014-04-18 | 삼성전기주식회사 | 카메라 모듈의 제조 장치 및 방법 |
WO2014205775A1 (en) * | 2013-06-28 | 2014-12-31 | Thomson Licensing | Automatic image color correction using an extended imager |
WO2015129120A1 (ja) * | 2014-02-26 | 2015-09-03 | 富士フイルム株式会社 | 撮像モジュールの製造方法及び撮像モジュールの製造装置 |
-
2014
- 2014-04-17 US US15/304,439 patent/US10375383B2/en not_active Expired - Fee Related
- 2014-04-17 JP JP2016513211A patent/JP2016526182A/ja active Pending
- 2014-04-17 WO PCT/CN2014/075582 patent/WO2015157962A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1796987A (zh) * | 2004-12-29 | 2006-07-05 | 鸿富锦精密工业(深圳)有限公司 | 光学检测装置和检测方法 |
CN1831626A (zh) * | 2005-03-07 | 2006-09-13 | 普立尔科技股份有限公司 | 数字成像系统的自动调焦方法及其预览自动解析判读方法 |
CN102411256A (zh) * | 2010-09-24 | 2012-04-11 | 鸿富锦精密工业(深圳)有限公司 | 镜头测试装置 |
CN102789111A (zh) * | 2011-05-19 | 2012-11-21 | 华晶科技股份有限公司 | 镜头校准系统及其方法 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105607409A (zh) * | 2016-01-07 | 2016-05-25 | 信利光电股份有限公司 | 一种双摄像头模组校正用的影像采集装置及其使用方法 |
CN107632407A (zh) * | 2017-11-08 | 2018-01-26 | 凌云光技术集团有限责任公司 | 一种柱透镜成像系统的校准装置 |
CN107632407B (zh) * | 2017-11-08 | 2020-02-04 | 凌云光技术集团有限责任公司 | 一种柱透镜成像系统的校准装置 |
Also Published As
Publication number | Publication date |
---|---|
US10375383B2 (en) | 2019-08-06 |
US20170048518A1 (en) | 2017-02-16 |
JP2016526182A (ja) | 2016-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015157962A1 (zh) | 镜头安装平整度的实时调整方法及装置 | |
CN101207833B (zh) | 数码相机镜头光心偏移的检测方法 | |
EP2461576B1 (en) | Image processing apparatus and image processing program | |
CN111308448B (zh) | 图像采集设备与雷达的外参确定方法及装置 | |
CN103955109B (zh) | 镜头安装平整度的实时调整方法及装置 | |
JP5043755B2 (ja) | 樹脂材料検査装置およびプログラム | |
EP1958158B1 (en) | Method for detecting streaks in digital images | |
JP2004222231A (ja) | 画像処理装置および画像処理プログラム | |
CN111861980A (zh) | 一种成像检测方法、电子设备及计算机可读存储介质 | |
CN115790384A (zh) | 一种基于凹版涂布的打光成像方法及装置 | |
EP1071042A2 (en) | Method for determining the components of image noise patterns of an imaging device and use of this method in an imaging device | |
JP2006139777A (ja) | 視覚モデルによりフラットパネル表示装置を検出する方法と装置 | |
CN111638039A (zh) | 一种基于人眼视觉特性的激光散斑测量系统 | |
JP2004279239A (ja) | 液晶パネルの表示欠陥検出方法及び表示欠陥検査装置 | |
CN105338340B (zh) | 非接触式图像性能客观测试方法 | |
JP2004219291A (ja) | 画面の線欠陥検出方法及び装置 | |
Koren | Using images of noise to estimate image processing behavior for image quality evaluation | |
JP2004134861A (ja) | 解像度評価方法、解像度評価プログラム、および光学機器 | |
JP3635327B2 (ja) | 焦点調整機構とズーム機構による高精度3次元計測方法およびそのための高精度3次元計測装置 | |
Boiangiu et al. | Target Validation and Image Color Calibration | |
JP2004219072A (ja) | 画面のスジ欠陥検出方法及び装置 | |
CN113532473B (zh) | 一种通过布置近场不动点的摄像测量误差抑制方法 | |
CN103640331A (zh) | 一种优化的印刷品清晰度检测方法 | |
van Zwanenberg et al. | Estimation of ISO12233 edge spatial frequency response from natural scene derived step-edge data (JIST-first) | |
CN109712132B (zh) | 一种使用电子器件计数装置自动筛选计数的方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2016513211 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14889524 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15304439 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14889524 Country of ref document: EP Kind code of ref document: A1 |