JPH02251925A - Method and device for automatic focusing - Google Patents
Method and device for automatic focusingInfo
- Publication number
- JPH02251925A JPH02251925A JP7549689A JP7549689A JPH02251925A JP H02251925 A JPH02251925 A JP H02251925A JP 7549689 A JP7549689 A JP 7549689A JP 7549689 A JP7549689 A JP 7549689A JP H02251925 A JPH02251925 A JP H02251925A
- Authority
- JP
- Japan
- Prior art keywords
- observation
- focusing
- image
- lens system
- observation target
- 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.)
- Ceased
Links
Landscapes
- Automatic Focus Adjustment (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、観察対象が細胞等の同一形状でかっ観察領域
に対して微小な場合で、光学機器を使用して観察する場
合の自動焦点合わせ方法及びその装置に関する。Detailed Description of the Invention [Industrial Field of Application] The present invention is an automatic focusing method when an observation target is of the same shape as a cell, etc., and is minute compared to the observation area, and is observed using an optical device. This invention relates to a matching method and device.
[従来の技術1
従来の観察対象の像を処理して自動焦点合わせを行う技
術として、レンズを繰り出す過程において得られた画像
を電気的に微分処理することにより、明暗比の変化量を
電気強度として抽出し、この電気強度が最大となった時
を合焦位置とするコントラスト方式と呼ばれる方法と、
画像を光学的に分割して2つの像を作り、合焦位置にお
いて2つの像が一致するように調整を行った装置を用い
て、像の一致程度をみて合焦位置とする位相差方式とが
主に用いられている。[Conventional technology 1] As a conventional technology for automatic focusing by processing the image of the observation target, by electrically differentially processing the image obtained in the process of extending the lens, the amount of change in the brightness ratio can be calculated from the electrical intensity. There is a method called the contrast method, which extracts the electric power as
The phase difference method uses a device that optically splits the image to create two images, adjusts the two images so that they match at the focus position, and determines the focus position based on how well the images match. is mainly used.
第4図(A)〜(D)はコントラスト方式を示しており
、第4図(A)は、合焦状態における輝度変化を示して
おり、この場合の輝度の変化量を第4図(B)に示し、
又、第4図(C)は、非合焦状態における輝度変化を示
しており、この場合の輝度の変化量を第4図(D)に示
す。Figures 4 (A) to (D) show the contrast method, and Figure 4 (A) shows the brightness change in the focused state, and Figure 4 (B) shows the amount of change in brightness in this case. ),
Further, FIG. 4(C) shows a change in brightness in an out-of-focus state, and FIG. 4(D) shows the amount of change in brightness in this case.
[発明が解決しようとする課題]
従来の方式の欠点として、コントラスト方式では観察全
領域に対して微分処理を行うため、本来の観察対象でな
い部分、即ち、バックグラウンドの照明むらや、第5図
に示すように、培養プレート51上の細胞52以外に付
着したゴミ53等の異物による輝度変化も微分処理し、
ノイズ信号として出力してしまう恐れがあった。それ故
、例えば細胞の数が少ないなど、観察全領域に対して観
察対象の比率が小さい場合には、第6図に示すように、
微分信号出力のうちノイズ信号出力成分61と観察対象
の信号出力成分62との差異がなくなり、合焦位置の検
出が行えなかった。又、細胞のある部分とない部分との
明暗比が小さい場合も同様に合焦位置を検出できないと
いう問題点があった。[Problems to be Solved by the Invention] A disadvantage of the conventional method is that the contrast method performs differential processing on the entire observation area, so it is difficult to detect areas that are not the original observation target, that is, uneven illumination in the background, etc. As shown in FIG. 2, changes in brightness due to foreign matter such as dust 53 attached to cells other than cells 52 on culture plate 51 are also differentially processed.
There was a risk that it would be output as a noise signal. Therefore, when the ratio of the observation target to the total observation area is small, such as when the number of cells is small, as shown in Figure 6,
There was no difference between the noise signal output component 61 and the observation target signal output component 62 of the differential signal output, and the in-focus position could not be detected. Furthermore, there is also the problem that the in-focus position cannot be detected when the brightness ratio between the part with cells and the part without cells is small.
一方、位相差方式では2枚の分光レンズの加工。On the other hand, the phase difference method involves processing two spectroscopic lenses.
組立が難しく、又機構が複雑であるためメンテナンスや
コスト等で不利であった。又、位相比較法によっては、
例えば細胞数が少ない場合は、十分な位相比較ができず
、合焦位置を検出できないという問題点があった。Since it is difficult to assemble and has a complicated mechanism, it is disadvantageous in terms of maintenance and cost. Also, depending on the phase comparison method,
For example, when the number of cells is small, there is a problem that sufficient phase comparison cannot be performed and the in-focus position cannot be detected.
本発明は上述した問題点をなくすためになされたもので
あり、ゴミ等が付着していても対象物に対して的確にか
つ容易に合焦状態を得ることができる自動焦点合わせ方
法及び装置を提供することを目的とする。The present invention has been made in order to eliminate the above-mentioned problems, and provides an automatic focusing method and device that can accurately and easily focus on an object even if dust or the like is attached. The purpose is to provide.
[課題を解決するための手段]
本発明の自動焦点合わせ方法は、レンズ系を介して観察
対象の画像を得る観察用光学装置における観察対象から
の撮像光に対し受光素子を走査して得た観察対象の画像
信号を用いて前記レンズ系の合焦位置を自動的に検出す
る方法であって、観察位置を光軸上に順次ずらし、各観
察位置毎に得られた画像信号から観察対象の幾何学的特
徴を抽出して、記憶・数値化し、数値化した特@量が最
大となる観察位置を合焦位置とすることを特徴とする。[Means for Solving the Problems] The automatic focusing method of the present invention involves scanning a light-receiving element for imaging light from an observation object in an observation optical device that obtains an image of the observation object through a lens system. This is a method of automatically detecting the focal position of the lens system using an image signal of the observation target, in which the observation position is sequentially shifted on the optical axis, and the focus position of the observation target is detected from the image signal obtained at each observation position. The feature is that geometric features are extracted, memorized and digitized, and the observation position where the digitized characteristic quantity is maximum is set as the focal position.
ここでいう幾何学的特徴とは例えば球形、だ円形、星型
、六角形型、ドーナツ型などを示す。又、抽出方法は、
例えばマツチドフィルタ法、長径、短径計測法、凹凸数
計側法などを示す。The geometrical features here include, for example, a spherical shape, an oval shape, a star shape, a hexagonal shape, a donut shape, and the like. In addition, the extraction method is
For example, the matched filter method, major axis/minor axis measurement method, unevenness counting method, etc. are shown.
本発明の自動焦点合わせ装置は、レンズ系を介して観察
対象の画像を得る観察用光学装置と、前記光学装置のレ
ンズ系の観察位置を光軸上に移動させる駆動部と、
前記レンズ系を介して観察対象の画像を走査する撮像部
と、
前記撮像部からの画像信号をアナログ/ディジタル変換
する手段と、
前記変換手段によって得られたディジタル信号から観察
対象の幾何学的特徴量を算出する特徴量算出手段と、
前記特徴量算出手段によって得られた信号の観察領域に
おける、あるしきい値以上の領域の総和と、前記特徴量
算出手段を施した全領域との比率を求める比率演算手段
と、
比率演算手段によって得られた比率が最大となった観察
位置に、上記駆動部を停止させる制御手段と
を備えたことを特徴とする。The automatic focusing device of the present invention includes: an observation optical device that obtains an image of an observation target through a lens system; a drive unit that moves the observation position of the lens system of the optical device onto the optical axis; an imaging unit that scans an image of the observation target through the imaging unit; means for converting the image signal from the imaging unit from analog to digital; and calculating geometric features of the observation target from the digital signal obtained by the conversion unit. a feature amount calculation means; and a ratio calculation means for calculating the ratio between the sum of areas equal to or higher than a certain threshold value in the observation area of the signal obtained by the feature amount calculation means and the entire area subjected to the feature amount calculation means. and a control means for stopping the drive unit at an observation position where the ratio obtained by the ratio calculation means is maximum.
例えば観察用光学装置としては、顕微鏡、望遠鏡、カメ
ラなどがある。又、撮像部としては例えばCCDカメラ
、ビジコン、ラインセンサなどかあリ、駆動部にはパル
スモータ、サーボモータなどがある。For example, optical observation devices include microscopes, telescopes, cameras, and the like. Further, the imaging section includes, for example, a CCD camera, a vidicon, a line sensor, etc., and the driving section includes a pulse motor, a servo motor, etc.
[作用]
本発明は観察対象の幾何学的特徴が焦点がずれてくると
失われてくるという特性に着目し、観察対象の幾何学的
特徴を抽出し、この特徴の程度を数値化して特徴量とい
う値を得ており、観察位置を順次走査したときの特徴量
が最大値を示す位置を合焦位置として、自動焦点合わせ
を行っている。[Operation] The present invention focuses on the characteristic that the geometric features of the observed object are lost when the focus shifts, extracts the geometric features of the observed object, quantifies the degree of this feature, and identifies the feature. Automatic focusing is performed by sequentially scanning the observation position and setting the position where the feature value has the maximum value as the focus position.
従って、バックグラウンドの照明むらやゴミ等の異物に
よる輝度変化は、特徴量として抽出されないため、この
ような輝度変化に関係なく合焦の検出が可能となる。Therefore, changes in brightness due to uneven background illumination or foreign objects such as dust are not extracted as feature quantities, so that detection of focus is possible regardless of such changes in brightness.
[実施例]
本発明の自動焦点合わせ方法を適用した装置の一実施例
を第1図に示している。[Example] FIG. 1 shows an example of an apparatus to which the automatic focusing method of the present invention is applied.
観察用光学装置10としては、落射型の3眼倒立型の顕
微鏡11を用い、対物レンズ12は4倍の倍率を持つ。As the observation optical device 10, an epi-reflection type three-lens inverted microscope 11 is used, and the objective lens 12 has a magnification of 4 times.
観察対象である細胞を入れたプレート13が対物レンズ
12の光軸上に置かれ、この対物レンズ12を介して顕
微鏡11を経て出力された細胞を含むプレート13から
の像は、リレーレンズ14(倍率2.5倍)を経て2×
3インチCOD(Charge−Coupled D
evice)カメラ15に入力される。CCDカメラ1
5は像を510X492の画素に分解し、NTSC規格
(N ationatTelevision Sys
tem Comm1ttee)に準拠したアナログ映
像信号に変換する。顕微鏡11には最小ステップ角0.
36°のパルスモータ16が設けられ、このパルスモー
タ16がlパルス分回転すると、1パルス当り約11μ
肩対物レンズ12がプレート13の底面に接近あるいは
遠ざかる方向に垂直方向に移動するようになっており、
観察位置を変えることができる。対物レンズ12の焦点
合わせの手段として、プレート13の載置台であるステ
ージ側を移動させても良い。CCDカメラ15からの映
像信号は、画像処理部20に送出される。画像処理装置
20において、21はビデオインターフェースであって
、CODカメラ!5よりの映像信号から同期信号を抽出
する。この同期信号は12.3MHzのクロック、水平
同期信号、垂直同期信号の3種でA/Dコンバータ部2
2以降の各回路の全てのタイミング制御を行う。A plate 13 containing cells to be observed is placed on the optical axis of the objective lens 12, and an image from the plate 13 containing cells outputted from the microscope 11 through the objective lens 12 is transmitted to the relay lens 14 ( 2x after 2.5x magnification)
3 inch COD (Charge-Coupled D
(device) is input to the camera 15. CCD camera 1
5 decomposes the image into 510 x 492 pixels and complies with the NTSC standard (Nationat Television System
tem Comm1ttee) compliant analog video signal. The microscope 11 has a minimum step angle of 0.
A 36° pulse motor 16 is provided, and when this pulse motor 16 rotates for l pulses, the rotation speed is approximately 11μ per pulse.
The shoulder objective lens 12 is configured to move vertically toward or away from the bottom surface of the plate 13,
You can change the observation position. As a means for focusing the objective lens 12, the stage side on which the plate 13 is placed may be moved. The video signal from the CCD camera 15 is sent to the image processing section 20. In the image processing device 20, 21 is a video interface, and is a COD camera! A synchronizing signal is extracted from the video signal from No.5. This synchronization signal consists of three types: a 12.3MHz clock, a horizontal synchronization signal, and a vertical synchronization signal.
Performs all timing control for each circuit from 2 onwards.
A/Dコンバータ22は、ビデオインターフェース21
より得られたアナログ映像信号をディジタル映像信号に
変換する回路であり、アナログ映像信号はこのA/Dコ
ンバータ部22によって8ビツト、256段階のディジ
タル量で各画素の輝度を表したディジタル信号に変換さ
れる。The A/D converter 22 is the video interface 21
This is a circuit that converts the analog video signal obtained from be done.
23はメモリであって、A/Dコンバータ部22で変換
されたディジタル量を一画面分記憶するとともに、記憶
した各画素の輝度を表すディジタル量を読み出して次の
局所変換処理部24に送り出す働きをする。尚、ディジ
タル量の読み出しに際しては、以下の各回路での処理が
容易となるように、順序を変更して読み出される。Reference numeral 23 denotes a memory, which functions to store the digital amount converted by the A/D converter section 22 for one screen, and to read out the stored digital amount representing the brightness of each pixel and send it to the next local conversion processing section 24. do. Note that when reading digital quantities, the order is changed and read out so that processing in each circuit described below becomes easier.
ディジタルフィルタで構成される局所変更処理部24は
、メモリ部23から出力されたディジタル量に対し加減
乗除の演算を行うことにより観察対象の幾何学的特徴量
を算出する。The local change processing unit 24, which is composed of a digital filter, calculates the geometric feature amount of the observation target by performing addition, subtraction, multiplication, and division operations on the digital quantity output from the memory unit 23.
特徴量の算出においては、局所変換処理24はマツチド
フィルタと呼ばれる手法を用いる。フィルタサイズは7
×7を用いたが、これは対象物の大きさと観察面の大き
さ及び顕微鏡倍率とCCDカメラ15の解像度から決定
しtこものであり、対象物に応じてフィルタサイズを変
更できる。In calculating the feature amount, the local transformation process 24 uses a method called a matched filter. Filter size is 7
×7 was used, but this is determined from the size of the object, the size of the observation surface, the microscope magnification, and the resolution of the CCD camera 15, and the filter size can be changed depending on the object.
又、フィルタに用いられた定数は7〜−3の整数値を用
いたが、このフィルタ定数も光学系や観察対象に応じて
必要な値に変更できる。Further, although an integer value of 7 to -3 was used as a constant for the filter, this filter constant can also be changed to a necessary value depending on the optical system and the object to be observed.
25は2値化部であって、局所変更処理部24で得られ
た幾何学的特徴量をあるしきい値で区切り、幾何学的特
徴量がしきい値より大きいか小さいかによって“ビある
いは“0”の2種類の信号に変換する。この2値化処理
は、次の計数処理を高速かつ、単純化するためのもので
ある。25 is a binarization unit, which divides the geometric feature obtained by the local modification processing unit 24 by a certain threshold value, and converts the geometric feature into a binarization unit depending on whether the geometric feature is larger or smaller than the threshold. The signal is converted into two types of signals of "0". This binarization process is to speed up and simplify the next counting process.
26は計数部であって、2値化部25で得られたしきい
値より大きい“ビの領域の総和と、局所変換処理結果と
して有効である504X486の範囲の全領域との比率
を求め、この値を合焦量とする。26 is a counting unit which calculates the ratio between the sum of the areas of “B” larger than the threshold value obtained by the binarization unit 25 and the entire area in the range of 504×486 that is valid as a result of local transformation processing, This value is taken as the focusing amount.
この計数部26における計数処理は、複数の観察対象が
観察全領域に不特定に存在する場合にその存在部位にか
かわらず検出するためのものである。The counting process in the counting unit 26 is for detecting a plurality of observation targets that exist unspecified in the entire observation area, regardless of their location.
このような画像処理部20での処理により、ある観察領
域毎の合焦の状態が1つの数値で置きかえた合焦量とし
て表わされ、この合焦量は演算制御部30のCPU(C
entral Processing Uuit)31
に送出される。Through such processing in the image processing section 20, the state of focus for each observation area is expressed as a focus amount replaced by a single numerical value, and this focus amount is expressed by the CPU (CPU) of the arithmetic control section 30.
internal processing unit) 31
will be sent to.
この合焦量の最大値が合焦位置を示すので、パルスモー
タドライバ部40によりパルスモータ16を駆動するこ
とにより、cpuatに次々に入力される合焦量から最
大値が検出され、合焦量の最大が検出された位置へ、演
算制御部30は、パルスモータドライバ部40によるパ
ルスモータ16の駆動し、停止させる。The maximum value of this focus amount indicates the focus position, so by driving the pulse motor 16 with the pulse motor driver section 40, the maximum value is detected from the focus amounts that are input one after another to the cpuat, and the focus amount The arithmetic control section 30 causes the pulse motor driver section 40 to drive the pulse motor 16 to the position where the maximum of is detected, and then stops the pulse motor 16 .
上記構成の装置の動作を第2図及び第3図のフローチャ
ートに基づき説明する。The operation of the apparatus having the above configuration will be explained based on the flowcharts of FIGS. 2 and 3.
観察対象は、ミエローマ細胞やハイブリドーマ細胞とい
った直径15〜20μ肩の球形の細胞で、観察全領域は
約1.2mmX1.1mmである。これ以外にもリンパ
球のように直径lOμ次前後前後さな細胞やマクロファ
ージのように直径25μ次前後の大きな細胞にも顕微鏡
倍率やフィルタサイズを変更することで対応できる。ま
た細胞は、観察面に数個しかないといった状態でもよい
し、観察面いっばいにつまった、いわゆるフルグロース
と呼ばれる状態であってもよい。The objects to be observed are spherical cells with a diameter of 15 to 20 μm, such as myeloma cells and hybridoma cells, and the total observation area is approximately 1.2 mm×1.1 mm. In addition, by changing the microscope magnification and filter size, it is possible to deal with cells such as lymphocytes, which have a diameter of about 10 μm, and large cells, such as macrophages, which have a diameter of about 25 μm. Further, the cells may be in a state where there are only a few cells on the observation surface, or they may be in a state called full growth where the observation surface is packed with cells.
実際に5Pt10−OKミエローマ細胞を用いて1個〜
約4500個の範囲で密度を変えて焦点合わせを行った
ところ、2個〜約4500個の範囲で合焦状態が得られ
た。もちろん観察対象は細胞に限定する必要はなく、摩
耗粉粒子といったものにも応用できる。Actually 1 piece using 5Pt10-OK myeloma cells
When focusing was performed by changing the density in a range of about 4,500, a focused state was obtained in a range of 2 to about 4,500. Of course, the observation target does not have to be limited to cells; it can also be applied to objects such as wear particles.
第2図は本実施例に用いた合焦量Sの最大値を求めるフ
ローチャートである。FIG. 2 is a flowchart for determining the maximum value of the focusing amount S used in this embodiment.
第2図において、ステップStでCPU31の初期化を
行う。即ち、合焦量Sの最大値が入力されるD max
にノイズレベルNLを設定し、又、メモリポインタMP
と、最大値メモリポインタM P maxとにそれぞれ
0を設定する。次にステップS2でパルスモータ16の
駆動により、前回の焦点位置から550μ肩だけ対物レ
ンズ12の焦点位置を移動させる。そして、ステップS
3で、CCDカメラ15から得られた細胞の画像信号に
対して画像処理部20で説明した画像処理を行い、合焦
量Sを求める。In FIG. 2, the CPU 31 is initialized in step St. That is, D max where the maximum value of the focusing amount S is input
Set the noise level NL to the memory pointer MP.
and the maximum value memory pointer M P max are set to 0, respectively. Next, in step S2, the pulse motor 16 is driven to move the focal position of the objective lens 12 by 550μ from the previous focal position. And step S
In step 3, the image processing unit 20 performs the image processing described above on the cell image signal obtained from the CCD camera 15 to obtain the focusing amount S.
ここで、このステップS3における画像処理のフローを
第3図により説明する。Here, the flow of image processing in step S3 will be explained with reference to FIG.
ステップS31でCCDカメラ15よりの映像信号をビ
デオインターフェース部21を介してA/Dコンバータ
部22に人力して、ステップS32にて各画素毎に映像
信号をA/D変換して256段階の数値に変換し、撮像
画面に対応した位置の画素の輝度を数値で表した2次元
のマトリックスとして記憶する。In step S31, the video signal from the CCD camera 15 is manually inputted to the A/D converter unit 22 via the video interface unit 21, and in step S32, the video signal is A/D converted for each pixel into a numerical value of 256 levels. The brightness of the pixel at the position corresponding to the image capturing screen is stored as a two-dimensional matrix representing numerical values.
ステップS33では、上記マトリックスから7×7の要
素のマトリックスを座標軸をずらしながら順次抽出し、
要素マトリックスを作成する。ステップS34では、ス
テップS33で抽出した要素マトリックスの幾何学的特
徴を抽出するため、観察対象の幾何学的特徴を代表する
別の固有値である2次元のマトリックス(7x7)と対
応する各要素の積をとり、その積の要素すべてを加算す
る。In step S33, a matrix of 7×7 elements is sequentially extracted from the above matrix while shifting the coordinate axes,
Create an element matrix. In step S34, in order to extract the geometric features of the element matrix extracted in step S33, the product of each corresponding element with a two-dimensional matrix (7x7), which is another eigenvalue representing the geometric feature of the observation target, is extracted. and add all the elements of the product.
加算結果は、ステップS35にて2値化処理され、ステ
ップS36では、“ビに変換された数を計数する。そし
て、ステップS37では、マトリックス演算した全領域
(504X486)に対する、ステップS36で計数さ
れた数の比を合焦量Sとする。The addition result is binarized in step S35, and in step S36, the number converted to "B" is counted.Then, in step S37, the number counted in step S36 is calculated for the entire area (504 x 486) subjected to matrix calculation. The ratio of these numbers is defined as the focusing amount S.
第2図に戻り、次のステップS4では、パルスモータド
ライバ部40によりパルスモータ16を逆回転させ、対
物レンズ12の焦点位置をステップS1と逆方向に44
μ肩移動させる。ステップS5ではステップS3で求め
た合焦1SがD max未満であるかをCPU31で判
定する。S<DmaXのときは、ステップ83〜ステツ
プS5のループを回り、S>Dmaxとなれば、つまり
合焦量SがノイズレベルNLより大きくなれば、ステッ
プS6に進み、画像処理により合焦量Sを求め、CPU
31のメモリに記憶するとともに、メモリポインタMP
を1加算する。Returning to FIG. 2, in the next step S4, the pulse motor driver unit 40 rotates the pulse motor 16 in the reverse direction, and the focal position of the objective lens 12 is moved 44 degrees in the opposite direction to step S1.
Move μ shoulder. In step S5, the CPU 31 determines whether the in-focus 1S obtained in step S3 is less than Dmax. When S<Dmax, the process goes through a loop from step 83 to step S5, and if S>Dmax, that is, if the focus amount S becomes larger than the noise level NL, the process proceeds to step S6, and the focus amount S is determined by image processing. Find the CPU
31 memory, and the memory pointer MP
Add 1 to
ステップS7では、パルスモータ16をステップS4と
同方向に11μl移動させ、ステップS8でステップS
6で求めた合焦量Sh<Dmax未満であるかが判定さ
れ、合焦量SがD max以上のときは、ステップS9
にてD max及びM P maXは、それぞれ合焦量
S及びメモリポインタMPに更新される。ステップSI
Oでは、MP−MPn+axが6を超えたかが判定され
、MP−MPmayが6以下のときはステップ86〜ス
テツプSIOのループを回り、MP−MPmaxが6を
超えたときは、ステップSllにて、パルスモータ16
をステップStと同方向に回転させ77μ肩移動させ、
焦点距離は合焦状態となる。In step S7, the pulse motor 16 is moved by 11 μl in the same direction as in step S4, and in step S8, the pulse motor 16 is moved by 11 μl in the same direction as in step S4.
It is determined whether the focus amount Sh obtained in step 6 is less than Dmax, and if the focus amount S is greater than or equal to Dmax, step S9
At , D max and M P max are updated to the focusing amount S and the memory pointer MP, respectively. Step SI
In O, it is determined whether MP-MPn+ax exceeds 6, and when MP-MPmay is 6 or less, the loop from step 86 to step SIO is performed, and when MP-MPmax exceeds 6, the pulse is motor 16
Rotate in the same direction as step St and move the shoulder by 77μ,
The focal length is in focus.
[発明の効果]
以上詳述したように、本科発明は、観察対象の特t!H
iを抽出して、その特徴量が最大値を検出したとき、レ
ンズ系が合焦位置にあると判断するようにしたので、ノ
イズに強く、少ない観察対象でも十分に合焦することが
でき、かつ観察対象が、観察全領域内に不特定に分散し
ていても合焦することができる。それ故、バックグラウ
ンドの輝度むらやゴミ等の異物が混在するといった状況
下において、観察全領域に細胞が数個しかない場合、又
、不特定に分散している場合に自動合焦させる手法とし
て利用すると効果的である。[Effects of the Invention] As detailed above, the invention of the present invention provides a special t! H
When i is extracted and the maximum value of the feature value is detected, it is determined that the lens system is at the in-focus position, so it is resistant to noise and can be sufficiently focused even with a small number of observation targets. In addition, it is possible to focus on the observation target even if it is unspecifiedly dispersed within the entire observation area. Therefore, it can be used as an automatic focusing method when there are only a few cells in the entire observation area, or when they are scattered in an unspecified manner, under conditions such as uneven background brightness and foreign substances such as dust. It is effective when used.
第1図はこの発明の自動焦点合わせ方法を適用した装置
の一実施例を示すシステムブロック図、第2図は、第1
図の装置における自動焦点合わせの制御を示すフローチ
ャート、第3図は、第1図の装置における画像処理のた
めの制御を示すフローチャート、第4図(A)及び第4
図(B)は、レンズの繰り出しに伴う、合焦状態におけ
る輝度及び輝度変化量を示す図、第4図(C)及び第4
図(D)は、レンズの繰り出しに伴う、非合焦状態にお
ける輝度及び輝度変化量を示す図、第5図は、培養プレ
ートの断面図、第6図は、細胞及び付着したゴミに対す
る微分出力を示す図である。
IO・・・観察用光学装置、II・・・顕微鏡、12・
・・対物レンズ、13・・・培養プレート、14・・・
リレーレンズ、15・・・CODカメラ、16・・・パ
ルスモータ、20・・・画像処理部、21・・・ビデオ
インターフェース部、22・・・A/Dコンバータ、2
3・・・メモリ部、24・・局所変換処理部、25・・
・2値化部、26・・・計数部、30・・・演算制御部
、31・・・CPU。
40・・・パルスモータドライバ部。
第4図(A)
第4図CB)
特許出願人 住友電気工業株式会社
代理人 弁理士 青白 葆 外1名
第4図(C)
第4図(D)
距離
距11FIG. 1 is a system block diagram showing an embodiment of an apparatus to which the automatic focusing method of the present invention is applied, and FIG.
FIG. 3 is a flowchart showing control of automatic focusing in the device shown in FIG. 1; FIG. 3 is a flowchart showing control for image processing in the device shown in FIG.
Figure (B) is a diagram showing the brightness and the amount of change in brightness in the focused state as the lens is extended, Figure 4 (C) and Figure 4
Figure (D) is a diagram showing the brightness and the amount of change in brightness in the out-of-focus state as the lens is extended, Figure 5 is a cross-sectional view of the culture plate, and Figure 6 is the differential output for cells and attached dust. FIG. IO...observation optical device, II...microscope, 12.
...Objective lens, 13...Culture plate, 14...
Relay lens, 15... COD camera, 16... Pulse motor, 20... Image processing section, 21... Video interface section, 22... A/D converter, 2
3...Memory unit, 24...Local conversion processing unit, 25...
- Binarization section, 26... Counting section, 30... Arithmetic control section, 31... CPU. 40...Pulse motor driver section. Fig. 4 (A) Fig. 4 CB) Patent applicant Sumitomo Electric Industries Co., Ltd. agent Patent attorney 1 other person Fig. 4 (C) Fig. 4 (D) Distance 11
Claims (2)
学装置における観察対象からの撮像光に対し受光素子を
走査して得た観察対象の画像信号を用いて前記レンズ系
の合焦位置を自動的に検出する方法であって、 観察位置を光軸上に順次ずらし、各観察位置毎に得られ
た画像信号から観察対象の幾何学的特徴を抽出して、記
憶・数値化し、数値化した特徴量が最大となる観察位置
を合焦位置とすることを特徴とする自動焦点合わせ方法
。(1) Obtaining an image of the observation target via a lens system. Using the image signal of the observation target obtained by scanning the light receiving element with respect to the imaging light from the observation target in the observation optical device, the focal position of the lens system is determined. This method automatically detects the observation position by sequentially shifting the observation position along the optical axis, extracting the geometric features of the observation target from the image signal obtained at each observation position, storing and quantifying them, and then converting them into numerical values. An automatic focusing method characterized by setting an observation position where the converted feature amount is maximum as a focusing position.
学装置と、 前記光学装置のレンズ系の観察位置を光軸上に移動させ
る駆動部と、 前記レンズ系を介して観察対象の画像を走査する撮像部
と、 前記撮像部からの画像信号をアナログ/ディジタル変換
する手段と、 前記変換手段によって得られたディジタル信号から観察
対象の幾何学的特徴量を算出する特徴量算出手段と、 前記特徴量算出手段によって得られた信号の観察領域に
おける、あるしきい値以上の領域の総和と、前記特徴量
算出手段を施した全領域との比率を求める比率演算手段
と、 比率演算手段によって得られた比率が最大となった観察
位置に、上記駆動部を停止させる制御手段と を備えたことを特徴とする自動焦点合わせ装置。(2) an observation optical device that obtains an image of an observation target through a lens system; a drive unit that moves the observation position of the lens system of the optical device onto the optical axis; and an image of the observation target through the lens system. an imaging section that scans the image, means for converting an image signal from the imaging section from analog to digital, and feature amount calculation means that calculates a geometric feature amount of the observation target from the digital signal obtained by the conversion means; Ratio calculation means for calculating the ratio between the sum of areas equal to or higher than a certain threshold value in the observation area of the signal obtained by the feature amount calculation means and the entire area subjected to the feature amount calculation means; An automatic focusing device comprising: control means for stopping the driving section at an observation position where the obtained ratio is maximum.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7549689A JPH02251925A (en) | 1989-03-27 | 1989-03-27 | Method and device for automatic focusing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7549689A JPH02251925A (en) | 1989-03-27 | 1989-03-27 | Method and device for automatic focusing |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02251925A true JPH02251925A (en) | 1990-10-09 |
Family
ID=13577937
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7549689A Ceased JPH02251925A (en) | 1989-03-27 | 1989-03-27 | Method and device for automatic focusing |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02251925A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008185603A (en) * | 2007-01-26 | 2008-08-14 | Olympus Corp | Automatic focusing device and method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6252514A (en) * | 1985-09-02 | 1987-03-07 | Matsushita Electric Ind Co Ltd | automatic focusing device |
| JPH02247510A (en) * | 1989-03-20 | 1990-10-03 | Fujitsu Ltd | Appearance inspection device |
-
1989
- 1989-03-27 JP JP7549689A patent/JPH02251925A/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6252514A (en) * | 1985-09-02 | 1987-03-07 | Matsushita Electric Ind Co Ltd | automatic focusing device |
| JPH02247510A (en) * | 1989-03-20 | 1990-10-03 | Fujitsu Ltd | Appearance inspection device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008185603A (en) * | 2007-01-26 | 2008-08-14 | Olympus Corp | Automatic focusing device and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3733392B2 (en) | Image composition change detection method | |
| CA1304612C (en) | Solid state microscope | |
| US6747808B2 (en) | Electronic imaging device focusing | |
| AU1264999A (en) | Optoelectronic camera and method for image formatting in the same | |
| CN109883391B (en) | Monocular distance measurement method based on digital imaging of microlens array | |
| CN101493312B (en) | Micro imaging high precision three-dimensional detection device and method | |
| CN109255810A (en) | Image processing device and image processing method | |
| US5485209A (en) | Pupil divisional type focusing position detection apparatus for electronic cameras | |
| CN106060376A (en) | Display control apparatus, display control method, and image capturing apparatus | |
| CN201364140Y (en) | Micro-imaging high-precision three-dimensional detection device | |
| GB2390674A (en) | Imaging flame monitor for measuring multiple characteristic parameters | |
| US20230037670A1 (en) | Image acquisition device and image acquisition method using the same | |
| EP0606018B1 (en) | Automatic focus adjusting device for a video camera | |
| US7400456B2 (en) | Lens having seamless profile defined by cubic polynomial function | |
| JPH07104287B2 (en) | Inspection method for minute defects of transparent object with curved surface | |
| JP3548213B2 (en) | Multipoint ranging device and camera | |
| US5317523A (en) | Integrated reflective image sensor | |
| JPH0854349A (en) | Camera and image quality inspection apparatus using the camera | |
| RU2483354C1 (en) | Method for isolation of object in image | |
| JP2009210520A (en) | Distance measuring instrument and distance measuring method | |
| JP3158772B2 (en) | Focus information detection device | |
| JPH0765893B2 (en) | Microorganism recognition device | |
| US7742082B1 (en) | System and method for increasing the sensitivity of an optical detector | |
| JPS63205505A (en) | Area measuring method by ccd area image sensor | |
| Zghal et al. | Brightness calibration of charge-coupled device camera systems |