TWI797759B - Test chart, camera manufacturing device, camera manufacturing method, and focus detection program - Google Patents

Test chart, camera manufacturing device, camera manufacturing method, and focus detection program Download PDF

Info

Publication number
TWI797759B
TWI797759B TW110136448A TW110136448A TWI797759B TW I797759 B TWI797759 B TW I797759B TW 110136448 A TW110136448 A TW 110136448A TW 110136448 A TW110136448 A TW 110136448A TW I797759 B TWI797759 B TW I797759B
Authority
TW
Taiwan
Prior art keywords
camera
test chart
chart
slope
optical system
Prior art date
Application number
TW110136448A
Other languages
Chinese (zh)
Other versions
TW202232933A (en
Inventor
根岸真人
Original Assignee
日商長川日本有限公司
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 日商長川日本有限公司 filed Critical 日商長川日本有限公司
Publication of TW202232933A publication Critical patent/TW202232933A/en
Application granted granted Critical
Publication of TWI797759B publication Critical patent/TWI797759B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/36Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS 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
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Manufacturing & Machinery (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Optics & Photonics (AREA)
  • Studio Devices (AREA)
  • Focusing (AREA)
  • Image Analysis (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

A test chart is provided, which is configured to adjust a camera having an optical system and an imaging element. The test chart is provided with at least one inclined plane, the inclined plane has at least one boundary line, and the boundary line forms a boundary of at least one of color, shade, and brightness. The boundary line extends linearly along an inclination direction of the inclined plane, and the inclined plane is arranged to be inclined with respect to an optical axis of the optical system, and the boundary line is not parallel to an arrangement direction of pixels of the imaging element when the camera captures an image.

Description

測試圖卡、相機製造裝置、相機的製造方法以及焦點檢測程序 Test chart, camera manufacturing device, camera manufacturing method, and focus detection program

本發明關於測試圖卡、相機製造裝置、相機的製造方法以及焦點檢測程序。 The present invention relates to a test chart, a camera manufacturing device, a camera manufacturing method and a focus detection program.

本申請案請求以2020年10月5日申請的日本專利申請“特願2020-168262”為基礎的優先權,並引入上述日本專利申請中記載的全部記載內容。 This application claims the right of priority based on the Japanese patent application "Japanese Patent Application No. 2020-168262" filed on October 5, 2020, and incorporates all the contents described in the above-mentioned Japanese patent application.

已知有透過使用具有規定圖案的圖卡(chart)來調整光學系統與拍攝元件之間的位置從而製造相機的裝置(例如,專利文獻1)。 There is known a device that manufactures a camera by adjusting the position between an optical system and an imaging element using a chart having a predetermined pattern (for example, Patent Document 1).

現有技術文獻 prior art literature

專利文獻 patent documents

專利文獻1:日本特開2000-165623號公報 Patent Document 1: Japanese Patent Laid-Open No. 2000-165623

根據本發明的一個態樣,提供一種測試圖卡,其調整具有光學系統和拍攝元件的相機,所述測試圖卡具備至少一個斜面, 所述斜面具有至少一個邊界線,所述邊界線形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀地延伸,所述斜面配置為,相對於所述光學系統的光軸傾斜,並且在所述相機進行拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行。 According to one aspect of the present invention, a test chart is provided for adjusting a camera having an optical system and a photographing element, the test chart is provided with at least one inclined plane, The slope has at least one boundary line forming a boundary of at least one of color, shading, and brightness and extending linearly along an inclination direction of the slope, and the slope is arranged to be opposite to the The optical axis of the optical system is inclined, and when the camera is shooting, the boundary line is not parallel to the pixel arrangement direction of the shooting element.

本發明的另一個態樣,提供一種測試圖卡,其對相機進行調整,所述測試圖卡具有:設置在規定高度的頂點;以及夾著所述頂點向相反的傾斜方向傾斜的多個斜面,所述多個斜面分別具有從所述頂點側沿著各不相同的傾斜方向連續延伸的多個圖案。 Another aspect of the present invention provides a test chart for adjusting the camera. The test chart has: an apex set at a specified height; and a plurality of slopes inclined in opposite directions across the apex , each of the plurality of slopes has a plurality of patterns continuously extending from the apex side along different inclination directions.

根據本發明的又一個態樣,提供一種測試圖卡,其對相機進行調整,所述測試圖卡具備外側塊,其配置在遠離所述相機的視場的中央的位置,所述外側塊具有:在偏向所述中央側的位置處設置在規定高度的頂點;以及夾著所述頂點向相反的傾斜方向傾斜的多個斜面,所述測試圖卡配置為,當所述相機進行拍攝時,所述頂點位於所述外側塊的中心。 According to still another aspect of the present invention, a test chart is provided for adjusting the camera, the test chart has an outer block disposed at a position away from the center of the field of view of the camera, and the outer block has : an apex provided at a predetermined height at a position deviated from the central side; and a plurality of slopes inclined in opposite inclination directions across the apex, and the test chart is configured such that, when the camera takes a picture, The apex is located at the center of the outer block.

根據本發明的又一個態樣,提供一種相機製造裝置,具有:圖卡支承部,其支承規定的測試圖卡;相機支承部,其在能夠拍攝所述測試圖卡的位置支承具有光學系統和拍攝元件的相機的至少一部分;影像解析部,其對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置;以及 相機調整機構,其根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置,所述圖卡支承部構成為:支承作為所述測試圖卡的以下圖卡,即:該圖卡具備至少一個斜面,所述斜面具有形成顏色、濃淡以及亮度中的至少一個的邊界、並沿著該斜面的傾斜方向直線狀延伸的至少一個邊界線,並且以所述斜面相對於所述光學系統的光軸傾斜,並且當所述相機進行拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行的方式,支承所述測試圖卡,所述影像解析部根據所述邊界線的檢測結果來檢測所述焦點位置。 According to another aspect of the present invention, there is provided a camera manufacturing device, which has: a chart supporting part, which supports a prescribed test chart; a camera supporting part, which supports a camera with an optical system and a At least a part of the camera that captures the component; an image analysis unit that analyzes the image obtained by shooting the test chart and detects the focus position of the camera; and A camera adjustment mechanism, which adjusts the relative position of the optical system and the imaging element according to the focus position of the camera, and the chart supporting part is configured to support the following charts as the test chart, That is: the chart is provided with at least one inclined surface, and the inclined surface has at least one boundary line forming a boundary of at least one of color, shade and brightness, and extending linearly along the inclined direction of the inclined surface, and the inclined surface is opposite to each other. The optical axis of the optical system is inclined, and when the camera is shooting, the boundary line is not parallel to the pixel arrangement direction of the imaging element, and the test chart is supported, and the image analysis unit is based on The detection result of the boundary line is used to detect the focus position.

根據本發明的又一個態樣,提供一種相機製造裝置,具有:圖卡支承部,其支承規定的測試圖卡;相機支承部,其在能夠拍攝所述測試圖卡的位置支承具有光學系統和拍攝元件的相機的至少一部分;影像解析部,其對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置;以及相機調整機構,其根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置,所述圖卡支承部構成為:支承作為所述測試圖卡的以下圖卡,即:該圖卡具有設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面,所述斜面具有從所述頂點側沿著各不相同的傾斜方向連續延伸的多個圖案,所述影像解析部根據所述多個圖案的檢測結果的相關性來檢測所述焦點位置。 According to another aspect of the present invention, there is provided a camera manufacturing device, which has: a chart supporting part, which supports a prescribed test chart; a camera supporting part, which supports a camera with an optical system and a At least a part of the camera of the imaging element; an image analysis unit that analyzes the image obtained by shooting the test chart to detect the focus position of the camera; and a camera adjustment mechanism that adjusts the , adjusting the relative position of the optical system and the photographing element, the chart supporting part is configured to: support the following chart as the test chart, that is: the chart has a vertex and a clip arranged at a specified height an inclined surface inclined in opposite inclination directions from the apex, the inclined surface has a plurality of patterns continuously extending from the apex side in different inclination directions, and the image analysis unit detects the plurality of patterns based on Correlation of the results to detect the focus position.

根據本發明的又一個態樣,提供一種相機製造裝置,具有: 圖卡支承部,其支承規定的測試圖卡;相機支承部,其在能夠拍攝所述測試圖卡的位置支承具有光學系統和拍攝元件的相機的至少一部分;影像解析部,其對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置;以及相機調整機構,其根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置,所述圖卡支承部構成為:支承作為所述測試圖卡的以下圖卡,即:該圖卡具備配置在遠離所述相機的視場的中央的位置的外側塊,所述外側塊具有在偏向所述中央側的位置處設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面,並且,以所述相機進行拍攝時,所述頂點位於所述外側塊的中心的方式支承所述測試圖卡,所述影像解析部根據所述外側塊的檢測結果來檢測所述焦點位置。 According to another aspect of the present invention, a camera manufacturing device is provided, which has: A chart support unit, which supports a prescribed test chart; a camera support unit, which supports at least a part of a camera having an optical system and an imaging element at a position where the test chart can be photographed; an image analysis unit, which photographs the test chart. Analyzing the image obtained from the test chart to detect the focus position of the camera; and a camera adjustment mechanism, which adjusts the relative position between the optical system and the photographing element according to the focus position of the camera, the The chart support unit is configured to support the following chart as the test chart, that is, the chart has an outer block arranged at a position away from the center of the field of view of the camera, and the outer block has a An apex at a predetermined height and an inclined surface inclined in opposite inclination directions across the apex are provided at a position on the central side, and the apex is supported so that the apex is located at the center of the outer block when the camera takes an image. In the test chart, the video analysis unit detects the focus position based on a detection result of the outer block.

根據本發明的又一個態樣,提供一種相機的製造方法,包括:準備規定的測試圖卡的步驟;使用具有光學系統和拍攝元件的相機,拍攝所述測試圖卡的步驟;對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的步驟;以及根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置的步驟,在準備所述測試圖卡的步驟中, 準備作為所述測試圖卡的以下圖卡,即:該圖卡具備至少一個斜面,所述斜面具有形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀延伸的至少一個邊界線,以所述斜面相對於所述光學系統的光軸傾斜,並且當所述相機進行拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行的方式,配置所述測試圖卡,在對所述影像進行解析的步驟中,根據所述邊界線的檢測結果來檢測所述焦點位置。 According to still another aspect of the present invention, a method for manufacturing a camera is provided, comprising: a step of preparing a specified test chart; using a camera with an optical system and a photographing element to photograph the test chart; and photographing the test chart. The step of analyzing the image obtained from the test chart to detect the focus position of the camera; and the step of adjusting the relative position of the optical system and the photographing element according to the focus position of the camera. In the steps of the test chart described above, The following chart is prepared as the test chart, that is, the chart is provided with at least one slope, and the slope has a boundary forming at least one of color, shade and brightness, and is linear along the direction of inclination of the slope. The extended at least one boundary line is configured such that the slope is inclined relative to the optical axis of the optical system, and when the camera is shooting, the boundary line is not parallel to the pixel arrangement direction of the imaging element. In the step of analyzing the image, the test chart detects the focus position according to the detection result of the boundary line.

根據本發明的又一個態樣,提供一種相機的製造方法,包括:準備規定的測試圖卡的步驟;使用具有光學系統和拍攝元件的相機,拍攝所述測試圖卡的步驟;對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的步驟;以及根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置的步驟,在準備所述測試圖卡的步驟中,準備作為所述測試圖卡的以下圖卡,即:該圖卡具有設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面,所述斜面具有從所述頂點側沿著各不相同的傾斜方向連續延伸的多個圖案,在對所述影像進行解析的步驟中,根據所述多個圖案的檢測結果的相關性來檢測所述焦點位置。 According to still another aspect of the present invention, a method for manufacturing a camera is provided, comprising: a step of preparing a specified test chart; using a camera with an optical system and a photographing element to photograph the test chart; and photographing the test chart. The step of analyzing the image obtained from the test chart to detect the focus position of the camera; and the step of adjusting the relative position of the optical system and the photographing element according to the focus position of the camera. In the step of the test chart, prepare the following chart as the test chart, that is: the chart has a vertex arranged at a specified height and an inclined plane inclined in the opposite direction across the apex, the inclined plane There are a plurality of patterns continuously extending from the apex side in different oblique directions, and in the step of analyzing the image, the focus position is detected based on a correlation of detection results of the plurality of patterns. .

根據本發明的又一個態樣,提供一種相機的製造方法,包括:準備規定的測試圖卡的步驟;使用具有光學系統和拍攝元件的相機,拍攝所述測試圖卡的步驟; 對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的步驟;以及根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置的步驟,在準備所述測試圖卡的步驟中,準備作為所述測試圖卡的以下圖卡,即:該圖卡具備配置在遠離所述相機的視場的中央的位置上的外側塊,所述外側塊具有在偏向所述中央側的位置處設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面,以所述相機進行拍攝時,所述頂點位於所述外側塊的中心的方式配置所述測試圖卡,在對所述影像進行解析的步驟中,根據所述外側塊的檢測結果來檢測所述焦點位置。 According to another aspect of the present invention, there is provided a method for manufacturing a camera, comprising: a step of preparing a prescribed test chart; using a camera having an optical system and a photographing element to photograph the test chart; Analyzing the image obtained by taking the test chart, detecting the focus position of the camera; and adjusting the relative position of the optical system and the photographing element according to the focus position of the camera , in the step of preparing the test chart, the following chart is prepared as the test chart, that is, the chart is provided with an outer block arranged at a position away from the center of the field of view of the camera, the The outer block has an apex provided at a predetermined height at a position offset from the central side and a slope inclined in an opposite inclination direction across the apex, and the apex is located on the outer block when photographed by the camera. The test chart is configured in the center, and in the step of analyzing the image, the focus position is detected according to the detection result of the outer block.

根據本發明的又一個態樣,提供一種焦點檢測程序,所述焦點記錄程序使計算機執行以下流程:使用具有光學系統和拍攝元件的相機,取得規定的測試圖卡的影像的流程;以及對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的流程,在取得所述影像的流程中,使用作為所述測試圖卡的以下圖卡,即:該圖卡具備至少一個斜面,所述斜面具有形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀延伸的至少一個邊界線,在以以下方式配置所述測試圖卡的狀態下,取得所述測試圖卡的所述影像,即:以所述斜面相對於所述光學系統的光軸傾斜,並且當所述相機進行 拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行的方式,配置所述測試圖卡,在對所述影像進行解析的流程中,根據所述邊界線的檢測結果來檢測所述焦點位置。 According to still another aspect of the present invention, a focus detection program is provided, and the focus recording program causes a computer to execute the following procedures: using a camera with an optical system and a photographing element to obtain a prescribed image of a test chart; The image obtained by the test chart is analyzed to detect the focus position of the camera. In the process of obtaining the image, the following chart is used as the test chart, that is, the chart has at least an inclined surface having at least one boundary line forming a boundary of at least one of color, shading, and brightness and extending linearly along the inclined direction of the inclined surface, in a state where the test chart is arranged in the following manner Next, the image of the test chart is obtained, that is, the inclined plane is inclined relative to the optical axis of the optical system, and when the camera performs When shooting, the boundary line is not parallel to the pixel arrangement direction of the imaging element, and the test chart is configured, and in the process of analyzing the image, the detection results of the boundary line are detected. the focus position.

1:相機製造裝置 1: Camera manufacturing device

10:測試圖卡 10: Test chart card

20:相機 20: camera

90:測試圖卡 90:Test chart

110:3D塊 110: 3D blocks

110a:中央塊 110a: central block

110b:外側塊 110b: outer block

120:頂點 120: apex

122:中心標記 122: Center mark

130:稜線 130: Ridge

140:斜面 140: bevel

160:圖案 160: pattern

162:邊界線 162: Borderline

162a:邊界線 162a: Borderline

162b:邊界線 162b: Borderline

170:2D塊 170: 2D blocks

180:2D圖案 180: 2D pattern

182:邊界線 182: Borderline

184:點 184: point

190:支承板 190: support plate

220:光學系統 220: Optical system

240:拍攝元件 240: Photographing components

260:電路基板 260: circuit substrate

262:黏合劑 262: Adhesive

280:連接器 280: Connector

310:圖卡支承部 310: Chart support part

312:圖卡光源 312: Chart card light source

320:中繼透鏡 320: relay lens

340:相機支承部 340: camera support part

360:相機調整機構 360: camera adjustment mechanism

380:相機固定部 380: camera fixed part

400:控制部 400: control department

410:CPU 410:CPU

420:RAM 420: RAM

430:儲存裝置 430: storage device

440:I/O埠 440:I/O port

450:輸入部 450: input part

460:顯示部 460: display part

914:斜面 914: bevel

916:圖案 916: pattern

B1-B512:焦點位置 B 1 -B 512 : focus position

CI:影像 CI: Image

ER:評價區域 ER: Evaluation Area

L:距離 L: distance

S100:步驟 S100: step

S200:步驟 S200: Steps

S300:步驟 S300: Steps

S310:步驟 S310: step

S320:步驟 S320: step

S330:步驟 S330: step

S340:步驟 S340: step

S350:步驟 S350: Steps

S360:步驟 S360: Steps

S370:步驟 S370: Steps

S400:步驟 S400: Steps

S520:步驟 S520: step

S540:步驟 S540: step

S600:步驟 S600: Steps

x:方向 x: direction

y:方向 y: direction

z:方向 z: direction

α:傾斜角度 α : tilt angle

θX:傾斜角度 θ X : tilt angle

θY:傾斜角度 θ Y : tilt angle

θZ:傾斜角度 θ Z : tilt angle

圖1是示出本發明的第一實施方式所關於的測試圖卡的立體圖。 FIG. 1 is a perspective view showing a test chart according to the first embodiment of the present invention.

圖2A是示出本發明的第一實施方式所關於的測試圖卡的俯視圖。 Fig. 2A is a plan view showing a test chart according to the first embodiment of the present invention.

圖2B是由相機拍攝本發明的第1實施方式所關於的測試圖卡而得的影像的放大圖。 FIG. 2B is an enlarged view of an image captured by a camera of the test chart card according to the first embodiment of the present invention.

圖3是示出本發明的第1實施方式所關於的相機製造裝置的概要構成圖。 3 is a schematic configuration diagram showing a camera manufacturing apparatus according to the first embodiment of the present invention.

圖4是示出配置在相機製造裝置中的相機的概要構成圖。 FIG. 4 is a schematic configuration diagram showing a camera arranged in a camera manufacturing apparatus.

圖5是示出本發明的第一實施方式所關於的控制部的方塊圖。 Fig. 5 is a block diagram showing a control unit according to the first embodiment of the present invention.

圖6是示出本發明的第1實施方式所關於的相機的製造方法的流程圖。 6 is a flowchart showing a method of manufacturing the camera according to the first embodiment of the present invention.

圖7是拍攝測試圖卡時的影像。 Figure 7 is the image when shooting the test chart.

圖8A將測試圖卡中的一個圖案放大而得的圖。 Figure 8A is an enlarged view of a pattern in the test chart.

圖8B是示出評價區域的影像。 FIG. 8B is an image showing the evaluation area.

圖9是示出第1實施方式中的亮度相對於校正像素數的對應關係的圖。 FIG. 9 is a diagram showing a correspondence relationship of luminance to the number of corrected pixels in the first embodiment.

圖10是對各評價區域中的插補曲線進行頻率解析的圖。 FIG. 10 is a diagram of frequency analysis of interpolation curves in each evaluation area.

圖11是示出峰值空間頻率相對於邊界線的位置的對應關係的圖。 FIG. 11 is a graph showing the correspondence relationship of the peak spatial frequency with respect to the position of the boundary line.

圖12A是示出本發明的第一實施方式的變形例所關於的測試圖卡的立體圖。 FIG. 12A is a perspective view showing a test chart according to a modified example of the first embodiment of the present invention.

圖12B是示出本發明的第一實施方式的變形例所關於的測試圖卡的俯視圖。 12B is a plan view showing a test chart related to a modified example of the first embodiment of the present invention.

圖13是示出本發明的第二實施方式所關於的測試圖卡的立體圖。 Fig. 13 is a perspective view showing a test chart according to a second embodiment of the present invention.

圖14是示出本發明的第二實施方式所關於的測試圖卡的俯視圖。 Fig. 14 is a plan view showing a test chart according to a second embodiment of the present invention.

圖15是示出本發明的第二實施方式的變形例所關於的測試圖卡的立體圖。 FIG. 15 is a perspective view showing a test chart according to a modified example of the second embodiment of the present invention.

圖16是示出本發明的第二實施方式的變形例所關於的測試圖卡的俯視圖。 16 is a plan view showing a test chart according to a modified example of the second embodiment of the present invention.

圖17是示出本發明的第三實施方式所關於的測試圖卡的立體圖。 Fig. 17 is a perspective view showing a test chart according to a third embodiment of the present invention.

圖18是示出本發明的第三實施方式所關於的測試圖卡的俯視圖。 Fig. 18 is a plan view showing a test chart according to a third embodiment of the present invention.

圖19是示出本發明的第四實施方式所關於的測試圖卡的立體圖。 Fig. 19 is a perspective view showing a test chart according to a fourth embodiment of the present invention.

圖20是示出本發明的第四實施方式的變形例4-1所關於的測試圖卡的立體圖。 20 is a perspective view showing a test chart card according to Modification 4-1 of the fourth embodiment of the present invention.

圖21是示出本發明的第四實施方式的變形例4-2所關於的測試圖卡的立體圖。 21 is a perspective view showing a test chart card according to Modification 4-2 of the fourth embodiment of the present invention.

圖22A是示出比較例所關於的測試圖卡的立體圖。 FIG. 22A is a perspective view showing a test chart related to a comparative example.

圖22B是由相機拍攝比較例所關於的測試圖卡而得的影像的放大圖。 FIG. 22B is an enlarged view of an image captured by a camera of the test chart related to the comparative example.

圖23是示出比較例中的亮度相對於像素數的對應關係的圖。 FIG. 23 is a diagram showing a correspondence relationship of luminance with respect to the number of pixels in a comparative example.

[本發明要解決的問題] [Problems to be Solved by the Invention]

本發明的目的在於提供一種能夠高精度地調整光學系統與拍攝元件的相對位置的技術。 An object of the present invention is to provide a technique capable of adjusting the relative positions of an optical system and an imaging element with high precision.

[本公開的效果] [Effect of this disclosure]

根據本公開,能夠高精度地調整光學系統與拍攝元件的相對位置。 According to the present disclosure, the relative positions of the optical system and the imaging element can be adjusted with high precision.

[本公開的實施方式的說明] [Description of Embodiments of the Present Disclosure]

<發明人得到的見解> <Invention gained by the inventor>

首先,對發明人得到的見解進行說明。 First, the findings obtained by the inventors will be described.

本發明人為了高精度地調整相機,研究了具有三維結構的圖卡作為測試圖卡。然而,發現根據測試圖卡的結構等的不同,焦點位置的檢測精度有可能降低。 The present inventors studied a chart having a three-dimensional structure as a test chart in order to adjust a camera with high precision. However, it has been found that the detection accuracy of the focus position may decrease depending on the structure of the test chart or the like.

在此,使用圖22A、圖22B以及圖23對比較例的測試圖卡90進行說明。 Here, the test chart 90 of a comparative example is demonstrated using FIG.22A, FIG.22B, and FIG.23.

作為用於調整相機的圖卡,例如可以考慮圖22A所示那樣的比較例的測試圖卡90。比較例的測試圖卡90例如具有三稜柱結構,具有相對於相機的光軸傾斜配置的1個斜面914。斜面914例如作為圖案916而具有形成白與黑的邊界之邊界線。透過取得具備這種三稜柱結構的比較例的測試圖卡90的影像,能夠基於影像內的圖案916的檢測結果,容易地檢測出光軸方向的相機的焦點位置。 As a chart for adjusting the camera, for example, a test chart 90 of a comparative example as shown in FIG. 22A can be considered. The test chart 90 of the comparative example has, for example, a triangular prism structure, and has one slope 914 arranged obliquely with respect to the optical axis of the camera. The slope 914 has a boundary line forming a boundary between white and black, for example, as a pattern 916 . By acquiring an image of the test chart 90 of the comparative example having such a triangular prism structure, the focus position of the camera in the optical axis direction can be easily detected based on the detection result of the pattern 916 in the image.

然而,在比較例的測試圖卡90中,由於僅設置了1個斜面914,所以作為焦點位置而得到的資料僅是基於沿著該斜面914延伸的邊界線而得到的1個資料。因此,焦點位置的檢測精度有可能降低。例如,難以高精度地檢測相機的光軸的傾斜。 However, in the test chart 90 of the comparative example, since only one slope 914 is provided, the data obtained as the focus position is only one data obtained based on the boundary line extending along the slope 914 . Therefore, the detection accuracy of the focus position may decrease. For example, it is difficult to detect the inclination of the optical axis of the camera with high precision.

另外,在比較例中,例如,如圖22B所示,以在相機進行拍攝時邊界線與像素排列方向平行的方式配置測試圖卡90。 In addition, in the comparative example, for example, as shown in FIG. 22B , the test chart 90 is arranged such that the boundary line is parallel to the pixel arrangement direction when the camera is shooting.

然而,在比較例中,例如如圖23所示,在與邊界線相交的規定的評價區域中檢測到作為指標值的亮度的變化時,以像素間距(每個單位pixel)繪製作為各像素的指標值的亮度。另外,在影像內指標值的變化在邊界線的延伸方向上是均等的,所以示出規定的指標值的多個點會被重疊繪製。因 此,難以檢測比像素間距小的範圍內的指標值的變化。即,指標值的變化的檢測精度降低。其結果是,有可能降低焦點位置的檢測精度。 However, in the comparative example, for example, as shown in FIG. 23 , when a change in luminance as an index value is detected in a predetermined evaluation area intersecting a boundary line, the luminance as each pixel is plotted at a pixel pitch (per unit pixel). The brightness of the indicator value. In addition, since the change of the index value in the image is uniform in the extending direction of the boundary line, a plurality of points showing predetermined index values are drawn superimposedly. because Therefore, it is difficult to detect changes in index values within a range smaller than the pixel pitch. That is, the detection accuracy of the change in the index value decreases. As a result, the detection accuracy of the focus position may be lowered.

如上所述,在比較例中,由於焦點位置的檢測精度降低,所以有可能無法高精度地調整相機中的光學系統與拍攝元件之間的相對位置。 As described above, in the comparative example, since the detection accuracy of the focus position is lowered, there is a possibility that the relative position between the optical system and the imaging element in the camera cannot be adjusted with high precision.

以下的本發明是基於發明人等發現的上述新課題的內容。 The present invention below is based on the above-mentioned new subject discovered by the inventors.

[本公開的實施方式的詳細情況] [Details of Embodiments of the Present Disclosure]

接著,以下參考圖式說明本公開的一個實施方式。另外,本公開不限於這些例示,而是透過申請專利範圍來示出,旨在包括與申請專利範圍均等的意義和範圍內的所有變更。 Next, one embodiment of the present disclosure will be described below with reference to the drawings. In addition, this indication is not limited to these illustrations, It shows by the claim, It is intended that all changes within the meaning and range equivalent to a claim are included.

<本發明的第一實施方式> <First Embodiment of the Present Invention>

(1)測試圖卡 (1) Test chart

使用圖1~圖2B說明本實施方式所關於的測試圖卡10。另外,在圖1中,支承板190被示出為比實際小,在圖2A中省略了支承板190。 The test chart 10 related to this embodiment will be described using FIGS. 1 to 2B . In addition, in FIG. 1 , the support plate 190 is shown smaller than it actually is, and the support plate 190 is omitted in FIG. 2A .

另外,以下,以測試圖卡10配置在相機製造裝置1內時的相機20為基準,有時將光學系統220的光軸方向稱為“Z方向”(設從測試圖卡10朝向相機20為+),將與光學系統220的光軸正交的、拍攝元件240的像素排列方向中的一個方向稱為“X方向”,將與光學系統220的光軸正交的、拍攝元件240的像素排列方向中的與X方向正交的另一個方向稱為“Y方向”。另外,有時將以Z方向為軸的旋轉方向稱為“θZ方向”,將以X方向為軸的旋轉方向稱為“θX方向”,將以Y方向為軸的旋轉方向稱為“θY方向”。 In addition, hereinafter, with the camera 20 when the test chart 10 is arranged in the camera manufacturing apparatus 1 as a reference, the optical axis direction of the optical system 220 is sometimes referred to as "Z direction" (assuming that the direction from the test chart 10 to the camera 20 is +), the direction perpendicular to the optical axis of the optical system 220 and one of the pixel arrangement directions of the imaging element 240 is called "X direction", and the pixel of the imaging element 240 perpendicular to the optical axis of the optical system 220 The other direction perpendicular to the X direction among the arrangement directions is called "Y direction". In addition, the rotational direction around the Z direction may be referred to as "θ Z direction", the rotational direction around the X direction as "θ X direction", and the rotational direction around the Y direction as "θ X direction". θ Y direction".

如圖1和圖2A所示,本實施方式的測試圖卡10例如具備三維結構(立體結構)。測試圖卡10例如在斜面140上具有用於調整相機20中的光學系統220與拍攝元件240之間的位置的圖案160。 As shown in FIGS. 1 and 2A , the test chart 10 according to the present embodiment has, for example, a three-dimensional structure (three-dimensional structure). The test chart 10 has, for example, a pattern 160 for adjusting the position between the optical system 220 and the imaging element 240 in the camera 20 on the slope 140 .

具體而言,本實施方式的測試圖卡10例如具有支承板190和三維塊(3D塊)110。 Specifically, the test chart 10 of the present embodiment includes, for example, a support plate 190 and a three-dimensional block (3D block) 110 .

支承板190例如構成為板狀構件,並且構成為支承3D塊110。支承板190例如為了使來自外部的光、例如房間的照明光不進入而由塗黑的鋁合金製成。俯視圖中的支承板190的形狀例如是四邊形(長方形)。 The support plate 190 is configured as a plate-shaped member, for example, and configured to support the 3D block 110 . The support plate 190 is made of black-coated aluminum alloy, for example, so that light from the outside, such as room lighting, does not enter. The shape of the support plate 190 in plan view is, for example, a quadrilateral (rectangular).

支承板190構成為在後述的相機製造裝置1中被支承(固定)在圖卡支承部310上。支承板190例如可以具有供在圖卡支承部310的規定位置上固定的被固定部(未圖示)。作為被固定部,例如可以舉出供螺栓插通的貫通孔等。 The support plate 190 is configured to be supported (fixed) on the card support portion 310 in the camera manufacturing apparatus 1 described later. The support plate 190 may have, for example, a fixed portion (not shown) to be fixed at a predetermined position of the chart support portion 310 . As a fixed part, the through-hole etc. which are penetrated by a bolt etc. are mentioned, for example.

3D塊110例如設置在支承板190上,具有三維結構。本實施方式的3D塊110例如構成為錐體。作為3D塊110所構成的錐體,例如可以舉出多稜錐(三稜錐、四稜錐等)或圓錐等。在本實施方式中,3D塊110例如構成為四稜錐(正四稜錐)。 The 3D block 110 is, for example, disposed on a support plate 190 and has a three-dimensional structure. The 3D block 110 of this embodiment is configured as a pyramid, for example. Examples of pyramids constituted by the 3D blocks 110 include polygonal pyramids (triangular pyramids, quadrangular pyramids, etc.), circular cones, and the like. In this embodiment, the 3D block 110 is configured as, for example, a quadrangular pyramid (regular quadrangular pyramid).

在本實施方式中,3D塊110例如設置有1個。3D塊110例如設置在支承板190的中央。 In this embodiment, for example, one 3D block 110 is provided. The 3D block 110 is disposed, for example, at the center of the support plate 190 .

本實施方式的3D塊110例如具有底面(未圖示)、頂點120和斜面140。 The 3D block 110 of this embodiment has, for example, a bottom surface (not shown), an apex 120 , and a slope 140 .

3D塊110的底面例如與支承板190的上表面接觸,相對於支承板190被固定。在本實施方式中,底面的形狀例如是具有4個正交的底邊的正方形。 The bottom surface of the 3D block 110 is in contact with, for example, the upper surface of the support plate 190 and is fixed to the support plate 190 . In this embodiment, the shape of the bottom surface is, for example, a square having four orthogonal bases.

頂點120例如設置在距支承板190規定高度的位置。 The apex 120 is provided, for example, at a predetermined height from the support plate 190 .

具體而言,例如按照以下的順序設定頂點120的高度。根據成品相機模組的規格確定目標焦點位置。此時,也可以透過更換後述的中繼透鏡320來調整目標焦點位置。例如,即使在組裝成在前幾m處對焦的相機20的情況 下,只要選擇將前幾m處的焦點位置變換為200mm左右的中繼透鏡320,就不需要製作大到超過幾m的相機製造裝置1。這裡所說的200mm左右的距離是容易製作相機製造裝置1的大小。接著,將其目標焦點位置設為3D塊110的中央、即頂點120的高度的一半。接著,以能夠測定組裝前的相機20的焦點位置的方式設定頂點120的高度。在此,組裝前的相機20的焦點位置可能會因相機支承部340和相機調整機構360的運動誤差而產生偏差。因此,如果這些機構的精度高,則可以降低頂點120的高度。相反,如果增加頂點120的高度,則可以降低上述機構的精度。 Specifically, for example, the height of the apex 120 is set in the following order. Determine the target focus position according to the specifications of the finished camera module. At this time, the target focus position can also be adjusted by replacing the relay lens 320 described later. For example, even in the case of a camera 20 assembled to focus at the first few m Next, as long as the relay lens 320 that converts the focal position at the first few meters to about 200 mm is selected, there is no need to manufacture a camera manufacturing device 1 that is larger than several meters. The distance of about 200 mm mentioned here is a size that makes it easy to manufacture the camera manufacturing apparatus 1 . Next, the target focus position is set to the center of the 3D block 110 , that is, half the height of the vertex 120 . Next, the height of the apex 120 is set so that the focus position of the camera 20 before assembly can be measured. Here, the focus position of the camera 20 before assembly may deviate due to motion errors of the camera support 340 and the camera adjustment mechanism 360 . Therefore, if the precision of these mechanisms is high, the height of the apex 120 can be reduced. Conversely, if the height of the apex 120 is increased, the accuracy of the mechanism described above can be reduced.

在本實施方式中,頂點120例如在俯視時位於3D塊110(支承板190)的中央。 In the present embodiment, the vertex 120 is located at the center of the 3D block 110 (support plate 190 ), for example, in plan view.

斜面140例如連接底邊和頂點120,相對於底面的法線方向傾斜地設置。例如,測試圖卡10由後述的圖卡支承部310支承,以使該斜面140相對於待調整的相機20的光學系統220的光軸傾斜。 The inclined surface 140 connects the bottom side and the apex 120 , for example, and is arranged obliquely with respect to the normal direction of the bottom surface. For example, the test chart 10 is supported by a chart support portion 310 described later such that the slope 140 is inclined with respect to the optical axis of the optical system 220 of the camera 20 to be adjusted.

在本實施方式中,斜面140例如設置有4個。4個斜面140例如夾著頂點120向相反的傾斜方向傾斜。在本實施方式中,4個斜面140各自的形狀例如為等腰三角形。 In this embodiment, for example, four slopes 140 are provided. For example, the four inclined surfaces 140 are inclined in opposite inclination directions across the apex 120 . In this embodiment, the shape of each of the four slopes 140 is, for example, an isosceles triangle.

斜面140例如具有圖案160。這裡所說的“圖案160”是指相機20能夠拍攝的圖樣或花樣等。 The slope 140 has, for example, a pattern 160 . The “pattern 160 ” referred to here refers to a design, pattern, or the like that can be photographed by the camera 20 .

在本實施方式中,例如,多個斜面140的每一個具有圖案160。多個圖案160例如從頂點120側起沿著各不相同的傾斜方向連續地延伸。透過使圖案160沿著斜面140連續,能夠在連續的圖案160上高精度地檢測相機20的焦點位置(後述的暫定焦點位置)。另外,透過使多個圖案160沿不同的傾斜方向延伸,能夠根據多個圖案160的檢測結果的相關性來檢測相機20的最佳焦點位置。 In this embodiment, for example, each of the plurality of slopes 140 has a pattern 160 . The plurality of patterns 160 continuously extend in different oblique directions, for example, from the apex 120 side. By making the pattern 160 continuous along the slope 140 , the focus position of the camera 20 (temporary focus position described later) can be detected with high precision on the continuous pattern 160 . In addition, by extending the plurality of patterns 160 along different oblique directions, the best focus position of the camera 20 can be detected according to the correlation of the detection results of the plurality of patterns 160 .

在本實施方式中,多個圖案160例如設置成:在相機20的光學系統220的光軸方向上從頂點120的上方(正上方)觀察時(在實際空間中目視時,即在設計上)以頂點120為中心成為點對稱。由此,根據相對於頂點12點對稱的各圖案160的檢測結果,能夠均衡地檢測相機20的焦點位置。 In the present embodiment, the plurality of patterns 160 are provided, for example, when viewed from above (directly above) the vertex 120 in the direction of the optical axis of the optical system 220 of the camera 20 (when viewed visually in real space, that is, in terms of design). It is point-symmetric about the vertex 120 . Accordingly, the focus position of the camera 20 can be detected in a balanced manner based on the detection results of the respective patterns 160 that are point-symmetrical to the vertex 12 .

另外,在由相機20拍攝到的影像內,多個圖案160不一定是點對稱的。例如,可以考慮調整前的相機20的光學系統220的朝向不是朝向正面的影響,或者光學系統220的畸變像差的影響等。 In addition, in the image captured by the camera 20 , the patterns 160 are not necessarily point-symmetrical. For example, the effect that the orientation of the optical system 220 of the camera 20 before adjustment is not facing the front, or the effect of the distortion of the optical system 220 may be considered.

在本實施方式中,斜面140例如作為圖案160而具有至少一個邊界線162。邊界線162例如形成顏色、濃淡以及亮度中的至少某一個的邊界。另外,邊界線162例如沿著該斜面140的傾斜方向直線狀地延伸。 In this embodiment, the slope 140 has at least one boundary line 162 as a pattern 160 , for example. The boundary line 162 forms, for example, a boundary of at least one of color, shade, and brightness. In addition, the boundary line 162 extends, for example, linearly along the inclination direction of the slope 140 .

在本實施方式中,各斜面140例如具有多條邊界線162。具體而言,斜面140例如具有在黑色的基體面上開設的狹縫(線狀開口)。即,狹縫的兩邊構成邊界線162a、162b。 In this embodiment, each slope 140 has a plurality of boundary lines 162 , for example. Specifically, the slope 140 has, for example, slits (linear openings) formed on the black base surface. That is, both sides of the slit constitute boundary lines 162a, 162b.

另外,如圖2A所示,狹縫例如對每個斜面140各設置1個。合計4個狹縫配置成俯視時為十字狀,分別延長4個狹縫而得的4個假想直線在頂點120處相交。由此,如上所述,在實際空間中目視時,以頂點120為中心成為點對稱。 In addition, as shown in FIG. 2A , for example, one slit is provided for each slope 140 . A total of four slits are arranged in a cross shape in plan view, and four imaginary straight lines obtained by extending the four slits intersect at a vertex 120 . Accordingly, as described above, when viewed visually in real space, point symmetry is formed around the apex 120 .

另外,如圖1所示,對於邊界線162上的規定點(例如,後述的暫定焦點位置),Z是支承板190上的Z(高度)方向的坐標,L是俯視(影像)時自邊界線162的下端沿著邊界線162的方向的距離。 In addition, as shown in FIG. 1 , for a predetermined point on the boundary line 162 (for example, a tentative focus position described later), Z is the coordinate in the Z (height) direction on the support plate 190, and L is the distance from the boundary in plan view (video). The distance of the lower end of the line 162 along the direction of the boundary line 162 .

(影像內的配置) (configuration in video)

在此,使用圖2B說明待調整的相機20拍攝到的影像中的邊界線162的配置。 Here, the arrangement of the boundary line 162 in the image captured by the camera 20 to be adjusted will be described using FIG. 2B .

如圖2B所示,在本實施方式中,以相機20拍攝時邊界線162與拍攝元件240的像素排列方向不平行的方式配置測試圖卡10。換言之,以相機20拍攝時邊界線162與拍攝元件240的像素排列方向相交的方式配置測試圖卡10。由此,能夠以比像素間距更細的間距檢測像素的指標值的變化。 As shown in FIG. 2B , in the present embodiment, the test chart 10 is arranged so that the boundary line 162 is not parallel to the pixel arrangement direction of the imaging element 240 when the camera 20 takes pictures. In other words, the test chart 10 is arranged such that the boundary line 162 intersects the pixel arrangement direction of the imaging element 240 when the camera 20 takes pictures. This makes it possible to detect changes in the index value of pixels at a pitch finer than the pixel pitch.

進一步地,在本實施方式中,以相機20拍攝時邊界線162相對於拍攝元件240的像素排列方向呈直線狀傾斜的方式配置測試圖卡10。 Further, in this embodiment, the test chart 10 is arranged such that the boundary line 162 is linearly inclined with respect to the pixel arrangement direction of the imaging element 240 when the camera 20 takes pictures.

邊界線162相對於像素排列方向的傾斜角度α例如大於0.02rad。由此,能夠對50列的像素的資料進行插補,評價與1個像素相當的指標值。但是,實際上,如果增加後述的評價區域ER的列數,則存在影像橫向的分辨率、即焦點位置的Z方向的分辨率變差的傾向。即,存在插補精度越提高,影像橫向的分辨率越惡化的傾向。因此,實際上將評價區域ER的列數設為10列以上30列以下。 The inclination angle α of the boundary line 162 relative to the pixel arrangement direction is greater than 0.02 rad, for example. Thereby, data of pixels in 50 rows can be interpolated, and an index value corresponding to one pixel can be evaluated. However, actually, if the number of rows of evaluation regions ER described later is increased, the resolution in the horizontal direction of the image, that is, the resolution in the Z direction of the focus position tends to deteriorate. That is, there is a tendency that the resolution in the horizontal direction of the image deteriorates as the interpolation accuracy increases. Therefore, in practice, the number of rows of the evaluation region ER is set to 10 or more and 30 or less.

另一方面,邊界線162相對於像素排列方向的傾斜角度α例如為約0.79rad(45°)以下。由此,能夠高精度地掌握比1個像素更細的指標值的變化。 On the other hand, the inclination angle α of the boundary line 162 with respect to the pixel arrangement direction is, for example, about 0.79 rad (45°) or less. Thereby, it is possible to grasp the change of the index value finer than one pixel with high precision.

這裡,在相機20進行拍攝時,考慮會受到光學系統220的畸變像差的影響。 Here, it is considered that the camera 20 is affected by the distortion aberration of the optical system 220 when taking pictures.

然而,在本實施方式中,測試圖卡10被配置為,在相機20進行拍攝時,邊界線162相對於拍攝元件240的像素排列方向的偏移大於僅由光學系統220的畸變像差引起的偏移。即,相機20進行拍攝時邊界線162相對於像素排列方向的偏移例如具有光學系統220的畸變像差引起的成分和相對於拍攝元件240的像素排列方向呈直線狀傾斜的成分(也稱為直線傾斜成分)。 However, in the present embodiment, the test chart 10 is configured so that when the camera 20 takes pictures, the deviation of the boundary line 162 relative to the pixel arrangement direction of the picture element 240 is larger than that caused only by the distortion aberration of the optical system 220. offset. That is, the deviation of the boundary line 162 with respect to the pixel arrangement direction when the camera 20 takes an image has, for example, a component caused by the distortion aberration of the optical system 220 and a component inclined linearly with respect to the pixel arrangement direction of the imaging element 240 (also referred to as Straight line slope component).

另外,在相機20進行拍攝時,由於成像倍率的不同,靠近相機20一側的狹縫的寬度比底邊一側的狹縫的寬度寬。因此,在一個狹縫中,一方 的邊界線162a和另一方的邊界線162b相互不平行。然而,即使在考慮了由上述成像倍率的不同導致的影響的基礎上,也較佳在影像CI內,邊界線162a、162b分別與像素排列方向相交。 In addition, when the camera 20 is shooting, due to the difference in imaging magnification, the width of the slit on the side close to the camera 20 is wider than the width of the slit on the bottom side. Therefore, in a slit, one side The boundary line 162a of one side and the boundary line 162b of the other side are not parallel to each other. However, even after considering the influence of the above-mentioned difference in imaging magnification, it is preferable that in the image CI, the boundary lines 162a and 162b respectively intersect with the pixel arrangement direction.

作為可以獲得這種在影像CI內的配置的實際空間中的測試圖卡10的配置,例如,3D塊110的4個底邊分別與支承板190的4個邊(對應於拍攝元件240的正交的像素排列方向)中的某一個平行。與此相對,各斜面140中的邊界線162在俯視時相對於4個底邊中的某一個的延伸方向以規定的角度α傾斜。 As the configuration of the test chart 10 in real space that can obtain such a configuration in the image CI, for example, the four bottom sides of the 3D block 110 are respectively connected to the four sides of the support plate 190 (corresponding to the positive side of the imaging element 240). One of the intersecting pixel arrangement directions) is parallel. On the other hand, the boundary line 162 of each slope 140 is inclined at a predetermined angle α with respect to the extending direction of any one of the four bases in plan view.

(2)相機製造裝置 (2) Camera manufacturing device

接著,使用圖1~圖5說明本實施方式所關於的相機製造裝置1。 Next, the camera manufacturing apparatus 1 according to this embodiment will be described using FIGS. 1 to 5 .

如圖3所示,本實施方式的相機製造裝置1例如構成為,根據測試圖卡10的檢測結果,調整相機20中的光學系統220與拍攝元件240之間的相對位置。具體而言,相機製造裝置1例如具有圖卡支承部310、中繼透鏡320、相機支承部340、相機調整機構360、相機固定部380和控制部400。 As shown in FIG. 3 , the camera manufacturing apparatus 1 of the present embodiment is configured, for example, to adjust the relative position between the optical system 220 and the imaging element 240 in the camera 20 based on the detection result of the test chart 10 . Specifically, the camera manufacturing apparatus 1 includes, for example, a chart support unit 310 , a relay lens 320 , a camera support unit 340 , a camera adjustment mechanism 360 , a camera fixing unit 380 , and a control unit 400 .

(相機) (camera)

在此,使用圖4說明由相機製造裝置1調整的相機20。如圖4所示,相機20例如具有光學系統220、自動對焦機構(未圖示)、拍攝元件240、電路基板260和連接器280。 Here, the camera 20 adjusted by the camera manufacturing apparatus 1 will be described using FIG. 4 . As shown in FIG. 4 , the camera 20 includes, for example, an optical system 220 , an autofocus mechanism (not shown), an imaging element 240 , a circuit board 260 , and a connector 280 .

光學系統220例如具有包含至少一個透鏡的透鏡組(未圖示)和透鏡鏡筒(未圖示)。透鏡鏡筒將透鏡組一體地支承。 The optical system 220 has, for example, a lens group (not shown) including at least one lens and a lens barrel (not shown). The lens barrel integrally supports the lens group.

自動對焦機構例如構成為能夠使支承透鏡組的透鏡鏡筒沿光軸移動。作為自動對焦機構,例如可以舉出音圈電機等致動器等。 The autofocus mechanism is configured to be able to move, for example, a lens barrel supporting the lens group along the optical axis. As an autofocus mechanism, actuators, such as a voice coil motor, etc. are mentioned, for example.

拍攝元件240例如構成為固體影像傳感器。作為拍攝元件240,例如可以舉出CCD(Charge Coupled Device)或CMOS(Complementary Metal-Oxide Semiconductor)等。 The imaging element 240 is configured as a solid-state image sensor, for example. As the imaging element 240, a CCD (Charge Coupled Device) or a CMOS (Complementary Metal-Oxide Semiconductor), etc. are mentioned, for example.

拍攝元件240例如配置在與光學系統220的光軸正交且經由光學系統220成像的位置。該拍攝元件240與光學系統220之間的相對位置透過相機製造裝置1進行調整。 The imaging element 240 is arranged, for example, at a position perpendicular to the optical axis of the optical system 220 and forms an image through the optical system 220 . The relative position between the imaging element 240 and the optical system 220 is adjusted through the camera manufacturing device 1 .

電路基板260例如構成為搭載拍攝元件240,驅動拍攝元件240和自動對焦機構。在電路基板260上的拍攝元件240的周邊塗敷有用於固定光學系統220的黏接劑262。作為黏接劑262,例如可以舉出紫外線固化樹脂。 The circuit board 260 is configured, for example, to mount the imaging element 240 and to drive the imaging element 240 and an autofocus mechanism. An adhesive 262 for fixing the optical system 220 is coated on the periphery of the imaging element 240 on the circuit board 260 . Examples of the adhesive 262 include ultraviolet curable resin.

連接器280構成為能夠與搭載有相機20的移動電話等連接。另外,在相機製造裝置1中,也經由連接器280連接相機20。 The connector 280 is configured to be connectable to a mobile phone or the like on which the camera 20 is mounted. In addition, in the camera manufacturing apparatus 1 , the camera 20 is also connected via the connector 280 .

(圖卡支承部) (chart support part)

圖卡支承部310例如構成為支承測試圖卡10。 The chart support unit 310 is configured to support the test chart 10 , for example.

本實施方式的測試圖卡支承部310例如構成為,以斜面140相對於光學系統220的光軸傾斜、並且在相機20拍攝時邊界線162與拍攝元件240的像素排列方向不平行的方式支承測試圖卡10。 The test chart support unit 310 of this embodiment is configured, for example, to support the test chart so that the slope 140 is inclined relative to the optical axis of the optical system 220 and the boundary line 162 is not parallel to the pixel arrangement direction of the imaging element 240 when the camera 20 takes pictures. Chart 10.

具體而言,在圖卡支承部310上,例如以測試圖卡10的支承板190與光學系統220的光軸正交且支承板190的中央與光學系統220的光軸一致的方式配置測試圖卡10。此外,在圖卡支承部310上,例如以3D塊110的各斜面140上的邊界線162相對於拍攝元件240的像素排列方向以規定的角度α傾斜的方式配置測試圖卡10。 Specifically, on the chart support portion 310, for example, the test chart is arranged in such a way that the support plate 190 of the test chart 10 is perpendicular to the optical axis of the optical system 220 and the center of the support plate 190 coincides with the optical axis of the optical system 220. Card 10. Also, on the chart support portion 310 , for example, the test chart 10 is arranged such that the boundary line 162 on each slope 140 of the 3D block 110 is inclined at a predetermined angle α with respect to the pixel array direction of the imaging device 240 .

在該狀態下,在測試圖卡10的作為被固定部的貫通孔中插入螺栓,螺栓與測試圖卡支承部310的螺紋孔螺合。以這種方式,測試圖卡10被固定到圖卡支承部310。 In this state, a bolt is inserted into the through hole of the test chart 10 as the portion to be fixed, and the bolt is screwed into the threaded hole of the test chart support portion 310 . In this way, the test chart 10 is fixed to the chart support portion 310 .

另外,圖卡支承部310例如也可以構成為能夠在光軸方向上對測試圖卡10進行位置調節。具體而言,例如也可以是,能夠透過進給絲槓使測試圖卡10在光軸方向上移動±50mm左右。 In addition, the chart support part 310 may be configured so that the position of the test chart 10 can be adjusted in the optical axis direction, for example. Specifically, for example, the test chart 10 may be able to move about ±50 mm in the optical axis direction through a feed screw.

圖卡支承部310例如具有圖卡光源312。圖卡光源312例如夠成為配置在測試圖卡10的背面側,從3D塊110的內側照射光,使光從斜面140的狹縫透過。 The chart support 310 has, for example, a chart light source 312 . The chart light source 312 can be arranged, for example, on the back side of the test chart 10 , irradiates light from the inside of the 3D block 110 , and transmits the light through the slit of the slope 140 .

另外,相機製造裝置1的側面較佳被不透明的亞克力板或幕布覆蓋而遮光。 In addition, the side of the camera manufacturing device 1 is preferably covered with an opaque acrylic plate or curtain to block light.

(中繼透鏡) (relay lens)

中繼透鏡320例如構成為將測試圖卡10的像成像於拍攝元件240的位置。中繼透鏡320例如構成為凸透鏡。透過這樣的構成,能夠縮短相機製造裝置1內的物像間距離。例如,在調整以焦距為10m設計的相機20的情況下,能夠將物像間距離縮短為200mm。中繼透鏡320被配置成,使得中繼透鏡320的光軸與測試圖卡10的中央法線與相機20的光學系統220的光軸重疊。 The relay lens 320 is configured, for example, to form an image of the test chart 10 at the position of the imaging element 240 . The relay lens 320 is configured as a convex lens, for example. With such a configuration, the distance between objects and images in the camera manufacturing apparatus 1 can be shortened. For example, when adjusting the camera 20 designed with a focal length of 10 m, the distance between the object and the image can be shortened to 200 mm. The relay lens 320 is configured such that the optical axis of the relay lens 320 overlaps with the central normal of the test chart 10 and the optical axis of the optical system 220 of the camera 20 .

(相機支承部) (Camera support part)

相機支承部340例如構成為在能夠拍攝測試圖卡10的位置支承具有光學系統220和拍攝元件240的相機20的至少一部分。在本實施方式中,相機支承部340例如構成為支承拍攝元件240、電路基板260以及連接器280。 The camera support unit 340 is configured, for example, to support at least a part of the camera 20 including the optical system 220 and the imaging element 240 at a position capable of imaging the test chart 10 . In the present embodiment, the camera support unit 340 is configured to support, for example, the imaging element 240 , the circuit board 260 , and the connector 280 .

相機20的連接器280與相機支承部340連接。由此,在相機製造裝置1中,能夠透過拍攝元件240對測試圖卡10進行拍攝。 The connector 280 of the camera 20 is connected to the camera support 340 . Accordingly, in the camera manufacturing apparatus 1 , the test chart 10 can be photographed through the imaging element 240 .

(相機調整機構) (camera adjustment mechanism)

相機調整機構360例如構成為根據相機20的焦點位置來調整光學系統220與拍攝元件240的相對位置。 The camera adjustment mechanism 360 is configured, for example, to adjust the relative position of the optical system 220 and the imaging element 240 according to the focus position of the camera 20 .

具體而言,相機調整機構360例如構成為能夠在Z方向、X方向、Y方向、θZ方向、θX方向以及θY方向上調整光學系統220。進一步地,相機調整機構360例如也可以構成為能夠在X方向和Y方向上調整支承拍攝元件240的相機支承部340。 Specifically, the camera adjustment mechanism 360 is configured to be able to adjust the optical system 220 in the Z direction, the X direction, the Y direction, the θ Z direction, the θ X direction, and the θ Y direction, for example. Furthermore, the camera adjustment mechanism 360 may be configured to be able to adjust the camera support portion 340 supporting the imaging element 240 in the X direction and the Y direction, for example.

(相機固定部) (camera mount)

相機固定部380例如構成為固定光學系統220和拍攝元件240。具體而言,相機固定部380例如構成為作為射出紫外線的光源。例如,透過使來自相機固定部380的紫外線朝向電路基板260上的黏接劑262照射而使黏接劑262固化,能夠將光學系統220與拍攝元件240固定。 The camera fixing unit 380 is configured to fix the optical system 220 and the imaging element 240 , for example. Specifically, the camera fixing unit 380 is configured as a light source that emits ultraviolet rays, for example. For example, the optical system 220 and the imaging element 240 can be fixed by irradiating ultraviolet rays from the camera fixing unit 380 toward the adhesive 262 on the circuit board 260 to cure the adhesive 262 .

(控制部) (control department)

控制部400例如構成為,控制相機製造裝置1的各部,根據相機20拍攝到的測試圖卡10的影像,調整相機20。 The control unit 400 is configured, for example, to control each unit of the camera manufacturing apparatus 1 and adjust the camera 20 based on the image of the test chart 10 captured by the camera 20 .

具體而言,如圖5所示,控制部400構成為計算機,例如具有CPU(Central Processing Unit)410、RAM(Random Access Memory)420、儲存裝置430、I/O埠440、輸入部450、顯示部460。RAM 420、儲存裝置430以及I/O埠440構成為能夠與CPU 410進行資料交換。 Specifically, as shown in FIG. 5 , the control unit 400 is configured as a computer, and has, for example, a CPU (Central Processing Unit) 410, a RAM (Random Access Memory) 420, a storage device 430, an I/O port 440, an input unit 450, a display Section 460. RAM 420 , storage device 430 , and I/O port 440 are configured to be able to exchange data with CPU 410 .

I/O埠440例如與圖卡光源312、相機支承部340、相機調整機構360以及相機固定部380連接。另外,I/O埠440經由相機支承部340與相機20的拍攝元件240連接。 The I/O port 440 is connected to the chart light source 312 , the camera supporting part 340 , the camera adjusting mechanism 360 and the camera fixing part 380 , for example. In addition, the I/O port 440 is connected to the imaging element 240 of the camera 20 via the camera support portion 340 .

儲存裝置430例如構成為儲存與相機20的焦點檢測有關的程序、控制相機調整機構360的程序、測試圖卡10的影像等。儲存裝置430例如是HDD(Hard disk drive)或SSD(Solid State Drive)等。 The storage device 430 is configured to store, for example, a program related to focus detection of the camera 20 , a program for controlling the camera adjustment mechanism 360 , images of the test chart 10 , and the like. The storage device 430 is, for example, HDD (Hard Disk Drive) or SSD (Solid State Drive).

RAM 420構成為臨時保存由CPU 410從儲存裝置430讀出的程序、信息等。 The RAM 420 is configured to temporarily store programs, information, and the like read by the CPU 410 from the storage device 430 .

CPU 410構成為,透過執行儲存在儲存裝置430中的規定的程序,作為影像解析部、相機調整控制部發揮功能。 The CPU 410 is configured to function as a video analysis unit and a camera adjustment control unit by executing a predetermined program stored in the storage device 430 .

影像解析部例如構成為對拍攝測試圖卡10而得的影像進行解析,檢測出相機20的焦點位置。 The video analysis unit is configured, for example, to analyze the video imaged by the test chart 10 and detect the focus position of the camera 20 .

相機調整控制部例如構成為,控制相機調整機構360,以根據相機20的焦點位置調整光學系統220與拍攝元件240的相對位置。 The camera adjustment control unit is configured, for example, to control the camera adjustment mechanism 360 so as to adjust the relative position of the optical system 220 and the imaging element 240 according to the focus position of the camera 20 .

關於基於上述各部的相機製造方法,將在後面描述詳細情況。 The details of the camera manufacturing method based on the above-mentioned components will be described later.

用於實現上述各部的規定程序例如在控制部400所構成的計算機中安裝並使用。程序例如可以在其安裝之前儲存在計算機可讀的儲存介質中而提供。或者,程序例如也可以透過與控制部400連接的通信線路(光纖等)提供給該計算機。 Predetermined programs for realizing the above-mentioned respective units are installed and used in, for example, a computer constituted by the control unit 400 . The program may be provided, for example, stored in a computer-readable storage medium before its installation. Alternatively, the program may be provided to the computer via a communication line (such as an optical fiber) connected to the control unit 400, for example.

顯示部460例如構成為顯示測試圖卡10的影像、後述的相對於校正像素數的指標值的曲線圖、對各評價區域中的插補曲線進行頻率解析而得的曲線圖、示出相對於邊界線的位置的峰值空間頻率的曲線圖等。顯示部460例如是液晶顯示器、有機EL(OLED)顯示器等。 The display unit 460 is configured to display, for example, an image of the test chart 10, a graph of an index value with respect to the number of corrected pixels to be described later, a graph obtained by performing frequency analysis on the interpolation curve in each evaluation area, and a graph showing the relative A graph of the peak spatial frequency at the position of the boundary line, etc. The display unit 460 is, for example, a liquid crystal display, an organic EL (OLED) display, or the like.

輸入部450例如構成為能夠將使用者進行規定的操作的信息輸入到控制部400。輸入部450例如是滑鼠、鍵盤等。 The input unit 450 is configured, for example, to be able to input information that the user performs a predetermined operation into the control unit 400 . The input unit 450 is, for example, a mouse, a keyboard, or the like.

另外,顯示部460和輸入部450也可以構成為由觸控面板等兼作兩者。 In addition, the display unit 460 and the input unit 450 may also be configured such that a touch panel or the like functions as both.

(3)相機的製造方法 (3) Manufacturing method of camera

接著,使用圖1、圖4~圖11說明本實施方式的相機的製造方法。 Next, a method of manufacturing the camera of the present embodiment will be described with reference to FIGS. 1 , 4 to 11 .

如圖6所示,本實施方式的相機的製造方法例如包括準備步驟S100、拍攝步驟S200、影像解析步驟S300、焦點誤差計算步驟S400、焦點位置判定步驟S520、相機位置調整步驟S540、相機固定步驟S600。準備步驟S100之後的各步驟由控制部400處理或控制。 As shown in FIG. 6 , the camera manufacturing method of this embodiment includes, for example, a preparation step S100 , a shooting step S200 , an image analysis step S300 , a focus error calculation step S400 , a focus position determination step S520 , a camera position adjustment step S540 , and a camera fixing step. S600. Each step after the preparatory step S100 is processed or controlled by the control unit 400 .

(S100:準備步驟) (S100: preparation step)

首先,準備本實施方式的測試圖卡10。 First, the test chart 10 of this embodiment is prepared.

此時,例如,透過圖卡支承部310支承測試圖卡10,使得斜面140相對於光學系統220的光軸傾斜,並且當相機20進行拍攝時,邊界線162與拍攝元件240的像素排列方向不平行。在配置了測試圖卡10之後,啟動圖卡光源312,將光照射到測試圖卡10上。 At this time, for example, the test chart 10 is supported by the chart supporting portion 310 so that the inclined surface 140 is inclined relative to the optical axis of the optical system 220, and when the camera 20 is photographed, the boundary line 162 is not aligned with the pixel arrangement direction of the photographing element 240. parallel. After the test chart 10 is configured, the chart light source 312 is activated to illuminate the test chart 10 with light.

另外,將待調整的相機20配置在相機製造裝置1中。 In addition, the camera 20 to be adjusted is arranged in the camera manufacturing apparatus 1 .

此時,例如,透過相機支承部340將相機20的至少一部分支承在能夠拍攝測試圖卡10的位置。在由相機支承部340支承相機20時,將相機20的連接器280與相機支承部340連接。另外,以能夠調整光學系統220與拍攝元件240的相對位置的方式,將光學系統220和拍攝元件240的至少一部分配置於相機調整機構360。 At this time, for example, at least a part of the camera 20 is supported at a position where the test chart 10 can be imaged through the camera support portion 340 . When the camera 20 is supported by the camera support 340 , the connector 280 of the camera 20 is connected to the camera support 340 . In addition, at least a part of the optical system 220 and the imaging element 240 is arranged in the camera adjustment mechanism 360 so that the relative positions of the optical system 220 and the imaging element 240 can be adjusted.

(S200:拍攝步驟) (S200: photographing step)

接著,如圖7所示,使用上述相機20對測試圖卡10進行拍攝,由此取得測試圖卡10的影像CI。 Next, as shown in FIG. 7 , the image CI of the test chart 10 is obtained by photographing the test chart 10 using the above-mentioned camera 20 .

此時,例如,透過上述測試圖卡10的配置,在影像CI內,測試圖卡10的邊界線162與像素排列方向不平行。 At this time, for example, through the configuration of the above-mentioned test chart 10 , in the image CI, the boundary line 162 of the test chart 10 is not parallel to the pixel arrangement direction.

(S300:影像解析步驟) (S300: image analysis step)

接著,對透過拍攝測試圖卡10而得的影像CI進行解析,檢測出相機20的焦點位置。 Next, the image CI obtained by shooting the test chart 10 is analyzed to detect the focus position of the camera 20 .

在本實施方式中,例如,在透過拍攝測試圖卡10而得的影像CI中,根據邊界線162的檢測結果來檢測相機20的焦點位置。 In this embodiment, for example, in the image CI obtained by shooting the test chart 10 , the focus position of the camera 20 is detected according to the detection result of the boundary line 162 .

具體而言,影像解析步驟S300例如包括評價區域選擇步驟S310、指標值取得步驟S320、插補步驟S330、頻率解析步驟S340、全部評價區域結束判定步驟S350、暫定焦點位置檢測步驟S360、以及全部邊界線結束判定步驟S370。 Specifically, the video analysis step S300 includes, for example, an evaluation area selection step S310, an index value acquisition step S320, an interpolation step S330, a frequency analysis step S340, a step for determining the end of all evaluation areas S350, a tentative focus position detection step S360, and all boundaries. Line end decision step S370.

(S310:評價區域選擇步驟) (S310: evaluation area selection step)

如圖8A所示,在測試圖卡10的影像CI內,選擇與邊界線162相交的包含多個像素的評價區域ER。 As shown in FIG. 8A , within the image CI of the test chart 10 , an evaluation region ER including a plurality of pixels intersecting the boundary line 162 is selected.

此時,如圖8A所示,例如選擇沿邊界線162的延伸方向而位置不同的多個評價區域ER。具體而言,例如從作為本實施方式的測試圖卡10中的圖案160的4個狹縫中選擇一個狹縫。接著,沿著構成作為該圖案160的狹縫的一邊的邊界線162a,選擇多個評價區域ER。另外,例如,沿著邊界線162a以規定的相等間隔選擇多個評價區域ER。 At this time, as shown in FIG. 8A , for example, a plurality of evaluation regions ER having different positions along the extending direction of the boundary line 162 are selected. Specifically, for example, one slit is selected from four slits as the pattern 160 in the test chart 10 of the present embodiment. Next, a plurality of evaluation regions ER are selected along the boundary line 162 a constituting one side of the slit of the pattern 160 . In addition, for example, a plurality of evaluation regions ER are selected at predetermined equal intervals along the boundary line 162a.

另外,此時,如圖8B所示,作為評價區域ER,例如選擇與邊界線162相交的多個像素列。另外,例如將評價區域ER的形狀設為具有與正交的兩個像素排列方向分別平行的兩邊的長方形。另外,如上所述,根據影像橫向的分辨率設定評價區域ER的列數,例如設為10列以上30列以下。 In addition, at this time, as shown in FIG. 8B , for example, a plurality of pixel columns intersecting the boundary line 162 are selected as the evaluation region ER. In addition, the shape of the evaluation region ER is, for example, a rectangle having two sides parallel to the two orthogonal pixel arrangement directions. In addition, as described above, the number of columns of the evaluation region ER is set according to the resolution in the horizontal direction of the image, and is set to, for example, 10 or more and 30 or less.

(S320:指標值取得步驟) (S320: Index value acquisition step)

接著,在評價區域ER內的各像素中,取得像素的顏色、濃淡以及亮度中的至少某一個指標值(像素值)。 Next, for each pixel in the evaluation region ER, at least one index value (pixel value) of the color, shade, and brightness of the pixel is acquired.

另外,在圖8B的評價區域ER內的各像素中,求出從透過評價區域ER的角部並與邊界線162平行的基準線起算的校正像素數d’。由於邊界線162相對於像素排列方向以角度α傾斜,所以校正像素數d’透過下式(1)求出。 In addition, in each pixel in the evaluation region ER in FIG. 8B , the number of corrected pixels d′ counted from the reference line passing through the corner of the evaluation region ER and parallel to the boundary line 162 is obtained. Since the boundary line 162 is inclined at an angle α with respect to the pixel arrangement direction, the number of corrected pixels d′ is obtained by the following formula (1).

d’=d+ntan α‧‧‧(1) d’=d+ntan α‧‧‧(1)

其中,d是自評價區域ER的一端起在評價區域ER內沿與邊界線162相交的像素排列方向(評價區域ER的長邊方向、圖縱向)的像素數(像素行數)(單位pixel)。n是評價區域ER的像素列數。 Wherein, d is the number of pixels (the number of pixel rows) in the evaluation area ER along the pixel arrangement direction (the long side direction of the evaluation area ER, the vertical direction of the figure) intersecting with the boundary line 162 in the evaluation area ER from one end of the evaluation area ER (the number of pixel rows) (unit pixel) . n is the number of pixel columns in the evaluation region ER.

根據這些結果,如圖9所示,對於評價區域ER內的各像素,取得像素的指標值相對於校正像素數d’的對應關係。另外,圖9的縱軸例如是作為指標值的亮度(輝度)。 Based on these results, as shown in FIG. 9 , for each pixel in the evaluation region ER, the correspondence relationship of the index value of the pixel with respect to the number of corrected pixels d' is obtained. In addition, the vertical axis of FIG. 9 is, for example, luminance (brightness) as an index value.

此時,例如,如果將橫軸設為沿像素排列方向的像素數d,則各像素的指標值就以像素間距(每個單位pixel)被繪製。因此,有可能產生與上述比較例相同的問題。 At this time, for example, if the horizontal axis is set to the number d of pixels along the pixel arrangement direction, the index value of each pixel is plotted at a pixel pitch (per unit pixel). Therefore, there is a possibility that the same problems as those of the above-mentioned comparative example may arise.

與此相對,在本實施方式中,透過將橫軸設為自透過評價區域ER的角部且與邊界線162平行的基準線起算的校正像素數d’,能夠針對評價區域ER的每一列得到校正像素數d’偏移了tan α後的指標值。透過使tanα

Figure 110136448-A0305-02-0024-1
1、即α
Figure 110136448-A0305-02-0024-2
0.79rad(45°),能夠以比像素間距短的間距繪製各像素的指標值。即,能夠假想地縮短採樣間距。其結果是,能夠在與邊界線162相交的方向上高精度地掌握比1個像素更細的指標值的變化。 On the other hand, in the present embodiment, by setting the horizontal axis as the number of corrected pixels d' calculated from the reference line passing through the corner of the evaluation area ER and parallel to the boundary line 162, it is possible to obtain for each column of the evaluation area ER The index value after correcting the number of pixels d' shifted by tan α. by making tanα
Figure 110136448-A0305-02-0024-1
1, namely α
Figure 110136448-A0305-02-0024-2
0.79rad (45°), the index value of each pixel can be plotted at a pitch shorter than the pixel pitch. That is, the sampling pitch can be virtually shortened. As a result, changes in index values finer than one pixel can be grasped with high precision in the direction intersecting the boundary line 162 .

(S330:插補步驟) (S330: interpolation step)

接著,如圖9所示,透過對作為評價區域ER內的校正像素數d’與像素的指標值的對應關係的離散資料進行插補,取得插補曲線(插補函數)IC。 Next, as shown in FIG. 9 , an interpolation curve (interpolation function) IC is obtained by interpolating discrete data which is the correspondence relationship between the number of corrected pixels d' and the index value of pixels in the evaluation region ER.

作為具體的插補方法,沒有特別限定,例如可以舉出直線插補法或樣條插補法等。 The specific interpolation method is not particularly limited, and examples thereof include a linear interpolation method, a spline interpolation method, and the like.

(S340:頻率解析步驟) (S340: frequency analysis step)

接著,對在插補步驟S330中得到的示出亮度的變化的插補曲線IC進行頻率解析(傅立葉變換)。由此,如圖10的一條曲線所示,取得相對於空間頻率的頻率回應(SFR:Spatial Frequency Response)的曲線。另外,以下也將相對於空間頻率的頻率回應的曲線稱為“頻率回應曲線”。 Next, frequency analysis (Fourier transform) is performed on the interpolation curve IC showing the change in luminance obtained in the interpolation step S330. Thus, as shown in one of the curves in FIG. 10 , a frequency response (SFR: Spatial Frequency Response) curve with respect to the spatial frequency is obtained. In addition, the curve of the frequency response with respect to the spatial frequency is also referred to as a "frequency response curve" below.

如上所述,在沿著邊界線162的延伸方向而位置不同的多個評價區域ER中,進行包含評價區域選擇步驟S310、指標值取得步驟S320、插補步驟S330以及頻率解析步驟S340的一系列步驟。 As described above, in a plurality of evaluation regions ER whose positions are different along the extending direction of the boundary line 162, a series of steps including the evaluation region selection step S310, the index value acquisition step S320, the interpolation step S330, and the frequency analysis step S340 are performed. step.

(S350:全部評價區域結束判定步驟) (S350: All evaluation areas end determination step)

接著,判定對於在一個邊界線162中選擇的全部的評價區域ER而言,從評價區域選擇步驟S310至頻率解析步驟S340為止的步驟是否結束。 Next, it is determined whether or not the steps from the evaluation region selection step S310 to the frequency analysis step S340 have been completed for all the evaluation regions ER selected on one boundary line 162 .

在對於全部的評價區域ER而言,從評價區域選擇步驟S310至頻率解析步驟S340為止的步驟未結束的情況下(S350中“否”),對剩餘的評價區域ER進行這些步驟。 When the steps from the evaluation region selection step S310 to the frequency analysis step S340 have not been completed for all the evaluation regions ER ("No" in S350), these steps are performed for the remaining evaluation regions ER.

(S360:暫定焦點位置檢測步驟) (S360: tentative focus position detection step)

在對於全部的評價區域ER而言,從評價區域選擇步驟S310至頻率解析步驟S340為止的步驟結束的情況下(S350中“是”),如圖10所示,在全部的評價區域ER中分別得到頻率回應曲線。 When the steps from the evaluation region selection step S310 to the frequency analysis step S340 are completed for all the evaluation regions ER ("Yes" in S350), as shown in FIG. Get the frequency response curve.

此時,在本實施方式中,例如在多個評價區域ER中,將指標值相對於校正像素數d’的變化最陡的評價區域ER內的位置檢測為暫定焦點位置。這裡所說的“暫定焦點位置”是指根據一個邊界線162中的多個評價區域ER的檢測結果而檢測出的暫定焦點的候選位置。 At this time, in this embodiment, for example, among the plurality of evaluation regions ER, the position within the evaluation region ER where the change in the index value with respect to the number of corrected pixels d' is the steepest is detected as the tentative focus position. The “tentative focus position” referred to here refers to a candidate position of a tentative focus detected based on the detection results of a plurality of evaluation regions ER within one boundary line 162 .

具體而言,如圖10所示,在各評價區域ER中,求出具有規定的基準(Criteria)以上的頻率回應的空間頻率的最大值作為“最佳空間頻率(Best Frequency)”。 Specifically, as shown in FIG. 10 , in each evaluation region ER, the maximum value of spatial frequencies having a frequency response equal to or greater than a predetermined criterion (Criteria) is obtained as "best spatial frequency (Best Frequency)".

接著,如圖11所示,取得最佳空間頻率相對於沿著邊界線162的方向的各評價區域FR的中心位置(L)的對應關係。取得該對應關係後,透過規定的近似函數對對應關係進行擬合。 Next, as shown in FIG. 11 , the correspondence relation of the optimum spatial frequency with respect to the center position (L) of each evaluation region FR in the direction along the boundary line 162 is obtained. After obtaining the corresponding relationship, the corresponding relationship is fitted through a prescribed approximation function.

得到近似函數後,在近似函數中求出最高的空間頻率作為峰值空間頻率。此時,在得到峰值空間頻率的位置,相當於指標值的變化最陡的情況。因此,將得到該峰值空間頻率的位置確定為邊界線162中的暫定焦點位置。 After obtaining the approximate function, find the highest spatial frequency in the approximate function as the peak spatial frequency. In this case, the position where the peak spatial frequency is obtained corresponds to the case where the change in the index value is the steepest. Therefore, the position where this peak spatial frequency is obtained is determined as the tentative focus position in the boundary line 162 .

確定暫定焦點位置後,在影像CI中,根據自邊界線162的下端起在沿邊界線162的方向上到暫定焦點位置為止的距離L,求出實際空間中的暫定焦點位置的坐標(三維坐標)Bmn1(X,Y,Z)。另外,測試圖卡10的支承板190的中心點的坐標設為(0,0,0)。 After the provisional focus position is determined, in the image CI, the coordinates (three-dimensional coordinates) of the provisional focus position in real space are obtained from the distance L from the lower end of the boundary line 162 to the provisional focus position in the direction along the boundary line 162 B mn1 (X, Y, Z). In addition, the coordinates of the center point of the support plate 190 of the test chart 10 are set to (0, 0, 0).

(S370:全部邊界線結束判定步驟) (S370: All boundary lines end determination step)

接著,在規定的邊界線162中求出暫定焦點位置後,判定對於測試圖卡10所具有的全部邊界線162而言,從評價區域選擇步驟S310至暫定焦點位置檢測步驟S360為止的步驟是否結束。 Next, after the provisional focus position is obtained on the predetermined boundary line 162, it is determined whether or not the steps from the evaluation area selection step S310 to the provisional focus position detection step S360 have been completed for all the boundary lines 162 included in the test chart 10. .

在對於全部的邊界線162而言,從評價區域選擇步驟S310至暫定焦點位置檢測步驟S360為止的步驟未結束的情況下(S370中“否”),對剩餘的邊界線162進行這些步驟。 When the steps from the evaluation area selection step S310 to the tentative focus position detection step S360 have not been completed for all the boundary lines 162 (NO in S370 ), these steps are performed for the remaining boundary lines 162 .

(S400:焦點誤差計算步驟) (S400: focus error calculation step)

在對於全部的邊界線162而言,從評價區域選擇步驟S310至暫定焦點位置檢測步驟S360為止的步驟結束的情況下(S370中“是”),如圖2A所示,在全部的邊界線162分別得到暫定焦點位置(坐標B111~B142)。 When the steps from the evaluation area selection step S310 to the tentative focus position detection step S360 are completed for all the boundary lines 162 ("Yes" in S370), as shown in FIG. 2A , all the boundary lines 162 The provisional focus positions (coordinates B 111 -B 142 ) are respectively obtained.

此時,在本實施方式中,例如根據多條邊界線162的檢測結果的相關性來檢測相機20的最佳焦點位置。 At this time, in the present embodiment, for example, the best focus position of the camera 20 is detected based on the correlation of the detection results of the plurality of boundary lines 162 .

具體而言,首先,根據1個狹縫中的邊界線162a、162b中的暫定焦點位置的坐標,求出平均焦點位置的坐標。平均焦點位置的坐標Bmn例如透過下式(2)求出。 Specifically, first, the coordinates of the average focus position are obtained from the coordinates of the provisional focus position on the boundary lines 162a and 162b in one slit. The coordinates B mn of the average focus position are obtained, for example, by the following formula (2).

Bmn=(Bmn1+Bmn2)/2‧‧‧(2) B mn =(B mn1 +B mn2 )/2‧‧‧(2)

其中,m是標識3D塊110的自然數,n是標識斜面140的自然數。Bmn1是一個狹縫中的一方的邊界線162a的暫定焦點位置的坐標,Bmn2是一個狹縫中的另一方的邊界線162b的暫定焦點位置的坐標。 Wherein, m is a natural number identifying the 3D block 110 , and n is a natural number identifying the slope 140 . B mn1 is the coordinates of the tentative focus position of one boundary line 162 a in one slit, and B mn2 is the coordinates of the tentative focus position of the other border line 162 b in one slit.

接著,在求出多個狹縫各自的平均焦點位置的坐標Bmn後,根據平均焦點位置的坐標Bmn,求出相機20的最佳焦點位置的坐標Bm。最佳焦點位置的坐標Bm例如透過下式(3)求出。 Next, after obtaining the coordinates B mn of the average focus positions of the plurality of slits, the coordinates B m of the best focus positions of the camera 20 are obtained from the coordinates B mn of the average focus positions. The coordinates B m of the best focus position are obtained, for example, by the following equation (3).

Bm=(Bm1+Bm2+Bm3+Bm4)/4‧‧‧(3) B m =(B m1 +B m2 +B m3 +B m4 )/4‧‧‧(3)

另外,也可以在上述暫定焦點位置的坐標Bmn1、Bmn以及平均焦點位置的坐標Bmn中檢測到異常坐標的情況下,至少對檢測到異常坐標的邊界線162等重新進行影像解析步驟S300。 In addition, when abnormal coordinates are detected in the coordinates B mn1 and B mn of the tentative focus position and the coordinate B mn of the average focus position, the image analysis step S300 may be re-performed at least for the boundary line 162 where the abnormal coordinates are detected. .

如上所述,求出相機20的最佳焦點位置的坐標Bm後,按照以下流程,求出相機20的焦點面的傾斜角度θX、θY和焦點面的中心位置的坐標(Cx,Cy,Cz)。 As described above, after obtaining the coordinates B m of the best focus position of the camera 20, the inclination angles θ X , θ Y of the focal plane of the camera 20 and the coordinates (C x , C y , C z ).

具體而言,例如,根據全部的邊界線162中的暫定焦點位置的坐標Bijk,透過下式(4)求出焦點面的方程式。 Specifically, for example, the equation of the focal plane is obtained from the following equation (4) from the coordinates B ijk of the provisional focus positions on all the boundary lines 162 .

z=ax+by+c‧‧‧(4) z=ax+by+c‧‧‧(4)

其中,i是標識3D塊110的自然數(在本實施方式中為1),j是標識斜面140的自然數,k是標識同一斜面140上的邊界線162的自然數。a、b和c是常數。 Wherein, i is a natural number identifying the 3D block 110 (1 in this embodiment), j is a natural number identifying the slope 140 , and k is a natural number identifying the boundary line 162 on the same slope 140 . a, b and c are constants.

在本實施方式中,由於得到超過3點的暫定焦點位置的坐標Bijk,所以例如透過最小二乘法,將常數a、b和c最佳化。該計算方法有時被稱為曲線擬合。 In the present embodiment, since the coordinates B ijk of more than three tentative focus positions are obtained, the constants a, b, and c are optimized, for example, by the method of least squares. This calculation method is sometimes called curve fitting.

另外,也可以根據上述求出的一對邊界線162a、162b中的平均焦點位置的坐標Bij或各3D塊110中的最佳焦點位置的坐標Bi,將常數a、b和c最佳化。 In addition, the constants a, b, and c may be optimized based on the coordinates Bij of the average focus position in the pair of boundary lines 162a, 162b obtained above or the coordinates Bi of the best focus position in each 3D block 110. .

接著,求出焦點面的中心位置的坐標中的Cx、Cy。具體而言,首先,求出將狹縫的中心線延長而得的交點。若存在n根狹縫,則能夠計算出n×(n-1)個交點。透過對這些交點進行平均,求出最佳交點。其結果是,根據最佳交點的坐標而求出Cx、CyNext, C x and Cy in the coordinates of the center position of the focal plane are obtained. Specifically, first, the intersection point obtained by extending the center line of the slit is obtained. If there are n slits, n×(n-1) intersection points can be calculated. By averaging these intersection points, the best intersection point is found. As a result, C x and Cy are obtained from the coordinates of the optimum intersection point.

接著,根據焦點面的中心位置的坐標Cx、Cy,透過式(4)求出CzNext, from the coordinates C x and C y of the center position of the focal plane, C z is obtained through the expression (4).

另外,根據上述式(4)中的常數,根據下式求出傾斜角度θX、θYIn addition, from the constants in the above formula (4), the inclination angles θ X and θ Y are obtained from the following formulas.

θX=-b θ X = -b

θY=-a θ Y =-a

這樣求出相機20的焦點面的傾斜角度θX、θY和焦點面的中心位置的坐標(Cx、Cy、Cz)後,計算各個值與目標值的誤差。另外,目標值例如為0。以下也將這樣求出的誤差稱為“焦點誤差”。焦點誤差相當於相機20的光學系統220的位置和姿態的誤差。 After obtaining the inclination angles θ X , θ Y of the focal plane of the camera 20 and the coordinates (C x , Cy , C z ) of the center position of the focal plane in this way, the error between each value and the target value is calculated. In addition, the target value is 0, for example. The error obtained in this way will also be referred to as "focus error" hereinafter. The focus error corresponds to the error in the position and attitude of the optical system 220 of the camera 20 .

(S520:焦點位置判定步驟) (S520: focus position determination step)

求出焦點誤差後,判定相機20的焦點位置是否良好。 After finding the focus error, it is determined whether the focus position of the camera 20 is good or not.

具體而言,例如判定上述焦點誤差是否在預先設定的容許值以下。 Specifically, for example, it is determined whether or not the aforementioned focus error is equal to or less than a preset allowable value.

(S540:相機位置調整步驟) (S540: camera position adjustment step)

在相機20的焦點位置非良好的情況(即,焦點誤差大於容許值的情況,S520中的“否”)下,基於該相機20的焦點位置,透過相機調整機構360調整光學系統220與拍攝元件240的相對位置。 In the case where the focus position of the camera 20 is not good (that is, the focus error is greater than the allowable value, "No" in S520), based on the focus position of the camera 20, the optical system 220 and the imaging element are adjusted through the camera adjustment mechanism 360 240 relative position.

具體而言,例如在Z方向、X方向、Y方向、θZ方向、θX方向以及θY方向上調整光學系統220,以使上述焦點誤差變為0(零)。 Specifically, for example, the optical system 220 is adjusted in the Z direction, the X direction, the Y direction, the θ Z direction, the θ X direction, and the θ Y direction so that the focus error described above becomes 0 (zero).

在相機20的調整後,再次進行拍攝步驟S200以後的步驟。 After the adjustment of the camera 20, the steps after the photographing step S200 are performed again.

(S600:相機固定步驟) (S600: Camera fixing procedure)

另一方面,在相機20的焦點位置良好的情況(即,焦點誤差為預先設定的容許值以下的情況,S520中的“是”)下,透過相機固定部380將光學系統220與拍攝元件240固定。 On the other hand, when the focus position of the camera 20 is good (that is, when the focus error is not more than the preset allowable value, “Yes” in S520), the optical system 220 and the imaging element 240 are connected through the camera fixing unit 380 fixed.

具體而言,例如,將來自相機固定部380的紫外線朝向電路基板260上的黏接劑262照射,使黏接劑262固化。由此,將光學系統220與拍攝元件240固定。 Specifically, for example, ultraviolet light from the camera fixing unit 380 is irradiated toward the adhesive 262 on the circuit board 260 to cure the adhesive 262 . Thereby, the optical system 220 and the imaging element 240 are fixed.

如上所述,結束本實施方式的相機製造步驟。 As described above, the camera manufacturing process of this embodiment ends.

(4)本實施方式所關於的效果 (4) Effects related to this embodiment

根據本實施方式,起到以下所示的一個或多個效果。 According to this embodiment, one or more effects shown below are exhibited.

(a)在本實施方式中,以斜面140相對於光學系統220的光軸傾斜、且相機20進行拍攝時邊界線162與拍攝元件240的像素排列方向不平行的方式配置測試圖卡10。例如,在測試圖卡10的影像CI內,選擇與邊界線162相交的評價區域ER,對於評價區域ER內的各像素,取得指標值相對於自透過評價區域ER的角部且與邊界線162平行的基準線起算的校正像素數d’的對應關係。由此,能夠對於評價區域ER的每一列,得到校正像素數d’偏移了tan α後的指標值。透過使tanα

Figure 110136448-A0305-02-0029-3
1、即α
Figure 110136448-A0305-02-0029-4
0.79rad(45°),能夠以比像素間距短的間距繪製各 像素的指標值。即,能夠假想地縮短採樣間距。其結果是,能夠在與邊界線162相交的方向上,高精度地掌握比1個像素更細的指標值的變化。 (a) In this embodiment, the test chart 10 is arranged such that the slope 140 is inclined with respect to the optical axis of the optical system 220 and the boundary line 162 is not parallel to the pixel arrangement direction of the imaging element 240 when the camera 20 takes pictures. For example, in the image CI of the test chart 10, select the evaluation region ER that intersects with the boundary line 162, and for each pixel in the evaluation region ER, obtain the index value relative to the corner that passes through the evaluation region ER and crosses the boundary line 162. The corresponding relationship of the number of corrected pixels d' calculated from the parallel reference line. In this way, for each column of the evaluation region ER, an index value obtained by shifting the number of corrected pixels d' by tan α can be obtained. by making tanα
Figure 110136448-A0305-02-0029-3
1, namely α
Figure 110136448-A0305-02-0029-4
0.79rad (45°), the index value of each pixel can be plotted at a pitch shorter than the pixel pitch. That is, the sampling pitch can be virtually shortened. As a result, changes in the index value finer than one pixel can be grasped with high precision in the direction intersecting the boundary line 162 .

這樣一來,透過高精度地掌握與邊界線162相交的方向的指標值的變化,能夠高精度地檢測邊界線162上的焦點位置(上述的暫定焦點位置)。其結果是,能夠高精度地調整相機20中的光學系統220與拍攝元件240之間的相對位置。 In this way, by accurately grasping the change in the index value in the direction intersecting the boundary line 162 , it is possible to accurately detect the focus position on the boundary line 162 (the tentative focus position described above). As a result, the relative position between the optical system 220 and the imaging element 240 in the camera 20 can be adjusted with high precision.

(b)在本實施方式中,測試圖卡10被配置為,在相機20進行拍攝時,邊界線162相對於拍攝元件240的像素排列方向的偏移大於僅由光學系統220的畸變像差引起的偏移。由此,即使邊界線162相對於拍攝元件240的像素排列方向呈直線狀傾斜的偏移成分(直線傾斜成分)中的一部分抵消了光學系統220的畸變像差引起的成分,也能夠充分地確保直線傾斜成分的其他部分(剩餘部分)。即,能夠充分確保邊界線162相對於像素排列方向的傾斜角度α(b) In this embodiment, the test chart 10 is configured so that when the camera 20 takes pictures, the deviation of the boundary line 162 relative to the pixel arrangement direction of the imaging element 240 is larger than that caused only by the distortion aberration of the optical system 220 offset. Thus, even if a part of the offset component (linear inclination component) in which the boundary line 162 is linearly inclined with respect to the pixel array direction of the imaging element 240 cancels out the component caused by the distortion aberration of the optical system 220, it is possible to sufficiently ensure The other part (remainder) of the rectilinear slanted composition. That is, the inclination angle α of the boundary line 162 with respect to the pixel arrangement direction can be sufficiently ensured.

(c)在本實施方式中,測試圖卡10的斜面140具有多條邊界線162。由此,能夠根據位於同一斜面140內的接近的多個部位的暫定焦點位置來檢測平均焦點位置。其結果是,能夠提高同一斜面140內的焦點位置精度。 (c) In the present embodiment, the slope 140 of the test chart 10 has a plurality of boundary lines 162 . Thereby, the average focus position can be detected from the tentative focus positions of a plurality of close locations within the same slope 140 . As a result, the focus position accuracy within the same slope 140 can be improved.

(d)在本實施方式中,測試圖卡10的斜面140夾著頂點120向相反的傾斜方向傾斜。斜面140中的多個圖案160從頂點120側起沿著各不相同的傾斜方向連續地延伸。透過使圖案160沿著斜面140連續,能夠在連續的圖案160上高精度地檢測相機20的暫定焦點位置。另外,透過使多個圖案160沿不同的傾斜方向延伸,能夠根據多個圖案160的檢測結果的相關性來檢測出相機20的最佳焦點位置。其結果是,能夠提高相機20的調整精度。 (d) In the present embodiment, the inclined surface 140 of the test chart 10 is inclined in opposite inclined directions across the apex 120 . The plurality of patterns 160 on the slope 140 continuously extend from the apex 120 side along different inclination directions. By making the pattern 160 continuous along the slope 140 , the tentative focus position of the camera 20 can be detected with high precision on the continuous pattern 160 . In addition, by extending the plurality of patterns 160 along different oblique directions, the best focus position of the camera 20 can be detected according to the correlation of the detection results of the plurality of patterns 160 . As a result, the adjustment accuracy of the camera 20 can be improved.

(e)在本實施方式中,測試圖卡10具有4個以上的斜面140。基於該4個斜面140各自上的圖案160的檢測結果之間的相關性來檢測最佳焦點位置。 (e) In the present embodiment, the test chart 10 has four or more slopes 140 . The best focus position is detected based on the correlation between the detection results of the pattern 160 on each of the four slopes 140 .

這裡,如果存在3個測定資料,則可以計算出最佳焦點位置的三維坐標。然而,有可能3個測定資料中的至少某一個具有測量誤差。作為測定誤差的原因,例如可以考慮由附著在相機的拍攝元件上的異物引起的畫質劣化、光學系統的製造誤差等各種原因。在產生了這樣的測定誤差的情況下,最佳焦點位置的精度有可能降低。 Here, if there are three measurement data, the three-dimensional coordinates of the best focus position can be calculated. However, there is a possibility that at least one of the three measurement data has a measurement error. As the cause of the measurement error, for example, various causes such as image quality degradation caused by foreign matter adhering to the imaging element of the camera, and manufacturing error of the optical system can be considered. When such a measurement error occurs, the accuracy of the best focus position may decrease.

與此相對,在本實施方式中,透過根據4個斜面140各自上的圖案160的檢測結果的相關性檢測最佳焦點位置,能夠增加測定資料數量,確保重複性。由此,即使4個斜面140各自中的測定資料中的某一個產生了測定誤差,也能夠抑制最佳焦點位置的檢測精度的降低。 In contrast, in this embodiment, by detecting the best focus position based on the correlation of the detection results of the patterns 160 on the four slopes 140 , the amount of measurement data can be increased to ensure repeatability. Accordingly, even if a measurement error occurs in any of the measurement data on each of the four slopes 140 , it is possible to suppress a decrease in the detection accuracy of the best focus position.

(f)在本實施方式中,在沿著邊界線162的延伸方向而位置不同的多個評價區域ER中進行影像解析步驟。然後,在多個評價區域ER中,將指標值相對於校正像素數d’的變化最陡的評價區域ER內的位置檢測為暫定焦點位置。 (f) In the present embodiment, the video analysis step is performed in a plurality of evaluation regions ER whose positions are different along the extending direction of the boundary line 162 . Then, among the plurality of evaluation regions ER, a position within the evaluation region ER at which the change in the index value with respect to the number of corrected pixels d' is the steepest is detected as a tentative focus position.

這裡,作為另一比較例,例如可以考慮在光學系統的光軸方向上以規定的間隔配置多個平面圖卡,根據各個位置處的平面圖卡的檢測結果,檢測相機的焦點位置的方法。但是,在該方法中,由於得到的資料數量受平面圖卡數量限制,所以焦點位置的檢測精度有可能降低。另外,為了將多個平面圖卡配置成相互不干涉,難以增加平面圖卡數量。另外,必須將多個平面圖卡彼此平行地配置,裝置的結構變得複雜。由於該理由,也難以增加平面圖卡數量。進一步地,由於必須改變平面圖卡的位置而多次拍攝平面圖卡,所以相機的製造步驟複雜化,製造時間可能變長。 Here, as another comparative example, for example, a method of arranging a plurality of plan view cards at predetermined intervals in the direction of the optical axis of the optical system and detecting the focus position of the camera based on the detection results of the plan view cards at each position can be considered. However, in this method, since the amount of obtained data is limited by the number of floor plan cards, the detection accuracy of the focus position may decrease. In addition, in order to arrange a plurality of floor plan cards so as not to interfere with each other, it is difficult to increase the number of floor plan cards. In addition, it is necessary to arrange a plurality of floor plan cards in parallel to each other, which complicates the structure of the device. For this reason, it is also difficult to increase the number of floor plan cards. Further, since the plan card must be photographed many times while changing the position of the plan card, the manufacturing steps of the camera are complicated and the manufacturing time may become longer.

與此相對,在本實施方式中,透過在拍攝具有三維結構的測試圖卡10而得的影像CI內選擇多個評價區域ER,能夠將各個評價區域ER的位置設為沿著邊界線162的任意的位置。另外,能夠以比使用上述平面圖卡的情況下的實際空間中的間隔窄的間隔選擇評價區域ER彼此的間隔。另外,能夠將評價區域ER的數量設為任意的數量,比使用上述的平面圖卡的情況下的數量更容易增加。另外,能夠將評價區域ER的尺寸設為任意的尺寸,並且能夠容易地使評價區域ER彼此的尺寸均等。其結果是,能夠提高邊界線162上的暫定焦點位置的檢測精度。 In contrast, in this embodiment, by selecting a plurality of evaluation regions ER in the image CI obtained by photographing the test chart 10 having a three-dimensional structure, the position of each evaluation region ER can be set to be along the boundary line 162. any position. In addition, the interval between the evaluation regions ER can be selected at an interval narrower than the interval in the real space when the above-mentioned plan view card is used. In addition, the number of evaluation regions ER can be set to an arbitrary number, and it is easier to increase the number than the case of using the above-mentioned floor plan card. In addition, the size of the evaluation regions ER can be set to an arbitrary size, and the sizes of the evaluation regions ER can be easily made equal to each other. As a result, the detection accuracy of the tentative focus position on the boundary line 162 can be improved.

另外,在本實施方式中,僅透過對測試圖卡10進行一次拍攝,就能夠選擇多個評價區域ER。由此,能夠簡化相機20的製造步驟,縮短製造時間。 In addition, in the present embodiment, a plurality of evaluation regions ER can be selected by imaging the test chart 10 only once. Thereby, the manufacturing steps of the camera 20 can be simplified and the manufacturing time can be shortened.

(5)本發明的第一實施方式的變形例 (5) Modified example of the first embodiment of the present invention

在上述實施方式中,說明了測試圖卡10的斜面140具有多條邊界線162的情況,但根據需要,可以如以下所示的變形例那樣進行變更。 In the above-mentioned embodiment, the case where the slope 140 of the test chart 10 has a plurality of boundary lines 162 has been described, but it can be changed as a modified example shown below as necessary.

以下,僅對與上述實施方式不同的要素進行說明,對與在上述實施方式中說明的要素實質上相同的要素標注相同的符號並省略其說明。另外,對於以下的第二實施方式及第三實施方式等,也與本變形例同樣地省略說明。 Hereinafter, only elements different from those of the above-mentioned embodiment will be described, and elements that are substantially the same as those described in the above-mentioned embodiment will be assigned the same reference numerals and their description will be omitted. In addition, descriptions of the following second embodiment, third embodiment, etc. are omitted in the same manner as the present modified example.

使用圖12A和12B對本實施方式的變形例所關於的測試圖卡10進行說明。在圖12A和12B中,省略了支承板190。 A test chart 10 related to a modified example of the present embodiment will be described using FIGS. 12A and 12B . In FIGS. 12A and 12B , the support plate 190 is omitted.

在本變形例的測試圖卡10中,例如4個斜面140各自具有一個邊界線162。具體而言,各個斜面140例如具有非透光性區域和透光性區域作為圖案160。邊界線162例如形成非透光性區域與透光性區域的邊界。 In the test chart 10 of this modified example, for example, each of the four slopes 140 has one boundary line 162 . Specifically, each slope 140 has, for example, a non-translucent region and a translucent region as the pattern 160 . The boundary line 162 forms, for example, the boundary between the non-translucent region and the translucent region.

(效果) (Effect)

根據本變形例,如上所述,測試圖卡10的斜面140可以僅具有一個邊界線162。由此,可以簡化測試圖卡10的圖案160。透過簡化圖案160,能夠容易地製造測試圖卡10。其結果是,能夠降低測試圖卡10的成本。 According to this modified example, as described above, the slope 140 of the test chart 10 may have only one boundary line 162 . Thus, the pattern 160 of the test chart 10 can be simplified. Through the simplified pattern 160, the test chart 10 can be easily manufactured. As a result, the cost of the test chart 10 can be reduced.

<本發明的第二實施方式> <Second Embodiment of the Present Invention>

接著,對本發明的第二實施方式進行說明。 Next, a second embodiment of the present invention will be described.

(1)測試圖卡 (1) Test chart

使用圖13和圖14對本實施方式所關於的測試圖卡10進行說明。 The test chart 10 related to this embodiment will be described using FIG. 13 and FIG. 14 .

如圖13和圖14所示,本實施方式的測試圖卡10例如具有支承板190和多個3D塊110。 As shown in FIGS. 13 and 14 , the test chart 10 of this embodiment includes, for example, a support plate 190 and a plurality of 3D blocks 110 .

多個3D塊110例如具有中央塊110a和4個外側塊110b。 The plurality of 3D blocks 110 includes, for example, a central block 110a and four outer blocks 110b.

中央塊110a例如與第一實施方式的3D塊110同樣地構成為正四稜錐。中央塊110a例如配置於相機20的視場的中央、即支承板190的中央。 The central block 110a is configured as a regular quadrangular pyramid, for example, similarly to the 3D block 110 of the first embodiment. The central block 110 a is arranged, for example, at the center of the field of view of the camera 20 , that is, at the center of the support plate 190 .

外側塊110b例如配置在遠離相機20的視場的中央的位置、即遠離支承板190的中央的位置。在本實施方式中,4個外側塊110b分別配置在支承板190的4個角部附近。 The outer block 110 b is arranged, for example, at a position away from the center of the field of view of the camera 20 , that is, at a position away from the center of the support plate 190 . In the present embodiment, the four outer blocks 110b are arranged near the four corners of the support plate 190, respectively.

在本實施方式中,外側塊110b例如構成為四稜錐,但具有自正四稜錐變形而成的形狀。 In the present embodiment, the outer block 110b is configured as, for example, a quadrangular pyramid, but has a shape deformed from a regular quadrangular pyramid.

具體而言,如圖13所示,外側塊110b的頂點120設置在偏向支承板190的中央側的位置。 Specifically, as shown in FIG. 13 , the apex 120 of the outer block 110 b is provided at a position deviated from the center side of the support plate 190 .

另一方面,如圖14所示,測試圖卡10被配置為,在相機20進行拍攝時,頂點120位於該外側塊110b的中心。即,測試圖卡10被配置為,即使在相機20的光學系統220中產生畸變像差,也由於在實際空間中外側塊110b的頂點120被設置在偏向支承板190的中央側的位置,從而頂點120位於該外側塊110b的中心。 On the other hand, as shown in FIG. 14 , the test chart 10 is arranged such that the apex 120 is positioned at the center of the outer block 110 b when the camera 20 takes an image. That is, the test chart 10 is configured such that even if distortion aberration occurs in the optical system 220 of the camera 20, since the apex 120 of the outer block 110b is set at a position deviated from the central side of the support plate 190 in real space, The apex 120 is located at the center of the outer block 110b.

另外,對於本實施方式的外側塊110b,也以相機20進行拍攝時邊界線162與拍攝元件240的像素排列方向不平行的方式配置測試圖卡10。 In addition, in the outer block 110b of the present embodiment, the test chart 10 is arranged so that the boundary line 162 is not parallel to the pixel arrangement direction of the imaging element 240 when the camera 20 takes an image.

(2)相機的製造方法 (2) Manufacturing method of camera

接著,說明本實施方式的相機的製造方法。 Next, a method of manufacturing the camera of this embodiment will be described.

(S100:準備步驟) (S100: preparation step)

在本實施方式的準備流程S100中,例如,如上所述,透過圖卡支承部310支承測試圖卡10,使得當相機20進行拍攝時,外側塊110b的頂點120位於外側塊110b的中心。 In the preparation process S100 of this embodiment, for example, as described above, the test chart 10 is supported by the chart supporting part 310 so that when the camera 20 takes pictures, the apex 120 of the outer block 110b is located at the center of the outer block 110b.

(S310~S370:影像解析步驟) (S310~S370: image analysis step)

在本實施方式的影像解析步驟S300中,例如,在中央塊110a以及4個外側塊110b各自的全部的邊界線162中,檢測出暫定焦點位置(坐標B111~B542)。 In the video analysis step S300 of the present embodiment, for example, provisional focus positions (coordinates B 111 to B 542 ) are detected on all boundary lines 162 of the central block 110a and the four outer blocks 110b.

(S400:焦點誤差計算步驟) (S400: focus error calculation step)

在本實施方式的焦點誤差計算步驟S400中,例如根據中央塊110a以及4個外側塊110b各自的全部的邊界線162的檢測結果的相關性,檢測出相機20的焦點面。 In the focus error calculation step S400 of this embodiment, for example, the focus plane of the camera 20 is detected based on the correlation of the detection results of all the boundary lines 162 of the central block 110a and the four outer blocks 110b.

具體而言,例如,根據全部的邊界線162中的暫定焦點位置的坐標Bijk,透過上述式(4)求出焦點面的方程式。 Specifically, for example, the equation of the focal plane is obtained from the above-mentioned equation (4) based on the coordinates B ijk of the tentative focus positions in all the boundary lines 162 .

在本實施方式中,由於得到超過3點的暫定焦點位置的坐標Bijk,所以例如透過最小二乘法,將常數a、b和c最佳化。 In the present embodiment, since the coordinates B ijk of more than three tentative focus positions are obtained, the constants a, b, and c are optimized, for example, by the method of least squares.

另外,也可以根據在上述第1實施方式中求出的一對邊界線162a、162b中的平均焦點位置的坐標Bij、或者各3D塊110中的最佳焦點位置的坐標Bi,將常數a、b以及c最佳化。 In addition, a constant may be set based on the coordinates B ij of the average focus position in the pair of boundary lines 162a and 162b obtained in the first embodiment or the coordinates B i of the best focus position in each 3D block 110 . a, b and c are optimized.

(S540:相機位置調整步驟) (S540: camera position adjustment step)

在本實施方式的相機位置調整步驟S540中,根據相機20的焦點面的方程式,透過相機調整機構360調整光學系統220與拍攝元件240的相對位置。 In the camera position adjustment step S540 of this embodiment, the relative position of the optical system 220 and the imaging element 240 is adjusted through the camera adjustment mechanism 360 according to the equation of the focal plane of the camera 20 .

其後的步驟與上述第一實施方式相同。 Subsequent steps are the same as in the first embodiment described above.

(3)本實施方式的效果 (3) Effects of this embodiment

根據本實施方式,測試圖卡10被配置為,即使相機20的光學系統220中產生了畸變像差,也由於在實際空間中外側塊110b的頂點120被設置在偏向支承板190的中央側的位置,從而在測試圖卡10的影像CI內,頂點120位於該外側塊110b的中心。由此,即使外側塊110b配置在遠離相機20的視場中央的位置,在測試圖卡10的影像CI內的外側塊110b中,也能夠以頂點120為中心均衡地配置多個圖案160。例如,在測試圖卡10的影像CI內的各斜面140中,能夠使作為圖案160的邊界線162的長度均等。由此,即使在遠離測試圖卡10的影像CI的中央的位置,也能夠使多個圖案160中的暫定焦點位置的檢測精度相等。即,能夠在整個視場中均衡地檢測暫定焦點位置。其結果是,能夠提高焦點面的檢測精度。 According to the present embodiment, the test chart 10 is configured such that even if distortion aberration occurs in the optical system 220 of the camera 20, since the apex 120 of the outer block 110b is set at a position deviated from the central side of the supporting plate 190 in real space, Therefore, in the image CI of the test chart 10, the vertex 120 is located at the center of the outer block 110b. As a result, even if the outer block 110 b is arranged far from the center of the field of view of the camera 20 , in the outer block 110 b in the image CI of the test chart 10 , a plurality of patterns 160 can be arranged in a balanced manner around the vertex 120 . For example, in each slope 140 in the image CI of the test chart 10 , the length of the boundary line 162 as the pattern 160 can be made equal. Thereby, even at a position away from the center of the image CI of the test chart 10 , the detection accuracy of the provisional focus position among the plurality of patterns 160 can be made equal. That is, provisional focus positions can be detected evenly throughout the entire field of view. As a result, the detection accuracy of the focal plane can be improved.

(4)本發明的第二實施方式的變形例 (4) Modified example of the second embodiment of the present invention

在上述實施方式中,說明了各3D塊110的斜面140具有多條邊界線162的情況,但根據需要,也可以如以下所示的變形例那樣進行變更。 In the above-mentioned embodiment, the case where the slope 140 of each 3D block 110 has a plurality of boundary lines 162 has been described, but it may be changed as in the modified example shown below as necessary.

使用圖15和圖16,對本實施方式的變形例所關於的測試圖卡10進行說明。 A test chart 10 related to a modified example of the present embodiment will be described using FIGS. 15 and 16 .

在本變形例的測試圖卡10中,例如,各3D塊110中的4個斜面140各自具有一個邊界線162。作為本變形例的圖案160的邊界線162的方式例如與上述第一實施方式的變形例的方式相同。 In the test chart 10 of this modified example, for example, each of the four slopes 140 in each 3D block 110 has one boundary line 162 . The form of the boundary line 162 of the pattern 160 in this modification is, for example, the same as that of the modification of the first embodiment described above.

(效果) (Effect)

根據本變形例,測試圖卡10的斜面140僅具有一個邊界線162,從而能夠簡化測試圖卡10的圖案160。由此,即使外側塊110b因頂點120的偏移及邊界線162的配置而具有複雜的形狀,也能夠容易地製造外側塊110b。其結果是,能夠降低具有外側塊110b的測試圖卡10的成本。 According to this modified example, the slope 140 of the test chart 10 has only one boundary line 162 , so that the pattern 160 of the test chart 10 can be simplified. Thus, even if the outer block 110b has a complicated shape due to the shift of the vertices 120 and the arrangement of the boundary lines 162, the outer block 110b can be easily manufactured. As a result, the cost of the test chart 10 having the outer block 110b can be reduced.

<本發明的第三實施方式> <Third Embodiment of the Present Invention>

接著,對本發明的第三實施方式進行說明。 Next, a third embodiment of the present invention will be described.

(1)測試圖卡 (1) Test chart

使用圖17和18說明本實施方式所關於的測試圖卡10。 The test chart 10 related to this embodiment will be described using FIGS. 17 and 18 .

如圖17和圖18所示,本實施方式的測試圖卡10例如具有支承板190、多個3D塊110和多個二維塊(2D塊)170。 As shown in FIGS. 17 and 18 , the test chart 10 of this embodiment has, for example, a support plate 190 , a plurality of 3D blocks 110 , and a plurality of two-dimensional blocks (2D blocks) 170 .

多個3D塊110例如具有中央塊110a和4個外側塊110b。本實施方式的中央塊110a及4個外側塊110b的各自的配置及形狀與上述第二實施方式的配置及形狀相同。 The plurality of 3D blocks 110 includes, for example, a central block 110a and four outer blocks 110b. The arrangement and shape of each of the central block 110a and the four outer blocks 110b in this embodiment are the same as those of the above-mentioned second embodiment.

另外,如圖18所示,中央塊110a例如也可以具有中心標記122。中心標記122例如構成為相機可識別的標記。中心標記122例如配置在與相機20的光軸重疊的位置。即,中心標記122例如設置在與支承板190的中央法線重疊的頂點120上。由此,例如能夠根據中心標記122的檢測結果,容易地檢測出X方向和Y方向的中心。 Moreover, as shown in FIG. 18, the center block 110a may have the center mark 122, for example. The central marker 122 is designed, for example, as a marker recognizable by a camera. The center mark 122 is arranged, for example, at a position overlapping the optical axis of the camera 20 . That is, the center mark 122 is provided, for example, on the vertex 120 that overlaps with the central normal of the support plate 190 . Thereby, for example, the center in the X direction and the Y direction can be easily detected based on the detection result of the center mark 122 .

多個2D塊170各自具有例如二維圖案(2D圖案)180。2D圖案180例如設置成與相機20的光軸正交。 Each of the plurality of 2D blocks 170 has, for example, a two-dimensional pattern (2D pattern) 180 . The 2D pattern 180 is arranged to be orthogonal to the optical axis of the camera 20 , for example.

2D圖案180例如設置在2D塊170所具有的平坦的上表面上。2D圖案180距支承板190的高度例如低於3D塊110的頂點120的高度。具體而言,2D圖案180的高度例如為3D塊110的頂點120的高度的1/2倍。 The 2D pattern 180 is provided, for example, on a flat upper surface of the 2D block 170 . The height of the 2D pattern 180 from the support plate 190 is lower than the height of the vertices 120 of the 3D block 110 , for example. Specifically, the height of the 2D pattern 180 is, for example, 1/2 times the height of the vertices 120 of the 3D block 110 .

此外,2D塊170作為2D圖案180例如具有至少一個邊界線182。邊界線182例如形成顏色、濃淡以及亮度中的至少某一個的邊界。另外,邊界線182例如從該2D塊170的中央(中心軸)側朝向外側直線狀延伸。 Furthermore, the 2D block 170 has, for example, at least one boundary line 182 as a 2D pattern 180 . The boundary line 182 forms, for example, a boundary of at least one of color, shade, and brightness. In addition, the boundary line 182 extends, for example, linearly from the center (central axis) side of the 2D block 170 toward the outside.

另外,2D塊170作為2D圖案180例如具有4個狹縫,4個狹縫的兩邊構成一對邊界線182。 In addition, the 2D block 170 has, for example, four slits as the 2D pattern 180 , and both sides of the four slits form a pair of boundary lines 182 .

另外,作為2D圖案180的4個狹縫例如設置成在從2D塊170的上方觀察時(在實際空間目視時)以該2D塊170的中央為中心成為點對稱。 In addition, the four slits as the 2D pattern 180 are provided so as to be point-symmetrical about the center of the 2D block 170 when viewed from above the 2D block 170 (when viewed in real space), for example.

在本實施方式中,測試圖卡10被配置為,在相機20進行拍攝時,2D圖案180的邊界線182與拍攝元件240的像素排列方向不平行。由此,根據與3D塊110中的邊界線162的原理相同的原理,能夠高精度地掌握與邊界線182相交的方向的指標值的變化。 In the present embodiment, the test chart 10 is configured so that when the camera 20 takes pictures, the boundary line 182 of the 2D pattern 180 is not parallel to the pixel arrangement direction of the imaging element 240 . Thus, based on the same principle as that of the boundary line 162 in the 3D block 110 , it is possible to accurately grasp the change in the index value in the direction intersecting the boundary line 182 .

2D塊170例如設置有4個。4個2D塊170例如以中央塊110a為中心對稱地配置。另外,2D塊170例如設置在一對外側塊110b之間的中央。透過這樣的配置,能夠根據2D塊170的檢測結果(的相關性),容易地檢測出X方向和Y方向的中心。 For example, four 2D blocks 170 are provided. The four 2D blocks 170 are symmetrically arranged around the center block 110a, for example. In addition, the 2D block 170 is provided, for example, at the center between the pair of outer blocks 110b. With such an arrangement, it is possible to easily detect the center of the X direction and the Y direction based on (correlation of) the detection result of the 2D block 170 .

(2)相機的製造方法 (2) Manufacturing method of camera

接著,說明本實施方式的相機的製造方法。本實施方式的相機的製造方法例如在準備步驟S100與評價區域選擇步驟S310之間具有相機原點調整步驟S150這一點與上述第1實施方式及第2實施方式不同。 Next, a method of manufacturing the camera of this embodiment will be described. The camera manufacturing method of this embodiment differs from the above-mentioned first and second embodiments in that, for example, a camera origin adjustment step S150 is included between the preparation step S100 and the evaluation region selection step S310 .

(S150:相機原點調整步驟) (S150: camera origin adjustment step)

在暫定地拍攝測試圖卡10而得的影像CI中,解析2D塊170的部分,透過相機20的光學調整機構將光學系統220的位置調整為原點位置。這裡所說的“原點位置”是指例如光軸方向的光學系統220的可動區域的中心。 In the image CI obtained by tentatively photographing the test chart 10 , the portion of the 2D block 170 is analyzed, and the position of the optical system 220 is adjusted to the origin position through the optical adjustment mechanism of the camera 20 . The "origin position" referred to here means, for example, the center of the movable region of the optical system 220 in the direction of the optical axis.

具體而言,根據2D塊170中的2D圖案180的檢測結果,檢測相機20的初始焦點位置。接著,根據相機20的初始焦點位置,透過相機20的光學調整機構將光學系統220的位置調整為原點位置。 Specifically, the initial focus position of the camera 20 is detected based on the detection result of the 2D pattern 180 in the 2D block 170 . Next, according to the initial focus position of the camera 20 , the position of the optical system 220 is adjusted to the origin position through the optical adjustment mechanism of the camera 20 .

另外,還可以根據中央塊110a的中心標記122的檢測結果,將光學系統220的位置調整為原點位置。 In addition, the position of the optical system 220 may be adjusted to the origin position according to the detection result of the center mark 122 of the center block 110a.

(S540:相機位置調整步驟) (S540: camera position adjustment step)

在本實施方式的相機位置調整步驟S540中,可以在上述實施方式中進行的調整之外,還根據2D塊170或中央塊110a的中心標記122的檢測結果,以使調整後的焦點位置與X方向及Y方向的中心重疊的方式調整光學系統220。 In the camera position adjustment step S540 of this embodiment, in addition to the adjustments performed in the above embodiments, the adjusted focus position and the X The optical system 220 is adjusted in such a way that the centers of the Y direction and the Y direction overlap.

(3)本實施方式的效果 (3) Effects of this embodiment

根據本實施方式,2D塊170具有與相機20的光軸正交的2D圖案180。由此,能夠根據2D塊170的2D圖案180的檢測結果,透過相機20的光學調整機構將光學系統220的位置調整為原點位置。 According to the present embodiment, the 2D block 170 has the 2D pattern 180 orthogonal to the optical axis of the camera 20 . Accordingly, the position of the optical system 220 can be adjusted to the origin position through the optical adjustment mechanism of the camera 20 according to the detection result of the 2D pattern 180 of the 2D block 170 .

在此,如上述第一實施方式和第二實施方式那樣,在測試圖卡10僅具有3D塊110的情況下,難以根據3D塊110的圖案160的檢測結果,將光學系統220的位置調整為原點位置。如果在光學系統220的位置沒有配置在光軸上的原點位置的狀態下,對光學系統220與拍攝元件240的相對位置進行固定,則在製造後的相機20中,光軸方向的光學系統220的可動區域可能會偏移。 Here, as in the above-mentioned first and second embodiments, when the test chart 10 has only the 3D block 110, it is difficult to adjust the position of the optical system 220 to origin position. If the relative position of the optical system 220 and the imaging element 240 is fixed in a state where the position of the optical system 220 is not arranged at the origin position on the optical axis, in the camera 20 after manufacture, the optical system in the direction of the optical axis The movable area of 220 may be offset.

與此相對,在本實施方式中,透過根據2D塊170的2D圖案180的檢測結果將光學系統220的位置調整為原點位置,能夠在該光學系統220的位置配置在光軸上的原點位置的狀態下,將光學系統220與拍攝元件240的相對位置最佳化而將它們固定。由此,在製造後的相機20中,能夠抑制光軸方向的光學系統220的可動區域偏移。 In contrast, in this embodiment, by adjusting the position of the optical system 220 to the origin position based on the detection result of the 2D pattern 180 of the 2D block 170, the position of the optical system 220 can be arranged at the origin on the optical axis. In the state of the position, the relative positions of the optical system 220 and the imaging element 240 are optimized and fixed. Accordingly, in the manufactured camera 20 , it is possible to suppress shifting of the movable region of the optical system 220 in the optical axis direction.

<本發明的第四實施方式> <Fourth embodiment of the present invention>

接著,對本發明的第四實施方式進行說明。 Next, a fourth embodiment of the present invention will be described.

(1)測試圖卡 (1) Test chart

使用圖19對本實施方式所關於的測試圖卡10進行說明。 The test chart 10 related to this embodiment will be described using FIG. 19 .

如圖19所示,本實施方式的測試圖卡10例如具有支承板190和3D塊110。 As shown in FIG. 19 , the test chart 10 of this embodiment has, for example, a support plate 190 and a 3D block 110 .

在本實施方式中,3D塊110例如具有多條稜線130和多個斜面140。 In this embodiment, the 3D block 110 has, for example, a plurality of ridges 130 and a plurality of slopes 140 .

多條稜線130例如設置在距支承板190規定高度的位置。另外,稜線130也可以認為是由上述實施方式的頂點120的集合形成的。較佳地,多條稜線130各自距支承板190的高度彼此相等。 The plurality of ridgelines 130 are provided, for example, at predetermined heights from the support plate 190 . In addition, the ridgeline 130 can also be considered to be formed by a collection of vertices 120 in the above-mentioned embodiment. Preferably, the heights of the plurality of ridgelines 130 from the support plate 190 are equal to each other.

斜面140例如以夾著多條稜線130中的每一條朝向相反的傾斜方向傾斜的方式設置有多個。 For example, a plurality of slopes 140 are provided so as to incline in opposite inclination directions across each of the plurality of ridgelines 130 .

在本實施方式中,各個斜面140例如作為圖案160而具有多個狹縫。多個狹縫各自具有一對邊界線162(162a、162b)。例如,在多個狹縫中,從邊界線162的上端到下端的高低差(Z分量的長度)彼此相等。 In the present embodiment, each slope 140 has a plurality of slits as the pattern 160 , for example. Each of the plurality of slits has a pair of boundary lines 162 (162a, 162b). For example, among the plurality of slits, the height difference (the length of the Z component) from the upper end to the lower end of the boundary line 162 is equal to each other.

另外,在本實施方式中,與上述實施方式同樣,測試圖卡10被配置為,在相機20進行拍攝時,各斜面140中的多條邊界線162相對於拍攝元件240的像素排列方向不平行。 In addition, in the present embodiment, similar to the above-mentioned embodiment, the test chart 10 is arranged so that when the camera 20 takes an image, the plurality of boundary lines 162 on each slope 140 are not parallel to the direction in which the pixels of the imaging element 240 are arranged. .

另外,在本實施方式中,多條稜線130例如以相機20的光學系統220的光軸(即支承板190的中央)為中心配置成放射狀。即,在本實施方式中,3D塊110例如具有多個三稜柱在支承板190的中央結合而成的形狀。 In addition, in this embodiment, the plurality of ridgelines 130 are arranged radially around, for example, the optical axis of the optical system 220 of the camera 20 (that is, the center of the support plate 190 ). That is, in the present embodiment, the 3D block 110 has, for example, a shape in which a plurality of triangular prisms are joined at the center of the support plate 190 .

另外,在本實施方式中,較佳地,多條稜線130例如相對於相機20的光學系統220的光軸為軸對稱。 In addition, in this embodiment, preferably, the plurality of ridgelines 130 are axisymmetric with respect to the optical axis of the optical system 220 of the camera 20 , for example.

(2)本實施方式的效果 (2) Effects of this embodiment

(a)在本實施方式中,3D塊110具有構成三稜柱的多個斜面140。對於一個斜面140設置有多個狹縫。 (a) In the present embodiment, the 3D block 110 has a plurality of slopes 140 constituting a triangular prism. A plurality of slits are provided for one slope 140 .

在此,在如上述實施方式那樣的金字塔狀的3D塊110中,為了增加測定點數量,考慮在減小金字塔狀的3D塊110的同時增加3D塊110的數量。然而,若3D塊110變小,則測量精度可能降低。另外,增加3D塊110的數量可能導致製造成本增加。另一方面,作為另一種方法,可以考慮增加金字塔狀3D塊110的一個斜面140上的狹縫。然而,在這種情況下,自頂點120起相對於支承板190的沿面方向,斜面140的高度逐漸降低。因此,難以在一個斜面140上加工大量的狹縫。 Here, in order to increase the number of measurement points in the pyramid-shaped 3D blocks 110 as in the above-mentioned embodiment, it is conceivable to increase the number of 3D blocks 110 while reducing the size of the pyramid-shaped 3D blocks 110 . However, if the 3D block 110 becomes smaller, measurement accuracy may decrease. In addition, increasing the number of 3D blocks 110 may result in increased manufacturing costs. On the other hand, as another method, adding a slit on one slope 140 of the pyramid-shaped 3D block 110 may be considered. In this case, however, the height of the slope 140 gradually decreases from the apex 120 with respect to the creepage direction of the support plate 190 . Therefore, it is difficult to process a large number of slits on one slope 140 .

與此相對,在本實施方式中,透過對構成三稜柱的一個斜面140設置多個狹縫,能夠在寬度寬的斜面140上容易地增加狹縫數量。另外,即使增加了狹縫數量,也能夠容易地加工狹縫。另外,還能夠抑制製造成本的增大。 On the other hand, in this embodiment, by providing a plurality of slits on one inclined surface 140 constituting the triangular prism, the number of slits can be easily increased on the wide inclined surface 140 . In addition, even if the number of slits is increased, the slits can be easily processed. In addition, an increase in manufacturing cost can also be suppressed.

透過這樣增加狹縫數量,能夠設定大量的評價區域ER,在大量的點測定SFR。其結果是,能夠提高焦點的測定精度。 By increasing the number of slits in this way, a large number of evaluation regions ER can be set, and SFR can be measured at a large number of points. As a result, the measurement accuracy of the focal point can be improved.

(b)在本實施方式中,多條稜線130以相機20的光學系統220的光軸為中心配置成放射狀。由此,能夠在空間上使狹縫的分佈均勻。透過使狹縫的分佈均勻,能夠在相機20的整個視場內均勻地測定SFR。 (b) In the present embodiment, the plurality of ridgelines 130 are radially arranged around the optical axis of the optical system 220 of the camera 20 . Thus, the distribution of the slits can be spatially uniformed. By making the distribution of the slits uniform, the SFR can be measured uniformly over the entire field of view of the camera 20 .

(3)本發明的第四實施方式的變形例 (3) Modified example of the fourth embodiment of the present invention

[變形例4-1] [Modification 4-1]

使用圖20,對本實施方式的變形例4-1所關於的測試圖卡10進行說明。 The test chart card 10 related to Modification 4-1 of this embodiment will be described using FIG. 20 .

變形例4-1的測試圖卡10例如具有支承板190、3D塊110和多個2D塊170。3D塊110具有在第四實施方式中描述的構成。本變形例的2D塊170與第三實施方式的2D塊170相同。 The test chart 10 of Modification 4-1 has, for example, a support plate 190, a 3D block 110, and a plurality of 2D blocks 170. The 3D block 110 has the configuration described in the fourth embodiment. The 2D block 170 of this modified example is the same as the 2D block 170 of the third embodiment.

(效果) (Effect)

根據變形例4-1,能夠得到第三和第四實施方式兩者的效果。 According to Modification 4-1, both the effects of the third and fourth embodiments can be obtained.

[變形例4-2] [Modification 4-2]

使用圖21,對本實施方式的變形例4-2所關於的測試圖卡10進行說明。 The test chart card 10 related to Modification 4-2 of this embodiment will be described using FIG. 21 .

在變形例4-2的測試圖卡10中,2D塊170與變形例4-1的測試圖卡10的不同。變形例4-2的2D塊170中的2D圖案180構成為點184。另外,點184例如是點狀的開口。 In the test chart card 10 of Modification 4-2, the 2D block 170 is different from that of the test chart 10 of Modification 4-1. The 2D pattern 180 in the 2D block 170 of Modification 4-2 is configured as dots 184 . In addition, the dot 184 is, for example, a dot-shaped opening.

根據變形例4-2,透過將2D塊170中的2D圖案180設為點184,能夠將2D圖案180設為簡單的構成,能夠容易地進行加工。另外,利用點184,能夠明確且容易地檢測出2D圖案180的中心。 According to Modification 4-2, by making the 2D pattern 180 in the 2D block 170 the dots 184, the 2D pattern 180 can have a simple configuration and can be processed easily. In addition, using the point 184, the center of the 2D pattern 180 can be clearly and easily detected.

<本發明的其他實施方式> <Other embodiments of the present invention>

以上,具體說明了本發明的實施方式,但本發明不限於上述實施方式,在不脫離其主旨的範圍內可進行各種變更。以下,“上述實施方式”是指第一實施方式、第二實施方式及第三實施方式以及它們的變形例。 As mentioned above, although embodiment of this invention was concretely demonstrated, this invention is not limited to the said embodiment, Various changes are possible in the range which does not deviate from the summary. Hereinafter, "the above-mentioned embodiment" means 1st Embodiment, 2nd Embodiment, and 3rd Embodiment and these modification examples.

在上述第一實施方式中,說明了滿足以下的(a)和(b)的情況,在上述第二實施方式和第三實施方式中,說明了滿足(a)、(b)和(c)的情況,但不限於這些情況。只要滿足(a)、(b)和(c)中的至少某一個,就能夠高精度地調整光學系統220與拍攝元件240的相對位置。但是,(a)、(b)和(c)中被滿足的構成越多,越能夠提高相機20的調整位置精度。 In the above-mentioned first embodiment, the case where the following (a) and (b) are satisfied is described, and in the above-mentioned second and third embodiments, it is described that the following (a), (b) and (c) are satisfied. circumstances, but not limited to these circumstances. As long as at least one of (a), (b) and (c) is satisfied, the relative position of the optical system 220 and the imaging element 240 can be adjusted with high precision. However, the more configurations satisfying (a), (b) and (c), the more the adjustment position accuracy of the camera 20 can be improved.

(a)測試圖卡10配置為,斜面140相對於光學系統220的光軸傾斜,並且當相機20進行拍攝時,邊界線162與拍攝元件240的像素排列方向不平行。 (a) The test chart 10 is configured such that the slope 140 is inclined relative to the optical axis of the optical system 220 , and when the camera 20 is shooting, the boundary line 162 is not parallel to the pixel arrangement direction of the shooting element 240 .

(b)測試圖卡10的斜面140具有從頂點120側起沿著各不相同的傾斜方向連續延伸的多個圖案160。 (b) The inclined surface 140 of the test chart 10 has a plurality of patterns 160 continuously extending in different inclined directions from the apex 120 side.

(c)外側塊110b的頂點120設置在偏向相機20的視場的中央側的位置。另外,測試圖卡10配置為,在相機20進行拍攝時,外側塊110b的頂點120位於該外側塊110b的中心。 (c) The apex 120 of the outer block 110 b is provided at a position deviated from the center side of the field of view of the camera 20 . In addition, the test chart 10 is arranged such that the apex 120 of the outer block 110b is located at the center of the outer block 110b when the camera 20 takes an image.

在上述實施方式中,說明了3D塊110具有多個斜面140的情況,但不限於該情況。只要以當相機20進行拍攝時邊界線162與拍攝元件240的像素排列方向不平行的方式配置測試圖卡10即可,3D塊110也可以僅具有一個斜面140。由此,能夠根據該一個斜面140上的邊界線162的檢測結果來檢測焦點位置。但是,如上述實施方式那樣,在3D塊110具有多個斜面140時,更能提高焦點位置的檢測精度,因此較佳。 In the above-mentioned embodiment, the case where the 3D block 110 has a plurality of slopes 140 has been described, but the present invention is not limited to this case. The 3D block 110 may have only one slope 140 as long as the test chart 10 is arranged so that the boundary line 162 is not parallel to the pixel arrangement direction of the imaging element 240 when the camera 20 takes an image. Accordingly, the focus position can be detected from the detection result of the boundary line 162 on the one slope 140 . However, as in the above-described embodiment, when the 3D block 110 has a plurality of slopes 140 , the detection accuracy of the focus position can be further improved, which is preferable.

在上述實施方式中,說明了在相機20進行拍攝時,由於成像倍率的不同,一個狹縫中的一方的邊界線162a與另一方的邊界線162b不平行的情況,但不限於該情況。例如,也可以以相機20進行拍攝時,一個狹縫中的一方的邊界線162a與另一方的邊界線162b平行的方式配置測試圖卡10。即,也可以預先考慮成像倍率的不同,而使靠近相機20一側的狹縫的寬度比底邊側的狹縫的寬度窄。由此,能夠在影像CI內使邊界線162a、162b相對於像素排列方向以相同角度傾斜。其結果是,能夠使邊界線162a、162b中指標值的變化的檢測精度相等。 In the above embodiment, the case where one boundary line 162a of one slit is not parallel to the other boundary line 162b due to a difference in imaging magnification when the camera 20 captures images has been described, but the present invention is not limited to this case. For example, the test chart card 10 may be arranged such that one of the boundary lines 162a of one slit is parallel to the other boundary line 162b when the camera 20 takes an image. That is, the difference in imaging magnification may be considered in advance, and the width of the slit on the side closer to the camera 20 may be made narrower than the width of the slit on the bottom side. Thereby, the boundary lines 162a and 162b can be inclined at the same angle with respect to the pixel array direction within the image CI. As a result, the detection accuracy of the change in the index value in the boundary lines 162a and 162b can be equalized.

在上述實施方式中,說明了3D塊110的4個底邊分別與支承板190的4邊中的某一個平行,而斜面140各自中的邊界線162在俯視時相對於4個底邊中的某一個的延伸方向以規定的角度α傾斜的情況,但不限於該情況。 In the above-mentioned embodiment, it has been explained that the four bases of the 3D block 110 are respectively parallel to one of the four sides of the supporting plate 190, and the boundary lines 162 in each of the slopes 140 are opposite to one of the four bases in plan view. A case where one of the extending directions is inclined at a predetermined angle α , but not limited to this case.

例如,也可以是,相對於3D塊110的4條稜線各自與支承板190的4邊中的某一條平行的情況(即,相對於3D塊110配置成俯視時為菱形的情況),斜面140各自中的邊界線162在俯視時相對於4條稜線中的某一條的延伸方向以規定的角度α傾斜。 For example, with respect to the case where each of the four ridgelines of the 3D block 110 is parallel to one of the four sides of the support plate 190 (that is, the case where the 3D block 110 is arranged in a rhombus shape when viewed from above), the inclined surface 140 may be Each of the boundary lines 162 is inclined at a predetermined angle α with respect to the extending direction of any one of the four ridgelines in plan view.

或者,例如,測試圖卡10也可以具有斜面140各自中的邊界線162在俯視時與4個底邊中的某一個的延伸方向平行的3D塊110,該3D塊110以底面的法線方向為軸以角度α旋轉後的狀態設置在支承板190上。 Or, for example, the test chart 10 may also have a 3D block 110 whose boundary line 162 in each of the inclined surfaces 140 is parallel to the extension direction of one of the 4 bottom edges when viewed from above, and the 3D block 110 is parallel to the normal direction of the bottom surface. It is installed on the support plate 190 in a state where the shaft is rotated at an angle α .

在上述實施方式中,說明了透過螺栓的緊固而將測試圖卡10固定在圖卡支承部310上的情況,但不限於該情況。將測試圖卡10固定在圖卡支承部310上的方法也可以是螺栓緊固以外的方法。 In the above-mentioned embodiment, the case where the test chart 10 is fixed to the chart support portion 310 by fastening the bolts has been described, but the present invention is not limited to this case. The method of fixing the test chart 10 to the chart supporting part 310 may be a method other than bolt fastening.

在上述實施方式中,說明了根據對指標值相對於校正像素數d’的插補曲線IC進行頻率解析時的峰值空間頻率,檢測出指標值的變化最陡的暫定焦點位置的情況,但也可以將得到指標值相對於校正像素數d’的斜率的最大值的位置檢測為暫定焦點位置。 In the above-mentioned embodiment, the case where the provisional focus position at which the change in the index value is the steepest is detected based on the peak spatial frequency when frequency analysis is performed on the interpolation curve IC of the index value with respect to the number of corrected pixels d′ is described. The position at which the maximum value of the slope of the index value with respect to the number of corrected pixels d' is obtained can be detected as a tentative focus position.

在上述第四實施方式的變形例4-2中,對2D圖案180為點184的情況進行了說明,但也可以將第三實施方式的2D圖案180設為點184。 In Modification 4-2 of the fourth embodiment described above, the case where the 2D pattern 180 is the dots 184 has been described, but the 2D pattern 180 of the third embodiment may also be the dots 184 .

<本發明的較佳方式> <Preferred Mode of the Invention>

以下,附記本發明的較佳方式。 Hereinafter, preferred embodiments of the present invention will be described.

(附記1) (Note 1)

一種測試圖卡,其調整具有光學系統和拍攝元件的相機,所述測試圖卡具備至少一個斜面,所述斜面具有至少一個邊界線,所述邊界線形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀地延伸,所述斜面配置成,相對於所述光學系統的光軸傾斜,並且在所述相機進行拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行。 A test chart for adjusting a camera having an optical system and a photographing element, the test chart having at least one slope, the slope having at least one boundary line forming at least one of color, shade and brightness and extending linearly along the inclination direction of the slope, the slope is configured to be inclined with respect to the optical axis of the optical system, and when the camera is shooting, the boundary line and the shooting The pixel arrangement direction of the device is not parallel.

(附記2) (Note 2)

根據附記1所述的測試圖卡,其中, 所述測試圖卡配置為,在所述相機進行拍攝時,所述邊界線相對於所述拍攝元件的像素排列方向的偏移大於僅由所述光學系統的畸變像差引起的偏移。 According to the test chart card described in appendix 1, wherein, The test chart is configured such that when the camera is shooting, the deviation of the boundary line relative to the pixel arrangement direction of the imaging element is larger than the deviation caused only by the distortion aberration of the optical system.

(附記3) (Note 3)

根據附記1或2所述的測試圖卡,其中,所述相機進行拍攝時的所述邊界線相對於所述像素排列方向的偏移具有所述光學系統的畸變像差引起的成分和相對於所述拍攝元件的像素排列方向直線狀地傾斜的成分。 The test chart according to Supplementary Note 1 or 2, wherein, when the camera is shooting, the deviation of the boundary line relative to the pixel arrangement direction has a component caused by the distortion aberration of the optical system and relative to A component in which the pixel arrangement direction of the imaging element is linearly inclined.

(附記4) (Note 4)

根據附記1~3中任一項所述的測試圖卡,其中,所述斜面具有多條邊界線。 The test chart according to any one of Supplements 1 to 3, wherein the slope has a plurality of boundary lines.

(附記5) (Note 5)

根據附記1~4中任一項所述的測試圖卡,其中,具備設置在規定高度的頂點,所述斜面夾著所述頂點朝向相反的傾斜方向傾斜。 The test chart according to any one of Supplements 1 to 4, wherein the vertex is provided at a predetermined height, and the inclined surfaces are inclined in opposite inclination directions across the vertex.

(附記6) (Note 6)

根據附記1~5中任一項所述的測試圖卡,其中,具備設置在規定高度的多條稜線,所述斜面以夾著所述多條稜線中的每一條朝向相反的傾斜方向傾斜的方式設置有多個,所述多條稜線以所述光學系統的光軸為中心配置成放射狀。 The test chart according to any one of Supplementary Notes 1 to 5, wherein a plurality of ridgelines are provided at a predetermined height, and the slopes are inclined toward opposite inclination directions across each of the plurality of ridgelines. There are a plurality of ways, and the plurality of ridges are radially arranged around the optical axis of the optical system.

(附記7) (Note 7)

一種測試圖卡,其對相機進行調整,所述測試圖卡具有:設置在規定高度的頂點;以及夾著所述頂點向相反的傾斜方向傾斜的多個斜面, 所述多個斜面分別具有從所述頂點側沿著各不相同的傾斜方向連續延伸的多個圖案。 A test chart for adjusting a camera, the test chart having: an apex set at a prescribed height; and a plurality of slopes inclined in opposite inclination directions across the apex, The plurality of slopes each have a plurality of patterns continuously extending from the apex side in different inclination directions.

(附記8) (Note 8)

根據附記7所述的測試圖卡,其中,所述多個圖案設置成從所述頂點的上方觀察時以所述頂點為中心成為點對稱。 The test chart according to supplementary note 7, wherein the plurality of patterns are arranged to be point-symmetrical about the apex when viewed from above the apex.

(附記9) (Note 9)

根據附記7或8所述的測試圖卡,其中,所述測試圖卡具備外側塊,其配置在遠離所述相機的視場的中央的位置,具有所述頂點和所述斜面,所述外側塊的所述頂點設置在偏向所述中央側的位置,所述測試圖卡配置為,當所述相機進行拍攝時,所述頂點位於該外側塊的中心。 The test chart according to Supplementary Note 7 or 8, wherein the test chart has an outer block, which is arranged at a position away from the center of the field of view of the camera, has the vertex and the slope, and the outer block is The apex of the block is arranged at a position deviated from the central side, and the test chart is configured so that the apex is located at the center of the outer block when the camera takes an image.

(附記10) (Additional Note 10)

一種測試圖卡,其對相機進行調整,所述測試圖卡具備外側塊,其配置在遠離所述相機的視場的中央的位置,所述外側塊具有:在偏向所述中央側的位置處設置在規定高度的頂點;以及夾著所述頂點向相反的傾斜方向傾斜的多個斜面,所述測試圖卡配置為,當所述相機進行拍攝時,所述頂點位於所述外側塊的中心。 A test chart for adjusting a camera, the test chart having an outer block arranged at a position away from the center of the field of view of the camera, the outer block having: a position deviated from the central side an apex provided at a prescribed height; and a plurality of slopes inclined in opposite inclination directions across the apex, the test chart being configured such that the apex is positioned at the center of the outer block when the camera is photographed .

(附記11) (Additional Note 11)

根據附記1~10中任一項所述的測試圖卡,其中,所述測試圖卡具備:三維塊,其具有所述斜面;以及二維塊,其具有與所述相機的光軸正交地配置的二維圖案。 The test chart according to any one of Supplements 1 to 10, wherein the test chart has: a three-dimensional block having the slope; and a two-dimensional block having an angle perpendicular to the optical axis of the camera. Two-dimensional pattern of ground configuration.

(附記12) (Additional Note 12)

根據附記1~11中任一項所述的測試圖卡,其中,具有中心標記,其配置在與所述相機的光軸重疊的位置,且所述相機能夠識別所述中心標記。 The test chart according to any one of Supplements 1 to 11, wherein a center mark is arranged at a position overlapping with the optical axis of the camera, and the camera can recognize the center mark.

(附記13) (Additional Note 13)

一種相機製造裝置,具有:圖卡支承部,其支承規定的測試圖卡;相機支承部,其在能夠拍攝所述測試圖卡的位置支承具有光學系統和拍攝元件的相機的至少一部分;影像解析部,其對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置;以及相機調整機構,其根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置,所述圖卡支承部構成為:支承作為所述測試圖卡的以下圖卡,即:該圖卡具備至少一個斜面,所述斜面具有形成顏色、濃淡以及亮度中的至少一個的邊界、並沿著該斜面的傾斜方向直線狀延伸的至少一個邊界線,並且以所述斜面相對於所述光學系統的光軸傾斜,並且當所述相機進行拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行的方式,支承所述測試圖卡,所述影像解析部根據所述邊界線的檢測結果來檢測所述焦點位置。 A camera manufacturing device comprising: a chart support unit that supports a predetermined test chart; a camera support unit that supports at least a part of a camera having an optical system and an imaging element at a position where the test chart can be photographed; image analysis a part, which analyzes the image obtained by shooting the test chart, and detects the focus position of the camera; and a camera adjustment mechanism, which adjusts the optical system and the shooting position according to the focus position of the camera The relative position of the elements, the chart supporting part is configured to: support the following chart as the test chart, that is: the chart has at least one slope, and the slope has at least one of color, shade and brightness and at least one boundary line extending linearly along the inclination direction of the slope, and the slope is inclined relative to the optical axis of the optical system, and when the camera is shooting, the boundary line and The test chart is supported in such a manner that the pixel arrangement directions of the imaging element are not parallel, and the image analysis unit detects the focus position based on the detection result of the boundary line.

(附記14) (Additional Note 14)

一種相機製造裝置,具有:圖卡支承部,其支承規定的測試圖卡; 相機支承部,其在能夠拍攝所述測試圖卡的位置支承具有光學系統和拍攝元件的相機的至少一部分;影像解析部,其對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置;以及相機調整機構,其根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置,所述圖卡支承部構成為:支承作為所述測試圖卡的以下圖卡,即:該圖卡具有設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面,所述斜面具有從所述頂點側沿著各不相同的傾斜方向連續延伸的多個圖案,所述影像解析部根據所述多個圖案的檢測結果的相關性來檢測所述焦點位置。 A camera manufacturing device, comprising: a chart support portion supporting a prescribed test chart; a camera supporting unit, which supports at least a part of a camera having an optical system and an imaging element at a position where the test chart can be photographed; an image analysis unit, which analyzes the image obtained by photographing the test chart, and detects the The focus position of the camera; and a camera adjustment mechanism, which adjusts the relative position between the optical system and the photographing element according to the focus position of the camera, and the chart support part is configured to: support the test chart as the test chart A card having an apex arranged at a predetermined height and a slope inclined in opposite inclination directions across the apex, the slope having different inclination directions from the side of the apex A plurality of patterns extending continuously, the image analysis unit detects the focus position according to the correlation of the detection results of the plurality of patterns.

(附記15) (Additional Note 15)

一種相機製造裝置,具有:圖卡支承部,其支承規定的測試圖卡;相機支承部,其在能夠拍攝所述測試圖卡的位置支承具有光學系統和拍攝元件的相機的至少一部分;影像解析部,其對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置;以及相機調整機構,其根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置,所述圖卡支承部構成為:支承作為所述測試圖卡的以下圖卡,即:該圖卡具備配置在遠離所述相機的視場的中央的位置的外側塊,所述外側塊具有在偏向所述中央側的位置 處設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面,並且,以所述相機進行拍攝時,所述頂點位於所述外側塊的中心的方式支承所述測試圖卡,所述影像解析部根據所述外側塊的檢測結果來檢測所述焦點位置。 A camera manufacturing device comprising: a chart support unit that supports a predetermined test chart; a camera support unit that supports at least a part of a camera having an optical system and an imaging element at a position where the test chart can be photographed; image analysis a part, which analyzes the image obtained by shooting the test chart, and detects the focus position of the camera; and a camera adjustment mechanism, which adjusts the optical system and the shooting position according to the focus position of the camera The relative position of the components, the chart support part is configured to: support the following chart as the test chart, that is: the chart has an outer block arranged at a position away from the center of the field of view of the camera, so The outer block has a position biased toward the central side An apex at a predetermined height and an inclined surface inclined in opposite inclination directions across the apex are provided at a predetermined height, and the test chart is supported in such a manner that the apex is located at the center of the outer block when the camera takes an image. The video analysis unit detects the focus position based on the detection result of the outer block.

(附記16) (Additional Note 16)

一種相機的製造方法,包括:準備規定的測試圖卡的步驟;使用具有光學系統和拍攝元件的相機,拍攝所述測試圖卡的步驟;對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的步驟;以及根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置的步驟,在準備所述測試圖卡的步驟中,支承作為所述測試圖卡的以下圖卡,即:該圖卡具備至少一個斜面,所述斜面具有形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀延伸的至少一個邊界線,以所述斜面相對於所述光學系統的光軸傾斜,並且當所述相機進行拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行的方式,配置所述測試圖卡,在對所述影像進行解析的步驟中,根據所述邊界線的檢測結果來檢測所述焦點位置。 A method for manufacturing a camera, comprising: a step of preparing a prescribed test chart; a step of photographing the test chart using a camera having an optical system and a photographing element; analyzing the image obtained by photographing the test chart, The step of detecting the focus position of the camera; and the step of adjusting the relative position of the optical system and the photographing element according to the focus position of the camera, and in the step of preparing the test chart, supporting as The following chart of the test chart, that is: the chart has at least one slope, the slope has a boundary forming at least one of color, shade and brightness, and extends linearly along the slope of the slope. At least one boundary line is configured such that the slope is inclined relative to the optical axis of the optical system, and when the camera is shooting, the boundary line is not parallel to the pixel arrangement direction of the imaging element. In the test chart, in the step of analyzing the image, the focus position is detected according to the detection result of the boundary line.

(附記17) (Additional Note 17)

根據附記16所述的相機的製造方法,其中, 對所述影像進行解析的步驟包括:在沿著所述邊界線的延伸方向而位置不同的多個評價區域中進行包含以下步驟的一系列步驟的步驟,即:在所述測試圖卡的影像內選擇與所述邊界線相交的包含多個像素的評價區域的步驟;以及在所述評價區域內的各像素中,取得所述像素的顏色、濃淡以及亮度中的至少某一個的指標值相對於校正像素數的對應關係的步驟,其中,所述校正像素數是從透過所述評價區域的角部並與所述邊界線平行的基準線起算的校正像素數,在所述多個評價區域中,將所述指標值相對於所述校正像素數的變化最陡的評價區域內的位置檢測為所述焦點位置的步驟。 The method for manufacturing a camera according to appendix 16, wherein, The step of analyzing the image includes: performing a series of steps including the steps of: A step of selecting an evaluation area including a plurality of pixels that intersects with the boundary line; and obtaining an index value of at least one of the color, shade, and brightness of the pixel relative to each pixel in the evaluation area. In the step of correcting the correspondence relationship of the number of pixels, wherein, the number of corrected pixels is the number of corrected pixels counted from the reference line passing through the corner of the evaluation area and parallel to the boundary line, and in the plurality of evaluation areas In the step of detecting, as the focus position, a position within the evaluation region where the change of the index value with respect to the number of corrected pixels is the steepest.

(附記18) (Note 18)

一種相機的製造方法,包括:準備規定的測試圖卡的步驟;使用具有光學系統和拍攝元件的相機,拍攝所述測試圖卡的步驟;對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的步驟;以及根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置的步驟,在準備所述測試圖卡的步驟中,準備作為所述測試圖卡的以下圖卡,即:該圖卡具有設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面,所述斜面具有從所述頂點側沿著各不相同的傾斜方向連續延伸的多個圖案, 在對所述影像進行解析的步驟中,根據所述多個圖案的檢測結果的相關性來檢測所述焦點位置。 A method for manufacturing a camera, comprising: a step of preparing a prescribed test chart; a step of photographing the test chart using a camera having an optical system and a photographing element; analyzing the image obtained by photographing the test chart, The step of detecting the focus position of the camera; and the step of adjusting the relative position of the optical system and the photographing element according to the focus position of the camera, in the step of preparing the test chart, prepare as The following chart of the test chart, that is: the chart has a vertex arranged at a specified height and a slope inclined to the opposite inclination direction across the apex, and the slope has a direction from the apex side along each different direction. a plurality of patterns continuously extending in the same oblique direction, In the step of analyzing the image, the focus position is detected based on the correlation of the detection results of the plurality of patterns.

(附記19) (Additional Note 19)

一種相機的製造方法,包括:準備規定的測試圖卡的步驟;使用具有光學系統和拍攝元件的相機,拍攝所述測試圖卡的步驟;對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的步驟;以及根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置的步驟,在準備所述測試圖卡的步驟中,準備作為所述測試圖卡的以下圖卡,即:該圖卡具備配置在遠離所述相機的視場的中央的位置上的外側塊,所述外側塊具有在偏向所述中央側的位置處設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面,以所述相機進行拍攝時,所述頂點位於所述外側塊的中心的方式配置所述測試圖卡,在對所述影像進行解析的步驟中,根據所述外側塊的檢測結果來檢測所述焦點位置。 A method for manufacturing a camera, comprising: a step of preparing a prescribed test chart; a step of photographing the test chart using a camera having an optical system and a photographing element; analyzing the image obtained by photographing the test chart, The step of detecting the focus position of the camera; and the step of adjusting the relative position of the optical system and the photographing element according to the focus position of the camera, in the step of preparing the test chart, prepare as The following chart of the test chart, that is, the chart has an outer block arranged at a position away from the center of the field of view of the camera, and the outer block has a The test chart is arranged so that the apex is located at the center of the outer block when the camera captures images of the apex with a predetermined height and the slope inclined in the opposite inclination direction across the apex. In the step of analyzing the image, the focus position is detected based on the detection result of the outer block.

(附記20) (Additional Note 20)

一種焦點檢測程序以及記錄有焦點記錄程序的計算機可讀記錄介質,所述焦點記錄程序使計算機執行以下流程:使用具有光學系統和拍攝元件的相機,取得規定的測試圖卡的影像的流程;以及 對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的流程,在取得所述影像的流程中,使用作為所述測試圖卡的以下圖卡,即:該圖卡具備至少一個斜面,所述斜面具有形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀延伸的至少一個邊界線,在以以下方式配置所述測試圖卡的狀態下,取得所述測試圖卡的所述影像,即:以所述斜面相對於所述光學系統的光軸傾斜,並且當所述相機進行拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行的方式,配置所述測試圖卡,在對所述影像進行解析的流程中,根據所述邊界線的檢測結果來檢測所述焦點位置。 A focus detection program and a computer-readable recording medium recorded with a focus recording program, the focus recording program causes a computer to execute the following process: a process of obtaining an image of a prescribed test chart using a camera having an optical system and a photographing element; and The process of analyzing the image obtained by shooting the test chart and detecting the focus position of the camera, in the process of obtaining the image, using the following chart as the test chart, namely: the chart At least one inclined surface is provided, and the inclined surface has at least one boundary line forming a boundary of at least one of color, shade and brightness, and extending linearly along the inclined direction of the inclined surface, and the test chart is arranged in the following manner In the state, the image of the test chart is obtained, that is, the inclined plane is inclined relative to the optical axis of the optical system, and when the camera is shooting, the boundary line and the photographing element The test chart is arranged in such a way that the arrangement directions of the pixels are not parallel, and in the process of analyzing the image, the focus position is detected according to the detection result of the boundary line.

(附記21) (Additional Note 21)

根據附記20所述的焦點檢測程序以及記錄有焦點記錄程序的計算機可讀記錄介質,其中,在對所述影像進行解析的流程中,使計算機執行以下流程:在沿著所述邊界線的延伸方向而位置不同的多個評價區域中進行包含以下流程的一系列流程的流程,即:在所述測試圖卡的影像內選擇與所述邊界線相交的包含多個像素的評價區域的流程;以及在所述評價區域內的各像素中,取得所述像素的顏色、濃淡以及亮度中的至少某一個的指標值相對於校正像素數的對應關係的流程,其中,所述校正像素數是從透過所述評價區域的角部並與所述邊界線平行的基準線起算的校正像素數, 在所述多個評價區域中,將所述指標值相對於所述校正像素數的變化最陡的評價區域內的位置檢測為所述焦點位置的流程。 The focus detection program and the computer-readable recording medium recorded with the focus recording program according to Supplementary Note 20, wherein, in the process of analyzing the image, the computer is made to execute the following process: performing a series of processes including the process of selecting an evaluation area including a plurality of pixels intersecting the boundary line in the image of the test chart in a plurality of evaluation areas with different directions and positions; And, in each pixel in the evaluation area, the process of obtaining the corresponding relationship between the index value of at least one of the color, shade and brightness of the pixel relative to the number of corrected pixels, wherein the number of corrected pixels is obtained from the number of corrected pixels from the reference line passing through the corner of the evaluation area and parallel to the boundary line, A flow of detecting, among the plurality of evaluation areas, a position within the evaluation area at which the change in the index value with respect to the number of corrected pixels is the steepest, as the focus position.

10:測試圖卡 10: Test chart card

110:3D塊 110: 3D blocks

120:頂點 120: apex

140:斜面 140: bevel

160:圖案 160: pattern

162:邊界線 162: Borderline

162a:邊界線 162a: Borderline

162b:邊界線 162b: Borderline

190:支承板 190: support plate

B111:焦點位置 B 111 : Focus position

L:距離 L: distance

x:方向 x: direction

y:方向 y: direction

z:方向 z: direction

Claims (16)

一種測試圖卡,其調整具有光學系統和拍攝元件的相機,所述測試圖卡具備至少一個斜面,所述斜面具有至少一個邊界線,所述邊界線形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀地延伸,所述斜面配置為,相對於所述光學系統的光軸傾斜,並且在所述相機進行拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行,所述測試圖卡配置為,在所述相機進行拍攝時,所述邊界線相對於所述拍攝元件的像素排列方向的偏移大於僅由所述光學系統的畸變像差引起的偏移。 A test chart for adjusting a camera having an optical system and a photographing element, the test chart having at least one slope, the slope having at least one boundary line forming at least one of color, shade and brightness and extending linearly along the inclination direction of the slope, the slope is configured to be inclined with respect to the optical axis of the optical system, and when the camera is shooting, the boundary line and the shooting The pixel arrangement directions of the elements are not parallel, and the test chart is configured such that when the camera is shooting, the deviation of the boundary line relative to the pixel arrangement direction of the photographing element is greater than that caused only by the distortion of the optical system Aberration-induced offset. 如請求項1所述的測試圖卡,其中,所述斜面具有多條邊界線。 The test chart card according to claim 1, wherein the slope has a plurality of boundary lines. 如請求項1所述的測試圖卡,其中,具備設置在規定高度的頂點,所述斜面以夾著所述頂點朝向相反的傾斜方向傾斜的方式設置有多個。 The test chart card according to claim 1, further comprising an apex provided at a predetermined height, and a plurality of slopes are provided so as to incline in opposite inclination directions across the apex. 如請求項1所述的測試圖卡,其中,具備設置在規定高度的多條稜線,所述斜面以夾著所述多條稜線中的每一條朝向相反的傾斜方向傾斜的方式設置有多個,所述多條稜線以所述光學系統的光軸為中心配置成放射狀。 The test chart card according to Claim 1, wherein it has a plurality of ridgelines arranged at a predetermined height, and the inclined surface is provided with a plurality of ridgelines inclined toward opposite inclination directions across each of the plurality of ridgelines. , the plurality of ridgelines are radially arranged around the optical axis of the optical system. 一種測試圖卡,其對相機進行調整,所述測試圖卡具有:設置在規定高度的頂點;以及夾著所述頂點向相反的傾斜方向傾斜的多個斜面, 所述多個斜面分別具有從所述頂點側沿著各不相同的傾斜方向連續延伸的多個圖案,所述測試圖卡具備外側塊,其配置在遠離所述相機的視場的中央的位置,具有所述頂點和所述斜面,所述外側塊的所述頂點設置在偏向所述中央側的位置,所述測試圖卡配置為,當所述相機進行拍攝時,所述頂點位於該外側塊的中心。 A test chart for adjusting a camera, the test chart having: an apex set at a prescribed height; and a plurality of slopes inclined in opposite inclination directions across the apex, Each of the plurality of slopes has a plurality of patterns continuously extending from the apex side in different inclination directions, and the test chart includes an outer block disposed at a position away from the center of the field of view of the camera. , having the vertex and the slope, the vertex of the outer block is arranged at a position deviated from the central side, and the test chart is configured such that when the camera is photographed, the vertex is located on the outer side the center of the block. 一種測試圖卡,其對相機進行調整,所述測試圖卡具備外側塊,其配置在遠離所述相機的視場的中央的位置,所述外側塊具有:在偏向所述中央側的位置處設置在規定高度的頂點;以及夾著所述頂點向相反的傾斜方向傾斜的多個斜面,所述測試圖卡配置為,當所述相機進行拍攝時,所述頂點位於所述外側塊的中心,所述斜面具有至少一個邊界線,所述邊界線形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀地延伸,所述測試圖卡配置為,在所述相機進行拍攝時,所述邊界線相對於所述拍攝元件的像素排列方向的偏移大於僅由所述光學系統的畸變像差引起的偏移。 A test chart for adjusting a camera, the test chart having an outer block arranged at a position away from the center of the field of view of the camera, the outer block having: a position deviated from the central side an apex provided at a prescribed height; and a plurality of slopes inclined in opposite inclination directions across the apex, the test chart being configured such that the apex is positioned at the center of the outer block when the camera is photographed , the slope has at least one boundary line, the boundary line forms a boundary of at least one of color, shade and brightness, and extends linearly along the slope direction of the slope, and the test chart is configured to, When the camera is shooting, the deviation of the boundary line relative to the pixel arrangement direction of the imaging element is greater than the deviation caused only by the distortion of the optical system. 如請求項1-6中任一項所述的測試圖卡,其中,所述測試圖卡具備:三維塊,其具有所述斜面;以及二維塊,其具有與所述相機的光軸正交地配置的二維圖案。 The test chart as claimed in any one of claims 1-6, wherein the test chart is provided with: a three-dimensional block, which has the slope; and a two-dimensional block, which has an optical axis perpendicular to the camera A 2D pattern of cross-ground configurations. 一種相機製造裝置,具有:圖卡支承部,其支承規定的測試圖卡; 相機支承部,其在能夠拍攝所述測試圖卡的位置支承具有光學系統和拍攝元件的相機的至少一部分;影像解析部,其對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置;以及相機調整機構,其根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置,所述圖卡支承部構成為:支承作為所述測試圖卡的以下圖卡,即:該圖卡具備至少一個斜面,所述斜面具有形成顏色、濃淡以及亮度中的至少一個的邊界、並沿著該斜面的傾斜方向直線狀延伸的至少一個邊界線,並且以所述斜面相對於所述光學系統的光軸傾斜,並且當所述相機進行拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行的方式,支承所述測試圖卡,所述測試圖卡配置為,在所述相機進行拍攝時,所述邊界線相對於所述拍攝元件的像素排列方向的偏移大於僅由所述光學系統的畸變像差引起的偏移,所述影像解析部根據所述邊界線的檢測結果來檢測所述焦點位置。 A camera manufacturing device, comprising: a chart support portion supporting a prescribed test chart; a camera supporting unit, which supports at least a part of a camera having an optical system and an imaging element at a position where the test chart can be photographed; an image analysis unit, which analyzes the image obtained by photographing the test chart, and detects the The focus position of the camera; and a camera adjustment mechanism, which adjusts the relative position between the optical system and the photographing element according to the focus position of the camera, and the chart support part is configured to: support the test chart as the test chart A card having at least one inclined plane having at least one boundary line forming a boundary of at least one of color, shade, and brightness and extending linearly along the inclined direction of the inclined plane, And the test chart is supported in such a way that the slope is inclined relative to the optical axis of the optical system, and when the camera is shooting, the boundary line is not parallel to the pixel arrangement direction of the shooting element, The test chart is configured such that when the camera is shooting, the deviation of the boundary line relative to the pixel arrangement direction of the imaging element is greater than the deviation caused only by the distortion aberration of the optical system, so The video analysis unit detects the focus position based on the detection result of the boundary line. 一種相機製造裝置,具有:圖卡支承部,其支承規定的測試圖卡;相機支承部,其在能夠拍攝所述測試圖卡的位置支承具有光學系統和拍攝元件的相機的至少一部分;影像解析部,其對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置;以及 相機調整機構,其根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置,所述圖卡支承部構成為:支承作為所述測試圖卡的以下圖卡,即:該圖卡具有設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面,所述斜面具有從所述頂點側沿著各不相同的傾斜方向連續延伸的多個圖案,所述測試圖卡具備外側塊,其配置在遠離所述相機的視場的中央的位置,具有所述頂點和所述斜面,所述外側塊的所述頂點設置在偏向所述中央側的位置,所述測試圖卡配置為,當所述相機進行拍攝時,所述頂點位於該外側塊的中心,所述影像解析部根據所述多個圖案的檢測結果的相關性來檢測所述焦點位置。 A camera manufacturing device comprising: a chart support unit that supports a predetermined test chart; a camera support unit that supports at least a part of a camera having an optical system and an imaging element at a position where the test chart can be photographed; image analysis a part, which analyzes the image obtained by shooting the test chart, and detects the focus position of the camera; and A camera adjustment mechanism, which adjusts the relative position of the optical system and the imaging element according to the focus position of the camera, and the chart supporting part is configured to support the following charts as the test chart, That is, the card has an apex arranged at a predetermined height and a slope inclined in opposite inclination directions across the apex, and the slope has a plurality of patterns continuously extending from the apex side in different inclination directions. , the test chart card has an outer block, which is arranged at a position away from the center of the field of view of the camera, has the apex and the slope, and the apex of the outer block is arranged at a position that is biased to the central side position, the test chart card is configured such that when the camera is shooting, the vertex is located at the center of the outer block, and the image analysis unit detects the focal point according to the correlation of the detection results of the plurality of patterns Location. 一種相機製造裝置,具有:圖卡支承部,其支承規定的測試圖卡;相機支承部,其在能夠拍攝所述測試圖卡的位置支承具有光學系統和拍攝元件的相機的至少一部分;影像解析部,其對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置;以及相機調整機構,其根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置,所述圖卡支承部構成為:支承作為所述測試圖卡的以下圖卡,即:該圖卡具備配置在遠離所述相機的視場的中央的位置的外側塊,所述外側塊具有在偏向所述中央側的位置處設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面, 所述斜面具有至少一個邊界線,所述邊界線形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀地延伸,所述測試圖卡配置為,在所述相機進行拍攝時,所述邊界線相對於所述拍攝元件的像素排列方向的偏移大於僅由所述光學系統的畸變像差引起的偏移,並且,以所述相機進行拍攝時,所述頂點位於所述外側塊的中心的方式支承所述測試圖卡,所述影像解析部根據所述外側塊的檢測結果來檢測所述焦點位置。 A camera manufacturing device comprising: a chart support unit that supports a predetermined test chart; a camera support unit that supports at least a part of a camera having an optical system and an imaging element at a position where the test chart can be photographed; image analysis a part, which analyzes the image obtained by shooting the test chart, and detects the focus position of the camera; and a camera adjustment mechanism, which adjusts the optical system and the shooting position according to the focus position of the camera The relative position of the components, the chart support part is configured to: support the following chart as the test chart, that is: the chart has an outer block arranged at a position away from the center of the field of view of the camera, so The outer block has an apex provided at a predetermined height at a position deviated from the central side, and a slope inclined in an opposite inclination direction across the apex, The slope has at least one boundary line forming a boundary of at least one of color, shading, and brightness and extending linearly along an inclination direction of the slope, and the test chart is configured such that, at the When shooting with the above-mentioned camera, the deviation of the boundary line relative to the pixel arrangement direction of the shooting element is greater than the deviation caused only by the distortion aberration of the optical system, and when shooting with the camera, the The test chart is supported such that the vertex is located at the center of the outer block, and the video analysis unit detects the focus position based on the detection result of the outer block. 一種相機的製造方法,包括:準備規定的測試圖卡的步驟;使用具有光學系統和拍攝元件的相機,拍攝所述測試圖卡的步驟;對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的步驟;以及根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置的步驟,在準備所述測試圖卡的步驟中,準備作為所述測試圖卡的以下圖卡,即:該圖卡具備至少一個斜面,所述斜面具有形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀延伸的至少一個邊界線,所述測試圖卡配置為,在所述相機進行拍攝時,所述邊界線相對於所述拍攝元件的像素排列方向的偏移大於僅由所述光學系統的畸變像差引起的偏移, 以所述斜面相對於所述光學系統的光軸傾斜,並且當所述相機進行拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行的方式,配置所述測試圖卡,在對所述影像進行解析的步驟中,根據所述邊界線的檢測結果來檢測所述焦點位置。 A method for manufacturing a camera, comprising: a step of preparing a prescribed test chart; a step of photographing the test chart using a camera having an optical system and a photographing element; analyzing the image obtained by photographing the test chart, The step of detecting the focus position of the camera; and the step of adjusting the relative position of the optical system and the photographing element according to the focus position of the camera, in the step of preparing the test chart, prepare as The following chart of the test chart, that is: the chart has at least one slope, the slope has a boundary forming at least one of color, shade and brightness, and extends linearly along the slope of the slope. At least one boundary line, the test chart is configured such that when the camera is shooting, the deviation of the boundary line relative to the pixel arrangement direction of the imaging element is greater than that caused only by the distortion aberration of the optical system offset of The test chart is configured in such a way that the slope is inclined relative to the optical axis of the optical system, and when the camera is shooting, the boundary line is not parallel to the pixel arrangement direction of the shooting element, and In the step of analyzing the image, the focus position is detected based on the detection result of the boundary line. 如請求項11所述的相機的製造方法,其中,對所述影像進行解析的步驟包括:在沿著所述邊界線的延伸方向而位置不同的多個評價區域中進行包含以下步驟的一系列步驟的步驟,即:在所述測試圖卡的影像內選擇與所述邊界線相交的包含多個像素的評價區域的步驟;以及在所述評價區域內的各像素中,取得所述像素的顏色、濃淡以及亮度中的至少某一個的指標值相對於校正像素數的對應關係的步驟,其中,所述校正像素數是從透過所述評價區域的角部並與所述邊界線平行的基準線起算的校正像素數,在所述多個評價區域中,將所述指標值相對於所述校正像素數的變化最陡的評價區域內的位置檢測為所述焦點位置的步驟。 The method for manufacturing a camera according to claim 11, wherein the step of analyzing the image includes: performing a series of steps including The step of step, that is: the step of selecting an evaluation area including a plurality of pixels intersecting with the boundary line in the image of the test chart; a step of corresponding relationship between index value of at least one of color, shading and brightness with respect to corrected pixel count, wherein the corrected pixel count is measured from a reference point that passes through the corner of the evaluation area and is parallel to the boundary line The number of correction pixels counted from a line, and in the plurality of evaluation regions, a position within the evaluation region where the change of the index value with respect to the number of correction pixels is the steepest is detected as the focus position. 一種相機的製造方法,包括:準備規定的測試圖卡的步驟;使用具有光學系統和拍攝元件的相機,拍攝所述測試圖卡的步驟;對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的步驟;以及根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置的步驟, 在準備所述測試圖卡的步驟中,準備作為所述測試圖卡的以下圖卡,即:該圖卡具有設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面,所述斜面具有從所述頂點側沿著各不相同的傾斜方向連續延伸的多個圖案,所述測試圖卡具備外側塊,其配置在遠離所述相機的視場的中央的位置,具有所述頂點和所述斜面,所述外側塊的所述頂點設置在偏向所述中央側的位置,所述測試圖卡配置為,當所述相機進行拍攝時,所述頂點位於該外側塊的中心,在對所述影像進行解析的步驟中,根據所述多個圖案的檢測結果的相關性來檢測所述焦點位置。 A method for manufacturing a camera, comprising: a step of preparing a prescribed test chart; a step of photographing the test chart using a camera having an optical system and a photographing element; analyzing the image obtained by photographing the test chart, a step of detecting the focus position of the camera; and a step of adjusting the relative position of the optical system and the photographing element according to the focus position of the camera, In the step of preparing the test chart, the following chart is prepared as the test chart, that is, the chart has an apex arranged at a predetermined height and a slope inclined in an opposite direction across the apex, The slope has a plurality of patterns continuously extending from the apex side in different inclination directions, and the test chart has an outer block arranged at a position away from the center of the field of view of the camera, and has the The apex and the slope, the apex of the outer block is set at a position biased to the central side, and the test chart is configured such that when the camera takes pictures, the apex is located at the center of the outer block , in the step of analyzing the image, the focus position is detected according to the correlation of the detection results of the plurality of patterns. 一種相機的製造方法,包括:準備規定的測試圖卡的步驟;使用具有光學系統和拍攝元件的相機,拍攝所述測試圖卡的步驟;對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的步驟;以及根據所述相機的所述焦點位置,調整所述光學系統與所述拍攝元件的相對位置的步驟,在準備所述測試圖卡的步驟中,準備作為所述測試圖卡的以下圖卡,即:該圖卡具備配置在遠離所述相機的視場的中央的位置上的外側塊,所述外側塊具有在偏向所述中央側的位置處設置在規定高度的頂點和夾著所述頂點向相反的傾斜方向傾斜的斜面,所述斜面具有至少一個邊界線,所述邊界線形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀地延伸, 所述測試圖卡配置為,在所述相機進行拍攝時,所述邊界線相對於所述拍攝元件的像素排列方向的偏移大於僅由所述光學系統的畸變像差引起的偏移,以所述相機進行拍攝時,所述頂點位於所述外側塊的中心的方式配置所述測試圖卡,在對所述影像進行解析的步驟中,根據所述外側塊的檢測結果來檢測所述焦點位置。 A method for manufacturing a camera, comprising: a step of preparing a prescribed test chart; a step of photographing the test chart using a camera having an optical system and a photographing element; analyzing the image obtained by photographing the test chart, The step of detecting the focus position of the camera; and the step of adjusting the relative position of the optical system and the photographing element according to the focus position of the camera, in the step of preparing the test chart, prepare as The following chart of the test chart, that is, the chart has an outer block arranged at a position away from the center of the field of view of the camera, and the outer block has a An apex of a predetermined height and a slope inclined in opposite inclination directions across the apex, the slope having at least one boundary line forming a boundary of at least one of color, shade, and brightness along the The inclined direction of the slope extends linearly, The test chart is configured such that when the camera is shooting, the deviation of the boundary line relative to the pixel arrangement direction of the imaging element is greater than the deviation caused only by the distortion aberration of the optical system, so that When the camera is shooting, the test chart is arranged such that the apex is located at the center of the outer block, and in the step of analyzing the image, the focal point is detected according to the detection result of the outer block Location. 一種焦點檢測程序,所述焦點記錄程序使計算機執行以下流程:使用具有光學系統和拍攝元件的相機,取得規定的測試圖卡的影像的流程;以及對拍攝所述測試圖卡而得的影像進行解析,檢測所述相機的焦點位置的流程,在取得所述影像的流程中,使用作為所述測試圖卡的以下圖卡,即:該圖卡具備至少一個斜面,所述斜面具有形成顏色、濃淡以及亮度中的至少某一個的邊界、並沿著該斜面的傾斜方向直線狀延伸的至少一個邊界線,所述測試圖卡配置為,在所述相機進行拍攝時,所述邊界線相對於所述拍攝元件的像素排列方向的偏移大於僅由所述光學系統的畸變像差引起的偏移,在以以下方式配置所述測試圖卡的狀態下,取得所述測試圖卡的所述影像,即:以所述斜面相對於所述光學系統的光軸傾斜,並且當所述相機進行拍攝時,所述邊界線與所述拍攝元件的像素排列方向不平行的方式,配置所述測試圖卡, 在對所述影像進行解析的流程中,根據所述邊界線的檢測結果來檢測所述焦點位置。 A focus detection program, the focus recording program causes a computer to execute the following procedures: using a camera with an optical system and a photographing element to obtain an image of a prescribed test chart; Analysis, the process of detecting the focus position of the camera, in the process of obtaining the image, use the following chart as the test chart, that is: the chart has at least one inclined plane, and the inclined plane has a forming color, The boundary of at least one of shading and brightness, and at least one boundary line extending linearly along the inclined direction of the slope, the test chart is configured such that when the camera is shooting, the boundary line is relatively The displacement of the pixel arrangement direction of the imaging element is larger than the displacement caused only by the distortion aberration of the optical system, and the test chart is obtained in the state where the test chart is arranged in the following manner: Image, namely: configure the test in such a way that the slope is inclined relative to the optical axis of the optical system, and when the camera is shooting, the boundary line is not parallel to the pixel arrangement direction of the imaging element Tuka, In the process of analyzing the image, the focus position is detected according to the detection result of the boundary line. 如請求項15所述的焦點檢測程序,其中,在對所述影像進行解析的流程中,使計算機執行以下流程:在沿著所述邊界線的延伸方向而位置不同的多個評價區域中進行包含以下流程的一系列流程的流程,即:在所述測試圖卡的影像內選擇與所述邊界線相交的包含多個像素的評價區域的流程;以及在所述評價區域內的各像素中,取得所述像素的顏色、濃淡以及亮度中的至少某一個的指標值相對於校正像素數的對應關係的流程,其中,所述校正像素數是從透過所述評價區域的角部並與所述邊界線平行的基準線起算的校正像素數,在所述多個評價區域中,將所述指標值相對於所述校正像素數的變化最陡的評價區域內的位置檢測為所述焦點位置的流程。 The focus detection program according to claim 15, wherein, in the process of analyzing the image, the computer is caused to execute the process of: performing evaluation in a plurality of evaluation areas at different positions along the extending direction of the boundary line A flow of a series of steps including a flow of selecting an evaluation area including a plurality of pixels intersecting the boundary line within the image of the test chart; , a process of obtaining the corresponding relationship between the index value of at least one of the color, shade, and brightness of the pixel relative to the number of corrected pixels, wherein the number of corrected pixels is obtained from the corner of the evaluation area and is related to the corrected pixel number. The number of correction pixels counted from the reference line parallel to the boundary line, in the plurality of evaluation areas, the position in the evaluation area where the change of the index value relative to the number of correction pixels is the steepest is detected as the focus position process.
TW110136448A 2020-10-05 2021-09-30 Test chart, camera manufacturing device, camera manufacturing method, and focus detection program TWI797759B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2020168262A JP2023165051A (en) 2020-10-05 2020-10-05 Test chart, camera manufacturing device, manufacturing method of camera, and focus detection program
JP2020-168262 2020-10-05
WOPCT/JP2021/029057 2021-08-05
PCT/JP2021/029057 WO2022074926A1 (en) 2020-10-05 2021-08-05 Test chart, camera manufacturing device, camera manufacturing method, and focus detection program

Publications (2)

Publication Number Publication Date
TW202232933A TW202232933A (en) 2022-08-16
TWI797759B true TWI797759B (en) 2023-04-01

Family

ID=78780110

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110136448A TWI797759B (en) 2020-10-05 2021-09-30 Test chart, camera manufacturing device, camera manufacturing method, and focus detection program

Country Status (5)

Country Link
JP (2) JP2023165051A (en)
KR (1) KR20220084137A (en)
CN (1) CN114788259B (en)
TW (1) TWI797759B (en)
WO (1) WO2022074926A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0969973A (en) * 1994-11-28 1997-03-11 Matsushita Electric Ind Co Ltd Position adjusting method for solid-state image pickup element
TW200839342A (en) * 2007-03-20 2008-10-01 Acutelogic Co Focal point adjusting method and focal point adjusting device in imaging apparatus
TW201514569A (en) * 2013-10-03 2015-04-16 Chicony Electronic Co Ltd Method for adjusting focusing point with a 3d object and system thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000306816A (en) * 1999-04-22 2000-11-02 Canon Inc Projection aligner, focus detecting apparatus, and manufacture of device
JP2003101733A (en) * 2001-09-20 2003-04-04 Ricoh Co Ltd Image-reading apparatus
CN100501327C (en) * 2007-02-07 2009-06-17 北京航空航天大学 Single-vision measuring method of space three-dimensional attitude of variable-focus video camera
CN101308012B (en) * 2008-05-29 2010-06-23 上海交通大学 Double monocular white light three-dimensional measuring systems calibration method
CN105763870B (en) * 2014-09-30 2018-01-16 宁波舜宇光电信息有限公司 A kind of cross DNA mitochondrial DNA test mark version and forming method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0969973A (en) * 1994-11-28 1997-03-11 Matsushita Electric Ind Co Ltd Position adjusting method for solid-state image pickup element
TW200839342A (en) * 2007-03-20 2008-10-01 Acutelogic Co Focal point adjusting method and focal point adjusting device in imaging apparatus
TW201514569A (en) * 2013-10-03 2015-04-16 Chicony Electronic Co Ltd Method for adjusting focusing point with a 3d object and system thereof

Also Published As

Publication number Publication date
TW202232933A (en) 2022-08-16
KR20220084137A (en) 2022-06-21
CN114788259B (en) 2024-04-23
WO2022074926A1 (en) 2022-04-14
CN114788259A (en) 2022-07-22
JP2022060990A (en) 2022-04-15
JP2023165051A (en) 2023-11-15
JP6974638B1 (en) 2021-12-01

Similar Documents

Publication Publication Date Title
JP5041303B2 (en) Shape measuring apparatus and shape measuring method
JP3937024B2 (en) Detection of misalignment, pattern rotation, distortion, and misalignment using moiré fringes
CN102768762B (en) Digital camera calibration method targeted to shield tunnel defect digital radiography detection and device thereof
JP4706356B2 (en) Screw shape measuring device
US11360304B2 (en) Image distortion detection method and system
WO2014106303A1 (en) Panoramic lens calibration for panoramic image and/or video capture apparatus
JP4846295B2 (en) Three-dimensional coordinate measuring apparatus and method
CN111263142A (en) Method, device, equipment and medium for testing optical anti-shake of camera module
JP2009036589A (en) Target for calibration and device, method and program for supporting calibration
WO2000062012A1 (en) Measuring positions or coplanarity of contact elements of an electronic component with a flat illumination and two cameras
US20210382259A1 (en) Positioning system for components of optical systems
TWI797759B (en) Test chart, camera manufacturing device, camera manufacturing method, and focus detection program
WO2009107365A1 (en) Test method and test device for compound-eye distance measuring device and chart used therefor
WO2023145421A1 (en) Test chart, and camera manufacturing apparatus
JP6486010B2 (en) Shape measuring apparatus and shape measuring method
JP2004134861A (en) Resolution evaluation method, resolution evaluation program, and optical apparatus
TWM379758U (en) Lens imaging quality detecting apparatus
KR20240144263A (en) Test chart and camera manufacturing equipment
JP2016170113A (en) Three dimensional shape measuring device
JP2008154195A (en) Method of creating pattern for calibration of lens, pattern for calibration of lens, method and device for calibrating lens utilizing pattern for calibration, and method and device for calibrating imaging apparatus
JP2020067511A (en) Camera system, control method and program of the same
JP2018197683A (en) Surface shape distortion measurement device
JP6922507B2 (en) Line sensor optical axis adjustment device and line sensor optical axis adjustment method
JP2006003168A (en) Measurement method for surface shape and device therefor
WO2022264416A1 (en) Imaging system and imaging range adjustment method