JP2003262909A - Electronic camera - Google Patents

Electronic camera

Info

Publication number
JP2003262909A
JP2003262909A JP2002062324A JP2002062324A JP2003262909A JP 2003262909 A JP2003262909 A JP 2003262909A JP 2002062324 A JP2002062324 A JP 2002062324A JP 2002062324 A JP2002062324 A JP 2002062324A JP 2003262909 A JP2003262909 A JP 2003262909A
Authority
JP
Japan
Prior art keywords
edge
warning
focus
electronic camera
image
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.)
Granted
Application number
JP2002062324A
Other languages
Japanese (ja)
Other versions
JP4334179B2 (en
Inventor
Shigetaka Noguchi
茂孝 野口
Takeshi Onodera
毅 小野寺
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2002062324A priority Critical patent/JP4334179B2/en
Publication of JP2003262909A publication Critical patent/JP2003262909A/en
Application granted granted Critical
Publication of JP4334179B2 publication Critical patent/JP4334179B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)
  • Focusing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To make easily judgeable whether or not a subject is brought into a focused state without depending on the individual skill of a photographer. <P>SOLUTION: A control part 19 performs an edge deciding processing and warning processing based on edge detection data transmitted from an image signal processing part 14. Whether the edge whose length is equal to or above a specified length exists all over the image pickup plane is detected. When the edge whose length is equal to or above the specified length does not exist at all, a high-strength warning is issued. The pairing property in the direction of the edge is judged. When the pairing property in the direction of the edge is not found at all, it is judged as a situation that the subject is not normally brought into focus, so that a middle-strength warning is issued at a step 32. A specified area on the image pickup plane is enlarged. Whether or not the sharpness of the edge is equal to or above a specified value is judged concerning the enlarged specified part, and a warning is issued when the specified sharpness is not found. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ピントの合否検出
を行う電子カメラに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic camera for detecting whether a focus is good or bad.

【0002】[0002]

【従来の技術】近年、電子カメラを用いた電子スチル写
真が広く普及しつつある。電子カメラは、被写体を写す
光学レンズにより結像された光学像をCCD(Charged1
Coupled Device)カメラで光電変換し、その電気信号
を画像処理して、デジタル画像データに変換後に、撮像
画像を表示装置に表示させ、あるいはデジタルデータと
して記憶装置に記憶させることができる。
2. Description of the Related Art In recent years, electronic still photography using an electronic camera has become widespread. Electronic cameras use CCD (Charged 1) to capture the optical image formed by an optical lens that captures the subject.
Coupled Device) After photoelectric conversion by a camera, image processing of the electric signal is performed and conversion into digital image data, the captured image can be displayed on a display device or stored in a storage device as digital data.

【0003】銀塩写真と比較した電子スチル写真の利点
は、デジタル画像データとして保存が可能であり、経年
変化による画質の劣化が無い点、画像処理の容易な点で
ある。さらに、銀塩写真のようにフィルムの現像処理が
必要ないので、撮影直後の写真画像を確認でき、ピント
が合っていない等の不必要な画像の消去や撮り直しが可
能であるのも大きな利点である。しかし、通常電子カメ
ラに付属する液晶モニタ等の表示装置は大きさと解像度
に制約があるために、前記表示装置に撮影画像をそのま
ま表示しただけでは、ピントのずれ等の不具合を撮影者
が認知できないことも多い。
The advantages of electronic still photography over silver halide photography are that they can be stored as digital image data, there is no deterioration in image quality due to aging, and that image processing is easy. Furthermore, unlike silver halide photography, it is not necessary to develop the film, so you can check the photographic image immediately after shooting, and it is also a great advantage that you can delete unnecessary images such as out of focus and retake them. Is. However, since a display device such as a liquid crystal monitor usually attached to an electronic camera is limited in size and resolution, the photographer cannot perceive a defect such as a focus shift simply by displaying the captured image as it is on the display device. There are many things.

