JP6739369B2 - How to adjust the camera focus in the intercom device with camera - Google Patents

How to adjust the camera focus in the intercom device with camera Download PDF

Info

Publication number
JP6739369B2
JP6739369B2 JP2017014639A JP2017014639A JP6739369B2 JP 6739369 B2 JP6739369 B2 JP 6739369B2 JP 2017014639 A JP2017014639 A JP 2017014639A JP 2017014639 A JP2017014639 A JP 2017014639A JP 6739369 B2 JP6739369 B2 JP 6739369B2
Authority
JP
Japan
Prior art keywords
lens barrel
camera
lens
focus
evaluation value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017014639A
Other languages
Japanese (ja)
Other versions
JP2018125618A (en
Inventor
空 竹内
空 竹内
寛樹 山下
寛樹 山下
康喜 佐藤
康喜 佐藤
一典 久米
一典 久米
一徳 岩佐
一徳 岩佐
益典 橋本
益典 橋本
将寛 世古
将寛 世古
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aiphone Co Ltd
Original Assignee
Aiphone Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aiphone Co Ltd filed Critical Aiphone Co Ltd
Priority to JP2017014639A priority Critical patent/JP6739369B2/en
Publication of JP2018125618A publication Critical patent/JP2018125618A/en
Application granted granted Critical
Publication of JP6739369B2 publication Critical patent/JP6739369B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lens Barrels (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)
  • Telephone Set Structure (AREA)

Description

本発明は、たとえばインターホン子機等といったカメラ付きインターホン機器におけるカメラのフォーカスの調整方法に関するものである。 The present invention relates to a camera focus adjustment method in an intercom device with a camera such as an intercom slave.

従来、インターホン機器の一例であるインターホン子機には、来訪者等を撮像するためのカメラが備えられることがある。そして、そのようなカメラ付きインターホン子機としては、たとえば特許文献1に開示されているものがあり、レンズを保持するレンズ鏡枠とレンズホルダーとが螺合されてレンズユニットとされ、当該レンズユニットが本体ケース内に設置されていた。また、レンズユニットの設置後、レンズホルダーに対するレンズ鏡枠の螺合度合いを調整することによりフォーカスを調整し、レンズの焦点位置を所望の合焦位置に合わせていた。 Conventionally, an intercom slave, which is an example of an intercom device, may be provided with a camera for capturing an image of a visitor or the like. As such an intercom slave unit with a camera, for example, there is one disclosed in Patent Document 1, and a lens barrel for holding a lens and a lens holder are screwed together to form a lens unit. Was installed in the body case. Further, after the lens unit is installed, the focus is adjusted by adjusting the screwing degree of the lens barrel with respect to the lens holder, and the focus position of the lens is adjusted to the desired focus position.

特開2010−93648号公報JP, 2010-93648, A

従来、フォーカスの調整は作業者の経験によっていたため、調整作業に時間がかかる上、どうしても作業者毎に差が出てしまうため、製品毎で品質がばらつきやすいという問題があった。 Conventionally, since the focus adjustment depends on the experience of the operator, there is a problem that the adjustment work takes time, and a difference inevitably occurs for each operator, so that the quality tends to vary from product to product.

そこで、本発明は、上記問題に鑑みなされたものであって、カメラのフォーカスの調整時間を短縮することができる上、製品毎で品質にばらつきがでにくいカメラ付きインターホン機器におけるカメラのフォーカスの調整方法を提供しようとするものである。 Therefore, the present invention has been made in view of the above problems, and it is possible to shorten the time for adjusting the focus of the camera and adjust the focus of the camera in the interphone device with a camera in which the quality is less likely to vary from product to product. It is intended to provide a method.

上記目的を達成するために、本発明のうち請求項1に記載の発明は、レンズと、レンズを保持する円筒状の鏡筒と、鏡筒の後部と螺合して鏡筒を支持するレンズホルダーと、レンズホルダーの後側に配置される回路基板とを備えたカメラを有するインターホン機器に対し、鏡筒を回転させる鏡筒回転器と、鏡筒とレンズホルダーとを固着する固着器と、鏡筒回転器や固着器の動作を制御するとともにカメラのフォーカスの調整に係る判定を行う制御部とを有する調整装置により、鏡筒を回転させ、鏡筒のレンズホルダーへの螺合度合いを調整することによってカメラのフォーカスを調整するためのカメラ付きインターホン機器におけるカメラのフォーカスの調整方法であって、カメラにより所定の調整用の図を撮像し、その画像データを取り込む第1工程と、鏡筒を所定方向へ回転させつつ、取り込んだ画像データの所定領域におけるコントラスト値にもとづいた所定の評価関数で評価値を随時算出するとともに、評価値と予め設定されている閾値とを比較し、評価値が閾値を下回っている間は、鏡筒の所定方向への回転及び評価値の算出を継続する第2工程と、評価値が閾値以上になったことをもって、鏡筒の回転を停止させ、合焦していると判定する第3工程と、合焦していると判定したことをもって、鏡筒とレンズホルダーとを固着する第4工程とを実行することを特徴とする。
また、請求項2に記載の発明は、請求項1に記載の発明において、第1工程よりも前に、カメラにより所定の調整用の図を撮像し、その画像データを取り込み、鏡筒を所定方向へ回転させつつ、取り込んだ画像データの所定領域におけるコントラスト値にもとづいた所定の評価関数で評価値を随時算出するとともに、評価値が増加している間は、鏡筒の所定方向への回転及び評価値の算出を継続し、評価値が減少へ転じたことをもって、減少直前の評価値を閾値として設定する前工程を実行することを特徴とする。
請求項1及び2に記載の発明によれば、カメラのフォーカスの調整に係り作業者の経験によらなくてすむため、調整作業にかかる時間を短縮することができる上、フォーカスの精度に関して一定品質の製品を容易に供給することが可能となる。
In order to achieve the above-mentioned object, the invention according to claim 1 of the present invention provides a lens, a cylindrical lens barrel for holding the lens, and a lens for supporting the lens barrel by screwing with a rear portion of the lens barrel. A lens barrel rotator that rotates a lens barrel, and an affixing device that affixes the lens barrel and the lens holder to an intercom device that includes a camera that includes a holder and a circuit board that is arranged on the rear side of the lens holder. The lens barrel is rotated by an adjusting device that controls the operation of the lens barrel rotator and the fixing device and also makes a determination regarding the adjustment of the focus of the camera, and the degree of screwing of the lens barrel into the lens holder is adjusted. A method of adjusting the focus of a camera in an intercom device with a camera for adjusting the focus of a camera by performing a first step of capturing an image for predetermined adjustment by the camera and capturing the image data thereof; While rotating in a predetermined direction, the evaluation value is calculated from time to time by a predetermined evaluation function based on the contrast value in a predetermined area of the captured image data, and the evaluation value is compared with a preset threshold value. While the value is below the threshold, the second step of continuing the rotation of the lens barrel in the predetermined direction and calculating the evaluation value and stopping the rotation of the lens barrel when the evaluation value becomes equal to or higher than the threshold value It is characterized in that the third step of determining that the lens is in focus and the fourth step of fixing the lens barrel and the lens holder to each other are performed by determining that the lens is in focus.
Further, in the invention described in claim 2, in the invention described in claim 1, before the first step, a predetermined image for adjustment is imaged by a camera, the image data thereof is taken in, and the lens barrel is predetermined. While rotating in the direction, the evaluation value is calculated from time to time by a predetermined evaluation function based on the contrast value in the predetermined area of the captured image data, and while the evaluation value is increasing, the lens barrel is rotated in the predetermined direction. Further, the calculation of the evaluation value is continued, and when the evaluation value starts to decrease, the pre-process of setting the evaluation value immediately before the decrease as the threshold value is executed.
According to the first and second aspects of the present invention, since it is not necessary for the operator to adjust the focus of the camera based on the experience of the operator, the time required for the adjustment work can be shortened, and the focus accuracy is constant. It will be possible to easily supply the product.

請求項3に記載の発明は、請求項1又は2に記載の発明において、レンズホルダーの鏡筒との螺合箇所に、鏡筒の螺合部を露出させる切り欠き部が設けられているとともに、調整装置に、固着器として接着剤を吐出する接着剤吐出器が備えられており、第4工程において、切り欠き部へ向けて接着剤を吐出させることを特徴とする。
請求項3に記載の発明によれば、切り欠き部を接着剤の吐出の目標とすることができ、接着剤による鏡筒とレンズホルダーとの固着が安定する上、たとえば鏡筒とレンズホルダーとの固着具合を目視等で確認しやすいといったメリットもある。
According to a third aspect of the present invention, in the first or second aspect of the present invention, a notch portion that exposes a threaded portion of the lens barrel is provided at a threaded portion of the lens holder that is threaded with the lens barrel. The adjusting device is provided with an adhesive ejector for ejecting an adhesive as a fixing device, and in the fourth step, the adhesive is ejected toward the cutout portion.
According to the third aspect of the present invention, the cutout portion can be used as a target for discharging the adhesive, and the fixation of the lens barrel and the lens holder by the adhesive is stable. There is also an advantage that it is easy to visually confirm the degree of fixation of.

本発明によれば、カメラのフォーカスの調整に係り作業者の経験によらなくてすむため、調整作業にかかる時間を短縮することができる上、フォーカスの精度に関して一定品質の製品を容易に供給することが可能となる。 According to the present invention, since it is not necessary for the operator to adjust the focus of the camera based on the experience of the operator, it is possible to shorten the time required for the adjustment work and easily supply a product of a certain quality with respect to the focus accuracy. It becomes possible.

インターホン子機に備えられたカメラのフォーカスを調整するための調整装置のブロック構成図である。It is a block configuration diagram of an adjusting device for adjusting the focus of a camera provided in the intercom slave. インターホン子機を前面側から示した説明図である。It is explanatory drawing which showed the intercom subunit|mobile_unit from the front side. インターホン子機の鉛直断面を示した説明図である。It is explanatory drawing which showed the vertical cross section of the intercom subunit. レンズホルダーを示した説明図であって、(a)は正面図、(b)は右側面図、(c)は斜視説明図である。It is explanatory drawing which showed the lens holder, (a) is a front view, (b) is a right side view, (c) is a perspective explanatory view. 鏡筒を示した説明図であって、(a)は斜視説明図、(b)は側面図である。It is explanatory drawing which showed the lens barrel, (a) is a perspective explanatory view, (b) is a side view. 調整用の図として使用する3条線図チャートを示した説明図である。It is explanatory drawing which showed the 3-line chart used as a figure for adjustment. コントラスト値及び評価関数の特性を示した説明図である。It is explanatory drawing which showed the characteristic of a contrast value and an evaluation function. カメラのフォーカスの調整に係るフローチャート図である。It is a flowchart figure regarding adjustment of the focus of a camera. カメラのフォーカスの調整に係るフローチャート図である。It is a flowchart figure regarding adjustment of the focus of a camera. カメラのフォーカスの調整に係るフローチャート図である。It is a flowchart figure regarding adjustment of the focus of a camera.

以下、本発明の一実施形態となるカメラを有するインターホン子機におけるカメラのフォーカスの調整方法及び調整装置について、図面にもとづき詳細に説明する。 Hereinafter, a method and an apparatus for adjusting a focus of a camera in an intercom slave having a camera according to an embodiment of the present invention will be described in detail with reference to the drawings.

図1は、インターホン子機1に備えられたカメラのフォーカスを調整するための調整装置31のブロック構成図である。図2は、インターホン子機1を前面側から示した説明図であり、図3は、インターホン子機1の鉛直断面を示した説明図である。図4は、レンズホルダー12を示した説明図であって、(a)は正面図、(b)は右側面図、(c)は斜視説明図である。図5は、鏡筒11を示した説明図であって、(a)は斜視説明図、(b)は側面図である。 FIG. 1 is a block configuration diagram of an adjusting device 31 for adjusting the focus of a camera provided in the intercom slave 1. FIG. 2 is an explanatory view showing the intercom slave 1 from the front side, and FIG. 3 is an explanatory view showing a vertical cross section of the intercom slave 1. 4A and 4B are explanatory views showing the lens holder 12, where FIG. 4A is a front view, FIG. 4B is a right side view, and FIG. 4C is a perspective explanatory view. 5A and 5B are explanatory views showing the lens barrel 11, where FIG. 5A is a perspective explanatory view and FIG. 5B is a side view.

まず、インターホン子機1について説明すると、インターホン子機1は、前側に配置される前ケース2と、後側に配置される後ケース3とで構成される本体ケースを有しており、この本体ケースの前面上部には、カメラ窓4が開設され、該カメラ窓4内にレンズ5が露出するように、カメラが本体ケース内に設置されている。また、カメラ窓4の右側には、通話のためのマイク部7が設けられている。さらに、本体ケースの前面下部には、来訪者が居住者を呼び出す際に操作する呼出ボタン8と、通話のためのスピーカ部9とが設けられている。そして、このようなインターホン子機1は、住戸の玄関の壁面等に設置されており、来訪者によって呼出ボタン8が操作されると、住戸内に設置されているインターホン親機(図示せず)を呼び出すとともに、カメラを作動させて来訪者を撮像する。なお、カメラにより撮像された映像は、インターホン親機に備えられているモニタに表示される。また、本体ケースには、カメラの前方を覆うようにレンズカバー10が取り付けられる。 First, the intercom slave unit 1 will be described. The intercom slave unit 1 has a main body case including a front case 2 arranged on the front side and a rear case 3 arranged on the rear side. A camera window 4 is opened at the upper part of the front surface of the case, and the camera is installed in the main body case so that the lens 5 is exposed in the camera window 4. Further, on the right side of the camera window 4, a microphone unit 7 for calling is provided. Further, a call button 8 operated when a visitor calls a resident and a speaker unit 9 for a call are provided on the lower front portion of the main body case. The intercom slave unit 1 is installed on the wall surface of the entrance of the dwelling unit, and when the call button 8 is operated by the visitor, the intercom master unit (not shown) installed in the dwelling unit. And activate the camera to image the visitor. The video imaged by the camera is displayed on the monitor provided in the intercom master unit. The lens cover 10 is attached to the main body case so as to cover the front of the camera.

カメラは、レンズ5、レンズ5を保持する鏡筒11、鏡筒11を支持するレンズホルダー12、及び撮像素子(図示せず)等が搭載された回路基板13を備えてなる。レンズホルダー12は、基台となるベース部21の所定位置に、前方へ突出する円筒部22が設けられてなる。そして、円筒部22の内面には雌ねじ部(図4では省略している)が設けられており、当該円筒部22が鏡筒11を支持する支持部として機能するようになっている。また、円筒部22の先端部には、一対の切り欠き23、23が設けられており、鏡筒11を支持させた際、切り欠き23、23内に鏡筒11の後述する雄ねじ部15の一部が露出するようになっている。一方、鏡筒11は、前後方向へ延びて前後に開口する円筒状に形成されており、内部にレンズ5を収納し、レンズ5の一部を前面から露出させた状態で保持可能となっている。また、鏡筒11の後部周面には、レンズホルダー12の雌ねじ部へ螺入可能な雄ねじ部15が設けられている。なお、24は、レンズホルダー12と回路基板13とを一体化するためのネジ止め部である。 The camera includes a lens 5, a lens barrel 11 that holds the lens 5, a lens holder 12 that supports the lens barrel 11, and a circuit board 13 on which an image pickup device (not shown) and the like are mounted. The lens holder 12 is provided with a cylindrical portion 22 projecting forward at a predetermined position of a base portion 21 serving as a base. A female screw portion (not shown in FIG. 4) is provided on the inner surface of the cylindrical portion 22 so that the cylindrical portion 22 functions as a supporting portion that supports the lens barrel 11. Further, a pair of notches 23, 23 are provided at the tip of the cylindrical portion 22, and when the lens barrel 11 is supported, the male screw portion 15 of the lens barrel 11 to be described later of the lens barrel 11 is provided inside the notches 23, 23. Part of it is exposed. On the other hand, the lens barrel 11 is formed in a cylindrical shape that extends in the front-rear direction and opens in the front-rear direction, and accommodates the lens 5 inside and can hold the lens 5 with a part of the lens 5 exposed from the front surface. There is. A male screw portion 15 that can be screwed into a female screw portion of the lens holder 12 is provided on the rear peripheral surface of the lens barrel 11. In addition, 24 is a screwing portion for integrating the lens holder 12 and the circuit board 13.

そして、上述の如く構成されるカメラを組み立てるに際しては、レンズ5を鏡筒11に保持させた後、鏡筒11の雄ねじ部15をレンズホルダー12の雌ねじ部へねじ込み、鏡筒11とレンズホルダー12とを一体化する。そして、ネジ止め等してレンズホルダー12と回路基板13とを一体化すればよい。また、カメラを組み立てた後、レンズ5の焦点位置を所望の合焦位置に合わせるためには、鏡筒11のレンズホルダー12に対する螺合度合いを調整することになる。 Then, when assembling the camera configured as described above, after holding the lens 5 in the lens barrel 11, the male screw portion 15 of the lens barrel 11 is screwed into the female screw portion of the lens holder 12, and the lens barrel 11 and the lens holder 12 are screwed. Integrate with. Then, the lens holder 12 and the circuit board 13 may be integrated by screwing or the like. Further, after the camera is assembled, in order to adjust the focal position of the lens 5 to a desired focus position, the screwing degree of the lens barrel 11 with respect to the lens holder 12 is adjusted.

ここで、本発明の要部となるインターホン子機1におけるカメラのフォーカスを調整するための調整方法、及び調整装置31について説明する。
調整装置31は、カメラにより撮像された画像データが入力される画像入力部32、鏡筒11のレンズホルダー12に対する螺合度合いを調整するための鏡筒回転器33、所定の螺合度合いで鏡筒11とレンズホルダー12とを固着するための接着剤吐出器34、鏡筒回転器33や接着剤吐出器34を作動させるための駆動部35、及び入力された画像データをもとにフォーカスの調整度合いを判断するとともに、駆動部35の動作を制御する制御部36を備えてなる。鏡筒回転器33は、たとえば先端がレンチの如く形成され、鏡筒11の先端部近傍を把持可能な把持部と、鏡筒11を把持したまま把持部を回転させるための回転駆動部とを備えている。また、接着剤吐出器34は、接着剤が吐出される吐出口をレンズホルダー12の切り欠き23へ向けた姿勢で設置されており(すなわち、切り欠き23を接着剤を吐出する目標としている)、図1はブロック構成図であるため1つしか記載していないが、実際は切り欠き23の数に合わせて2台備えられている。
Here, an adjusting method for adjusting the focus of the camera in the intercom slave 1 and the adjusting device 31, which are the main parts of the present invention, will be described.
The adjusting device 31 includes an image input unit 32 to which image data captured by a camera is input, a lens barrel rotator 33 for adjusting the screwing degree of the lens barrel 11 with respect to the lens holder 12, and a mirror with a predetermined screwing degree. An adhesive ejector 34 for fixing the barrel 11 and the lens holder 12 to each other, a drive unit 35 for operating the lens barrel rotator 33 and the adhesive ejector 34, and a focus based on the input image data. The control unit 36 is provided for determining the adjustment degree and controlling the operation of the drive unit 35. The lens barrel rotator 33 has, for example, a distal end formed like a wrench, and is provided with a gripping portion capable of gripping the vicinity of the distal end portion of the lens barrel 11, and a rotation drive portion for rotating the gripping portion while gripping the lens barrel 11. I have it. In addition, the adhesive ejector 34 is installed in a posture in which the ejection port for ejecting the adhesive is directed to the notch 23 of the lens holder 12 (that is, the notch 23 is a target for ejecting the adhesive). Since FIG. 1 is a block configuration diagram, only one is shown, but in reality, two units are provided according to the number of the notches 23.

そして、上記調整装置31では、図8〜図10に示すフローチャート図にしたがってカメラのフォーカスを調整する。
すなわち、まずカメラの前側の決められた位置にフォーカス調整用の図を配置し、当該図をカメラで撮像した画像データを画像入力部32から取り込む(S1)。このフォーカス調整用の図としては、たとえば図6に示すような所謂3条線図チャートを利用すればよい。また、画像データの中心領域でのコントラスト値Ca、周辺領域(たとえば右上隅部と左下隅部との2領域等)でのコントラスト値Cbとから、下記式(1)で示す評価関数Ctotalにより評価値を求める(S2)。コントラスト値Ca、Cbについては、各領域において画素毎に隣り合う画素との信号値の差を求め、その差の絶対値が大きい上位複数箇所の平均値をコントラスト値Ca、Cbとする。そして、評価関数Ctotalでの評価値にもとづきフォーカスが合ったか否か、すなわち合焦したか否かを判定し(S3)、合焦したと判定する(S3でYES)と、接着剤吐出器34から接着剤を吐出させ、合焦した状態のまま鏡筒11とレンズホルダー12とを固着する(S4)。一方、合焦していないと判定する(S3でNO)と、鏡筒11を回転させ(S5)、評価関数Ctotalにより評価値を求める(S2)。
Ctotoal = Ca + α*Cb ・・・(1)
なお、αは比例係数である。
Then, the adjusting device 31 adjusts the focus of the camera according to the flowcharts shown in FIGS.
That is, first, a figure for focus adjustment is arranged at a predetermined position on the front side of the camera, and image data obtained by capturing the figure with the camera is fetched from the image input unit 32 (S1). As a diagram for this focus adjustment, for example, a so-called three-line chart as shown in FIG. 6 may be used. Also, from the contrast value Ca in the central area of the image data and the contrast value Cb in the peripheral area (for example, two areas such as the upper right corner and the lower left corner), evaluation is performed by the evaluation function Ctotal shown in the following formula (1). A value is calculated (S2). Regarding the contrast values Ca and Cb, the difference between the signal values of the pixels adjacent to each other in each region is obtained, and the average value of the plurality of upper places where the absolute value of the difference is large is taken as the contrast values Ca and Cb. Then, based on the evaluation value of the evaluation function Ctotal, it is determined whether or not the focus is achieved, that is, whether or not the focus is achieved (S3). If it is determined that the focus is achieved (YES in S3), the adhesive ejector 34 is determined. The adhesive is ejected from the lens barrel 11 and the lens barrel 11 and the lens holder 12 are fixed in a focused state (S4). On the other hand, when it is determined that the subject is out of focus (NO in S3), the lens barrel 11 is rotated (S5), and the evaluation value is obtained by the evaluation function Ctotal (S2).
Ctotal=Ca+α*Cb (1)
Note that α is a proportional coefficient.

また、調整作業に先立ち、評価値にもとづいて合焦したか否かを判定する際に使用する閾値を設定するための前工程を実行する。この前工程においては、まず鏡筒回転器33を駆動させて、鏡筒11を所定方向(ここでは、図7中の+方向であって、螺入度合いが大きくなる方向)へ回転させつつ(S11)、評価関数Ctotalでの評価値を随時算出する。すると、当初、図7に示すように評価値は増加する筈であるため、評価値が増加している否かを判定し(S12)、増加している(S12でYES)間は、評価関数Ctotalの最大値を更新する(S13)。ただ、図7に示すように評価値はピークを超えると減少に転じるため、評価関数Ctotalの値が減少に転じた(S12でNO)タイミングで、鏡筒回転器33の駆動を停止して鏡筒11の回転を停止させ(S14)、減少直前の評価値を閾値として記憶する(S15)。 Further, prior to the adjustment work, a pre-process for setting a threshold value used when determining whether or not focusing is performed based on the evaluation value is executed. In this pre-process, first, the lens barrel rotator 33 is driven to rotate the lens barrel 11 in a predetermined direction (here, the + direction in FIG. 7 and the direction in which the degree of screwing increases) ( S11), the evaluation value in the evaluation function Ctotal is calculated at any time. Then, initially, the evaluation value should increase as shown in FIG. 7, so it is determined whether the evaluation value is increasing (S12), and while it is increasing (YES in S12), the evaluation function is increased. The maximum value of Ctotal is updated (S13). However, as shown in FIG. 7, when the evaluation value exceeds the peak, the evaluation value starts to decrease. Therefore, at the timing when the value of the evaluation function Ctotal starts to decrease (NO in S12), the driving of the lens barrel rotator 33 is stopped and the mirror is stopped. The rotation of the cylinder 11 is stopped (S14), and the evaluation value immediately before the decrease is stored as a threshold value (S15).

そして、調整作業に関しては、鏡筒回転器33を駆動させて、鏡筒11を所定方向へ回転させつつ(S21)、評価関数Ctotalでの評価値を随時算出する。また、評価値が上述の如くして設定された閾値以上になったか否かを判定し(S22)、評価値が閾値を下回っている(S22でNO)間は、鏡筒11を所定方向へ回転させ続ける。そして、評価値が閾値以上になる(S22でYES)と、鏡筒回転器33の駆動を停止して鏡筒11の回転を停止させる(S23)とともに、当該状態で合焦したと判定する(S24)。なお、所定時間経過しても評価値が閾値に到達しないと、不良品として処理するようにしてもよい。 Regarding the adjustment work, the lens barrel rotator 33 is driven to rotate the lens barrel 11 in a predetermined direction (S21), and the evaluation value of the evaluation function Ctotal is calculated at any time. Further, it is determined whether or not the evaluation value is equal to or more than the threshold value set as described above (S22), and while the evaluation value is below the threshold value (NO in S22), the lens barrel 11 is moved in the predetermined direction. Continue to rotate. Then, when the evaluation value becomes equal to or more than the threshold value (YES in S22), the driving of the lens barrel rotator 33 is stopped to stop the rotation of the lens barrel 11 (S23), and it is determined that the focus is achieved in this state ( S24). If the evaluation value does not reach the threshold value even after the lapse of a predetermined time, it may be processed as a defective product.

以上のようなインターホン子機1におけるカメラのフォーカスの調整方法によれば、鏡筒回転器33や接着剤吐出器34を有する調整装置31により、カメラにより所定の調整用の図を撮像し、その画像データを取り込む第1工程と、鏡筒11を所定方向へ回転させつつ、取り込んだ画像データの所定領域におけるコントラスト値にもとづいた所定の評価関数Ctotalで評価値を随時算出するとともに、評価値と予め設定されている閾値とを比較し、評価値が閾値を下回っている間は、鏡筒11の所定方向への回転及び評価値の算出を継続する第2工程と、評価値が閾値以上になったことをもって、鏡筒11の回転を停止させ、合焦していると判定する第3工程と、合焦していると判定したことをもって、鏡筒11とレンズホルダー12とを固着する第4工程とを実行する。また、このような調整作業に先立って、カメラにより所定の調整用の図を撮像し、その画像データを取り込み、鏡筒11を所定方向へ回転させつつ、取り込んだ画像データの所定領域におけるコントラスト値にもとづいた所定の評価関数で評価値を随時算出するとともに、評価値が増加している間は、鏡筒11の所定方向への回転及び評価値の算出を継続し、評価値が減少へ転じたことをもって、減少直前の評価値を閾値として設定する前工程を実行する。したがって、カメラのフォーカスの調整に係り作業者の経験によらなくてすむため、調整作業にかかる時間を短縮することができる上、フォーカスの精度に関して一定品質の製品を容易に供給することが可能となる。 According to the method of adjusting the focus of the camera in the intercom slave 1, the adjustment device 31 including the lens barrel rotator 33 and the adhesive ejector 34 captures a predetermined image for adjustment by the camera. In the first step of capturing image data, while rotating the lens barrel 11 in a predetermined direction, an evaluation value is calculated at any time by a predetermined evaluation function Ctotal based on a contrast value in a predetermined region of the acquired image data, and A second step of comparing the preset threshold value and continuing the rotation of the lens barrel 11 in the predetermined direction and the calculation of the evaluation value while the evaluation value is below the threshold value, and the evaluation value is equal to or higher than the threshold value. Then, the rotation of the lens barrel 11 is stopped and the third step of determining that the lens is in focus and the third step of fixing the lens barrel 11 and the lens holder 12 when it is determined that the lens is in focus 4 steps and are performed. Further, prior to such adjustment work, a predetermined adjustment drawing is taken by the camera, the image data thereof is taken in, and while the lens barrel 11 is rotated in a predetermined direction, a contrast value in a predetermined area of the taken-in image data is taken. The evaluation value is calculated from time to time by a predetermined evaluation function based on the above, and while the evaluation value is increasing, the rotation of the lens barrel 11 in the predetermined direction and the calculation of the evaluation value are continued, and the evaluation value starts decreasing. Therefore, the pre-process of setting the evaluation value immediately before the decrease as the threshold value is executed. Therefore, since it is not necessary for the operator to adjust the focus of the camera based on the experience of the operator, it is possible to shorten the time required for the adjustment work, and it is possible to easily supply a product of constant quality with respect to the focus accuracy. Become.

また、鏡筒11を支持するためのレンズホルダー12に設けられた円筒部22の先端部に、一対の切り欠き23、23が設けられており、鏡筒11を支持させた際、切り欠き23、23内に鏡筒11の雄ねじ部15の一部が露出するようにしているとともに、接着剤吐出器34を、接着剤が吐出される吐出口をレンズホルダー12の切り欠き23へ向けた姿勢で設置しており、切り欠き23を接着剤を吐出する目標としている。したがって、接着剤による鏡筒11とレンズホルダー12との固着が安定する上、たとえば鏡筒11とレンズホルダー12との固着具合を目視等で確認しやすいといったメリットもある。 A pair of notches 23, 23 are provided at the tip of a cylindrical portion 22 provided in the lens holder 12 for supporting the lens barrel 11, and the notch 23 is provided when the lens barrel 11 is supported. A part of the male screw portion 15 of the lens barrel 11 is exposed inside the lens barrel 23, 23, and the adhesive dispenser 34 is positioned such that the discharge port through which the adhesive is discharged is directed to the notch 23 of the lens holder 12. The target is to discharge the adhesive through the notch 23. Therefore, there is a merit that the fixation of the lens barrel 11 and the lens holder 12 by the adhesive is stable, and it is easy to visually confirm the fixation condition of the lens barrel 11 and the lens holder 12, for example.

なお、本発明に係るカメラ付きインターホン機器におけるカメラのフォーカスの調整方法は、上記実施形態の態様に何ら限定されるものではなく、たとえばインターホン機器の全体的な構成は勿論、フォーカスの調整に係る制御等について、本発明の趣旨を逸脱しない範囲で、必要に応じて適宜変更することができる。 The method of adjusting the focus of the camera in the interphone device with a camera according to the present invention is not limited to the mode of the above-described embodiment. For example, not only the overall configuration of the intercom device but also the control related to the focus adjustment. The above can be appropriately changed as necessary without departing from the spirit of the present invention.

たとえば、上記実施形態では、レンズホルダー12の円筒部22の先端部に一対の切り欠き23、23を設けているが、切り欠き23の数は適宜変更可能であるし、先端部ではなく、中央部にスリット状の切り欠き部を設けるとしてもよい。
また、接着剤としては、たとえばUV硬化型の接着剤を用いるとし、接着剤吐出器に加えてUV照射器を別途設けるとしてもよい。他にも熱硬化型の接着剤を用い、熱照射器を別途設けるとしてもよい。さらに、嫌気型の接着剤を用いるとしても何ら問題はない。
For example, in the above-described embodiment, the pair of cutouts 23, 23 are provided at the tip of the cylindrical portion 22 of the lens holder 12, but the number of the cutouts 23 can be changed as appropriate, and not the tip but the center. You may provide a slit-shaped notch in the part.
As the adhesive, for example, a UV curable adhesive may be used, and a UV irradiator may be separately provided in addition to the adhesive ejector. Alternatively, a thermosetting adhesive may be used and a heat irradiator may be separately provided. Furthermore, there is no problem even if an anaerobic adhesive is used.

さらにまた、鏡筒11とレンズホルダー12とを固着するにあたり、上記実施形態では接着剤を用いるとしている(すなわち、固着器を接着剤吐出器としている)が、鏡筒11やレンズホルダー12が合成樹脂製であると、螺合箇所に固着器となる熱溶着治具を圧着させることにより、鏡筒11とレンズホルダー12とを固着するように構成することも可能である。
またさらに、上記実施形態ではインターホン子機について説明しているが、カメラを有していれば、他のインターホン機器であっても本発明に係る調整方法でカメラのフォーカスを好適に調整することができる。
なお、どのような調整用の図を用いるか、調整用の図のどの箇所のコントラスト値をもとに評価関数を求めるか、何か所のコントラスト値をもとに評価関数を求めるか、そして評価関数における比例係数をどのような係数とするかについては、言うまでもなく適宜変更可能である。
Furthermore, when the lens barrel 11 and the lens holder 12 are fixed to each other, an adhesive is used in the above embodiment (that is, the fixing device is an adhesive ejector), but the lens barrel 11 and the lens holder 12 are combined. If it is made of resin, the lens barrel 11 and the lens holder 12 can be fixed to each other by crimping a heat-welding jig that serves as a fixing device to the screwed portion.
Furthermore, although the intercom slave is described in the above embodiment, if the interphone device has a camera, the focus of the camera can be appropriately adjusted by the adjusting method according to the present invention even in other intercom devices. it can.
In addition, what kind of adjustment diagram is used, whether the evaluation function is obtained based on the contrast value of which part of the adjustment diagram, or whether the evaluation function is obtained based on the contrast value of some place, Needless to say, what kind of coefficient is used as the proportional coefficient in the evaluation function can be appropriately changed.

1・・インターホン子機、11・・鏡筒、12・・レンズホルダー、22・・円筒部、23・・切り欠き、31・・調整装置、32・・画像入力部、33・・鏡筒回転器、34・・接着剤吐出器、35・・駆動部、36・・制御部。 1... Intercom handset, 11... Lens barrel, 12... Lens holder, 22... Cylindrical part, 23... Notch, 31... Adjusting device, 32... Image input part, 33... Lens barrel rotation Container, 34... Adhesive dispenser, 35.. Drive unit, 36.. Control unit.

Claims (3)

レンズと、前記レンズを保持する円筒状の鏡筒と、前記鏡筒の後部と螺合して前記鏡筒を支持するレンズホルダーと、前記レンズホルダーの後側に配置される回路基板とを備えたカメラを有するインターホン機器に対し、前記鏡筒を回転させる鏡筒回転器と、前記鏡筒と前記レンズホルダーとを固着する固着器と、前記鏡筒回転器や前記固着器の動作を制御するとともに前記カメラのフォーカスの調整に係る判定を行う制御部とを有する調整装置により、前記鏡筒を回転させ、前記鏡筒の前記レンズホルダーへの螺合度合いを調整することによって前記カメラのフォーカスを調整するためのカメラ付きインターホン機器におけるカメラのフォーカスの調整方法であって、
前記カメラにより所定の調整用の図を撮像し、その画像データを取り込む第1工程と、
前記鏡筒を所定方向へ回転させつつ、取り込んだ前記画像データの所定領域におけるコントラスト値にもとづいた所定の評価関数で評価値を随時算出するとともに、前記評価値と予め設定されている閾値とを比較し、前記評価値が前記閾値を下回っている間は、前記鏡筒の所定方向への回転及び前記評価値の算出を継続する第2工程と、
前記評価値が前記閾値以上になったことをもって、前記鏡筒の回転を停止させ、合焦していると判定する第3工程と、
合焦していると判定したことをもって、前記鏡筒と前記レンズホルダーとを固着する第4工程と
を実行することを特徴とするカメラ付きインターホン機器におけるカメラのフォーカスの調整方法。
A lens, a cylindrical lens barrel that holds the lens, a lens holder that is screwed with a rear portion of the lens barrel to support the lens barrel, and a circuit board that is disposed on the rear side of the lens holder. A lens barrel rotator that rotates the lens barrel, a fixing device that fixes the lens barrel to the lens holder, and an operation of the lens barrel rotator and the fixing device for an intercom device having a camera. The focus of the camera is adjusted by rotating the lens barrel and adjusting the degree of screwing of the lens barrel to the lens holder, by an adjusting device having a controller that determines the focus adjustment of the camera. A method for adjusting the focus of a camera in an intercom device with a camera for adjusting,
A first step of capturing a predetermined image for adjustment by the camera and capturing the image data;
While rotating the lens barrel in a predetermined direction, an evaluation value is calculated at any time by a predetermined evaluation function based on a contrast value in a predetermined area of the captured image data, and the evaluation value and a preset threshold value are set. In comparison, while the evaluation value is below the threshold value, a second step of continuing the rotation of the lens barrel in a predetermined direction and calculating the evaluation value,
A third step of stopping the rotation of the lens barrel and determining that the lens is in focus when the evaluation value is equal to or more than the threshold value,
A method of adjusting a focus of a camera in an intercom device with a camera, which comprises performing a fourth step of fixing the lens barrel and the lens holder by determining that the lens is in focus.
前記第1工程よりも前に、前記カメラにより所定の調整用の図を撮像し、その画像データを取り込み、前記鏡筒を所定方向へ回転させつつ、取り込んだ前記画像データの所定領域におけるコントラスト値にもとづいた所定の評価関数で評価値を随時算出するとともに、前記評価値が増加している間は、前記鏡筒の所定方向への回転及び前記評価値の算出を継続し、前記評価値が減少へ転じたことをもって、減少直前の前記評価値を前記閾値として設定する前工程を実行することを特徴とする請求項1に記載のカメラ付きインターホン機器におけるカメラのフォーカスの調整方法。 Prior to the first step, a predetermined adjustment drawing is taken by the camera, the image data thereof is taken in, and while the lens barrel is rotated in a predetermined direction, a contrast value in a predetermined area of the taken-in image data. While calculating the evaluation value from time to time by a predetermined evaluation function based on, while the evaluation value is increasing, the rotation of the lens barrel in a predetermined direction and the calculation of the evaluation value are continued, and the evaluation value is The method for adjusting the focus of a camera in an intercom apparatus with a camera according to claim 1, wherein a pre-step of setting the evaluation value immediately before the decrease as the threshold value is performed when the intercom equipment with a camera is adjusted. 前記レンズホルダーの前記鏡筒との螺合箇所に、前記鏡筒の螺合部を露出させる切り欠き部が設けられているとともに、前記調整装置に、前記固着器として接着剤を吐出する接着剤吐出器が備えられており、
前記第4工程において、前記切り欠き部へ向けて前記接着剤を吐出させることを特徴とする請求項1又は2に記載のカメラ付きインターホン機器におけるカメラのフォーカスの調整方法。
An adhesive for ejecting an adhesive as the fixing device to the adjusting device is provided with a notch portion for exposing the screwed portion of the lens barrel at a screwed portion of the lens holder with the lens barrel. Equipped with a dispenser,
The method of adjusting the focus of a camera in an interphone device with a camera according to claim 1 or 2, wherein in the fourth step, the adhesive is discharged toward the cutout portion.
JP2017014639A 2017-01-30 2017-01-30 How to adjust the camera focus in the intercom device with camera Active JP6739369B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017014639A JP6739369B2 (en) 2017-01-30 2017-01-30 How to adjust the camera focus in the intercom device with camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017014639A JP6739369B2 (en) 2017-01-30 2017-01-30 How to adjust the camera focus in the intercom device with camera

Publications (2)

Publication Number Publication Date
JP2018125618A JP2018125618A (en) 2018-08-09
JP6739369B2 true JP6739369B2 (en) 2020-08-12

Family

ID=63110428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017014639A Active JP6739369B2 (en) 2017-01-30 2017-01-30 How to adjust the camera focus in the intercom device with camera

Country Status (1)

Country Link
JP (1) JP6739369B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881544B (en) * 2018-06-29 2020-08-11 维沃移动通信有限公司 Photographing method and mobile terminal
CN108668086B (en) * 2018-08-16 2021-05-04 Oppo广东移动通信有限公司 Automatic focusing method and device, storage medium and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60139075A (en) * 1983-12-27 1985-07-23 Mitsubishi Electric Corp Automatic focus control circuit
JPH07274055A (en) * 1994-03-31 1995-10-20 Aiphone Co Ltd Method and device for adjusting focus of lens unit for video intercom
JP3500018B2 (en) * 1996-10-31 2004-02-23 シャープ株式会社 Focus adjustment method for TV door phone
JP4239338B2 (en) * 1999-12-22 2009-03-18 株式会社デンソー Lens adjustment device for optical information reader
JP2005198103A (en) * 2004-01-08 2005-07-21 Inter Action Corp Apparatus and method for assembling camera module
JP2006101488A (en) * 2004-08-31 2006-04-13 Mitsumi Electric Co Ltd Camera module
JP2008292541A (en) * 2007-05-22 2008-12-04 Nec Electronics Corp Automatic focus adjustment device and automatic focus adjustment method

Also Published As

Publication number Publication date
JP2018125618A (en) 2018-08-09

Similar Documents

Publication Publication Date Title
US8634000B2 (en) Image pickup apparatus having an auto zoom function and method for controlling image pickup apparatus
US8384767B2 (en) Stereoscopic image pickup apparatus and method of adjusting optical axis
US8447161B2 (en) Imaging apparatus
EP1769723A4 (en) Endoscope apparatus
JP5853151B2 (en) Imaging device
JP6739369B2 (en) How to adjust the camera focus in the intercom device with camera
ITTO20070866A1 (en) IMAGE FORMATION AND FOCUS ADJUSTMENT METHOD
US20190230287A1 (en) Imaging apparatus
US20110311212A1 (en) Camera body and imaging apparatus
CN105452927A (en) Focus adjustment method and device therefor
JP2010135876A (en) Imaging device, audio processing method of the same, audio processing device and method
JP2007199195A (en) Lens controller
TWI457684B (en) Focusing assist apparatus and focusing assist method
JP6739368B2 (en) How to adjust the camera focus in the intercom device with camera
JP2012141516A (en) Imaging device and imaging program
TW200702871A (en) Control apparatus, control method, computer program product, and camera
KR101698917B1 (en) Integrated control method of pan tilt zoom focusing of closed circuit television camera
JP6554658B2 (en) Imaging device and camera body
TWI554098B (en) Video recording device and associated video recording method
TWI588585B (en) Image capture device and focus method
CN113014794A (en) Control device, lens device, imaging device, and imaging system
KR101842042B1 (en) Automatic display angle control apparatus and method for securing viewing angle of operator
US7535510B2 (en) Focus control apparatus for digital imaging device
JP6977559B2 (en) Imaging device and imaging method
US20050212953A1 (en) Piezoelectric focusing apparatus and method for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190920

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200525

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200623

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200721

R150 Certificate of patent or registration of utility model

Ref document number: 6739369

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250