【0004】このような課題を解決した事例としては、
特開平11−196301号公報がある。前記公報で
は、図11(a)に示すように画像記録時に表示される
被写体のモニタ画像と共にフォーカス確認用のフォーカ
ス枠81内の画像部分を選択および拡大を行って、画面
の一部83または全部82に表示する(図11(b),
(b'))。使用者は拡大された画像をみて、ピント合わ
せのやり直しや再撮影が可能である。図11(c)に
は、再撮影画像84が示されている。
As an example of solving such a problem,
There is JP-A-11-196301. In the publication, as shown in FIG. 11A, a monitor image of a subject displayed during image recording is selected and an image portion in a focus frame 81 for focus confirmation is selected and enlarged, and a portion 83 or all of the screen is displayed. 82 (FIG. 11 (b),
(b ')). The user can refocus and reshoot the image by looking at the enlarged image. A re-captured image 84 is shown in FIG.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、特開平
11−196301号公報では、表示画面の一部を拡大
することにより、ピントのずれやブレの状態の確認を容
易にはしているが、単に被写体のピント位置を拡大した
だけでは、微妙なピントずれやボケを見逃してしまう可
能性がある。さらに、微妙なピントずれやボケの認識を
撮影者の主観に頼っているので、撮影者個々の技量によ
り認識度が異なるという課題が存在している。撮影者に
とっては、被写体にピントが確実にあっているかどうか
は重要な関心事であり、特に夜間撮影等で、オートフォ
ーカス機能が不十分になる可能性がある場合において
は、ピントの合否判定の有効度は高い。
However, in Japanese Unexamined Patent Publication No. 11-196301, it is easy to confirm the state of focus deviation or blurring by enlarging a part of the display screen. If you just enlarge the focus position of the subject, you may miss a slight defocus or blur. Further, since the subtle focus deviation and the recognition of the blur depend on the subjectivity of the photographer, there is a problem that the degree of recognition varies depending on the skill of each photographer. It is an important concern for the photographer whether or not the subject is in focus accurately, especially when there is a possibility that the autofocus function may become insufficient, such as when shooting at night, the focus pass / fail judgment is performed. Effectiveness is high.

【0006】従って、本発明の目的は、上記の課題を解
決するために、撮影者の個人的な技量によらずに、被写
体に対するピントの合否判断を簡単に行うことが可能な
電子カメラを提供することにある。
Therefore, in order to solve the above problems, an object of the present invention is to provide an electronic camera capable of easily determining whether a subject is in focus or not, regardless of the photographer's personal skill. To do.

【0007】[0007]

【課題を解決するための手段】本発明は、被写体画像を
取り込んで記録媒体に記憶させる電子カメラであって、
取り込んだ前記被写体画像からエッジを検出して検出デ
ータを出力するエッジ検出手段と、前記エッジ検出デー
タに基づいて、ピントの合焦度を判定する判定手段と、
前記ピントの合焦度に応じて警告の度合いを変える警告
手段とを備えたことを特徴とする。
The present invention is an electronic camera that captures a subject image and stores it in a recording medium.
An edge detection unit that detects an edge from the captured subject image and outputs detection data; a determination unit that determines the focus degree of focus based on the edge detection data;
A warning means for changing the degree of warning according to the degree of focus of the focus is provided.

【0008】前記判定手段は、エッジの先鋭度、長さ、
方向の少なくとも1つによりピントの合焦度を判定する
ことを特徴とする。さらに、前記エッジ検出手段は、取
り込んだ前記被写体画像の特定の領域に対して検出を行
うことを特徴とする。
The determining means is characterized by the sharpness, length, and
It is characterized in that the focus degree is determined by at least one of the directions. Further, the edge detecting means detects the specific area of the captured subject image.

【0009】また、前記警告手段は、前記エッジの先鋭
度の判定の結果、所定の先鋭度以下のものがあった場合
には警告を発してもよいし、前記エッジの長さが、所定
の長さ以上のエッジが無い場合には警告を発してもよい
し、前記エッジの方向がペアになっているものが無い場
合には警告を発してもよいし、前記判定手段での判定結
果を所定の規則で演算し、演算結果に基づいて警告の度
合いを変えてもよい。
The warning means may issue a warning when the sharpness of the edge is less than a predetermined sharpness as a result of the determination, and the length of the edge is a predetermined length. A warning may be issued if there is no edge longer than the length, a warning may be issued if there is no pair of edges in the direction, and the determination result by the determination means is displayed. The degree of warning may be changed according to the result of the calculation based on a predetermined rule.

【0010】本発明においては、通常の撮影者が電子カ
メラ等を用いるときを考慮して、ピントの合焦度を判定
してアラーム等の警告を発する。まず被写体画像から特
開2000−172855号公報の方法でエッジを検出
し、先鋭度、長さ、方向を判定する。すなわち、エッジ
検出方向の画素のバラツキから、エッジ判定に用いる閾
値を決定して、この閾値に基づいてエッジ検出を行う。
この時、全画面を一様にエッジ検出を行っても良いし、
特定のエリアを拡大してエッジ検出を行っても良い。特
に先鋭度に対しては特定のエリアのエッジ検出を重視
し、長さ及び方向に対しては全画面のエッジ検出の方が
望ましい。
In the present invention, in consideration of the case where an ordinary photographer uses an electronic camera or the like, the focus degree of focus is determined and a warning such as an alarm is issued. First, an edge is detected from a subject image by the method of Japanese Patent Laid-Open No. 2000-172855, and the sharpness, length and direction are determined. That is, a threshold value used for edge determination is determined from the variation of pixels in the edge detection direction, and edge detection is performed based on this threshold value.
At this time, edge detection may be performed uniformly on the entire screen,
Edge detection may be performed by enlarging a specific area. In particular, with respect to sharpness, it is preferable to attach importance to edge detection of a specific area and to detect edge of the entire screen with respect to length and direction.

【0011】なぜならば、通常の撮影の場合、人物,風
景を被写体として選ぶのが普通である。このとき、エッ
ジは最低限ある長さと方向を持っている。さらに、被写
体のエッジは縦方向について、ペア性を有している。例
えば、男性のズボンでも、女性のスカートでも最低1組
のペアは存在する。また山や塔でも最低1組のペアがあ
るように、ペア性は、人物,建物,風景等一般的に見ら
れるものである。
This is because in the case of normal photographing, it is usual to select a person or landscape as a subject. At this time, the edge has a certain length and a certain direction. Furthermore, the edges of the subject are paired in the vertical direction. For example, there is at least one pair in men's pants and women's skirts. Also, as there is at least one pair in a mountain or a tower, the pairing property is generally found in people, buildings, landscapes, etc.

【0012】つまり、最初にエッジの有無によりピント
の合否を判断し、ピントが合っている可能性があると判
断した場合(エッジ有り)は、エッジの先鋭度,長さ,
方向のペア性を所定の規則で演算し、その結果に基づい
て、警告の度合いを変えることで、撮影者にピントの合
焦度を認知させる。
That is, first, it is determined whether or not the focus is achieved by the presence or absence of the edge, and when it is determined that the focus may be achieved (the edge is present), the sharpness of the edge, the length,
The pairing of directions is calculated according to a predetermined rule, and the degree of warning is changed based on the result, so that the photographer recognizes the degree of focus.

【0013】[0013]

【発明の実施の形態】以下に、本発明の実施の形態につ
いて図面を参照しながら説明する。図1は本発明に係わ
る被写体の撮影画像の一例を示した図であり、図2は図
1に示す被写体の撮影画像の特定部位を拡大した図であ
る。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing an example of a captured image of a subject according to the present invention, and FIG. 2 is an enlarged view of a specific portion of the captured image of the subject shown in FIG.

【0014】図1で、本発明の電子カメラにより撮像さ
れた画像1aは、画像表示部に表示される画像である。
画像1aは演台に上っている講演者4と2人の聴衆者
5,6から構成されており、講演者4の部位2aにピン
トを合わせて撮影した画像である。図2で、画像2bは
図1でピントを合わせた特定部位2aを拡大した図であ
り、エッジの一例として、横方向の点線8と交差する、
縦方向のエッジ7aとエッジ7bが存在している。
In FIG. 1, an image 1a taken by the electronic camera of the present invention is an image displayed on the image display section.
The image 1a is composed of a lecturer 4 who is on the podium and two audiences 5 and 6, and is an image taken by focusing on the part 2a of the lecturer 4. In FIG. 2, an image 2b is an enlarged view of the specific portion 2a in focus in FIG. 1, and intersects with a horizontal dotted line 8 as an example of an edge.
There are edges 7a and edges 7b in the vertical direction.

【0015】図3は本発明に係わる電子カメラの構成を
示すブロック図であり、図3を用いて本発明の電子カメ
ラの構成の一例について説明する。撮像部11は光学系
レンズとCCDから構成され、被写体の光学像をCCD
のRGB各画素で光電変換して、電荷信号として撮像信
号処理部12に送る。撮像信号処理部12は、前記電荷
信号に対して、ガンマ補正やホワイトバランスの補正等
の信号処理を施して、JPEG等の画像データをフレー
ム記憶部13に一時的に記憶させる。フレーム記憶部1
3に蓄えられた前記画像データは、制御部19を介し
て、画像表示部15に表示される。さらに、前記画像デ
ータは画像信号処理部14に送られ、前記画像データを
解析して、エッジ検出等の処理を行う。画像信号処理部
14から出力されるエッジ検出データは、制御部19で
焦点(ピント)が合っているかどうかを判断され、焦点
が合っていない場合は、警告表示部18により、撮影者
に報知される。
FIG. 3 is a block diagram showing the structure of the electronic camera according to the present invention. An example of the structure of the electronic camera of the present invention will be described with reference to FIG. The imaging unit 11 is composed of an optical system lens and a CCD, and an optical image of a subject is captured by the CCD.
Each of the R, G, and B pixels is photoelectrically converted and sent to the image pickup signal processing unit 12 as a charge signal. The imaging signal processing unit 12 performs signal processing such as gamma correction and white balance correction on the charge signal, and temporarily stores image data such as JPEG in the frame storage unit 13. Frame storage unit 1
The image data stored in No. 3 is displayed on the image display unit 15 via the control unit 19. Further, the image data is sent to the image signal processing unit 14, and the image data is analyzed to perform processing such as edge detection. The edge detection data output from the image signal processing unit 14 is determined by the control unit 19 as to whether or not it is in focus. If the edge detection data is out of focus, the warning display unit 18 notifies the photographer. It

【0016】制御部19は、前記警告情報の報知に関す
る判断機能のほかに電子カメラを構成する各処理部の制
御も行っている。入力部16は撮影者が電子カメラを操
作するためのボタンやダイヤル等の入力機能を有してお
り、撮影者が入力行為を制御部に伝達するインターフェ
イスの役割も果たしている。補助記憶部17はフラッシ
ュメモリ等の着脱可能な記憶媒体から構成され、撮像し
た画像を保存する機能を有している。警告表示部18は
警告を撮影者に認知させる機能を有しており、警告を示
すLEDランプの他に、音で撮影者に知らせるためのア
ラーム発声機能も有している。また、画像表示部15は
警告表示部18を兼ねても良く、スーパーインポーズで
前記撮像画面上に表示することも可能である。
The control unit 19 controls not only the judgment function concerning the notification of the warning information but also each processing unit constituting the electronic camera. The input unit 16 has an input function such as buttons and dials for the photographer to operate the electronic camera, and also serves as an interface for transmitting the input action of the photographer to the control unit. The auxiliary storage unit 17 is composed of a removable storage medium such as a flash memory, and has a function of saving a captured image. The warning display unit 18 has a function of making the photographer recognize the warning. In addition to the LED lamp indicating the warning, the warning display unit 18 also has an alarm voicing function for making a sound notification to the photographer. Further, the image display unit 15 may also serve as the warning display unit 18, and it is also possible to display the image on the imaging screen in a superimposed manner.

【0017】図4は本発明に係わる電子カメラの動作の
フローチャートであり、図5は本発明に係わる電子カメ
ラのエッジ判定と焦点の合否判定処理と警告処理を詳細
に示したフローチャートである。本発明の電子カメラの
動作フローについて、図4と図5を用いて説明する。
FIG. 4 is a flow chart of the operation of the electronic camera according to the present invention, and FIG. 5 is a flow chart showing in detail the edge determination, focus acceptance / rejection determination processing and warning processing of the electronic camera according to the present invention. The operation flow of the electronic camera of the present invention will be described with reference to FIGS. 4 and 5.

【0018】まず、電子カメラは光学系レンズとCCD
カメラ等で構成される撮像部11により、被写体のある
部位にピントを合わせて撮像を行う(ステップS1
1)。次に、撮像された画像は撮像信号処理部12によ
り、CCDカメラのRGB信号を処理して、画面表示部
15に表示可能なJPEG等の画像フォーマットに変換
されて、フレーム記憶部13に一時的に記憶される。フ
レーム記憶部13に記憶された画像は制御部19の制御
により画像表示部15に表示される(ステップS1
2)。
First, the electronic camera has an optical system lens and a CCD.
An image is picked up by focusing on a part of the subject by the image pickup unit 11 including a camera (step S1).
1). Next, the picked-up image is processed by the pick-up signal processing unit 12 to process the RGB signals of the CCD camera into an image format such as JPEG which can be displayed on the screen display unit 15, and is temporarily stored in the frame storage unit 13. Memorized in. The image stored in the frame storage unit 13 is displayed on the image display unit 15 under the control of the control unit 19 (step S1).
2).

【0019】次に、撮影者が焦点判定処理をするかどう
かの決定を行う(ステップS13)。撮影者が被写体を
わざとぼかして撮影するような場合は、焦点判定処理を
行わないので、ステップS17に進み、焦点判定処理を
行う場合にはステップS14のエッジの検出処理を行
う。エッジ検出処理は、フレーム記憶部13から送られ
た画像データを画像信号処理部14が解析して、エッジ
を検出する。具体的なエッジの検出方法は特開2000
−172855号公報の方法を使用することができる。
すなわち、エッジ検出方向の画素のバラツキから、エッ
ジ判定に用いる閾値を決定して、この閾値に基づいてエ
ッジ検出を行う。
Next, the photographer determines whether or not to perform the focus determination process (step S13). When the photographer intentionally blurs the subject, the focus determination process is not performed, so the process proceeds to step S17. When the focus determination process is performed, the edge detection process of step S14 is performed. In the edge detection process, the image signal processing unit 14 analyzes the image data sent from the frame storage unit 13 to detect an edge. A specific edge detection method is disclosed in JP 2000
The method of 172855 can be used.
That is, a threshold value used for edge determination is determined from the variation of pixels in the edge detection direction, and edge detection is performed based on this threshold value.

【0020】次に、制御部19が画像信号処理部14か
ら送られたエッジ検出データに基づいて、エッジ判定処
理と警告処理を行う(ステップS15)。エッジ判定処
理は、最初に警告ポイントの初期設定を行う(ステップ
S21)。ここで、警告ポイントの初期値をY0とす
る。次に、撮像画像の中にエッジが有るかどうかを判断
し(ステップS22)、全くエッジが無い場合には、警
告表示部18より強度の警告を発して(ステップS3
1)、撮影者にピントが合っていないことを認識させ
る。エッジが全くない例としては、全体的にピントがボ
ケている場合が主である。その他、特殊な場合として、
快晴の空や白一色の壁面を撮影したものが考えられる
が、これは撮影時の構図により、撮影者が容易に判断で
きる。
Next, the control section 19 performs edge determination processing and warning processing based on the edge detection data sent from the image signal processing section 14 (step S15). In the edge determination processing, the warning points are initially set (step S21). Here, the initial value of the warning point is Y0. Next, it is determined whether or not there is an edge in the captured image (step S22), and if there is no edge, a warning of strength is issued from the warning display unit 18 (step S3).
1) Make the photographer recognize that the subject is out of focus. As an example where there is no edge, the case where the focus is out of focus as a whole is main. In other special cases,
It is possible that the photograph was taken of a clear sky or a solid white wall, but this can be easily determined by the photographer depending on the composition at the time of shooting.

【0021】次に、ステップS23に進み、所定の長さ
以上のエッジが撮像画面全体に存在するかどうかを検出
する。所定の長さのエッジを検出する目的は、2〜3ピ
クセル程度の微少なエッジの場合は、ノイズ等が検出さ
れている可能性があり、本来のエッジではないことが多
い。また容易に類推できるように人物・風景では縦のエ
ッジが多く見られ、それらは画面の縦の長さの少なくと
も1/4はあるのが普通である。所定の長さ以上のエッ
ジが全く無い場合は、ステップS31で強度の警告を発
し、所定の長さ以上のエッジが存在した場合には、エッ
ジの最大長に応じて、警告ポイントをY0からA1だけ
(減じる)操作を行い(ステップS24)、ステップS
25に進む。ここで、ステップS24で操作後の警告ポ
イントをY1とする。
Next, in step S23, it is detected whether an edge having a predetermined length or more exists in the entire image pickup screen. The purpose of detecting an edge having a predetermined length is to detect a small edge of about 2 to 3 pixels, noise, etc. may have been detected, and it is often not the original edge. Also, as can be easily analogized, many vertical edges are seen in people and landscapes, and these are usually at least ¼ of the vertical length of the screen. If there is no edge longer than the predetermined length, an intensity warning is issued in step S31. If there is an edge longer than the predetermined length, the warning points are changed from Y0 to A1 according to the maximum length of the edge. Only (reduce) operation (step S24), step S
Go to 25. Here, the warning point after the operation is set to Y1 in step S24.

【0022】ステップS25では、エッジの方向のペア
性を判断する。前述したように通常の撮影では、最低1
組のペアが存在するが、このペアは縦割りした画面の中
央にあることが普通であり、ペア性の判断ではこの点も
考慮する。エッジの方向のペア性が全く無い場合は、正
常にピントが合っていないと判断できるので、ステップ
32で中度の警告を発する。方向のペア性がある場合に
は、ペア性の数に応じて、警告ポイントをY1からA2
だけ(減じる)操作をし(ステップS26)、ステップ
S27に進む。ここで、ステップS26で操作後の警告
ポイントをY2とする。
In step S25, the pairing property in the edge direction is determined. As mentioned above, in normal shooting, at least 1
Although there is a pair of pairs, this pair is usually located at the center of the vertically divided screen, and this point is also taken into consideration in the determination of the pairness. If there is no pairing in the direction of the edge, it can be determined that the image is not in focus normally, so a moderate warning is issued in step 32. If there is a pair of directions, the warning points are changed from Y1 to A2 according to the number of pairs.
Only (reduce) operation (step S26), and the process proceeds to step S27. Here, the warning point after the operation is set to Y2 in step S26.

【0023】次に、撮像画像上の特定エリアに対して拡
大を行う。(例えば図2の例では、ピントを合わせた部
位2aを画像2bとして拡大する。)拡大した画像をエ
ッジ検出に使用する目的は、電子カメラの焦点が合う範
囲が画面全体ではない場合が多いことに起因している。
特に、絞りを広げた場合には、ピントの合う領域が必然
的に狭くなるので、画面の両端はエッジの先鋭度が落ち
てしまうので、画面全体で先鋭度を判断することは適当
ではない。
Next, enlargement is performed on a specific area on the captured image. (For example, in the example of FIG. 2, the focused portion 2a is enlarged as an image 2b.) The purpose of using the enlarged image for edge detection is that the range in which the electronic camera focuses is not the entire screen in many cases. Due to.
In particular, when the aperture is widened, the area in focus is inevitably narrowed, and the sharpness of the edges at both ends of the screen drops, so it is not appropriate to judge the sharpness of the entire screen.

【0024】この拡大した特定部位に対して、エッジの
先鋭度が所定量以上であるかどうか判断を行い(ステッ
プS28)、所定の先鋭度が無い場合には、ステップS
32で中度の警告を発し、所定の先鋭度以上の場合に
は、先鋭度に応じて警告ポイントY2からA3だけ(減
じる)操作をする(ステップS29)。ここでは、ステ
ップS29で操作後の警告ポイントをY3とする。つま
り、最終的な警告ポイントはY3となり、Y3=Y0−
A1−A2−A3で表現できる。
It is judged whether or not the sharpness of the edge is greater than or equal to a predetermined amount with respect to this enlarged specific portion (step S28). If there is no predetermined sharpness, step S28 is performed.
At 32, a moderate warning is issued, and when the sharpness is equal to or higher than a predetermined sharpness, the warning point Y2 is operated (reduced) by A3 according to the sharpness (step S29). Here, the warning point after the operation in step S29 is set to Y3. That is, the final warning point is Y3, and Y3 = Y0-
It can be expressed by A1-A2-A3.

【0025】次に、ステップS30で、最終的な警告ポ
イントY3が一定以上の警告ポイントをもっている場合
には、ステップS33でピントが合っていない可能性が
あることを、撮影者に認識させるために弱度の警告を発
する。もし、警告ポイントY3が一定以上の警告ポイン
トに達していない場合には、何も警告を発せずにステッ
プS16に進む。ステップS16では、さらに撮影を続
けるかどうかを、撮影者が判断して、撮影を続ける場合
はステップS11に戻り、撮影を続けない場合は終了と
なる。
Next, in step S30, when the final warning point Y3 has a certain warning point or more, in order to make the photographer recognize that the focus may not be in focus in step S33. Issue a weak warning. If the warning point Y3 has not reached a certain warning point or more, no warning is given and the process proceeds to step S16. In step S16, the photographer determines whether or not to continue shooting. If shooting is to continue, the process returns to step S11. If shooting is not continued, the process ends.

【0026】本発明の電子カメラによれば、最初にエッ
ジの有無によりピントの合否を判断し、ピントが合って
いる可能性があると判断した場合(エッジ有り)は、エ
ッジの先鋭度,長さ,方向のペア性を所定の規則で演算
し、その結果に基づいて、警告の度合いを変えること
で、ピントの合否を撮影者に認知させることができる。
つまり、ピントの合否に係わる撮影者個人の技能によら
ずに、被写体に対するピントの合否判断を簡単に行うこ
とが可能である。特に、夜間等のオートフォーカス機能
が不十分になる可能性が高い場合や、ピントのずれが微
妙で、モニタの表示画像だけでは、判断がつきにくい場
合に有効である。
According to the electronic camera of the present invention, it is first determined whether or not the focus is achieved by the presence or absence of the edge, and when it is determined that the focus may be achieved (the presence of the edge), the sharpness and the length of the edge are determined. It is possible to make the photographer recognize whether or not the focus is acceptable by calculating the pairing of the direction and the direction according to a predetermined rule and changing the degree of warning based on the result.
That is, it is possible to easily determine whether or not the subject is in focus regardless of the skill of the photographer who is involved in the focus. In particular, it is effective when there is a high possibility that the autofocus function will be insufficient at night, or when there is a slight focus shift and it is difficult to make a judgment only with the monitor display image.

【0027】次に、図5から図9を使用して、横800
×縦600ピクセルで撮像した画像について、具体的な
警告ポイントの演算方法の例を述べる。まず、ステップ
S21で、警告ポイントの初期値Y0を10ポイントに
設定する。ステップS22で、前記画像のエッジの検出
を試み、エッジが検出されたので、ステップS23の処
理に進む。ステップS23では、前記画像内に存在する
最大エッジ長が所定の長さ(L1)以上であるかどうか
を検知する。
Next, referring to FIG. 5 to FIG.
An example of a specific method of calculating a warning point will be described for an image captured with 600 pixels in the vertical direction. First, in step S21, the initial value Y0 of the warning points is set to 10 points. At step S22, the edge of the image is tried to be detected. Since the edge is detected, the process proceeds to step S23. In step S23, it is detected whether the maximum edge length existing in the image is equal to or longer than a predetermined length (L1).

【0028】図6は、エッジの長さによるポイント操作
の判断基準を示した図である。前記画像内に存在する最
大エッジ長L1が300ピクセルである場合には、ポイ
ントY1=Y0−3のポイント操作を行うので、Y1は
7ポイントとなる(ステップS24)。
FIG. 6 is a diagram showing criteria for judging a point operation according to the length of an edge. When the maximum edge length L1 existing in the image is 300 pixels, the point operation of point Y1 = Y0-3 is performed, so Y1 becomes 7 points (step S24).

【0029】次にエッジの方向のペア性を検出し(ステ
ップS25)、エッジの方向のペア性の本数(D1)に
より、警告ポイントの操作を行う(ステップS26)。
図7はエッジの方向のペア性の本数による判断基準を示
した図である。前記画像内のP1が8本存在した場合に
は、ポイントY2=Y1−0のポイント操作を行うの
で、Y2は7ポイントとなる(ステップS26)。
Next, the pairing in the edge direction is detected (step S25), and the warning point is operated according to the number (D1) of the pairing in the edge direction (step S26).
FIG. 7 is a diagram showing a judgment criterion based on the number of pairs in the edge direction. If there are eight P1s in the image, the point operation of point Y2 = Y1-0 is performed, so Y2 becomes 7 points (step S26).

【0030】次に、画面内の特定エリア(撮影者がピン
トを合わせようとした領域)の拡大を行い(ステップS
27)、特定エリア内に存在するエッジの中で先鋭度が
一番低いエッジを検出(ステップS28)し、警告ポイ
ントの操作を行う(ステップS29)。図8はエッジの
先鋭度による判断基準を示した図であり、図9は先鋭度
の判定方法の一例を示した図である。
Next, a specific area (area where the photographer tries to focus) on the screen is enlarged (step S
27), the edge having the lowest sharpness is detected among the edges existing in the specific area (step S28), and the warning point is operated (step S29). FIG. 8 is a diagram showing a criterion for determining the sharpness of an edge, and FIG. 9 is a diagram showing an example of a method for determining the sharpness.

【0031】図9において、エッジはピクセルP3とピ
クセルP4の間に位置しているので、P3から左に数ピ
クセル、右に数ピクセルを抽出してピクセルP1からP
6で1つのピクセル列を構成させる。図9では、ピクセ
ル列はエッジの左右3ピクセルづつで構成しているが、
前記ピクセル列を構成するピクセル数を輝度の分布状況
に応じて増減させる。
In FIG. 9, since the edge is located between the pixels P3 and P4, several pixels are extracted from P3 to the left and several pixels to the right to extract pixels P1 to P4.
6 forms one pixel column. In FIG. 9, the pixel row is composed of 3 pixels on each side of the edge,
The number of pixels forming the pixel row is increased or decreased according to the brightness distribution.

【0032】次に、前記特定のエリア内に存在するピク
セル毎の輝度データを抽出して、輝度の最大値と最小値
を求め、前記輝度の最小値と最大値の間に第1の閾値を
設定し、前記第1の閾値と前記最大値の間に第2の閾値
を設定する。前記第1の閾値と第2の閾値の設定はエッ
ジ周辺の輝度分布を考慮して行う。
Next, the brightness data for each pixel existing in the specific area is extracted to find the maximum and minimum values of brightness, and a first threshold value is set between the minimum and maximum values of brightness. The second threshold value is set between the first threshold value and the maximum value. The setting of the first threshold value and the second threshold value is performed in consideration of the luminance distribution around the edge.

【0033】次に、第1の閾値と第2の閾値の間に存在
するピクセルの個数(T1)をカウントする。図9で
は、第1の閾値と第2の敷地の間に存在するピクセルの
個数は2個であるので、図8に示す判断基準に従いY3
=Y2−2のポイント操作を行う。結果として、Y3は
5ポイントとなる。このように、ピクセルの個数により
エッジ先鋭度の判定を行うので、簡単に判定することが
できる。
Next, the number of pixels (T1) existing between the first threshold value and the second threshold value is counted. In FIG. 9, since the number of pixels existing between the first threshold value and the second site is two, Y3 is determined according to the determination criteria shown in FIG.
= Perform point operation Y2-2. As a result, Y3 is 5 points. Since the edge sharpness is determined based on the number of pixels in this way, the determination can be easily performed.

【0034】次に、警告ポイントが一定以下になってい
るか判定を行う(ステップS30)。図10は警告ポイ
ントの判定基準を示した図であり、図10に従うと、Y
3は5ポイントであるのでステップS33に進み、撮影
者に弱度の警告を行う。
Next, it is determined whether the warning points are below a certain level (step S30). FIG. 10 is a diagram showing the criteria for determining the warning points, and according to FIG.
Since 3 is 5 points, the process proceeds to step S33 and the photographer is warned of the degree of weakness.

【0035】[0035]

【発明の効果】以上のように、本発明の電子カメラによ
れば、一般の撮影者がピントの合否を簡単に認識できる
ので、ピントが合っていない場合の再撮影やピントが合
っているのにもかかわらず、再撮影を行わなくても済む
ので、電子カメラ撮影の効率化ができる。
As described above, according to the electronic camera of the present invention, a general photographer can easily recognize whether the image is in focus or not. Therefore, if the image is out of focus, re-shooting or in-focus is achieved. Nevertheless, since it is not necessary to perform reshooting, the efficiency of electronic camera shooting can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明に係わる被写体の撮影画像の一例を示し
た図である。
FIG. 1 is a diagram showing an example of a captured image of a subject according to the present invention.

【図2】図1に示す被写体の撮影画像の特定部位を拡大
した図である。
FIG. 2 is an enlarged view of a specific portion of a captured image of the subject shown in FIG.

【図3】本発明に係わる、撮像装置の構成を示したブロ
ック図である。
FIG. 3 is a block diagram showing a configuration of an image pickup apparatus according to the present invention.

【図4】本発明に係わる電子カメラの撮影動作に関する
フローチャートである。
FIG. 4 is a flowchart relating to a shooting operation of the electronic camera according to the present invention.

【図5】本発明に係わる電子カメラのエッジ判定、焦点
の合否判定処理及び警告処理を詳細に示したフローチャ
ートである。
FIG. 5 is a flowchart showing in detail the edge determination, focus determination processing, and warning processing of the electronic camera according to the present invention.

【図6】エッジの長さによるポイント操作の判断基準を
示した図である。
FIG. 6 is a diagram showing criteria for determining a point operation based on the length of an edge.

【図7】エッジの方向のペア性の本数による判断基準を
示した図である。
FIG. 7 is a diagram showing a judgment criterion based on the number of pairs of edge direction.

【図8】エッジの先鋭度による判断基準を示した図であ
る。
FIG. 8 is a diagram showing a judgment standard based on a sharpness of an edge.

【図9】エッジの先鋭度の判定方法の一例を示した図で
ある。
FIG. 9 is a diagram showing an example of a method of determining the sharpness of an edge.

【図10】エッジの先鋭度による判断基準を示した図で
ある。
FIG. 10 is a diagram showing a criterion for determining the sharpness of an edge.

【図11】従来の電子カメラの例を示した図である。FIG. 11 is a diagram showing an example of a conventional electronic camera.

【符号の説明】[Explanation of symbols]

1a 撮像画像 2a 撮像画像の特定部位 2b 2aを拡大表示した画像 3a,3b エッジ 7a,7b 縦方向のエッジ 8 エッジの横断方向を示す補助線 11 撮像部 12 撮像信号処理部 13 フレーム記憶部 14 画像信号処理部 15 画像表示部 16 入力部 17 補助記憶部 18 警告表示部 19 制御部 1a Captured image 2a Specific part of captured image 2b 2a enlarged image 3a, 3b edge 7a, 7b Vertical edge 8 Auxiliary line showing the crossing direction of edge 11 Imaging unit 12 Imaging signal processing unit 13 frame storage 14 Image signal processing unit 15 Image display section 16 Input section 17 Auxiliary storage 18 Warning display 19 Control unit

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 5/232 G02B 7/11 D // H04N 101:00 G03B 3/00 A Fターム(参考) 2H011 AA03 BA31 BB04 DA05 2H051 AA00 BA47 CE14 CE16 DA26 DA32 DB01 GA13 GA19 2H102 AA33 AA34 BA01 BB05 BB08 BB32 5C022 AA13 AB21 AC03 AC18 Front page continuation (51) Int.Cl. 7 identification code FI theme code (reference) H04N 5/232 G02B 7/11 D // H04N 101: 00 G03B 3/00 AF term (reference) 2H011 AA03 BA31 BB04 DA05 2H051 AA00 BA47 CE14 CE16 DA26 DA32 DB01 GA13 GA19 2H102 AA33 AA34 BA01 BB05 BB08 BB32 5C022 AA13 AB21 AC03 AC18

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 被写体画像を取り込んで記録媒体に記憶
させる電子カメラであって、 取り込んだ前記被写体画像からエッジを検出して検出デ
ータを出力するエッジ検出手段と、 前記エッジ検出データに基づいて、ピントの合焦度を判
定する判定手段と、 前記ピントの合焦度に応じて警告の度合いを変える警告
手段とを備えたことを特徴とする電子カメラ。
1. An electronic camera for capturing a subject image and storing the same in a recording medium, the edge detecting unit detecting an edge from the captured subject image and outputting detection data, and based on the edge detection data, An electronic camera comprising: a determination unit that determines a focus degree of focus; and a warning unit that changes a degree of warning according to the focus degree of the focus.
【請求項2】 前記判定手段は、エッジの先鋭度、長
さ、方向の少なくとも1つによりピントの合焦度を判定
することを特徴とする請求項1に記載の電子カメラ。
2. The electronic camera according to claim 1, wherein the determination unit determines the focus degree of focus based on at least one of the sharpness, length, and direction of the edge.
【請求項3】 前記エッジ検出手段は、取り込んだ前記
被写体画像の特定の領域に対して検出を行うことを特徴
とする請求項1または2に記載の電子カメラ。
3. The electronic camera according to claim 1, wherein the edge detection unit detects a specific area of the captured subject image.
【請求項4】 前記警告手段は、前記エッジの先鋭度の
判定の結果、所定の先鋭度以下のものがあった場合には
警告を発することを特徴とする請求項1から3のいずれ
かに記載の電子カメラ。
4. The warning device according to claim 1, wherein the warning means issues a warning when the sharpness of the edge is less than or equal to a predetermined sharpness as a result of the determination. Electronic camera described.
【請求項5】 前記警告手段は、前記エッジの長さが、
所定の長さ以上のエッジが無い場合には警告を発するこ
とを特徴とする請求項1から3のいずれかに記載の電子
カメラ。
5. The length of the edge of the warning means is
4. The electronic camera according to claim 1, wherein a warning is issued when there is no edge longer than a predetermined length.
【請求項6】 前記警告手段は、前記エッジの方向がペ
アになっているものが無い場合には警告を発することを
特徴とする請求項1から3のいずれかに記載の電子カメ
ラ。
6. The electronic camera according to claim 1, wherein the warning means issues a warning when there is no pair of edge directions.
【請求項7】 前記警告手段は、前記判定手段での判定
結果を所定の規則で演算し、演算結果に基づいて警告の
度合いを変えることを特徴とする請求項1から3のいず
れかに記載の電子カメラ。
7. The warning means calculates the judgment result of the judgment means according to a predetermined rule, and changes the degree of warning based on the calculation result. Electronic camera.
JP2002062324A 2002-03-07 2002-03-07 Electronic camera Expired - Fee Related JP4334179B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002062324A JP4334179B2 (en) 2002-03-07 2002-03-07 Electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002062324A JP4334179B2 (en) 2002-03-07 2002-03-07 Electronic camera

Publications (2)

Publication Number Publication Date
JP2003262909A true JP2003262909A (en) 2003-09-19
JP4334179B2 JP4334179B2 (en) 2009-09-30

Family

ID=29196152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002062324A Expired - Fee Related JP4334179B2 (en) 2002-03-07 2002-03-07 Electronic camera

Country Status (1)

Country Link
JP (1) JP4334179B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005333587A (en) * 2004-05-21 2005-12-02 Seiko Epson Corp Photographing apparatus and its control method
JP2008072696A (en) * 2006-08-14 2008-03-27 Seiko Epson Corp Focusing information visualization device, and corresponding method, program and recording medium
JP2008516501A (en) * 2004-10-05 2008-05-15 ノキア コーポレイション System and method for inspecting digital image framing and sharpness
JP2009044757A (en) * 2006-08-14 2009-02-26 Seiko Epson Corp Focusing information visualization device, and corresponding method, program and recording medium
JP2014513809A (en) * 2010-12-07 2014-06-05 ナム タイ,ヒョク Autofocus image system
WO2015107927A1 (en) * 2014-01-17 2015-07-23 ソニー株式会社 Image processing device, method, and program
WO2015107928A1 (en) * 2014-01-17 2015-07-23 ソニー株式会社 Imaging system, warning generating device and method, imaging device and method, and program
US9237270B2 (en) 2010-05-05 2016-01-12 Hiok Nam Tay Auto-focus image system
US9251571B2 (en) 2009-12-07 2016-02-02 Hiok Nam Tay Auto-focus image system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005333587A (en) * 2004-05-21 2005-12-02 Seiko Epson Corp Photographing apparatus and its control method
JP2008516501A (en) * 2004-10-05 2008-05-15 ノキア コーポレイション System and method for inspecting digital image framing and sharpness
JP2008072696A (en) * 2006-08-14 2008-03-27 Seiko Epson Corp Focusing information visualization device, and corresponding method, program and recording medium
JP2009044757A (en) * 2006-08-14 2009-02-26 Seiko Epson Corp Focusing information visualization device, and corresponding method, program and recording medium
US7978247B2 (en) 2006-08-14 2011-07-12 Seiko Epson Corporation Focusing information visualization device, and corresponding method, program and recording medium
US9734562B2 (en) 2009-12-07 2017-08-15 Hiok Nam Tay Auto-focus image system
US9251571B2 (en) 2009-12-07 2016-02-02 Hiok Nam Tay Auto-focus image system
US9237270B2 (en) 2010-05-05 2016-01-12 Hiok Nam Tay Auto-focus image system
JP2014513809A (en) * 2010-12-07 2014-06-05 ナム タイ,ヒョク Autofocus image system
WO2015107928A1 (en) * 2014-01-17 2015-07-23 ソニー株式会社 Imaging system, warning generating device and method, imaging device and method, and program
WO2015107927A1 (en) * 2014-01-17 2015-07-23 ソニー株式会社 Image processing device, method, and program
CN105900010A (en) * 2014-01-17 2016-08-24 索尼公司 Imaging system, warning generating device and method, imaging device and method, and program
CN105934940A (en) * 2014-01-17 2016-09-07 索尼公司 Image processing device, method, and program
JPWO2015107928A1 (en) * 2014-01-17 2017-03-23 ソニー株式会社 Imaging system, warning generation apparatus and method, imaging apparatus and method, and program
US10194074B2 (en) 2014-01-17 2019-01-29 Sony Corporation Imaging system, warning generation device and method, imaging device and method, and program
US10237466B2 (en) 2014-01-17 2019-03-19 Sony Corporation Recognition of degree of focus of an image
CN105900010B (en) * 2014-01-17 2019-12-06 索尼公司 Imaging system, alarm generation device and method, imaging device and method, and program
CN105934940B (en) * 2014-01-17 2019-12-24 索尼公司 Image processing apparatus, method and program

Also Published As

Publication number Publication date
JP4334179B2 (en) 2009-09-30

Similar Documents

Publication Publication Date Title
US7564486B2 (en) Image sensing apparatus with feature extraction mechanism and its control method
US8823857B2 (en) Image apparatus
JP4135100B2 (en) Imaging device
EP1564988A2 (en) Imaging apparatus, a focusing method, a focus control method and a recording medium storing a program for executing such a method
CN105934940B (en) Image processing apparatus, method and program
JP2009207119A (en) Imaging apparatus and program
US20100209091A1 (en) Focus adjusting apparatus and focus adjusting method
JP2014056032A (en) Imaging apparatus
JP2003274280A (en) Electronic camera
JP2009010616A (en) Imaging device and image output control method
JP2003338955A (en) Camera with advising functions
JP5092673B2 (en) Imaging apparatus and program thereof
JP2003262909A (en) Electronic camera
JP2007124399A (en) Image processing apparatus, electronic camera and image processing program
JP5387341B2 (en) Imaging device
JP5311922B2 (en) Imaging apparatus and control method thereof
KR100855370B1 (en) Apparatus and method for controlling auto focusing
JP2007072095A (en) Imaging method and imaging apparatus
JP2006287814A (en) Imaging apparatus and method of determining motion vector
JP2004309739A (en) Focus detection device
JP2009017427A (en) Imaging device
JP5316923B2 (en) Imaging apparatus and program thereof
JP4871664B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2004309653A (en) Imaging unit
JP2002044495A (en) Electronic camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061003

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071016

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090407

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090603

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: 20090623

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090623

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120703

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120703

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130703

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees