KR100861514B1 - Photographing apparatus and method - Google Patents

Photographing apparatus and method Download PDF

Info

Publication number
KR100861514B1
KR100861514B1 KR1020070005445A KR20070005445A KR100861514B1 KR 100861514 B1 KR100861514 B1 KR 100861514B1 KR 1020070005445 A KR1020070005445 A KR 1020070005445A KR 20070005445 A KR20070005445 A KR 20070005445A KR 100861514 B1 KR100861514 B1 KR 100861514B1
Authority
KR
South Korea
Prior art keywords
image
dust
value
pixel
imaging
Prior art date
Application number
KR1020070005445A
Other languages
Korean (ko)
Other versions
KR20080024946A (en
Inventor
요시하루 고탄다
Original Assignee
삼성테크윈 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성테크윈 주식회사 filed Critical 삼성테크윈 주식회사
Publication of KR20080024946A publication Critical patent/KR20080024946A/en
Application granted granted Critical
Publication of KR100861514B1 publication Critical patent/KR100861514B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise
    • H04N25/68Noise processing, e.g. detecting, correcting, reducing or removing noise applied to defects
    • H04N25/683Noise processing, e.g. detecting, correcting, reducing or removing noise applied to defects by defect estimation performed on the scene signal, e.g. real time or on the fly detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
    • H04N23/811Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation by dust removal, e.g. from surfaces of the image sensor or processing of the image signal output by the electronic image sensor

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)
  • Camera Bodies And Camera Details Or Accessories (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

본 발명에 관한 촬상 장치는, 조리개가 부착된 렌즈 유닛(102)의 조리개(106)를 변화시켜 연속적으로 복수의 화상을 촬영하는 CCD소자(110)와, 복수의 화상에서 한 화상을 선택하여 촬상 소자의 티끌의 유무를 판별하는 잠정 티끌 후보 추출부(151)와, 티끌이 부착되어 있다고 생각되는 촬상 소자의 화소의 위치를 취득하는 잠정 티끌 위치 추출부(152)와, 복수의 화상의 한 화상과 별개의 다른 화상에서 화소의 위치의 신호 레벨을 비교하여 신호 레벨이 소정 값 이상 다른 경우에 화소의 위치에 티끌이 부착되어 있는 것으로 하는 티끌 인정부(154)와, 티끌 인정부에서 인정한 티끌의 부착 위치를 표시하는 티끌 표시부(156)를 포함하는 촬상 장치가 제공된다.The imaging device according to the present invention includes a CCD device 110 for continuously photographing a plurality of images by changing the aperture 106 of the lens unit 102 with an aperture, and selecting one image from a plurality of images. A provisional particle candidate extraction unit 151 for determining the presence or absence of particles of the element, a provisional particle position extraction unit 152 for acquiring the position of the pixels of the imaging device that is believed to be attached to the dust, and one image of a plurality of images The dust recognition unit 154 and the dust recognition unit recognized by the dust recognition unit in which the dust is attached to the position of the pixel when the signal level is different from the predetermined level by comparing the signal level of the position of the pixel in another image different from There is provided an image pickup device including a particle display portion 156 for indicating an attachment position.

Description

촬상 장치 및 촬상 방법{Photographing apparatus and method}Imaging Apparatus and Imaging Method {Photographing apparatus and method}

도 1은 본 발명의 일 실시예에 관한 촬상 장치에 대해서 설명한 설명도이다.1 is an explanatory diagram for explaining an imaging device according to an embodiment of the present invention.

도 2는 도 1의 촬상 장치의 구성에 대해서 설명한 설명도이다.FIG. 2 is an explanatory diagram illustrating the configuration of the imaging device of FIG. 1. FIG.

도 3은 도 1의 CPU의 구성에 대해서 설명한 설명도이다.3 is an explanatory diagram illustrating the configuration of the CPU of FIG. 1.

도 4는 본 발명의 일 실시예에 관한 촬상 방법에 대해서 설명한 흐름도이다.4 is a flowchart illustrating an image pickup method according to an embodiment of the present invention.

도 5는 도 4의 촬상 방법에서 조리개를 연 경우의 조리개값과 셔터 속도의 산출에 사용하는 프로그램선도의 일례를 도시한 설명도이다.FIG. 5 is an explanatory diagram showing an example of a program diagram used to calculate the aperture value and the shutter speed when the aperture is opened in the imaging method of FIG. 4.

도 6은 도 4의 촬상 방법에서 조리개를 조른 경우의 조리개값과 셔터 속도의 산출에 사용하는 프로그램선도의 일례를 도시한 설명도이다.6 is an explanatory diagram showing an example of a program diagram used to calculate the aperture value and the shutter speed when the aperture is cut in the imaging method of FIG. 4.

도 7a는 본 발명의 일 실시예에 관한 촬상 소자에 티끌이 부착된 경우에 조리개를 졸여서 촬영을 한 촬영 화상의 일례를 도시한 설명도이다.FIG. 7A is an explanatory diagram showing an example of a picked-up image obtained by bouncing down an iris when dust is attached to an image pickup device according to an embodiment of the present invention. FIG.

도 7b는 본 발명의 일 실시예에 관한 촬상 소자에 티끌이 부착된 경우에 조리개를 개방하여 촬영을 한 촬영 화상의 일례를 도시한 설명도이다.7B is an explanatory diagram showing an example of a picked-up image in which an aperture is photographed when dust is attached to an image pickup device according to an embodiment of the present invention.

도 8은 본 발명의 일 실시예에 관한 컬러 필터의 배열에 대해서 설명한 설명도이다.8 is an explanatory diagram illustrating an arrangement of color filters according to an embodiment of the present invention.

도 9는 도 4에 도시된 촬상 방법의 잠정 티끌 후보 추출 처리에 대해서 설명한 흐름도이다.FIG. 9 is a flowchart for describing the provisional particle candidate extraction process of the imaging method shown in FIG. 4.

도 10은 도 4에 도시된 촬상 방법의 잠정 티끌의 추출 처리에 대해서 설명한 흐름도이다.FIG. 10 is a flowchart for explaining a process of extracting provisional dust of the imaging method shown in FIG. 4.

도 11은 도 4에 도시된 촬상 방법의 티끌 인정 처리에 대해서 설명한 흐름도이다.FIG. 11 is a flowchart for explaining a particle recognition process of the imaging method shown in FIG. 4.

도 12는 도 4에 도시된 촬상 방법의 티끌 청소 모드의 흐름에 대해서 설명한 흐름도이다.12 is a flowchart for explaining the flow of the dust cleaning mode in the imaging method shown in FIG. 4.

도 13은 본 발명의 일 실시예에 관한 티끌이 부착된 상태에서 화상을 촬영한 경우의 촬영 화상의 표시예를 도시한 설명도이다.Fig. 13 is an explanatory diagram showing a display example of a picked-up image when the image is picked up with the dust attached according to the embodiment of the present invention.

도 14는 본 발명의 일 실시예에 관한 티끌 위치를 표시한 경우의 화상의 일례를 도시한 설명도이다.14 is an explanatory diagram showing an example of an image in the case of displaying a particle position according to an embodiment of the present invention.

도 15는 본 발명의 다른 실시예의 개요에 대해서 설명한 설명도이다.15 is an explanatory diagram illustrating an outline of another embodiment of the present invention.

도 16은 본 발명의 다른 실시예에 관한 촬상 소자에 티끌이 부착되어 있지 않은 경우의 검사 결과의 일례를 도시한 설명도이다.FIG. 16 is an explanatory diagram showing an example of inspection results when dust is not attached to an image pickup device according to another embodiment of the present invention. FIG.

도 17은 본 발명의 다른 실시예에 관한 촬상 소자에 티끌이 부착되어 있는 경우의 검사 결과의 일례를 도시한 설명도이다.17 is an explanatory diagram showing an example of test results when dust is attached to an image pickup device according to another embodiment of the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

100: 촬상 장치 132: RAM100: imaging device 132: RAM

102, 202: 렌즈 유닛 151: 잠정 티끌 후보 추출부102 and 202: lens unit 151: provisional dust candidate extracting unit

104: 렌즈 캡 152: 잠정 티끌 위치 추출부104: lens cap 152: provisional dust position extraction unit

106: 조리개 154: 티끌 인정부106: aperture 154: dust recognition unit

110: CCD소자 156: 티끌 표시부110: CCD element 156: particle display unit

128: CPU 158: 적정 AE 산출부128: CPU 158: proper AE calculation unit

130: ROM 200: 검사 장치130: ROM 200: inspection device

본 발명은 촬상 장치 및 촬상 방법에 관한 것으로, 보다 상세하게는 촬상 소자에 부착된 티끌의 검출 정밀도가 향상되며 티끌의 부착 위치가 명시되므로 티끌의 제거 작업이 용이하게 수행될 수 있는 촬상 장치 및 촬상 방법에 관한 것이다.The present invention relates to an imaging apparatus and an imaging method, and more particularly, to improve the detection accuracy of dust attached to an imaging element, and to specify the attachment position of the dust, an imaging apparatus and an imaging apparatus in which dust removal can be easily performed. It is about a method.

씨씨디(CCD; charge coupled devices)소자나 씨모스(CMOS; complementary metal oxide semiconductor)소자 등의 고체 촬상 소자를 사용하여 정지 화상이나 동화상을 촬영하는 촬상 장치가 널리 보급되어 있다. CCD소자나 CMOS소자를 사용한 촬상 장치에서도 종래의 은염(銀鹽) 카메라와 같이 렌즈를 착탈하여 상황에 따른 렌즈를 사용할 수 있는 촬상 장치가 시장에 다량 나돌고 있다.Background Art [0002] Imaging apparatuses for photographing still and moving images using solid-state imaging devices such as charge coupled devices (CCD) devices and complementary metal oxide semiconductor (CMOS) devices are widely used. In the imaging device using a CCD device or a CMOS device, a large number of imaging devices are available on the market in which a lens according to a situation can be used by attaching and detaching a lens like a conventional silver salt camera.

그러나 이와 같이 렌즈를 착탈할 수 있는 렌즈 교환식의 촬상 장치에서는 렌즈를 교환할 때에 촬상 소자 위에 티끌이나 먼지(이하, 이들을 「티끌」이라고 총칭한다)가 부착될 우려가 있다. 촬상 소자 위에 티끌이 부착된 상태에서 촬영을 하면 티끌이 부착된 촬상 소자의 화소에는 광이 입사되지 않기 때문에 그 부분이 어둡게 찍혀 버려 화상에 불량이 생긴다는 문제가 있다.However, in the lens interchangeable imaging device which can attach and detach a lens in this way, there is a possibility that dust or dust (hereinafter, referred to collectively as "dust") adheres to the imaging element when the lens is replaced. When photographing in a state where dust is attached on the image pickup device, light is not incident on the pixel of the image pickup device on which the particle is attached, and thus a portion of the image is darkened, resulting in a problem in the image.

촬영시에는 부착된 티끌의 존재를 인지하기 어려우며 촬영 후에 화상을 PC 등으로 표시하거나, 프린터 등의 인쇄 장치로 인쇄했을 때 처음 깨닫는 경우가 많다. 또한 촬상 소자에 부착된 티끌은 눈에 보이지 않는 작은 크기인 것인 경우가 많아, 촬상 소자 등의 부위에 부착된 것인지를 판별하는 것이 곤란하다. 또한 부착된 티끌을 없애려고 억지로 부주의한 작업을 하게 되면 촬상 소자 앞에 구비된 로우 패스 필터를 손상시킬 우려도 있다.When shooting, it is difficult to recognize the presence of attached dust, and it is often realized for the first time when an image is displayed on a PC or the like after shooting or when printed with a printing device such as a printer. In addition, the dust adhered to the image pickup device is often of a small size which is invisible, and it is difficult to determine whether it is attached to a part of the image pickup device or the like. In addition, inadvertent work to remove the adhered dust may damage the low pass filter provided in front of the image pickup device.

그래서 촬영한 화상을 해석하고 촬상 소자에 부착된 티끌의 유무나 티끌의 위치를 검출하여 촬영자가 티끌을 용이하게 제거할 수 있도록 하는 기술이 알려져 있다(특허문헌 1의 촬상 장치 및 촬상 방법3 참조).Therefore, a technique is known in which a photographer can easily remove the dust by analyzing the captured image and detecting the presence or absence of the dust attached to the imaging device (see Patent Document 1 and Imaging Method 3). .

- 특허문헌 1: 일본특허공보 제3461482호-Patent Document 1: Japanese Patent Publication No. 3461482

- 특허문헌 2: 일본특허공개공보 제2001-157087호-Patent Document 2: Japanese Patent Laid-Open No. 2001-157087

- 특허문헌 3: 일본특허공개공보 제2005-341381호-Patent Document 3: Japanese Patent Publication No. 2005-341381

그러나 특허문헌 1에 도시한 방법으로는, 촬상 소자에 부착된 티끌 뿐 아니라 광전 변환 기능을 상실한, 이른바 화소 결함도 티끌이 부착된 경우와 마찬가지로 티끌로 인지해버린다. 화상 결함은 부착 티끌과 달리 제거 작업을 해도 의미가 없고, 제거 작업을 함으로써 도리어 촬상 소자(로우 패스 필터)에 손상을 주는 문제가 있었다.However, in the method shown in Patent Document 1, the so-called pixel defects which lost not only the dust adhered to the imaging element but also the photoelectric conversion function are recognized as dust like dust adhered. Unlike the adhered dust, the image defect is meaningless even if it is removed, and there is a problem of damaging the imaging element (low pass filter) by performing the removal operation.

또한 특허문헌 2에 도시한 방법으로는, 촬영 화상에 표시된 티끌의 위치는 촬상 소자면 위에 실제로 부착된 티끌의 위치와 다르기 때문에, 티끌의 장소를 판별하는 것은 어렵고, 촬상 소자 위의 티끌이 부착되어 있는 위치와는 다른 위치에 대해 제거 작업을 함으로써, 이 방법에서도 도리어 촬상 소자(로우 패스 필터)에 손상을 주는 계기가 된다는 문제가 있었다.Moreover, with the method shown in patent document 2, since the position of the particle displayed on a picked-up image differs from the position of the particle actually attached on the imaging element surface, it is difficult to discriminate the location of the particle, and the particle on the imaging element is attached. There was a problem that the removal operation was performed at a position different from the existing position, thereby causing damage to the imaging element (low pass filter) even in this method.

또한 특허문헌 3에 도시한 방법은, 촬영 화상에서 촬영된 화상 중 동일 부분이 연속적으로 소정의 신호 레벨보다 낮은 경우에 그 부분을 티끌의 부착 부분으로 판단하고 있는데, 이 방법에서는 연속되는 기회가 희박하다는 것을 기대하고 있기 때문에 티끌의 검출 정밀도에 문제가 있고, 또한 특허문헌 1과 같이 화소 결함과의 구별이 곤란하다는 문제가 있었다.Moreover, the method shown in patent document 3 judges that part as a sticking part of the dust when the same part of the image | photographed from the picked-up image is continuously lower than a predetermined signal level, and in this method, a continuous opportunity is rare. Since it is expected that there is a problem in the detection accuracy of dust, and also as patent document 1, there existed a problem that it was difficult to distinguish from a pixel defect.

본 발명의 목적은 촬상 소자에 부착된 티끌의 검출 정밀도를 향상시키고, 티끌의 부착 위치를 명시함으로써 티끌의 제거 작업을 간편화할 수 있는 촬상 장치 및 촬상 방법을 제공하는 데 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide an imaging apparatus and an imaging method that can improve the detection accuracy of dust attached to an imaging element and simplify the removal work of the dust by specifying the attachment position of the dust.

본 발명의 일 관점에 관한 촬상 장치는, 피사체로부터의 입사광의 광량을 조정하는 조리개 기구부를 포함하는 렌즈 유닛과, 렌즈 유닛을 사이에 두고 결상면 위에 결상되는 피사체의 상을 연속적으로 화상 데이터로서 순차적으로 출력하는 촬상부와, 상기 촬상부에 의한 연속 촬상시에 상기 조리개 기구부의 조리개값을 변화시켜 복수 개의 화상들의 촬상이 이루어지도록 하고, 복수 개의 상기 화상들 중에 가장 큰 조리개값을 갖는 제2 화상과 상기 제2 화상 보다 작은 조리개값을 갖는 제1 화상이 상기 화상들에 포함되도록, 피사체로부터의 입사광의 광량을 조정하는 조리개 제어부와, 촬상부에서 순차적으로 출력되는 화상 데이터 중 제2 화상의 화상 데이터의 각 화소의 값을 제2 화상의 화상 데이터를 나타내는 제2 화상의 대표값과 비교하여 결상면 위에 이물질이 부착되어 있는 것으로 예측되는 화소를 잠정 티끌 후보로 추출하는 이물질 부착 예측부와, 이물질 부착 예측부가 추출한 잠정 티끌 후보들이 연속적인 위치에 있으면 잠정 티끌 후보를 잠정 티끌로 추출하고, 동일한 잠정 티끌로 간주되는 부위에 포함되는 화소의 수를 산출하는 화소 위치 검출부와, 화소 위치 검출부에 의해 제2 화상에서 잠정 티끌로 간주된 화소와 동일 위치에 있는 제1 화상의 화소의 값과 제1 화상의 화상 데이터를 나타내는 제1 화상의 대표값을 비교하여 제1 화상에서 잠정 티끌로 간주되는 화소의 수를 산출하고, 제2 화상의 잠정 티끌의 화소의 수와 비교하여 소정값 이상의 화소수의 차이가 있으면, 해당 잠정 티끌을 이물질이 부착되어 있는 티끌로서 판정하는 이물질 판정부를 포함한다.An imaging device according to an aspect of the present invention sequentially includes a lens unit including an aperture mechanism for adjusting the amount of incident light from a subject, and an image of a subject imaged on an imaging surface with the lens unit interposed successively as image data. And a second image having the largest aperture value among the plurality of images so that imaging of a plurality of images is performed by changing an aperture value of the aperture mechanism part during continuous imaging by the imaging unit. And an aperture control unit for adjusting an amount of incident light from a subject so that the first image having an aperture smaller than the second image is included in the images, and an image of the second image among the image data sequentially output from the imaging unit. The imaging surface is compared by comparing the value of each pixel of the data with the representative value of the second image representing the image data of the second image. If the foreign matter attachment prediction unit extracts a pixel predicted to have a foreign matter attached to the tentative dust candidate, and the potential dust candidates extracted from the foreign matter attachment prediction unit are in successive positions, the tentative dust candidate is extracted as the tentative dust, and the same tentative dust is extracted. A pixel position detector that calculates the number of pixels included in a region considered to be a value; and a pixel value of the first image and the value of the pixel of the first image at the same position as the pixel regarded as the provisional dust in the second image by the pixel position detector Comparing the representative value of the first image representing the image data to calculate the number of pixels regarded as the tentative dust in the first image, compared with the number of pixels of the tentative dust of the second image, the difference in the number of pixels more than a predetermined value If present, the foreign matter determination unit for determining the provisional dust as dust having foreign matter attached thereto is included.

상기 구성에 의하면, 렌즈 유닛은 피사체로부터의 영상광을 입사하고, 촬상 부는 렌즈 유닛을 사이에 두고 결상면 위에 결상되는 피사체의 상을, 촬상 소자를 사용하여 연속적으로 화상 데이터로서 순차적으로 출력하고, 조리개 제어부는 렌즈 유닛에 포함되는 조리개 기구부의 조리개값을 변화시켜 피사체로부터의 입사광의 광량을 조정하고, 이물질 부착 예측부는 촬상부에서 순차적으로 출력되는 화상 데이터 중 조리개값이 다른 적어도 2 이상의 화상 데이터에 기초하여 결상면 위에 이물질이 부착되어 있는지 여부를 예측한다. 그 결과, 연속적으로 촬영한 조리개값이 다른 적어도 2 이상의 화상 데이터를 분석함으로써 촬상 소자에 부착된 티끌의 검출 정밀도를 향상시킬 수 있다.According to the above configuration, the lens unit receives the image light from the subject, and the imaging unit sequentially outputs the image of the subject formed on the image forming surface with the lens unit therebetween as image data continuously using the imaging element, The aperture control unit adjusts the light amount of incident light from the subject by changing the aperture value of the aperture mechanism unit included in the lens unit, and the foreign matter attaching prediction unit is adapted to at least two or more image data having different aperture values among the image data sequentially output from the imaging unit. On the basis of this, it is predicted whether foreign matter is attached on the imaging surface. As a result, it is possible to improve the detection accuracy of dust attached to the image pickup device by analyzing at least two or more image data having different aperture values continuously photographed.

삭제delete

상기 구성에 의하면, 화소 위치 검출부는 이물질 부착 예측부의 예측 결과에 기초하여 이물질의 부착이 예측되는 결상면 위의 화소 위치를 검출하고, 이물질 판정부는 각 화상 데이터의 휘도 레벨을 비교하여 소정의 문턱값 이상의 차가 생긴 경우에 화소 위치에 이물질이 부착되어 있다고 판정한다. 그 결과, 각 화상 데이터의 휘도 레벨을 비교함으로써 촬상 소자에 부착된 티끌의 검출 정밀도를 향상시킬 수 있다.According to the above configuration, the pixel position detection unit detects the pixel position on the image plane where the adhesion of the foreign matter is predicted based on the prediction result of the foreign matter adhesion prediction unit, and the foreign matter determination unit compares the luminance level of each image data to a predetermined threshold value. When the above difference occurs, it is determined that the foreign matter is attached to the pixel position. As a result, it is possible to improve the detection accuracy of dust attached to the image pickup device by comparing the luminance levels of the respective image data.

이물질 부착 예측부는, 촬상부에 포함되는 컬러 필터의 각 구성색마다의 제2 화상의 화상 데이터 전체의 휘도 레벨의 평균값을 제2 화상의 대표값으로 산출하고, 제2 화상의 화상 데이터에서의 각 화소의 휘도 레벨이 제2 화상의 평균값 보다 소정값 미만인 경우에 해당 화소를 잠정 티끌 후보로 추출할 수 있다.
또한 이물질 판정부는, 촬상부에 포함되는 컬러 필터의 각 구성색마다의 제1 화상의 화상 데이터 전체의 휘도 레벨의 평균값을 제1 화상의 상기 대표값으로 산출하고, 화소 위치 검출부에 의해 제2 화상에서 잠정 티끌로 간주된 화소와 동일 위치에 있는 제1 화상의 화소의 휘도 레벨이 제1 화상의 평균값 보다 소정값 미만인 경우에 해당 화소를 제1 화상의 잠정 티끌로 추출할 수 있다.
The foreign matter adhesion prediction unit calculates, as a representative value of the second image, the average value of the luminance levels of the entire image data of the second image for each component color of the color filter included in the imaging unit, When the luminance level of the pixel is less than the predetermined value than the average value of the second image, the pixel may be extracted as a potential particle candidate.
In addition, the foreign matter determination unit calculates the average value of the luminance levels of the entire image data of the first image for each of the constituent colors of the color filter included in the imaging unit as the representative value of the first image, and the pixel position detection unit calculates the second image. If the luminance level of the pixel of the first image at the same position as the pixel regarded as the tentative dust is less than the predetermined value than the average value of the first image, the pixel may be extracted as the tentative dust of the first image.

상기 구성에 의하면, 이물질 판정부는 각 화상 데이터에서의 결상면 위의 화소 위치의 휘도 레벨이 모두 평균값의 미만인 경우에, 해당 화소 위치에 이물질이 부착되어 있다고 판정한다. 그 결과, 소정의 조건을 충족시키는 연속된 화소를 잠정적으로 이물질이 부착되어 있는 화소로서 추출하기 때문에, 이물질이 부착되어 있는 화소와 단순한 화소 결함을 구별할 수 있다.According to the above configuration, the foreign matter determination unit determines that the foreign matter is attached to the pixel position when the luminance levels of the pixel positions on the image plane in each image data are all less than the average value. As a result, since successive pixels satisfying the predetermined condition are extracted as the pixels to which foreign matters are temporarily attached, it is possible to distinguish between pixels with foreign matters and simple pixel defects.

삭제delete

상기 구성에 의하면, 이물질 부착 예측부는 촬상부에서 순차적으로 출력되는 화상 데이터 중 조리개 기구부의 조리개값이 가장 클 때의 입사광으로부터 얻어진 화상 데이터를 선택한다. 그 결과, 이물질이 부착되어 있는 화소의 검출 정밀도를 향상시킬 수 있다.According to the above configuration, the foreign matter adhesion prediction unit selects image data obtained from incident light when the aperture value of the aperture mechanism unit is the largest among the image data sequentially output from the imaging unit. As a result, the detection accuracy of the pixel to which the foreign matter adheres can be improved.

상기 촬상 장치는, 상기 이물질 판정부에 의한 판정 결과를 표시하는 표시부를 더 포함할 수 있다. The imaging device may further include a display unit that displays a determination result by the foreign matter determination unit.

상기 구성에 의하면, 표시부는 이물질 판정 수단에 의한 판정 결과를 표시한다. 그 결과 이물질의 부착 결과를 명시함으로써 티끌의 제거 작업을 간편화할 수 있다.According to the said structure, a display part displays the determination result by a foreign material determination means. As a result, the removal of the dust can be simplified by specifying the result of the adhesion of the foreign matter.

상기 표시부는 상기 이물질의 부착 위치를 해당 결상면 위의 촬상영역에 대응하여 표시할 수 있다.The display unit may display the attachment position of the foreign material corresponding to the imaging area on the imaging surface.

상기 구성에 의하면, 표시부는 이물질의 부착 위치를, 해당 결상면 위의 촬상영역에 대응하여 표시한다. 그 결과, 표시된 위치와 실제 이물질의 부착 위치가 대응되어 있기 때문에 이물질의 제거 작업을 보다 간편화할 수 있다.According to the said structure, a display part displays the attachment position of a foreign material corresponding to the imaging area | region on the said imaging surface. As a result, since the displayed position and the attachment position of the foreign matter actually correspond, the removal work of the foreign matter can be simplified more.

본 발명의 일 관점에 의한 촬상 방법은, 피사체로부터의 입사광의 광량을 조정하는 조리개 기구부를 포함하는 렌즈 유닛을 사용하여, 렌즈 유닛을 사이에 두고 촬상부의 결상면 위에 결상되는 피사체의 상을 연속적으로 화상 데이터로서 순차적으로 출력하는 촬상 단계와, 촬상 단계에서의 연속 촬상시에 상기 조리개 기구부의 조리개값을 변화시켜 복수 개의 화상들의 촬상이 이루어지도록 하고, 복수 개의 상기 화상들 중에 조리개값이 가장 큰 제2 화상과 상기 제2 화상 보다 작은 조리개값의 제1 화상이 상기 화상들에 포함되도록, 상기 피사체로부터의 입사광의 광량을 조정하는 조리개 제어 단계와, 촬상 단계에서 순차적으로 출력되는 화상 데이터 중 제2 화상의 화상 데이터의 각 화소의 값을 제2 화상의 화상 데이터를 나타내는 제2 화상의 대표값과 비교하여 결상면 위에 이물질이 부착되어 있는 것으로 예측되는 화소를 잠정 티끌 후보로 추출하는 이물질 부착 예측 단계와, 이물질 부착 예측 단계에서 추출한 잠정 티끌 후보들이 연속적인 위치에 있으면 잠정 티끌 후보를 잠정 티끌로 추출하고, 동일한 잠정 티끌로 간주되는 부위에 포함되는 화소의 수를 산출하는 화소 위치 검출 단계와, 화소 위치 검출 단계에 의해 제2 화상에서 잠정 티끌로 간주된 화소와 동일한 위치에 있는 제1 화상의 화소의 값과 제1 화상의 화상 데이터를 나타내는 제1 화상의 대표값을 비교하여 제1 화상에서 잠정 티끌로 간주되는 화소의 수를 산출하고, 제2 화상의 잠정 티끌의 화소의 수와 비교하여 소정값 이상의 화소수의 차이가 있으면, 해당 잠정 티끌을 이물질이 부착되어 있는 티끌로서 판정하는 이물질 판정 단계를 포함한다.The imaging method according to one aspect of the present invention continuously uses an lens unit including an aperture mechanism portion for adjusting the amount of incident light from an object, and continuously forms an image of a subject imaged on an imaging surface of an imaging portion with a lens unit therebetween. An imaging step of sequentially outputting as image data and a plurality of images in which the aperture value of the aperture mechanism unit is changed during continuous imaging in the imaging step so that imaging of a plurality of images is performed, An aperture control step of adjusting the amount of incident light from the subject so that the second image and the first image having a smaller aperture value than the second image are included in the images, and a second of image data sequentially output in the imaging step. Representative value of the second image representing the value of each pixel of the image data of the image representing the image data of the second image In comparison, the foreign matter adhesion prediction step of extracting the pixels predicted to have foreign matters attached to the image forming surface as potential dust candidates, and the potential dust candidates are extracted as provisional dusts when the potential dust candidates extracted in the foreign matter adhesion prediction step are in successive positions. And a pixel position detection step of calculating the number of pixels included in the site considered to be the same tentative dust, and a pixel of the first image at the same position as the pixel regarded as the tentative dust in the second image by the pixel position detection step. Compares the value of and the representative value of the first image representing the image data of the first image to calculate the number of pixels regarded as the provisional dust in the first image, and compares the number of pixels of the provisional dust of the second image with a predetermined value. If there is a difference in the number of pixels above the value, the foreign matter determination step of judging the provisional dust as dust having foreign matter attached thereto. It includes.

상기 방법에 의하면, 촬상 단계는 피사체로부터의 영상광을 입사하는 렌즈 유닛을 사이에 두고 결상면 위에 결상되는 피사체의 상을 연속적으로 화상 데이터로서 순차적으로 출력하고, 조리개 제어 단계는 렌즈 유닛에 포함되는 조리개 기구부의 조리개값을 변화시켜 피사체로부터의 입사광의 광량을 조정하고, 이물질 부착 예측 단계는 촬상부에서 순차적으로 출력되는 화상 데이터 중 조리개값이 다른 적어도 2 이상의 화상 데이터에 기초하여 결상면 위에 이물질이 부착되어 있는지 여부를 예측한다. 그 결과, 연속적으로 촬영한 조리개값이 다른 적어도 2 이상의 화 상 데이터를 분석함으로써 촬상 소자에 부착된 티끌의 검출 정밀도를 향상시킬 수 있다.According to the method, the imaging step sequentially outputs the image of the subject imaged on the image forming surface successively as image data, with the lens unit incident on the image light from the subject interposed, and the aperture control step being included in the lens unit. The amount of incident light from the subject is adjusted by changing the aperture value of the aperture mechanism unit, and the foreign matter adhesion prediction step is performed based on at least two or more image data having different aperture values among the image data sequentially output from the imaging unit. Predict whether it is attached. As a result, it is possible to improve the detection accuracy of dust attached to the image pickup device by analyzing at least two or more image data having different aperture values continuously photographed.

삭제delete

상기 방법에 의하면, 화소 위치 검출 단계는 이물질 부착 예측 단계에서의 예측 결과에 기초하여 이물질의 부착이 예측되는 결상면 위의 화소 위치를 검출하고, 이물질 판정 단계는 각 화상 데이터의 휘도 레벨을 비교하여 소정의 문턱값 이상의 차가 생긴 경우에 화소 위치에 이물질이 부착되어 있다고 판정한다. 그 결과, 연속적으로 촬영한 각 화상 데이터의 휘도 레벨을 비교함으로써 촬상 소자에 부착된 티끌의 검출 정밀도를 향상시킬 수 있다.According to the method, the pixel position detection step detects the pixel position on the image plane where the adhesion of the foreign matter is predicted based on the prediction result in the foreign matter adhesion prediction step, and the foreign matter determination step compares the luminance level of each image data. In the case where a difference of more than a predetermined threshold occurs, it is determined that foreign matter is attached to the pixel position. As a result, it is possible to improve the detection accuracy of the dust attached to the image pickup device by comparing the luminance levels of the image data photographed continuously.

이물질 부착 예측 단계는, 촬상부에 포함되는 컬러 필터의 각 구성색마다의 제2 화상의 화상 데이터 전체의 휘도 레벨의 평균값을 제2 화상의 대표값으로 산출하고, 제2 화상의 화상 데이터에서의 각 화소의 휘도 레벨이 제2 화상의 평균값 보다 소정값 미만인 경우에 해당 화소를 잠정 티끌 후보로 추출할 수 있다.
또한 이물질 판정 단계는, 촬상부에 포함되는 컬러 필터의 구성색마다의 제1 화상의 화상 데이터 전체의 휘도 레벨의 평균값을 제1 화상의 상기 대표값으로 산출하고, 화소 위치 검출 단계에 의해 제2 화상에서 잠정 티끌로 간주된 화소와 동일 위치에 있는 제1 화상의 화소의 휘도 레벨이 제1 화상의 평균값 보다 소정값 미만인 경우에 해당 화소를 제1 화상의 잠정 티끌로 추출할 수 있다.
The foreign matter adhesion prediction step calculates the average value of the luminance levels of the entire image data of the second image for each component color of the color filter included in the image pickup unit as the representative value of the second image, When the luminance level of each pixel is less than a predetermined value than the average value of the second image, the pixel may be extracted as a potential particle candidate.
In the foreign material determination step, the average value of the luminance levels of the entire image data of the first image for each of the constituent colors of the color filter included in the image pickup unit is calculated as the representative value of the first image, and the second position is determined by the pixel position detection step. When the luminance level of the pixel of the first image at the same position as the pixel regarded as the provisional dust in the image is less than the predetermined value than the average value of the first image, the pixel may be extracted as the provisional dust of the first image.

상기 방법에 의하면, 이물질 판정 단계에서는 각 화상 데이터에서의 결상면 위의 화소 위치의 휘도 레벨이 모두 평균값의 미만인 경우에 해당 화소 위치에 이물질이 부착되어 있다고 판정한다. 그 결과, 소정의 조건을 충족시키는 연속한 화 소를 잠정적으로 이물질이 부착되어 있는 화소로서 추출하기 때문에, 이물질이 부착되어 있는 화소와 단순한 화소 결함을 구별할 수 있다.According to the method, in the foreign matter determination step, it is determined that the foreign matter is attached to the pixel position when the luminance levels of the pixel positions on the image plane in each image data are all less than the average value. As a result, since successive pixels satisfying the predetermined condition are extracted as pixels to which foreign matter is temporarily attached, it is possible to distinguish between pixels with foreign matter attached and simple pixel defects.

삭제delete

상기 방법에 의하면, 이물질 부착 예측 단계에서는 촬상 단계에서 순차적으로 출력되는 화상 데이터 중 조리개 기구부의 조리개값이 가장 클 때의 입사광으로부터 얻어진 화상 데이터를 선택한다. 그 결과, 이물질이 부착되어 있는 화소의 검출 정밀도를 향상시킬 수 있다.According to the above method, in the foreign matter adhesion prediction step, the image data obtained from the incident light when the aperture value of the aperture mechanism part is the largest among the image data sequentially output in the imaging step is selected. As a result, the detection accuracy of the pixel to which the foreign matter adheres can be improved.

상기 촬상 방법은 상기 이물질 판정 단계에 의한 판정 결과를 표시하는 표시 단계를 더 포함할 수 있다. 상기 방법에 의하면, 표시 단계는 이물질 판정 단계에 의한 판정 결과를 표시한다. 그 결과, 티끌의 부착 위치를 명시함으로써 티끌의 제거 작업을 간편화할 수 있다.The imaging method may further include a display step of displaying a determination result by the foreign matter determination step. According to the method, the display step displays the determination result by the foreign matter determination step. As a result, the removal work of the dust can be simplified by specifying the attachment position of the dust.

상기 표시 단계에서는 상기 이물질의 부착 위치를 해당 결상면 위의 촬상영역에 대응하여 표시할 수 있다. In the displaying step, the attachment position of the foreign matter may be displayed corresponding to the imaging area on the imaging surface.

상기 방법에 의하면, 표시 단계에서는 이물질의 부착 위치를, 해당 결상면 위의 촬상영역에 대응하여 표시한다. 그 결과, 표시된 위치와 실제의 이물질의 부착 위치가 대응하고 있기 때문에 이물질의 제거 작업을 보다 간편화할 수 있다.According to the above method, in the display step, the attachment position of the foreign matter is displayed corresponding to the imaging area on the imaging surface. As a result, since the displayed position and the actual attachment position of the foreign matter correspond, the removal work of the foreign matter can be simplified more.

이하, 첨부 도면의 실시예들을 통하여, 본 발명에 관한 촬상장치 및 촬상 방법의 구성과 작용을 상세히 설명한다. 본 명세서 및 도면에서 실질적으로 동일한 기능 구성을 가진 구성 요소에 관해서는 동일한 부호를 붙임으로써 중복 설명을 생략한다.EMBODIMENT OF THE INVENTION Hereinafter, the structure and operation | movement of the imaging device and imaging method which concern on this invention are demonstrated in detail through embodiments of an accompanying drawing. In the specification and drawings, components having substantially the same functional configuration will be omitted by the same reference numerals.

(일 실시예)(One embodiment)

우선, 본 발명의 일 실시예에 관한 촬상 장치 및 촬상 방법에 대해서 설명한다.First, an image capturing apparatus and an image capturing method according to an embodiment of the present invention will be described.

도 1은 본 발명의 일 실시예에 관한 촬상 장치에 대해서 설명한 설명도이다. 이하 도 1을 사용하여 본 발명의 일 실시예에 관한 촬상 장치에 대해서 설명한다.1 is an explanatory diagram for explaining an imaging device according to an embodiment of the present invention. Hereinafter, an imaging apparatus according to an embodiment of the present invention will be described with reference to FIG. 1.

촬상 장치(100)는, 본 발명의 일 실시예에 관한 촬상 장치이다. 촬상 장치(100)는 렌즈 유닛(102)를 장착할 수 있는 구조로 되어 있다. 나아가, 촬상 장치(100)에서 본 발명의 일 실시예에 관한 촬상 방법을 사용하여 티끌을 검사할 때에는, 렌즈 유닛(102)에 광확산 렌즈 캡(104)을 장착해도 좋다. 광확산 렌즈 캡(104)을 사용함으로써 피사체로부터 입사되는 광이 확산되어 보다 효과적으로 티끌을 검출할 수 있다.The imaging device 100 is an imaging device according to an embodiment of the present invention. The imaging device 100 has a structure in which the lens unit 102 can be mounted. Further, when inspecting dust using the imaging method according to the embodiment of the present invention, the imaging device 100 may attach the light diffusing lens cap 104 to the lens unit 102. By using the light diffusing lens cap 104, light incident from a subject can be diffused to detect dust more effectively.

이상, 도 1의 본 발명의 일 실시예에 관한 촬상 장치에 대해서 설명했다. 다음으로, 본 발명의 일 실시예에 관한 촬상 장치의 구성에 대해서 설명한다.In the above, the imaging device which concerns on one Example of this invention of FIG. 1 was demonstrated. Next, the structure of the imaging device which concerns on one Embodiment of this invention is demonstrated.

도 2는 도 1의 촬상 장치의 구성에 대해서 설명한 설명도이다. 이하, 도 2를 사용하여 일 실시예에 관한 촬상 장치의 구성에 대해서 설명한다.FIG. 2 is an explanatory diagram illustrating the configuration of the imaging device of FIG. 1. FIG. Hereinafter, the structure of the imaging device which concerns on an Example using FIG. 2 is demonstrated.

도 2에 도시한 바와 같이, 본 발명의 일 실시예에 관한 촬상 장치(100)는, CCD소자(110)와 앰프 일체형 CDS(correlated double sampling)회로(112)와, A/D변환기(114)와, 화상 입력 콘트롤러(116)와, 화상 신호 처리부(118)와, 압축 처리 부(120)와, 비디오 인코더(122)와, 화상 표시부(124)와, 타이밍 제너레이터(126)와, CPU(central processing unit)(128)와, ROM(read only memory)(130)과, RAM(random access memory)(132)과, 미디어 콘트롤러(134)와, 기록 미디어(136)와, 모터 드라이버(138)와, 셔터 버튼(140)과, 조작부(142)를 포함한다.As shown in FIG. 2, the imaging device 100 according to the embodiment of the present invention includes a CCD element 110, an amplifier integrated CDS (correlated double sampling) circuit 112, and an A / D converter 114. And an image input controller 116, an image signal processor 118, a compression processor 120, a video encoder 122, an image display unit 124, a timing generator 126, and a CPU (central). processing unit (128), read only memory (ROM) 130, random access memory (RAM) 132, media controller 134, recording media 136, motor driver 138, , A shutter button 140, and an operation unit 142.

또한 본 발명의 일 실시예에 관한 촬상 장치(100)가 장착될 수 있는 렌즈 유닛(102)은 조리개(106)와 구동 장치(108)를 포함한다.In addition, the lens unit 102 to which the imaging device 100 according to the embodiment of the present invention may be mounted includes an aperture 106 and a driving device 108.

조리개(106)는 화상을 촬영할 때에 CCD소자(110)에 입사되는 광량을 조절한다. 조리개(106)의 제어는 구동 장치(108)에 의해 수행된다. 본 실시예에서는, 조리개의 범위는 AV(aperture value)3 ∼ AV7(F2.8 ∼ F11) 사이에서 조정이 가능하다. 본 발명에서는 조리개의 범위는 여기에 한정되지 않는다.The aperture 106 adjusts the amount of light incident on the CCD element 110 when the image is captured. The control of the diaphragm 106 is performed by the drive device 108. In the present embodiment, the range of the aperture can be adjusted between AV (aperture value) 3 to AV7 (F2.8 to F11). In the present invention, the range of the aperture is not limited thereto.

CCD소자(110)는, 본 발명의 촬상 소자의 일례로서, 렌즈 유닛(102)으로부터 입사된 광을 전기 신호로 변환하기 위한 소자이다. 본 실시예에서는 전자 셔터에 의해 입사광을 제어하여 전기 신호를 취출하는 시간을 조절하고 있는데, 기계적 셔터를 사용하여 입사광을 제어하여 전기 신호를 취출하는 시간을 조절할 수도 있다. 본 발명의 일 실시예에서는 렌즈 유닛(102) 및 CCD소자(110)로 촬상부가 이루어진다.The CCD element 110 is an example of the imaging element of the present invention and is an element for converting light incident from the lens unit 102 into an electrical signal. In this embodiment, the time for extracting the electric signal by controlling the incident light is controlled by the electronic shutter. The time for extracting the electric signal may be adjusted by controlling the incident light by using the mechanical shutter. In one embodiment of the present invention, the lens unit 102 and the CCD element 110 are formed of an imaging unit.

본 실시예에서는 촬상 소자로서 CCD소자(110)를 사용하고 있는데, 본 발명은 상기 예에 한정되지 않으며, 촬상 소자로서 CCD소자(110) 대신에 CMOS(complementary metal oxide semiconductor)소자를 사용해도 좋고, 또한 다른 이미지 센서를 사용해도 좋다. CMOS소자는, CCD소자보다도 고속으로 피사체의 영상 광을 전기 신호로 변환할 수 있기 때문에, 피사체를 촬영하고 나서 화상 표시부(124)에 화상을 표시하기까지의 시간을 단축할 수 있다.In the present embodiment, the CCD device 110 is used as the imaging device, but the present invention is not limited to the above example, and instead of the CCD device 110, a CMOS (complementary metal oxide semiconductor) device may be used. You can also use other image sensors. Since the CMOS element can convert the video light of the subject into an electrical signal at a higher speed than the CCD element, it is possible to shorten the time from photographing the subject to displaying the image on the image display unit 124.

CDS회로(112)는, CCD소자(110)로부터 출력된 전기 신호의 잡음을 제거하는, 샘플링 회로의 일종인 CDS회로와, 잡음을 제거한 후에 전기 신호를 증폭하는 앰프가 일체가 된 회로이다. 본 실시예에서는 CDS회로와 앰프가 일체가 된 회로를 사용하여 촬상 장치(100)을 구성하고 있는데, CDS회로와 앰프를 각각 회로로 구성해도 좋다.The CDS circuit 112 is a circuit in which a CDS circuit, which is a kind of sampling circuit, which removes noise of an electrical signal output from the CCD element 110, and an amplifier that amplifies the electrical signal after removing the noise, are integrated. In the present embodiment, the imaging device 100 is configured by using a circuit in which the CDS circuit and the amplifier are integrated, but the CDS circuit and the amplifier may be configured as circuits, respectively.

A/D변환기(114)는, CCD소자(110)에 생성된 전기 신호를 디지털 신호로 변환하여 화상의 생(生)데이터(화상 데이터)를 생성하는 것이다.The A / D converter 114 converts the electric signal generated in the CCD element 110 into a digital signal to generate raw data (image data) of the image.

화상 입력 콘트롤러(116)는, A/D변환기(114)에서 생성된 화상의 생데이터(화상 데이터)의 RAM(132)으로의 입력을 제어하는 것이다.The image input controller 116 controls the input of the raw data (image data) of the image generated by the A / D converter 114 to the RAM 132.

화상 신호 처리부(118)는, A/D변환기(114)에 생성된 화상의 생데이터에 대해 광량의 게인 보정이나 화이트 밸런스를 조정하는 것이다.The image signal processing unit 118 adjusts the gain correction and the white balance of the amount of light with respect to the raw data of the image generated by the A / D converter 114.

압축 처리부(120)는, A/D변환기(114)에 생성된 화상을 적절한 형식의 화상 데이터로 압축하는 압축 처리를 한다. 화상의 압축 형식은, 가역 형식이어도 좋고 비가역 형식이어도 좋다. 적절한 형식의 예로서, JPEG(joint photographic experts group)형식이나 JPEG2000형식으로 변환해도 좋다.The compression processing unit 120 performs a compression process of compressing the image generated by the A / D converter 114 into image data of an appropriate format. The compressed format of the image may be a reversible format or an irreversible format. Examples of suitable formats may be converted to the JPEG (joint photographic experts group) format or the JPEG 2000 format.

화상 표시부(124)는, 촬영 조작을 하기 전의 라이브 뷰 표시나, 촬영한 화상의 표시 등을 한다. 화상의 표시 이외에 촬상 장치(100)의 각종 설정 화면의 표시를 해도 좋다. 화상 데이터나 촬상 장치(100)의 각종 정보의 화상 표시부(124)로의 표시는, 비디오 인코더(122)를 사이에 두고 수행된다. 화상 표시부(124)로서 LCD(liquid crystal display)를 사용해도 좋다.The image display unit 124 performs live view display before photographing operation, display of photographed images, and the like. In addition to displaying an image, various setting screens of the imaging device 100 may be displayed. The display of the image data and various kinds of information of the imaging device 100 on the image display unit 124 is performed with the video encoder 122 interposed. An LCD (liquid crystal display) may be used as the image display unit 124.

타이밍 제너레이터(126)는 CCD소자(110)에 타이밍 신호를 입력한다. 타이밍 제너레이터(126)로부터의 타이밍 신호에 의해 셔터 속도가 결정된다. 즉 타이밍 제너레이터(126)로부터의 타이밍 신호에 의해 CCD소자(110)의 구동이 제어되고, CCD소자(110)가 구동되는 시간내에 피사체로부터의 영상광이 입사됨으로써 화상 데이터의 기초가 되는 전기 신호가 생성된다.The timing generator 126 inputs a timing signal to the CCD element 110. The shutter speed is determined by the timing signal from the timing generator 126. That is, the driving of the CCD element 110 is controlled by the timing signal from the timing generator 126, and the electric light that is the basis of the image data is generated by injecting the image light from the subject within the time when the CCD element 110 is driven. Is generated.

CPU(128)는, CCD소자(110)나 CDS회로(112) 등에 대해 신호계의 명령을 수행하거나, 조작부(142)의 조작에 대한 조작계의 명령을 수행한다. 본 실시예에서는 CPU를 하나만 포함하고 있는데, 신호계의 명령과 조작계의 명령을 각각의 다른 CPU에서 수행하도록 해도 좋다.The CPU 128 executes a signal system command to the CCD element 110, the CDS circuit 112, or the like, or executes an operation system command for the operation of the operation unit 142. In this embodiment, only one CPU is included, but the instructions of the signal system and the instruction of the operation system may be executed by each other CPU.

ROM(130)은, 촬상 장치(100)을 제어하기 위한 프로그램이 저장되어 있는 것이다.The ROM 130 stores a program for controlling the imaging device 100.

RAM(132)은, 촬영한 화상을 일시적으로 기억하는 것이다. RAM(132)으로의 화상의 읽고 쓰기는 화상 입력 콘트롤러(116)에 의해 제어된다. RAM(132)으로서 SRAM(static RAM), DRAM(dynamic RAM), SDRAM(synchronous DRAM), FeRAM(ferroelectric RAM), MRAM(magnetoresistive RAM)을 사용해도 좋다.The RAM 132 temporarily stores the captured image. Reading and writing of the image to the RAM 132 are controlled by the image input controller 116. As the RAM 132, a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a ferroelectric RAM (FeRAM), and a magnetoresistive RAM (MRAM) may be used.

기록 미디어(136)는, 촬영한 화상을 기록하는 것이다. 기록 미디어(136)로의 입출력은 미디어 콘트롤러(134)에 의해 제어된다. 기록 미디어(136)에는 플래시 메모리에 데이터를 기록하는 카드형 기억장치인 메모리 카드를 사용할 수 있다.The recording medium 136 records the photographed image. Input / output to the recording medium 136 is controlled by the media controller 134. As the recording medium 136, a memory card which is a card-type storage device for recording data in a flash memory can be used.

모터 드라이버(138)는, 렌즈 유닛(102)에 포함되는 조리개(106)를 동작시키는 구동 장치(108)를 제어한다. 모터 드라이버(138)를 사이에 두고 조리개(106)를 동작시킴으로써 피사체의 광량을 조절한다.The motor driver 138 controls the drive device 108 for operating the aperture 106 included in the lens unit 102. The amount of light of the subject is adjusted by operating the aperture 106 with the motor driver 138 interposed therebetween.

셔터 버튼(140)은, 촬영 조작을 하기 위한 것으로서, 반누름 상태(이하, 셔터 버튼(140)의 반누름 상태를 가리켜 「S1상태」라고도 칭한다)에서 피사체를 합초하고, 완전누름 상태(이하, 셔터 버튼(140)의 완전누름 상태의 것을 「S2상태」라고도 칭한다)에서 피사체를 촬상한다.The shutter button 140 is for photographing operation. The shutter button 140 combines the subject in a half-pressed state (hereinafter, referred to as a half-pressed state of the shutter button 140, also referred to as an "S1 state"), and a fully pressed state (hereinafter, The object in the fully depressed state of the shutter button 140 is also referred to as " S2 state "

조작부(142)에는 촬상 장치(100)의 조작을 수행하거나 촬영시의 각종 설정을 수행하기 위한 부재가 배치되어 있다. 조작부(142)에 배치되는 부재에는, 전원 버튼, 촬영 모드나 촬영 드라이브 모드를 선택하는 십자키 및 선택 버튼 등이 배치된다.In the operation unit 142, a member for performing an operation of the imaging apparatus 100 or performing various settings during shooting is disposed. On the member disposed on the operation unit 142, a power button, a cross key for selecting a shooting mode or a shooting drive mode, a selection button, and the like are disposed.

이상, 도 2를 사용하여 본 발명의 일 실시예에 관한 촬상 장치의 구성에 대해서 설명했다. 다음으로, 본 발명의 일 실시예에 관한 촬상 장치의 CPU의 구성에 대해서 설명한다.In the above, the structure of the imaging device which concerns on one Example of this invention was demonstrated using FIG. Next, the configuration of the CPU of the imaging device according to the embodiment of the present invention will be described.

도 3은 도 1의 CPU의 구성에 대해서 설명한 설명도이다. 이하, 도 3을 사용하여 본 발명의 일 실시예에 관한 촬상 장치의 CPU의 구성에 대해서 설명한다.3 is an explanatory diagram illustrating the configuration of the CPU of FIG. 1. Hereinafter, the structure of the CPU of the imaging device which concerns on one Embodiment of this invention using FIG. 3 is demonstrated.

도 3에 도시한 바와 같이, 본 발명의 일 실시예에 관한 CPU(128)는, 잠정 티끌 후보 추출부(151)와, 잠정 티끌 위치 추출부(152)와, 티끌 인정부(154)와, 티끌 표시부(156)와, 적정 AE 산출부(158)를 포함하여 구성된다.As shown in FIG. 3, the CPU 128 according to an embodiment of the present invention includes a provisional particle candidate extraction unit 151, a provisional particle position extraction unit 152, a particle recognition unit 154, The particle | grain display part 156 and the appropriate AE calculation part 158 are comprised.

잠정 티끌 후보 추출부(151)는, 본 발명의 이물질 부착 예측부의 일례로서, 촬영한 화상을 해석함으로써 CCD소자(110) 위에 티끌이 부착되어 있는지 아닌지 판별하고, 티끌이 부착되어 있으면 판별한 부분을 잠정 티끌 후보로서 추출하는 것이다.The temporary dust candidate extracting unit 151 is an example of the foreign matter adhesion predicting unit according to the present invention. The potential dust candidate extracting unit 151 analyzes the photographed image to determine whether dust is attached on the CCD element 110, and if the dust is attached, determines the detected portion. It is extracted as a potential dust candidate.

잠정 티끌 위치 추출부(152)는, 본 발명의 화소 위치 검출부의 일례로서, 촬영한 화상 중 티끌이 부착되어 있는 것이 예측되는 CCD소자(110) 위의 화소 위치를 취득한다. 촬영한 화상 중 티끌이라고 생각되는 부위를 추출하는 방법에 관해서는 후술한다.The provisional particle position extraction unit 152 is an example of the pixel position detection unit of the present invention, and acquires the pixel position on the CCD element 110 in which the particles are predicted to adhere to the captured image. A method of extracting a portion of the photographed image that is considered to be dust will be described later.

티끌 인정부(154)는, 본 발명의 이물질 판정부의 일례로서, 잠정 티끌 위치 추출부(152)에서 추출한 티끌이 부착되어 있는 것으로 예측되는 부위에서, 실제로 티끌이 부착되어 있는 부위를 인정한다. 티끌이 부착되어 있는 부위를 인정하는 방법에 관해서는 후술하기로 한다.The dust recognition part 154 recognizes the site | part which a particle actually adheres to in the site | part predicted that the particle extracted by the provisional particle position extraction part 152 is affixed as an example of the foreign material determination part of this invention. The method of recognizing the site | part to which dirt adheres is mentioned later.

티끌 표시부(156)는, 티끌 인정부(154)에서 인정한 티끌이 부착되어 있는 부위를 화상 표시부(124)에 표시시키는 것이다. 티끌이 부착되어 있는 부위를 화상 표시부(124)에 표시시킬 때에는, CCD소자(110)에 실제로 티끌이 부착되어 있는 위치에 대응한 장소에 표시시키도록 해도 좋다.The particle | grain display part 156 makes the image display part 124 display the site | part by which the particle | grains recognized by the particle | grain recognition part 154 adhere. When the portion where the dust is attached is displayed on the image display portion 124, the CCD element 110 may be displayed at a position corresponding to the position where the dust is actually attached.

적정 AE 산출부(158)는, 피사체를 촬영할 때에 촬상 장치(100)에 자동 노광을 수행하여 EV(exposure value)값을 취득한다. 취득한 EV값에 기초하여 적정한 노광 시간 및 셔터 속도의 조가 정해진다. EV값은, 조리개값이 F1, 셔터 속도가 1초일 때 적절한 노출이 얻어지는 광량을 EV=0으로 하고, 조리개값이나 셔터 속도를 변화시킴으로써 EV값이 변화한다. EV값은, F를 조리개값, T를 셔터 속도로 하여 EV=log2(F2/T)로 구할 수 있다. 따라서, 같은 조리개값으로는 셔터 속도가 고속이 되면 될수록 EV값이 상승하고, 같은 셔터 속도에서는 조리개값을 크게 하면 할수록 EV값이 상승한다.The appropriate AE calculation unit 158 performs automatic exposure to the imaging device 100 when photographing a subject to obtain an EV (exposure value) value. The appropriate exposure time and the shutter speed are determined based on the acquired EV value. As for the EV value, when the aperture value is F1 and the shutter speed is 1 second, the amount of light to obtain appropriate exposure is set to EV = 0, and the EV value is changed by changing the aperture value and the shutter speed. The EV value can be obtained by EV = log 2 (F 2 / T) with F as the aperture value and T as the shutter speed. Therefore, with the same aperture value, the higher the shutter speed, the higher the EV value. At the same shutter speed, the larger the aperture value, the higher the EV value.

이상, 도 3을 사용하여 본 발명의 일 실시예에 관한 CPU에 대해서 설명했다. 다음으로, 본 발명의 일 실시예에 관한 촬상 방법에 대해서 설명한다.In the above, the CPU which concerns on one Embodiment of this invention was demonstrated using FIG. Next, an imaging method according to an embodiment of the present invention will be described.

도 4는 본 발명의 일 실시예에 관한 촬상 방법에 대해서 설명한 흐름도이다. 이하, 도 4를 사용하여 본 발명의 일 실시예에 관한 촬상 방법에 대해서 설명한다.4 is a flowchart illustrating an image pickup method according to an embodiment of the present invention. Hereinafter, the imaging method which concerns on one Embodiment of this invention using FIG. 4 is demonstrated.

우선, 조작부(142)를 조작하여 촬영 모드를 티끌 촬영 모드로 설정한다. 티끌 촬영 모드로 설정하여 촬영함으로써 CCD소자(110)에 부착된 티끌을 검출한다. 촬영 모드를 티끌 촬영 모드로 설정하면, 셔터 버튼(140)이 눌려 있는지 아닌지 CPU(128)로 판단한다(단계 S110). 셔터 버튼(140)이 눌려 있지 않으면 단계 S110으로 되돌아와 셔터 버튼(140)의 누름 판단 처리를 반복한다. 한편, 셔터 버튼(140)이 눌려 있으면, 적정 AE 산출부(158)가 적정 AE 산출부(158) 셔터 속도 및 조리개를 결정하기 위해 측광 처리를 하여 적정 노출이 되는 노출값(EV0)을 구한다(단계 S120). 측광 처리를 한 결과, 노출값이 티끌 촬영 모드에서의 적절한 노출 연동 범위 내에 있는지 아닌지 판별한다(단계 S130).First, the operation unit 142 is operated to set the shooting mode to the mote shooting mode. The dust adhered to the CCD element 110 is detected by photographing by setting to the dust photographing mode. If the shooting mode is set to the mote shooting mode, the CPU 128 determines whether the shutter button 140 is pressed or not (step S110). If the shutter button 140 is not pressed, the process returns to step S110 to repeat the pressing determination process of the shutter button 140. On the other hand, if the shutter button 140 is pressed, the appropriate AE calculation unit 158 performs metering processing to determine the appropriate AE calculation unit 158 shutter speed and aperture to obtain an exposure value EV0 for proper exposure (step). S120). As a result of the photometric processing, it is determined whether or not the exposure value is within an appropriate exposure interlocking range in the particle photographing mode (step S130).

본 실시예에서 티끌의 검출에 영향을 미치지 않기 위한 셔터 속도의 범위는 TV5 내지 TV10(1/32 초 ∼ 1/1024초)의 범위에서 미리 정해져 있다. 또한 본 실시예에서는, 조리개(106)의 조리개 최소 변동폭을 AV2로 하고 있다. 따라서 본 실시 예에서는, 티끌 촬영 모드에서의 노출 연동 범위는 10(AV3+AV2+TV5) 내지 16(AV8-AV2+TV10)이 되고, 적정 노출이 되는 노출값(EV0)의 범위는 티끌 촬영 모드에서의 노출 연동 범위부터 10≤EV0≤16이 된다. 따라서 EV0<10 또는 EV0>16의 경우에는, 티끌 촬영 불가로서 노출이 범위 밖이라는 내용을 화상 표시부(124)에 표시하고(단계 S240) 처리를 종료한다. 셔터 속도의 범위와 조리개의 최소 변동폭은 상기 예에 한정되지 않는다.In the present embodiment, the range of the shutter speed for not affecting the detection of dust is predetermined in the range of TV5 to TV10 (1/32 second to 1/1024 second). In the present embodiment, the minimum aperture fluctuation range of the diaphragm 106 is AV2. Therefore, in the present embodiment, the exposure interlocking range in the mote shooting mode is 10 (AV3 + AV2 + TV5) to 16 (AV8-AV2 + TV10), and the range of the exposure value EV0 at which the appropriate exposure is obtained in the mote shooting mode. From the exposure interlocking range of 10≤EV0≤16. Therefore, in the case of EV0 < 10 or EV0 > 16, the image display unit 124 indicates that the exposure is out of range because the dust is not photographed (step S240), and the processing ends. The range of the shutter speed and the minimum fluctuation range of the aperture are not limited to the above examples.

측광 처리를 수행한 결과, 노출값(EV0)의 범위가 10≤EV0≤16이었던 경우, 조리개값과 셔터 속도를 구한다. 처음으로 조리개를 연 경우의 촬영(이하, 조리개를 연 경우의 촬영을 「제1 촬영」이라고도 칭한다)을 수행하기 위해 조리개값과 셔터 속도를 구한다(단계 S140). 조리개값과 셔터 속도는 프로그램선도를 사용하여 산출한다. 도 5는 본 실시예에 관한 조리개를 연 경우의 조리개값과 셔터 속도의 산출에 사용하는 프로그램선도의 일례를 도시한 설명도이다. 예를 들면, 측광 처리를 수행한 결과, 노출값(EV0)이 10인 경우에는, 셔터 속도(TV)를 7(1/128초), 조리개값(AV)을 3(F2.8)로 설정한다. 또한 측광 처리를 한 결과, 복수의 셔터 속도와 조리개값을 취할 수 있는 노출값인 경우에는, 도 5에 도시한 프로그램선도의 검은 동그라미 부분을 채용한다. 예를 들면, 노출값(EV0)이 13인 경우에는 셔터 속도(TV)를 10(1/1024초), 조리개값(AV)를 3(F2.8)으로 설정한다.As a result of performing the metering process, when the exposure value EV0 is in the range 10 ≦ EV0 ≦ 16, the aperture value and the shutter speed are obtained. The aperture value and the shutter speed are obtained in order to perform shooting when the aperture is opened for the first time (hereafter, shooting when the aperture is opened) is also referred to as "first shooting" (step S140). The aperture value and the shutter speed are calculated using the program diagram. 5 is an explanatory diagram showing an example of a program diagram used to calculate the aperture value and shutter speed when the aperture according to the present embodiment is opened. For example, when the exposure value EV0 is 10 as a result of the metering processing, the shutter speed TV is set to 7 (1/128 seconds) and the aperture value AV is set to 3 (F2.8). . As a result of the photometric processing, when the exposure value can take a plurality of shutter speeds and aperture values, the black circled portion of the program diagram shown in FIG. 5 is employed. For example, when the exposure value EV0 is 13, the shutter speed TV is set to 10 (1/1024 seconds) and the aperture value AV is set to 3 (F2.8).

셔터 속도와 조리개값의 산출이 끝나면, 산출한 셔터 속도와 조리개값을 사용하여 제1 촬영을 한다(단계 S150). 제1 촬영에 의해 촬영한 화상(이하, 제1 촬영에 의해 촬영한 화상을 「제1 화상」이라고도 칭한다)은 RAM(132)에 일시적으로 보 존한다.After the calculation of the shutter speed and the aperture value is finished, first shooting is performed using the calculated shutter speed and the aperture value (step S150). An image photographed by the first photographing (hereinafter, also referred to as an "first image" is photographed by the first photographing) is temporarily stored in the RAM 132.

제1 촬영이 완료되면, 계속해서 조리개를 조른 경우의 촬영(이하, 조리개를 조른 경우의 촬영을 「제2 촬영」이라고도 칭한다)을 수행하기 위해 조리개값과 셔터 속도를 구한다(단계 S160). 조리개값과 셔터 속도는, 제1 촬영시와 같이 프로그램선도를 사용하여 산출한다. 도 6은 조리개를 조른 경우의 조리개값과 셔터 속도의 산출에 사용하는 프로그램선도의 일례를 도시한 설명도이다. 예를 들면, 측광 처리를 수행한 결과, 노출값(EV0)이 10인 경우에는 셔터 속도(TV)를 5(1/32초), 조리개값(AV)을 5(F5.6)로 설정한다. 또한 제1 촬영때와 같이, 측광 처리를 한 결과, 복수의 셔터 속도와 조리개값을 취할 수 있는 노출값인 경우에는, 도 6에 도시한 프로그램선도의 검은 동그라미 부분을 채용한다. 예를 들면, 노출값(EV0)이 12인 경우에는, 셔터 속도(TV)를 7(1/128초), 조리개값(AV)를 5(F5.6)로 설정한다.When the first photographing is completed, the aperture value and the shutter speed are obtained to perform photographing when the aperture is squeezed (hereinafter, referred to as "second photographing" when the aperture is squeezed) (step S160). The aperture value and the shutter speed are calculated using the program diagram as in the first photographing. FIG. 6 is an explanatory diagram showing an example of a program diagram used to calculate the aperture value and the shutter speed when the aperture is cut. For example, as a result of performing the metering process, when the exposure value EV0 is 10, the shutter speed TV is set to 5 (1/32 seconds) and the aperture value AV is set to 5 (F5.6). As in the case of the first photographing, as a result of performing the photometric processing, when the exposure value can take a plurality of shutter speeds and aperture values, the black circled portion of the program diagram shown in FIG. 6 is employed. For example, when the exposure value EV0 is 12, the shutter speed TV is set to 7 (1/128 seconds) and the aperture value AV to 5 (F5.6).

셔터 속도와 조리개값의 산출이 끝나면 산출한 셔터 속도와 조리개값을 사용하여 제2 촬영을 한다(단계 S170). 제2 촬영에 의해 촬영한 화상(이하, 제2 촬영에 의해 촬영한 화상을 「제2 화상」이라고도 칭한다)도, 제1 화상과 마찬가지로 RAM(132)에 일시적으로 보존한다.After calculating the shutter speed and the aperture value, the second photographing is performed using the calculated shutter speed and the aperture value (step S170). An image captured by the second photographing (hereinafter, also referred to as an "second image" is photographed by the second photographing) is also temporarily stored in the RAM 132 similarly to the first image.

이와 같이 조리개를 연 경우와 조른 경우의 촬영을 하는 이유는, 촬상 소자에 부착된 티끌의 판별을 용이하게 하기 위함이다. 도 7a 및 7b는 본 발명의 일 실시예에 관한 촬상 소자에 티끌이 부착된 경우에 촬영을 한 경우의 촬영 화상의 일례를 도시한 설명도이다. 도 7a는 조리개를 졸여서 촬영한 경우의 화상의 일례를 도시하고, 도 7b는 조리개를 개방하여 촬영한 경우의 화상의 일례를 도시한다.The reason why the photographing is performed when the aperture is opened or when it is narrowed in this manner is to facilitate the determination of the dust attached to the image pickup device. 7A and 7B are explanatory diagrams showing an example of a picked-up image in the case of photographing when dust is attached to the image pickup device according to the embodiment of the present invention. FIG. 7A shows an example of the image when the aperture is taken by shooting, and FIG. 7B shows an example of the image when the aperture is taken by shooting.

조리개를 연 상태에서 촬영을 하면 합초되어 있는(초점이 맞춰져 있는) 피사체 이외에는 흐릿하게 비치고, 조리개를 압축한 상태에서 촬영을 하면 합초되어 있는 피사체 이외도 확실하게 비친다. 촬상 소자에 티끌이 부착되어 있는 경우도 마찬가지로 조리개를 압축한 상태에서 촬영을 하면 도 7의(a)와 같이 촬상 소자에 부착된 티끌도 확실하게 비치고, 조리개를 연 상태에서 촬영을 하면, 도 7의 (b)와 같이 촬상 소자에 부착된 티끌은 흐릿하게 비친다. 본 실시예에서는 이와 같은 2종류의 화상을 사용하여 티끌이 부착되어 있는 장소를 특정한다.Shooting with the aperture open will blur other than the focused subject, while shooting with the aperture compressed will surely illuminate the subject. Similarly, in the case where dust is attached to the image pickup device, if the image is captured while the aperture is compressed, the particle attached to the image pickup device is reliably reflected as shown in FIG. 7A, and when the image is captured while the aperture is opened, FIG. As shown in (b), dust adhered to the image pickup device is blurred. In the present embodiment, such two types of images are used to specify the place where the particles are attached.

여기에서 제1 촬영 및 제2 촬영은 같은 대상에 대해 수행한다. 또한 촬영하는 대상은, 티끌의 추출 정밀도를 향상시키기 위해 흰색이나 회색 등의 밝은 색을 갖는 것이 바람직하다.Here, the first shooting and the second shooting are performed on the same object. The object to be photographed preferably has a bright color such as white or gray in order to improve the extraction accuracy of the dust.

제2 촬영이 종료되면, 잠정 티끌 위치 추출부(152)가 촬영한 제2 화상에서, 티끌이 부착되어 있는 것이 예측되는 화소 위치를 취득하는 잠정 티끌 추출 처리를 한다(단계 S180). 이하, 본 발명의 일 실시예에 관한 잠정 티끌 추출 처리에 대해서 상세히 설명한다.When the second shooting is finished, in the second image picked up by the tentative dust position extraction unit 152, a tentative dust extraction process of acquiring the pixel position where dust is expected to be attached is performed (step S180). Hereinafter, the provisional dust extraction process according to an embodiment of the present invention will be described in detail.

본 발명의 일 실시예에서는, 잠정 티끌의 추출은, 단계 S170에서 촬영한 제2 화상을 분석함으로써 수행한다. 최초로 제2 화상을 분석하여 잠정 티끌 후보를 추출하는 처리를 하고, 계속해서 잠정 티끌 후보의 추출 결과로부터 연속적인 위치에 있는 잠정 티끌 후보를 잠정 티끌로서 추출하는 처리를 한다. 본 발명의 일 실시예에서는, 잠정 티끌 후보의 추출은 잠정 티끌 후보 추출부(151)가 수행하고 잠정 티끌의 추출은 잠정 티끌 위치 추출부(152)가 수행한다.In one embodiment of the present invention, the extraction of the temporary dust is performed by analyzing the second image photographed in step S170. A process of first analyzing the second image to extract the tentative dust candidate is performed, and then a process of extracting the tentative dust candidate at a continuous position as the tentative dust from the extraction result of the tentative dust candidate. In one embodiment of the present invention, the extraction of the provisional dust candidate is performed by the provisional dust candidate extraction unit 151 and the extraction of the provisional dust is performed by the provisional dust location extraction unit 152.

도 8은 본 발명의 일 실시예에 관한 CCD소자(110)의 컬러 필터의 배열에 대해서 설명한 설명도이다. 도 8에 도시한 바와 같이, 본 발명의 일 실시예에 관한 CCD소자(110)의 컬러 필터는, 빨강(R), 녹색(G), 청색(B)의 3개의 원색을 가지고 그 배열은 베이어 방식(bayer pattern)이다.8 is an explanatory diagram for explaining the arrangement of the color filters of the CCD element 110 according to the embodiment of the present invention. As shown in Fig. 8, the color filter of the CCD element 110 according to the embodiment of the present invention has three primary colors of red (R), green (G), and blue (B), and the arrangement is Bayer. Bayer pattern.

도 9는 본 발명의 일 실시예에 관한 잠정 티끌 후보 추출 처리에 대해서 설명하는 흐름도로서, 도 4의 잠정 티끌 후보 추출 처리(단계 S175)에 대해서 상세히 설명하는 것이다. 이하, 도 9를 사용하여 본 발명의 일 실시예에 관한 잠정 티끌 후보 추출 처리에 대해서 설명한다.Fig. 9 is a flowchart for explaining the provisional particle candidate extraction process according to the embodiment of the present invention, and the provisional particle candidate extraction process (step S175) in Fig. 4 will be described in detail. Hereinafter, the tentative dust candidate extraction process according to an embodiment of the present invention will be described with reference to FIG. 9.

최초로, 조리개(106)를 졸라 촬영한 제2 화상을 분석하여 티끌의 유무 및 티끌이 부착되어 있다고 생각되는 위치를 찾는다. 우선, CCD소자(110)의 컬러 필터 각 색의 평균 신호 레벨을 산출한다(단계 S210). 산출한 RGB 각 색의 평균값을 각각 Rav, Gav, Bav라고 한다.First, by analyzing the second image taken by shooting the diaphragm 106, the presence or absence of dust and the position where the dust is considered to be attached are found. First, the average signal level of each color of the color filter of the CCD element 110 is calculated (step S210). The average value of each calculated RGB color is called Rav, Gav, and Bav, respectively.

각 색의 평균값의 산출이 완료되면, 계속해서 각 화소의 신호 레벨과, 산출한 각 화소에 대응하는 각 색의 화소 내 평균 신호 레벨을 CCD소자(110) 위의 모든 화소에서 비교한다. 그리고 각 화소의 신호 레벨과 평균 신호 레벨과의 차이가 소정 값 이상이면, 그 화소에는 티끌이 부착되어 있는 것이 예측된다고 판단하여 잠정 티끌 후보로서 추출한다.When calculation of the average value of each color is completed, the signal level of each pixel and the intra-pixel average signal level of each color corresponding to each computed pixel are then compared in all the pixels on the CCD element 110. When the difference between the signal level and the average signal level of each pixel is equal to or greater than a predetermined value, it is determined that particles are attached to the pixel, and extracted as a potential particle candidate.

본 발명의 일 실시예에서는, 우선 잠정 티끌 위치 추출부(152)가 변수의 초기화를 수행한다(단계 S220). 본 실시예에서는, 잠정 티끌 위치 추출부(152)는 n 및 count의 2종류의 변수를 초기화한다. 변수 n은 화소의 번호를 나타내고, 변수 count는 잠정 티끌 후보로 간주된 화소의 수를 나타낸다. n의 값의 범위는 0∼(모든 화소수-1)이다. 다음으로, n의 값이 CCD소자(110)의 모든 화소의 수의 미만인지 아닌지를 판단한다(단계 S230). n의 값이 CCD소자(110)의 모든 화소의 수 미만일 경우에는, 그 화소가 잠정 티끌인지 아닌지 판단한다(단계 S240). 구체적으로는, 예를 들면 그 n의 값에 해당하는 화소의 신호 레벨이, 그 화소에 대응하는 각 색의 화소 내 평균 신호 레벨보다 소정 값의 미만인지 아닌지를 판단한다.In one embodiment of the present invention, first, the temporary dust position extractor 152 performs initialization of the variable (step S220). In this embodiment, the provisional particle position extraction unit 152 initializes two types of variables, n and count. The variable n indicates the number of pixels, and the variable count indicates the number of pixels considered as potential dust candidates. The value of n ranges from 0 to (all pixels number-1). Next, it is determined whether or not the value of n is less than the number of all the pixels of the CCD element 110 (step S230). If the value of n is less than the number of all the pixels of the CCD element 110, it is judged whether or not the pixel is tentative dust (step S240). Specifically, for example, it is determined whether the signal level of the pixel corresponding to the value of n is less than a predetermined value than the average signal level in the pixels of each color corresponding to the pixel.

본 발명의 일 실시예에서는, 이하의 수학식 1 내지 수학식 3에 도시한 식에 의해 각 화소의 신호 레벨이 그 화소의 색에 대응하는 화소 내 평균 신호 레벨보다 소정 값의 미만인지의 여부를 판단한다. 컬러 필터의 색이 R인 경우에는 수학식 1에 의해, 칼라 필터의 색이 B인 경우는 수학식 2에 의해, 컬러 필터의 색이 G인 경우에는 수학식 3에 의해 판단한다.In one embodiment of the present invention, whether the signal level of each pixel is less than a predetermined value than the average signal level in the pixel corresponding to the color of the pixel is expressed by the following equations (1) to (3). To judge. When the color of the color filter is R, it is determined by Equation 1, when the color of the color filter is B, by Equation 2, and when the color of the color filter is G, by Equation 3.

Rav - Pn > RstRav-Pn> Rst

Bav - Pn > BstBav-Pn> Bst

Gav - Pn > GstGav-Pn> Gst

본 발명의 일 실시예에서는, 해당 화소의 신호 레벨이 해당 화소의 색에 대응하는 화소 내 평균 신호 레벨보다 소정 값의 미만인 경우에는, 그 화소를 잠정 티끌 후보로서 추출한다. 본 실시예에서는, 잠정 티끌 위치 추출부(152)는 그 때의 변수 n의 값을 기록하기 위해 배열 변수 DD[count]에 기록한다(단계 S250). 그리고 변수 count의 값을 하나 증가시키고(단계 S260), 또한 변수 n의 값을 하나 증가시켰다(단계 S270). 한편, 해당 화소의 신호 레벨이 해당 화소의 색에 대응하는 화소 내 평균 신호 레벨보다 소정 값의 미만이 아닌 경우에는, 직접 단계 S270의 처리로 이동한다.In an embodiment of the present invention, when the signal level of the pixel is less than a predetermined value than the average signal level in the pixel corresponding to the color of the pixel, the pixel is extracted as a potential particle candidate. In this embodiment, the provisional particle position extracting unit 152 records in the array variable DD [count] in order to record the value of the variable n at that time (step S250). Then, the value of variable count is increased by one (step S260), and the value of variable n is increased by one (step S270). On the other hand, if the signal level of the pixel is not less than the predetermined value than the average signal level in the pixel corresponding to the color of the pixel, the process moves directly to step S270.

잠정 티끌 위치 추출부(152)는, 상기 일련의 처리를 모든 화소에 대해 수행하고, 단계 S230에서 n의 값이 CCD소자(110)의 모든 화소의 수의 미만이 아닌 경우, 즉 n의 값이 모든 화소의 수와 같아진 경우에는 처리를 종료한다.The provisional particle position extraction unit 152 performs the above series of processes on all pixels, and if the value of n is not less than the number of all pixels of the CCD element 110 in step S230, that is, the value of n If the number is the same as all the pixels, the process ends.

이상, 도 9를 사용하여 본 발명의 일 실시예에 관한 잠정 티끌 후보의 추출 처리에 대해서 설명했다. 다음으로, 본 발명의 일 실시예에 관한 잠정 티끌의 추출 처리에 대해서 설명한다.In the above, the extraction process of the tentative particle candidate which concerns on one Example of this invention was demonstrated. Next, the extraction process of the temporary dust concerning one Example of this invention is demonstrated.

도 10은 본 발명의 일 실시예에 관한 잠정 티끌의 추출 처리에 대해서 설명하는 흐름도로서, 도 4의 잠정 티끌 추출 처리(단계 S180)에 대해서 상세히 설명하는 것이다. 이하, 도 10을 사용하여 본 발명의 일 실시예에 관한 잠정 티끌의 추출 처리에 대해서 설명한다.FIG. 10 is a flowchart for explaining a process for extracting provisional dust according to an embodiment of the present invention, and the provisional dust extraction process (step S180) in FIG. 4 will be described in detail. Hereinafter, the extraction process of the temporary dust concerning one Example of this invention is demonstrated using FIG.

본 발명의 일 실시예에 관한 잠정 티끌의 추출 처리에서는, 최초로 잠정 티끌 위치 추출부(152)가 변수 k, cc, count, group, cg를 초기화한다(단계 S310). 계속해서 변수 k의 값이 취득한 잠정 티끌 후보의 수 미만인지 아닌지 판단한다(단계 S312). 변수 k의 값이 취득한 잠정 티끌 후보의 수 미만인 경우에는, 또한 변수 cc의 수가 취득한 잠정 티끌 후보의 수 미만인지 아닌지 판단한다(단계 S314).In the tentative dust extraction process according to the embodiment of the present invention, the tentative dust position extraction unit 152 initially initializes the variables k, cc, count, group, and cg (step S310). Subsequently, it is determined whether or not the value of the variable k is less than the number of acquired potential candidates (step S312). If the value of the variable k is less than the number of acquired temporary candidates, it is further determined whether the number of variables cc is less than the number of acquired potential candidates (step S314).

잠정 티끌 위치 추출부(152)는, 변수 cc의 수가 취득한 잠정 티끌 후보의 수 미만인 경우에는, 잠정 티끌 후보의 추출 처리에 잠정 티끌 후보로서 추출한 화소와 인접한 위치에 잠정 티끌 후보가 존재하는지 아닌지 판단한다. 본 발명의 일 실시예에서는, 인접한 위치에 잠정 티끌 후보가 있는지 여부의 판단은, 구체적으로는 배열 변수 DD[k]와 DD[cc]가 인접해 있는지 여부에 의해 수행한다(단계 S316). 배열 변수 DD[k]와 DD[cc]가 인접해 있지 않으면, 잠정 티끌 위치 추출부(152)는 변수 cc의 값을 하나 증가시켜(단계 S318), 다시 한 번 변수 cc의 수가 취득한 잠정 티끌 후보의 수 미만인지 아닌지 판단한(단계 S314) 후에 배열 변수 DD[k]와 DD[cc]가 인접해 있는지 여부를 처리한다.The tentative dust position extracting unit 152 determines whether the tentative dust candidate exists at a position adjacent to the pixel extracted as the tentative dust candidate in the process of extracting the tentative dust candidate when the number of variables cc is less than the number of the tentative dust candidates acquired. . In one embodiment of the present invention, the determination of whether there is a temporary dust candidate at an adjacent position is performed specifically by whether the array variables DD [k] and DD [cc] are adjacent (step S316). If the array variables DD [k] and DD [cc] are not adjacent to each other, the tentative dust position extraction unit 152 increases the value of the variable cc by one (step S318), and the tentative dust candidate for which the number of variables cc is once again acquired. After determining whether or not the number is less than (step S314), it is processed whether or not the array variables DD [k] and DD [cc] are adjacent to each other.

그리고 잠정 티끌 후보로서 추출한 화소와 인접한 위치에 잠정 티끌 후보가 존재한 경우에는, 잠정 티끌 위치 추출부(152)는 그 화소를 잠정 티끌로서 기록한다. 본 발명의 일 실시예에서는, 구체적으로는 배열 변수 DD[k]와 DD[cc]가 인접해 있는 경우에는, 그 때의 변수 k의 값을 배열 변수 DUST[count]로 기록한다(단계 S320).When there is a potential dust candidate at a position adjacent to the pixel extracted as the potential dust candidate, the potential dust position extracting unit 152 records the pixel as the temporary dust. In one embodiment of the present invention, specifically, when the array variables DD [k] and DD [cc] are adjacent to each other, the value of the variable k at that time is recorded as the array variable DUST [count] (step S320). .

잠정 티끌 위치 추출부(152)는, 잠정 티끌로서 화소를 기록하면 기록한 화소를 잠정 티끌의 집합 단위로 더 기록한다. 구체적으로는, 본 발명의 일 실시예에서는, 잠정 티끌 위치 추출부(152)는 변수 k의 값이 변수 cc의 값보다 큰지 아닌지 판단한다(단계 S332). 판단 결과, 변수 k의 값이 변수 cc의 값보다 큰 경우에는, 잠정 티끌 위치 추출부(152)는 배열 변수 CD[count]에 CD[cc]의 값을 저장하고(단계 S324), 변수 k의 값이 변수 cc의 값 이하인 경우에는, 배열 변수 CD[count]에 변수 group의 값을 저장하고, 변수 group의 값을 하나 증가시켰다(단계 S326). 그리고 잠정 티끌 위치 추출부(152)는 변수 count의 값을 하나 증가시키고(단계 S328), 또한 변수 k의 값을 하나 증가시켜 변수 cc의 값을 0으로 초기화한다(단계 S330). 잠정 티끌 위치 추출부(152)는, 변수 k의 값을 하나 증가시켜 변수 cc의 값을 0으로 초기화하면, 단계 S312로 되돌아와 변수 k의 값이 잠정 티끌 후보의 수보다 적은지 아닌지를 판단한다.The tentative dust position extraction unit 152 further records the recorded pixels in the unit of tentative dust when the pixels are recorded as the tentative dust. Specifically, in one embodiment of the present invention, the provisional particle position extraction unit 152 determines whether the value of the variable k is greater than the value of the variable cc (step S332). As a result of the determination, when the value of the variable k is larger than the value of the variable cc, the provisional particle position extraction unit 152 stores the value of the CD [cc] in the array variable CD [count] (step S324), If the value is equal to or less than the value of the variable cc, the value of the variable group is stored in the array variable CD [count], and the value of the variable group is increased by one (step S326). The provisional particle position extraction unit 152 increases the value of the variable count by one (step S328), and also initializes the value of the variable cc to 0 by increasing the value of the variable k by one (step S330). The provisional particle position extraction unit 152 increases the value of the variable k by one and initializes the value of the variable cc to 0, and returns to step S312 to determine whether or not the value of the variable k is smaller than the number of potential mote candidates.

상기 단계 S314에서, 변수 cc의 수가 취득한 잠정 티끌 후보의 수 이상인 경우에는, 직접 단계 S330으로 이동하여 변수 k의 값을 하나 증가시켜 변수 cc의 값을 0으로 초기화한다.In step S314, if the number of variable cc is equal to or greater than the acquired number of potential dust candidates, the process directly goes to step S330 to increase the value of variable k by one to initialize the value of variable cc to zero.

이와 같이 잠정 티끌 위치 추출부(152)가, 상기 단계 S312에서 단계 S330까지의 처리를, 변수 k의 값이 잠정 티끌 후보의 수 이상이 될 때까지 반복함으로써 잠정 티끌의 위치와 수를 산출할 수 있다.In this way, the provisional particle position extraction unit 152 repeats the process from step S312 to step S330 until the value of the variable k becomes equal to or more than the number of provisional dust candidates, thereby calculating the position and number of provisional particles. have.

잠정 티끌 위치 추출부(152)에서 잠정 티끌의 위치와 수를 검출하면, 다음으로 잠정 티끌 위치 추출부(152)에서 동일 잠정 티끌로 간주한 부위에 포함되는 화소의 수를 산출한다. 본 발명의 일 실시예에서는, 최초로 잠정 티끌 위치 추출부(152)가 변수 cc, cg, k를 초기화한다(단계 S332). 변수를 초기화하면, 잠정 티끌 위치 추출부(152)에서 변수 cg의 값이 (group-1)의 미만인지 아닌지를 판단한다(단계 S334). 잠정 티끌 위치 추출부(152)에서의 판단 결과, 변수 cg의 값이 (group-1)의 미만인 경우에는, 잠정 티끌 위치 추출부(152)에서 변수 k의 값이 (count-1)의 미만인지 아닌지를 판단한다(단계 S336). 변수 k의 값이 (count-1)의 미만인 경우에는, 잠정 티끌 위치 추출부(152)에서 배열 변수 CD[k]의 값이 cg와 일치하는지 아닌지를 판단한다(단계 S340). CD[k]의 값이 cg와 일치한 경우에는, 잠정 티끌 위치 추출부(152)가 변수 cc의 값을 하나 증가시키고(단계 S342), 또한 변수 k의 값을 1 증가시킨다(단계 S344). 한편, 배열 변수 CD[k]의 값이 cg와 일치하지 않는 경우에는 직접 단계 S344로 이동하여, 잠정 티끌 위치 추출부(152)가 변수 k의 값을 1 증가시킨다. 변수 k의 값을 1 증가시킨 후, 단계 S336으로 되돌아와 잠정 티끌 위치 추출부(152)에서 변수 k의 값이 (count-1)의 미만인지 아닌지를 판단한다.When the tentative dust position extraction unit 152 detects the position and number of the tentative dust, the number of pixels included in the portion of the tentative dust position extraction unit 152 regarded as the same tentative dust is next calculated. In one embodiment of the present invention, the provisional dust position extraction unit 152 initially initializes the variables cc, cg, and k (step S332). When the variable is initialized, the provisional particle position extraction unit 152 determines whether or not the value of the variable cg is less than (group-1) (step S334). As a result of the determination by the provisional dust position extraction unit 152, if the value of the variable cg is less than (group-1), the value of the variable k in the provisional dust position extraction unit 152 is less than (count-1). It is determined whether or not it is (step S336). If the value of the variable k is less than (count-1), the provisional particle position extraction unit 152 determines whether or not the value of the array variable CD [k] matches cg (step S340). If the value of CD [k] coincides with cg, the provisional particle position extraction unit 152 increases the value of variable cc by one (step S342), and also increases the value of variable k by one (step S344). On the other hand, if the value of the array variable CD [k] does not match cg, the flow moves directly to step S344, and the provisional dust position extractor 152 increases the value of the variable k by one. After increasing the value of the variable k by one, the process returns to step S336 to determine whether the value of the variable k is less than (count-1) in the provisional particle position extraction unit 152.

그리고 상기 단계 S336에서 변수 k의 값이 (count-1)의 이상인 경우에는, 잠정 티끌 위치 추출부(152)가 배열 변수 ND0[cg]에 변수 cc의 값을 저장한다. 이 때의 변수 cc의 값은, 하나의 잠정 티끌에 포함되는 화소의 수이다. 따라서, 배열 변수 ND0[]에는 하나의 잠정 티끌에서의 화소의 수가 저장된다. 그리고 잠정 티끌 위치 추출부(152)는 배열 변수 ND0[cg]에 변수 cc의 값을 저장함과 동시에 변수 cg의 값을 하나 증가시켜 변수 cc의 값을 0으로 초기화한다(단계 S338).If the value of the variable k is greater than or equal to (count-1) in step S336, the provisional particle position extraction unit 152 stores the value of the variable cc in the array variable ND0 [cg]. The value of the variable cc at this time is the number of pixels contained in one provisional particle. Therefore, the array variable ND0 [] stores the number of pixels in one tentative particle. The provisional particle position extraction unit 152 stores the value of the variable cc in the array variable ND0 [cg] and increases the value of the variable cg by one to initialize the value of the variable cc to 0 (step S338).

잠정 티끌 위치 추출부(152)는 이와 같은 일련의 처리를 변수 cg의 값이 (group-1)의 이상이 될 때까지 반복하고, 단계 S334에서 변수 cg의 값이 (group-1)의 이상이 된 경우에는 처리를 종료한다.The provisional particle position extraction unit 152 repeats such a series of processes until the value of the variable cg is equal to or greater than (group-1), and in step S334 the value of the variable cg is greater than or equal to (group-1). If so, the process ends.

이상, 도 10을 사용하여 본 발명의 일 실시예에 관한 잠정 티끌의 추출 처리에 대해서 설명했다. 본 발명에서의 잠정 티끌의 추출 처리는 상기 예에 한정되지 않는다.In the above, the extraction process of the tentative particle which concerns on one Example of this invention was demonstrated. The extraction process of the temporary dust in this invention is not limited to the said example.

잠정 티끌을 추출하면, 추출한 잠정 티끌의 정보를 사용하여 잠정 티끌의 추출에 사용한 화상과는 다른 화상을 분석하고, 추출한 잠정 티끌을 티끌로서 인정하는 티끌 인정 처리를 한다. 본 발명의 일 실시예에서는, 티끌 인정부(154)가 제1 촬영으로 촬영한 제1 화상을 분석함으로써 티끌을 인정한다.When the tentative dust is extracted, an image different from the image used for extracting the tentative dust is analyzed using the extracted tentative dust information, and a dust recognition process is performed to recognize the extracted tentative dust as dust. In one embodiment of the present invention, the dust recognition unit 154 recognizes the dust by analyzing the first image photographed by the first photographing.

도 11은 본 발명의 일 실시예에 관한 티끌 인정 처리에 대해서 설명하는 흐름도로서, 도 4의 티끌 인정 처리(단계 S190)에 대해서 상세히 설명하는 것이다. 이하, 도 11을 사용하여 본 발명의 일 실시예에 관한 티끌 인정 처리에 대해서 설명한다.FIG. 11 is a flowchart illustrating the dust recognition process according to the embodiment of the present invention, and the dust recognition process (step S190) of FIG. 4 will be described in detail. Hereinafter, the dust recognition process which concerns on one Example of this invention is demonstrated using FIG.

우선, 티끌 인정부(154)가 제1 화상의 R,G,B 각 색의 평균 신호 레벨을 산출한다(단계 S410). 평균 신호 레벨의 산출에는 잠정 티끌 후보 추출 처리에서 수행한 산출 방법을 쓴다. R,G,B 각 색의 평균 신호 레벨을 산출하면, 티끌 인정부(154)가 티끌 인정 처리에서 사용하는 각 변수의 초기화를 수행한다(단계 S412). 본 발명의 일 실시예에 관한 티끌 인정 처리에서는, 변수 k, c, g, n 및 count의 5종류의 변수를 준비하고, 변수 k,c,g에 관해서는 0으로 초기화하고, 변수 count에 관해서는 잠정 티끌 추출 처리로 추출한 잠정 티끌의 수로 초기화한다.First, the particle recognition unit 154 calculates an average signal level of each of the R, G, and B colors of the first image (step S410). The calculation method performed in the provisional particle candidate extraction process is used for calculation of an average signal level. When the average signal level of each of the R, G, and B colors is calculated, the particle recognition unit 154 initializes each variable used in the particle recognition process (step S412). In the particle recognition process according to the embodiment of the present invention, five types of variables k, c, g, n and count are prepared, initialized to 0 for variables k, c, and g, and variable count. Initializes the number of tentative dusts extracted by the tentative dust extraction process.

제1 화상의 R,G,B 각 색의 평균 신호 레벨을 산출하면, 티끌 인정부(154)가 제2 화상에서 잠정 티끌로 간주한 화소와 동일 위치에 있는 제1 화상의 화소에 대해 잠정 티끌 추출 처리에서의 상기 수학식 1 내지 수학식 3에 기초하여 해당 화소의 신호 레벨이 제1 화상의 R,G,B각 색의 평균 신호 레벨보다 소정 값 미만인지의 여부를 판단하는 처리를 한다.When the average signal level of each of the R, G, and B colors of the first image is calculated, the tentative recognition unit 154 tentatively grits the pixels of the first image at the same position as the pixels regarded as the tentative dust in the second image. On the basis of the above expressions (1) to (3) in the extraction process, a processing is performed to determine whether the signal level of the pixel is less than a predetermined value than the average signal level of each of the R, G, and B colors of the first image.

본 발명의 일 실시예에서는, 구체적으로는 티끌 인정부(154)가 변수 g의 값이 (count-1)의 값 미만인지 아닌지를 우선 판단한다(단계 S414). 변수 g의 값이 (count-1)의 값의 미만인 경우에는, 계속해서 변수 g의 값이 배열 변수 CD[k]의 값과 같은지 아닌지를, 티끌 인정부(154)가 확인한다(단계 S416). 변수 g의 값이 배열 변수 CD[k]의 값 미만인 경우에는, 티끌 인정부(154)가 배열 변수 DUST[k]의 값을 변수 n에 저장한다(단계 S418). 그리고 변수 k의 값이 (count-1)의 미만인지 아닌지 확인하여(단계 S420), 변수 k의 값이 (count-1)의 미만인 경우에는 또한 티끌 인정부(154)가 배열 변수 P2[n]가 수학식 1 내지 수학식 3의 조건을 충족시키는지 여부를 판단한다(단계 S422). 여기에서 배열 변수 P2[]는 제1 촬영으로 촬영한 제1 화상의 각 화소에서의 신호 레벨을 나타낸다. 그리고 배열 변수 P2[n]이 수학식 1 내지 수학식 3을 만족시킨 경우에는, 티끌 인정부(154)가 변수 c의 값을 하나 증가시키고(단계 S424), 변수 k의 값을 하나 더 증가시킨 후(단계 S426), 상기 단계 S416의 변수 g의 값이 배열 변수 CD[k]의 값 미만인지 아닌지를 확인하는 처리로 되돌아온다.In one embodiment of the present invention, specifically, the dust recognition unit 154 first determines whether or not the value of the variable g is less than the value of (count-1) (step S414). If the value of the variable g is less than the value of (count-1), the particle recognition unit 154 checks whether the value of the variable g is equal to the value of the array variable CD [k] (step S416). . When the value of the variable g is less than the value of the array variable CD [k], the particle acknowledgment unit 154 stores the value of the array variable DUST [k] in the variable n (step S418). Then, it is checked whether or not the value of the variable k is less than (count-1) (step S420), and when the value of the variable k is less than (count-1), the dust recognition unit 154 further checks the array variable P2 [n]. It is determined whether 을 satisfies the condition of Equations 1 to 3 (step S422). Here, the array variable P2 [] indicates the signal level in each pixel of the first image captured by the first imaging. When the array variable P2 [n] satisfies Equations 1 to 3, the dust recognition unit 154 increases the value of the variable c by one (step S424), and increases the value of the variable k by one more. Subsequently (step S426), the process returns to the process of checking whether or not the value of the variable g of the step S416 is less than the value of the array variable CD [k].

상기 단계 S416에서, 변수 g의 값이 배열 변수 CD[k]의 값과 다른 경우 및 상기 단계 S422에 배열 변수 P2[n]가 수학식 1 내지 수학식 3에 도시한 조건을 만족시키지 않은 경우에는 단계 S426으로 이동하여 티끌 인정부(154)가 변수 k의 값을 하나 증가시킨다.In the above step S416, when the value of the variable g is different from the value of the array variable CD [k] and when the array variable P2 [n] does not satisfy the conditions shown in the equations (1) to (3) in the step S422, Moving to step S426, the dust recognition unit 154 increases the value of the variable k by one.

또한 상기 단계 S420에서, 변수 k의 값이 (count-1)의 이상인 경우에는 배열 변수 nD1[k]에 변수 c의 값을 저장한다(단계 S428). 여기에서 배열 변수 nD1[]은 하나의 잠정 티끌에 포함되는 화소의 수를 나타낸다. 따라서 배열 변수 nD1[]에는 하나의 잠정 티끌에서의 화소의 수가 저장된다. 그리고 변수 g의 값을 하나 증가시킨 후(단계 S430), 상기 단계 S414로 되돌아와 변수 g의 값이 (count-1)의 값의 미만인지 아닌지를 판단한다.In addition, in step S420, when the value of the variable k is equal to or greater than (count-1), the value of the variable c is stored in the array variable nD1 [k] (step S428). Here, the array variable nD1 [] represents the number of pixels included in one provisional particle. Therefore, the array variable nD1 [] stores the number of pixels in one tentative particle. After increasing the value of the variable g by one (step S430), the process returns to step S414 to determine whether the value of the variable g is less than the value of (count-1).

티끌 인정부(154)가 이와 같은 일련의 처리를 변수 g의 값이 (count-1)의 값 이상이 될 때까지 반복함으로써, 하나의 잠정 티끌에 포함되는 화소의 수를 구할 수 있다. 그리고 단계 S414에서 변수 g의 값이 (count-1)의 값 이상이 되면, 하나의 잠정 티끌에 포함되는 화소의 수를 구하는 처리를 종료한다.The particle acknowledgment unit 154 repeats such a series of processes until the value of the variable g becomes equal to or greater than the value of (count-1), so that the number of pixels included in one provisional particle can be obtained. When the value of the variable g becomes equal to or greater than the value of (count-1) in step S414, the process of obtaining the number of pixels included in one provisional particle ends.

이와 같이 구한 하나의 잠정 티끌에 포함되는 화소의 수를, 제1 화상과 제2 화상 사이에서의 동일 잠정 티끌 추출 부분에서 비교한다. 그리고, 제2 화상의 소정의 잠정 티끌에 포함되는 화소와, 제1 화상의 동일 부분의 잠정 티끌에 포함되는 화소 사이에 소정 값 이상 화소수의 차이가 있으면, 그 부분에는 촬상 소자에 티끌이 부착되어 있는 것으로 간주하여 티끌 인정부(154)가 해당 잠정 티끌을 티끌로서 인정한다.The number of pixels included in one temporary particle thus obtained is compared in the same provisional dust extraction portion between the first image and the second image. If there is a difference in the number of pixels of a predetermined value or more between the pixels included in the predetermined provisional dust of the second image and the pixels included in the provisional dust of the same portion of the first image, the particles adhere to the imaging device in that portion. The dust recognition unit 154 recognizes the provisional dust as the dust in consideration of the deterioration.

티끌 인정부(154)는 잠정 티끌을 티끌로서 인정하면 인정한 화상 위의 티끌의 위치를 기억한다. 본 발명의 일 실시예에서는, 하나의 티끌로 인정된 화소의 집합에서 중심이 되는 화소의 X좌표 및 Y좌표를 구하여 각각 Xc, Yc로서 기억한다.The dust recognition unit 154 stores the position of the dust on the recognized image when the temporary dust is recognized as dust. In one embodiment of the present invention, the X and Y coordinates of the pixel which is the center of the set of pixels recognized as one particle are obtained and stored as Xc and Yc, respectively.

이상, 본 발명의 일 실시예에 관한 티끌 인정 처리에 대해서 설명했다. 본 발명에서의 티끌 인정 처리는 상기 예에 한정되지 않는다.In the above, the dust recognition process which concerns on one Example of this invention was demonstrated. The dust recognition process in this invention is not limited to the said example.

티끌 인정 처리에서 촬상 소자에 티끌이 부착되어 있다고 인정되면, 티끌의 존재를 촬상 장치(100)의 사용자에게 통지하여 티끌 청소 모드로 이동한다. 티끌의 제거 작업을 수행시키는 티끌 청소 모드로는, 티끌 인정 처리가 끝난 후에 강제적으로 이동해도 좋고, 티끌 인정 처리가 끝난 후에 이동할지의 여부를 사용자가 선택하도록 해도 좋다. 이하, 본 발명의 일 실시예에 관한 티끌 청소 모드에 대해서 설명한다.When it is admitted that dust adheres to the imaging element in the dust recognition process, the user of the imaging apparatus 100 is notified of the presence of the dust, and the dust cleaning mode is moved. In the dust cleaning mode for performing the dust removal operation, the dust may be forcibly moved after the dust recognition process is finished, or the user may select whether to move after the dust recognition process is completed. Hereinafter, the dust cleaning mode according to an embodiment of the present invention will be described.

도 12는, 본 발명의 일 실시예에 관한 티끌 청소 모드의 흐름에 대해서 설명한 흐름도이다. 이하, 도 12를 사용하여 본 발명의 일 실시예에 관한 티끌 청소 모드의 흐름에 대해서 설명한다.12 is a flowchart for explaining the flow of the dust cleaning mode according to the embodiment of the present invention. Hereinafter, the flow of the dust cleaning mode according to the embodiment of the present invention will be described with reference to FIG. 12.

티끌 청소 모드에서는, 최초로 티끌의 청소를 용이하게 하기 위해 CCD소자(110)의 전면의 셔터를 완전히 연다(단계 S510). 계속해서 티끌 인정 처리에서 인정된 티끌의 위치를 산출한다(단계 S520). 티끌 인정 처리에서는 화상 위의 티끌의 위치를 산출했기 때문에, 화상 위의 티끌 위치에서 촬상 소자면 위의 티끌 위치로 변환하고, 변환한 촬상 소자면 위의 티끌 위치에 대응하는 부분에 티끌이 존재한다는 내용의 부착 정보를 표시한다(단계 S530). 본 발명의 일 실시예에서는, 촬상 소자면 위의 티끌 위치로의 변환 및 티끌의 부착 정보의 표시는 티끌 표시부(156)가 수행하고, 티끌의 부착 정보는 화상 표시부(124)에 표시한다. 티끌의 부착 정보는, 예를 들어 기호로 표시하거나, 아이콘이나 캐릭터로 표시할 수 있다.In the dust cleaning mode, the shutter in front of the CCD element 110 is completely opened for the first time to easily clean the dust (step S510). Subsequently, the position of the dust recognized by the dust recognition process is calculated (step S520). In the dust recognition process, since the position of the dust on the image was calculated, the dust was converted from the dust position on the image to the dust position on the imaging element surface, and the dust was present at a portion corresponding to the dust position on the converted imaging element surface. The attachment information of the contents is displayed (step S530). In one embodiment of the present invention, the particle display unit 156 performs the conversion to the particle position on the image pickup device surface and the adhesion information of the particle, and the adhesion information of the particle is displayed on the image display unit 124. The attachment information of the dust can be displayed, for example, by a symbol or by an icon or a character.

본 발명의 일 실시예에서는, 화상 위의 티끌 위치에서 변환한 촬상 소자면 위의 티끌 위치에 대응하는 화상 표시부(124)의 좌표(Xd,Yd)로의 변환은 이하의 수학식에 의해 이루어진다. 여기에서 Hd는 화상 표시부(124)의 표시 수평 도트수, Vd 는 화상 표시부(124)의 표시 수직 도트수, H는 화상 데이터의 수평 화소수, V는 화상 데이터의 수직 화소수를 나타낸다.In one embodiment of the present invention, the conversion to the coordinates Xd and Yd of the image display unit 124 corresponding to the particle position on the image pickup element surface converted at the particle position on the image is performed by the following equation. Here, Hd is the number of display horizontal dots in the image display unit 124, Vd is the number of display vertical dots in the image display unit 124, H is the number of horizontal pixels in the image data, and V is the number of vertical pixels in the image data.

Xd = Xc × Hd/HXd = Xc × Hd / H

Yd = Vd - (Yc × Vd/V)Yd = Vd-(Yc × Vd / V)

도 13은 본 발명의 일 실시예에 관한 촬상 소자의 일례인 CCD소자(110)에 티끌이 부착된 상태에서 화상을 촬영한 경우의 촬영 화상을 화상 표시부(124)에 표시했을 때의 일례를 도시한 설명도이고, 도 14는 본 발명의 일 실시예에 관한 위치 변환 후의 티끌 위치를 화상 표시부(124)에 표시한 경우의 화상의 일례를 도시한 설명도이다. 본 발명의 일 실시예에서는, CCD소자(110)의 3군데에 티끌이 부착된 경우에 대해서 설명한다.FIG. 13 shows an example when a photographed image is displayed on the image display unit 124 when the image is taken with the dust attached to the CCD element 110, which is an example of an image pickup device according to one embodiment of the present invention. 14 is an explanatory diagram showing an example of an image in a case where the particle position after position conversion according to an embodiment of the present invention is displayed on the image display unit 124. In an embodiment of the present invention, a case where dust is attached to three places of the CCD element 110 will be described.

도 13에 도시한 바와 같이, 촬영 화상에서는 3군데에 티끌(160)이 부착되어 있다. CCD소자(110)에서의 촬상면 위에서는 실제로 티끌이 부착되어 있는 부분은 상하 대칭의 위치가 된다. 따라서 촬영 화상에서의 티끌 위치와 상하 대상이 되도록 화상 표시부(124)에 표시하는 화상에, 티끌의 부착 정보로서 아이콘이나 캐릭터를 중복 표시한다.As shown in FIG. 13, the particle | grains 160 are attached to three places in a picked-up image. On the imaging surface of the CCD element 110, the portion to which dust is actually attached becomes a position of vertical symmetry. Therefore, an icon or a character is repeatedly displayed as the attachment information of the particle on the image displayed on the image display unit 124 so as to be a mote position in the picked-up image and an up-down object.

이와 같이 티끌 인정부(154)가 촬상 소자면 위의 티끌 위치를 찾아 티끌 표시부(156)가 화상 표시부(124)에 티끌의 위치를 알기 쉽게 가리킴으로써, 촬상 장치(100)의 사용자가 표시된 위치에 대해 블로워(blower) 등을 사용하여 티끌의 제 거 작업을 용이하게 할 수 있다. 촬상 장치(100)는 사용자에 대해 청소가 완료되었는지 여부의 확인을 재촉하고(단계 S540), 청소가 완료되었으면 처리를 종료하고, 완료되지 않았으면 청소가 완료되었는지 여부의 확인을 재촉하는 것을 계속한다.In this way, the dust recognition unit 154 locates the dust position on the image pickup device surface, and the dust display unit 156 clearly indicates the position of the dust on the image display unit 124, whereby the user of the imaging apparatus 100 Blowers can be used to facilitate the removal of dust. The imaging apparatus 100 prompts the user to confirm whether or not the cleaning is completed (step S540), terminates the processing if the cleaning is completed, and continues to prompt the confirmation of whether or not the cleaning is completed. .

이상, 도 12를 사용하여 본 발명의 일 실시예에 관한 티끌 청소 모드의 흐름에 대해서 설명했다.In the above, the flow of the dust cleaning mode which concerns on one Example of this invention was demonstrated using FIG.

상기 촬상 방법은 컴퓨터 프로그램에 의해 실행되어도 좋다. CPU(128)가 ROM(130)의 내부에 기록된 컴퓨터 프로그램을 호출함으로써 상기 촬상 방법을 실행할 수 있다.The imaging method may be executed by a computer program. The CPU 128 can execute the imaging method by calling a computer program recorded in the ROM 130.

이상, 본 발명의 일 실시예에 관한 촬상 장치 및 촬상 방법에 의하면, 조리개의 다른 화상을 비교하여 티끌의 위치를 검출함으로써 촬상 소자에 부착된 티끌의 검출 정밀도가 향상된다. 또한 티끌의 검출 정밀도가 향상됨으로써 부주의한 제거 작업이 감소되고 촬상 소자 전면(前面)의 광학 로우 패스 필터가 손상되는 문제점이 감소된다. 또한 티끌의 부착 위치를 표시함으로써 촬상 장치의 사용자가 청소 작업을 용이하게 수행할 수 있다.As described above, according to the imaging device and the imaging method according to the embodiment of the present invention, the detection accuracy of the dust adhered to the imaging element is improved by comparing the different images of the aperture and detecting the position of the dust. In addition, the detection accuracy of the dust is improved, thereby reducing the inadvertent removal work and the problem of damaging the optical low pass filter in front of the image pickup device. In addition, by displaying the attachment position of the dust, the user of the imaging device can easily perform the cleaning operation.

(다른 실시예)(Other embodiment)

본 발명의 일 실시예에서는, 조리개의 다른 화상을 비교함으로써 티끌의 위치를 검출하고, 티끌의 부착 위치를 표시함으로써 촬상 장치의 사용자에 대해 청소 작업의 용이화를 꾀할 수 있는 촬상 장치 및 촬상 방법에 대해서 설명했다. 본 발명의 다른 실시예에서는, 촬상 소자를 내장한 렌즈에서 일 실시예와 마찬가지로 조리개의 다른 화상을 비교함으로써 촬상 소자에 티끌이 부착되어 있는지 여부를 검 사할 수 있는 검사 장치 및 촬상 방법에 대해서 설명한다.In one embodiment of the present invention, an image pickup device and an image pickup method capable of facilitating a cleaning operation for a user of an image pickup device by detecting a location of a particle by comparing different images of an aperture and displaying an attachment location of a particle. Explained. In another embodiment of the present invention, an inspection apparatus and an imaging method for inspecting whether dust is attached to the imaging element by comparing different images of the aperture in the lens incorporating the imaging element will be described. .

도 15는 본 발명의 다른 실시예의 개요에 대해서 설명한 설명도이다. 이하, 도 15를 사용하여 본 발명의 다른 실시예에 대해서 설명한다.15 is an explanatory diagram illustrating an outline of another embodiment of the present invention. Hereinafter, another Example of this invention is described using FIG.

도 15에 도시한 바와 같이, 본 발명의 다른 실시예는 촬상 장치(200)와, 촬상 소자를 내장한 렌즈 유닛(202)을 포함하여 구성된다. 촬상 장치(200)는 본 발명의 촬상 장치의 일례이다. 촬상 소자는 CCD소자나, CMOS소자나, 기타의 이미지 센서일 수 있다. 렌즈 유닛(202)의 내부에는 일 실시예와 같이 조리개가 내장되어 있다. 검사 장치(200)와 렌즈 유닛(202)은 접속 케이블(204)에 접속된다.As shown in FIG. 15, another embodiment of the present invention includes an imaging device 200 and a lens unit 202 incorporating an imaging device. The imaging device 200 is an example of the imaging device of the present invention. The imaging device may be a CCD device, a CMOS device, or other image sensor. Inside the lens unit 202, an aperture is built in as in the exemplary embodiment. The inspection apparatus 200 and the lens unit 202 are connected to the connection cable 204.

본 발명의 다른 실시예에 관한 촬상 방법을 사용하여 티끌을 검사할 때에는, 일 실시예와 마찬가지로 렌즈 유닛(202)에 광확산 렌즈 캡(104)을 장착할 수도 있다. 광확산 렌즈 캡(104)을 사용함으로써 피사체로부터 입사되는 광이 확산되므로 보다 효과적으로 티끌을 검출할 수 있다.When inspecting dust using the imaging method according to another embodiment of the present invention, the light diffusing lens cap 104 may be attached to the lens unit 202 as in the embodiment. By using the light diffusing lens cap 104, since light incident from the subject is diffused, dust can be detected more effectively.

본 발명의 다른 실시예에 관한 검사 장치(200)의 구성은, 본 발명의 일 실시예에 관한 촬상 장치(100)와 동일한 구성을 가지기 때문에 상세한 설명은 생략한다. 그러나 본 발명의 일 실시예에 관한 촬상 장치(100)는, 촬상 소자의 일례인 CCD소자(110)를 포함하는 구성을 가지고 있었으나, 본 발명의 다른 실시예에서는, 촬상 소자는 렌즈 유닛(202)에 내장되어 있기 때문에 검사 장치(200)에 촬상 소자를 포함시킬 필요는 없다.Since the structure of the test | inspection apparatus 200 which concerns on other Example of this invention has the same structure as the imaging device 100 which concerns on one Embodiment of this invention, detailed description is abbreviate | omitted. However, although the imaging device 100 according to the embodiment of the present invention has a configuration including the CCD device 110 which is an example of the imaging device, in another embodiment of the present invention, the imaging device is the lens unit 202. It is not necessary to include the imaging element in the inspection apparatus 200 because it is built in the.

이상, 도 15를 사용하여 본 발명의 다른 실시예의 개요에 대해서 설명했다.In the above, the outline | summary of the other Example of this invention was demonstrated using FIG.

본 발명의 다른 실시예에 관한 촬상 방법은, 일 실시예와 마찬가지로 조리개 를 변화시켜 조리개의 다른 제1 화상 및 제2 화상을 촬영하고, 화상을 분석함으로써 티끌의 위치를 인정한다. 그리고 촬상 소자에 티끌이 부착되어 있다고 인정된 경우에는, 검사 장치(200)의 표시부(210)에 티끌이 부착되어 있다는 내용을 표시한다.The imaging method according to another embodiment of the present invention recognizes the position of the dust by changing the aperture and taking another first image and the second image of the aperture, and analyzing the image as in the embodiment. And when it is recognized that dust adheres to the imaging element, the content that dust adheres to the display part 210 of the test | inspection apparatus 200 is displayed.

여기에서, 제1 촬영 및 제2 촬영은 일 실시예와 마찬가지로 같은 대상에 대해 수행한다. 또한 촬영하는 대상은 티끌의 추출 정밀도를 향상시키기 위해 흰색이나 회색 등의 밝은 색을 갖는 것이 바람직하다.Here, the first image capture and the second image capture are performed on the same object as in the exemplary embodiment. In addition, the object to be photographed preferably has a bright color such as white or gray in order to improve the extraction accuracy of the dust.

도 16 및 도 17은 본 발명의 다른 실시예에 관한 검사 장치에 의한 검사 결과의 일례에 대해서 도시한 설명도이다. 도 16은 본 발명의 다른 실시예에 관한 렌즈 유닛(202)의 내부에 구비된 촬상 소자에 티끌이 부착되어 있지 않은 경우의 검사 결과의 일례를 도시한 설명도이고, 도 17은 본 발명의 다른 실시예에 관한 렌즈 유닛(202)의 내부에 구비된 촬상 소자에 티끌이 부착되어 있는 경우의 검사 결과의 일례를 도시한 설명도이다.16 and 17 are explanatory diagrams showing an example of inspection results by an inspection apparatus according to another embodiment of the present invention. FIG. 16 is an explanatory diagram showing an example of inspection results when dust is not attached to an imaging device provided in the lens unit 202 according to another embodiment of the present invention, and FIG. 17 is another embodiment of the present invention. It is explanatory drawing which shows an example of the test result in case particle | grains are adhered to the imaging element provided in the lens unit 202 which concerns on an Example.

도 16에 도시한 바와 같이 렌즈 유닛(202)의 내부에 구비된 촬상 소자에 티끌이 부착되어 있지 않은 경우에는 표시부(210)에 티끌이 부착되어 있지 않다는 내용의 표시를 하고, 도 17에 도시한 바와 같이 렌즈 유닛(202)의 내부에 구비된 촬상 소자에 티끌이 부착되어 있던 경우에 검사 장치(200)는 표시부(210)에 티끌이 부착되어 있다는 내용의 표시를 한다. 검사 장치(200)는 촬상 소자에 티끌이 부착되어 있는 경우에는 티끌이 부착되어 있다는 내용의 표시와 아울러 티끌이 부착되어 있는 장소를 표시할 수도 있다. 티끌이 부착되어 있는 장소를 표시함으로써 촬 상 소자에 부착된 티끌의 제거 작업의 용이화를 꾀할 수 있다.As shown in FIG. 16, when dust is not attached to the image pickup device provided in the lens unit 202, the display unit 210 displays that the dust is not attached. As described above, when the dust is attached to the image pickup device provided in the lens unit 202, the inspection apparatus 200 displays the indication that the dust is attached to the display unit 210. When the dust is attached to the imaging device, the inspection apparatus 200 may display a place where the dust is attached as well as an indication that the dust is attached. By indicating the place where the dust is attached, it is possible to facilitate the removal work of the dust attached to the imaging element.

이상 설명한 바와 같이, 본 발명의 다른 실시예에 관한 검사 장치 및 촬상 방법에 의하면 촬상 소자를 내장한 렌즈에서 일 실시예와 마찬가지로 조리개의 다른 화상을 촬영하고 양자를 비교함으로써 촬상 소자에 티끌이 부착되어 있는지의 여부를 검사할 수 있다.As described above, according to the inspection apparatus and the image pickup method according to another embodiment of the present invention, as in the embodiment, a lens having a built-in image pickup element captures another image of the aperture and compares the particles so that dust is attached to the image pickup element. You can check whether it is present.

본 발명은 상술한 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 당해 기술 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 다른 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위에 의해 정해져야 할 것이다.Although the present invention has been described with reference to the above-described embodiments, these are merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the appended claims.

예를 들면, 상술한 본 발명의 일 실시예 및 다른 실시예에서는 조리개값이 다른 2매의 화상을 촬영한 후 2매의 화상을 비교함으로써 촬상 소자에 티끌이 부착되었는지를 판단하였으나, 본 발명은 상기 예에 한정되지 않는다. 예를 들면, 3매 이상의 조리개값이 다른 화상을 촬영하고, 그것들을 비교함으로써 촬상 소자에 티끌이 부착되었는지를 판단할 수도 있다.For example, in the above-described embodiments of the present invention and another embodiment, it was determined whether dust adhered to the image pickup device by capturing two images having different aperture values and then comparing the two images. It is not limited to the said example. For example, it is possible to determine whether dust adheres to the imaging device by photographing images having three or more different aperture values and comparing them.

상술한 바와 같은 본 발명의 촬상 장치 및 촬상 방법은 티끌의 부착 위치를 명시하여 티끌의 제거 작업을 간편화할 수 있다.The imaging device and imaging method of the present invention as described above can simplify the removal work of the dust by specifying the attachment position of the dust.

Claims (12)

피사체로부터의 입사광의 광량을 조정하는 조리개 기구부를 포함하는 렌즈 유닛과,A lens unit including an aperture mechanism unit for adjusting an amount of light incident from a subject, 상기 렌즈 유닛을 사이에 두고 결상면 위에 결상되는 상기 피사체의 상을 연속적으로 화상 데이터로서 순차적으로 출력하는 촬상부와,An imaging unit that sequentially outputs the image of the subject formed on the image forming surface with the lens unit therebetween as image data successively; 상기 촬상부에 의한 연속 촬상시에 상기 조리개 기구부의 조리개값을 변화시켜 복수 개의 화상들의 촬상이 이루어지도록 하고, 복수 개의 상기 화상들 중에 조리개값이 가장 큰 제2 화상과 상기 제2 화상 보다 작은 조리개값의 제1 화상이 상기 화상들에 포함되도록, 상기 피사체로부터의 입사광의 광량을 조정하는 조리개 제어부와,During continuous imaging by the imaging unit, the aperture value of the aperture mechanism unit is changed to allow imaging of a plurality of images, and a second image having the largest aperture value among the plurality of images and an aperture smaller than the second image. An aperture control unit for adjusting an amount of light of incident light from the subject so that the first image of the value is included in the images; 상기 촬상부에서 순차적으로 출력되는 상기 화상 데이터 중 상기 제2 화상의 화상 데이터의 각 화소의 값을 상기 제2 화상의 화상 데이터를 나타내는 제2 화상의 대표값과 비교하여 상기 결상면 위에 이물질이 부착되어 있는 것으로 예측되는 화소를 잠정 티끌 후보로 추출하는 이물질 부착 예측부와,Foreign matter adheres to the image forming surface by comparing the value of each pixel of the image data of the second image among the image data sequentially output from the imaging unit with a representative value of the second image representing the image data of the second image. A foreign matter adhesion prediction unit that extracts a pixel predicted to be a potential dust candidate, 상기 이물질 부착 예측부가 추출한 상기 잠정 티끌 후보들이 연속적인 위치에 있으면 상기 잠정 티끌 후보를 잠정 티끌로 추출하고, 동일한 잠정 티끌로 간주되는 부위에 포함되는 화소의 수를 산출하는 화소 위치 검출부와,A pixel position detection unit for extracting the tentative dust candidates as tentative dusts when the tentative dust candidates extracted by the foreign matter attachment predicting unit are in a continuous position, and calculating the number of pixels included in the site considered to be the same tentative dust; 상기 화소 위치 검출부에 의해 상기 제2 화상에서 잠정 티끌로 간주된 화소와 동일 위치에 있는 상기 제1 화상의 화소의 값과 상기 제1 화상의 화상 데이터를 나타내는 제1 화상의 대표값을 비교하여 상기 제1 화상에서 잠정 티끌로 간주되는 화소의 수를 산출하고, 상기 제2 화상의 잠정 티끌의 화소의 수와 비교하여 소정 값 이상의 화소수의 차이가 있으면, 해당 잠정 티끌을 이물질이 부착되어 있는 티끌로서 판정하는 이물질 판정부를 포함하는 촬상 장치.The pixel position detection unit compares a value of a pixel of the first image at the same position as a pixel regarded as a tentative dust in the second image with a representative value of a first image representing image data of the first image. If the number of pixels regarded as the provisional dust in the first image is calculated, and there is a difference in the number of pixels greater than or equal to a predetermined value compared to the number of the pixels in the provisional dust of the second image, the provisional dust is dust with foreign matter adhered thereto. An imaging device comprising a foreign matter determination unit that is determined as. 제1항에 있어서,The method of claim 1, 상기 이물질 부착 예측부는, 상기 촬상부에 포함되는 컬러 필터의 각 구성색마다의 상기 제2 화상의 화상 데이터 전체의 휘도 레벨의 평균값을 상기 제2 화상의 상기 대표값으로 산출하고, 상기 제2 화상의 화상 데이터에서의 각 화소의 휘도 레벨이 상기 제2 화상의 상기 평균값 보다 소정값 미만인 경우에 해당 화소를 상기 잠정 티끌 후보로 추출하는, 촬상 장치.The foreign matter adhesion prediction unit calculates an average value of luminance levels of the entire image data of the second image for each component color of the color filter included in the imaging unit as the representative value of the second image, and calculates the second image. And extracting the pixel as the tentative dust candidate when the luminance level of each pixel in the image data is less than a predetermined value than the average value of the second image. 제1항 또는 제2항에 있어서,The method according to claim 1 or 2, 상기 이물질 판정부는, 상기 촬상부에 포함되는 컬러 필터의 각 구성색마다의 상기 제1 화상의 화상 데이터 전체의 휘도 레벨의 평균값을 상기 제1 화상의 상기 대표값으로 산출하고, 상기 화소 위치 검출부에 의해 상기 제2 화상에서 잠정 티끌로 간주된 화소와 동일 위치에 있는 상기 제1 화상의 화소의 휘도 레벨이 상기 제1 화상의 상기 평균값 보다 소정값 미만인 경우에 해당 화소를 상기 제1 화상의 상기 잠정 티끌로 추출하는, 촬상 장치.The foreign matter determining unit calculates an average value of luminance levels of the entire image data of the first image for each component color of the color filter included in the imaging unit as the representative value of the first image, and calculates the pixel position detection unit. The pixel of the first image when the luminance level of the pixel of the first image at the same position as the pixel regarded as the tentative dust in the second image is less than a predetermined value than the average value of the first image. An imaging device which extracts by dust. 삭제delete 제1항에 있어서, The method of claim 1, 상기 이물질 판정부에 의한 판정 결과를 표시하는 표시부를 더 포함하는 촬상 장치.And a display unit for displaying the determination result by the foreign matter determination unit. 제5항에 있어서, The method of claim 5, 상기 표시부는 상기 이물질의 부착 위치를 해당 결상면 위의 촬상영역에 대응하여 표시하는 촬상 장치.And the display unit displays the attachment position of the foreign matter corresponding to the imaging area on the imaging surface. 피사체로부터의 입사광의 광량을 조정하는 조리개 기구부를 포함하는 렌즈 유닛을 사용하여, 상기 렌즈 유닛을 사이에 두고 촬상부의 결상면 위에 결상되는 상기 피사체의 상을 연속적으로 화상 데이터로서 순차적으로 출력하는 촬상 단계와,An imaging step of sequentially outputting, as image data, an image of the subject imaged on an image forming section of an imaging unit with the lens unit interposed therebetween, using a lens unit including an aperture mechanism portion for adjusting the amount of incident light from the subject; Wow, 상기 촬상 단계에서의 연속 촬상시에 상기 조리개 기구부의 조리개값을 변화시켜 복수 개의 화상들의 촬상이 이루어지도록 하고, 복수 개의 상기 화상들 중에조리개값이 가장 큰 제2 화상과 상기 제2 화상 보다 작은 조리개값의 제1 화상이 상기 화상들에 포함되도록, 상기 피사체로부터의 입사광의 광량을 조정하는 조리개 제어 단계와,During continuous imaging in the imaging step, the aperture value of the aperture mechanism unit is changed to allow imaging of a plurality of images, and a second image having the largest aperture value among the plurality of images and an aperture smaller than the second image. An aperture control step of adjusting an amount of light of incident light from the subject so that the first image of the value is included in the images; 상기 촬상 단계에서 순차적으로 출력되는 상기 화상 데이터 중 상기 제2 화상의 화상 데이터의 각 화소의 값을 상기 제2 화상의 화상 데이터를 나타내는 제2 화상의 대표값과 비교하여 상기 결상면 위에 이물질이 부착되어 있는 것으로 예측되는 화소를 잠정 티끌 후보로 추출하는 이물질 부착 예측 단계와,Foreign matter adheres to the image forming surface by comparing the value of each pixel of the image data of the second image among the image data sequentially output in the imaging step with a representative value of the second image representing the image data of the second image. A foreign matter adhesion prediction step of extracting a pixel predicted to be a potential dust candidate, 상기 이물질 부착 예측 단계에서 추출한 상기 잠정 티끌 후보들이 연속적인 위치에 있으면 상기 잠정 티끌 후보를 잠정 티끌로 추출하고, 동일한 잠정 티끌로 간주되는 부위에 포함되는 화소의 수를 산출하는 화소 위치 검출 단계와,A pixel position detection step of extracting the tentative dust candidates as tentative dusts if the tentative dust candidates extracted in the foreign matter adhesion prediction step are in a continuous position, and calculating the number of pixels included in the region regarded as the same tentative dust; 상기 화소 위치 검출 단계에 의해 상기 제2 화상에서 잠정 티끌로 간주된 화소와 동일한 위치에 있는 상기 제1 화상의 화소의 값과 상기 제1 화상의 화상 데이터를 나타내는 제1 화상의 대표값을 비교하여 상기 제1 화상에서 잠정 티끌로 간주되는 화소의 수를 산출하고, 상기 제2 화상의 잠정 티끌의 화소의 수와 비교하여 소정값 이상의 화소수의 차이가 있으면, 해당 잠정 티끌을 이물질이 부착되어 있는 티끌로서 판정하는 이물질 판정 단계를 포함하는 촬상 방법.By the pixel position detecting step, the value of the pixel of the first image at the same position as the pixel regarded as the tentative dust in the second image is compared with the representative value of the first image representing the image data of the first image. The number of pixels which are regarded as the provisional dust in the first image is calculated, and if there is a difference in the number of pixels more than a predetermined value compared to the number of the pixels in the provisional dust of the second image, foreign matter is attached to the provisional dust. An imaging method including a foreign matter determination step of determining as dust. 제7항에 있어서, The method of claim 7, wherein 상기 이물질 부착 예측 단계는, 상기 촬상부에 포함되는 컬러 필터의 각 구성색마다의 상기 제2 화상의 화상 데이터 전체의 휘도 레벨의 평균값을 상기 제2 화상의 상기 대표값으로 산출하고, 상기 제2 화상의 화상 데이터에서의 각 화소의 휘도 레벨이 상기 제2 화상의 상기 평균값 보다 소정값 미만인 경우에 해당 화소를 상기 잠정 티끌 후보로 추출하는, 촬상 방법.In the foreign matter adhesion prediction step, the average value of the luminance levels of the entire image data of the second image for each component color of the color filter included in the imaging unit is calculated as the representative value of the second image, and the second value is calculated. And extracting the pixel as the tentative dust candidate when the luminance level of each pixel in the image data of the image is less than a predetermined value than the average value of the second image. 제7항 또는 제8항에 있어서, The method according to claim 7 or 8, 상기 이물질 판정 단계는, 상기 촬상부에 포함되는 컬러 필터의 구성색마다의 상기 제1 화상의 화상 데이터 전체의 휘도 레벨의 평균값을 상기 제1 화상의 상기 대표값으로 산출하고, 상기 화소 위치 검출 단계에 의해 상기 제2 화상에서 잠정 티끌로 간주된 화소와 동일 위치에 있는 상기 제1 화상의 화소의 휘도 레벨이 상기 제1 화상의 상기 평균값 보다 소정값 미만인 경우에 해당 화소를 상기 제1 화상의 상기 잠정 티끌로 추출하는, 촬상 방법.In the foreign material determination step, the average value of the luminance levels of the entire image data of the first image for each of the constituent colors of the color filter included in the imaging unit is calculated as the representative value of the first image, and the pixel position detection step is performed. If the luminance level of the pixel of the first image at the same position as the pixel regarded as the tentative dust in the second image is less than a predetermined value than the average value of the first image, the pixel of the first image is The imaging method which extracts with a temporary particle. 삭제delete 제7항에 있어서, The method of claim 7, wherein 상기 이물질 판정 단계에 의한 판정 결과를 표시하는 표시 단계를 더 포함하는 촬상 방법.And a display step of displaying the determination result by the foreign matter determination step. 제11항에 있어서, The method of claim 11, 상기 표시 단계에서는 상기 이물질의 부착 위치를 해당 결상면 위의 촬상영역에 대응하여 표시하는 촬상 방법.And the display step displays the attachment position of the foreign matter corresponding to the imaging area on the imaging surface.
KR1020070005445A 2006-09-14 2007-01-17 Photographing apparatus and method KR100861514B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006248881A JP4695571B2 (en) 2006-09-14 2006-09-14 Imaging apparatus and imaging method
JPJP-P-2006-00248881 2006-09-14

Publications (2)

Publication Number Publication Date
KR20080024946A KR20080024946A (en) 2008-03-19
KR100861514B1 true KR100861514B1 (en) 2008-10-02

Family

ID=39293611

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070005445A KR100861514B1 (en) 2006-09-14 2007-01-17 Photographing apparatus and method

Country Status (2)

Country Link
JP (1) JP4695571B2 (en)
KR (1) KR100861514B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101525516B1 (en) * 2014-03-20 2015-06-03 주식회사 이미지넥스트 Camera Image Processing System and Method for Processing Pollution of Camera Lens
US9854188B2 (en) * 2015-12-16 2017-12-26 Google Llc Calibration of defective image sensor elements
JP2019068120A (en) * 2017-09-28 2019-04-25 フリュー株式会社 Photograph creation game machine, determination method, and program
JP6666370B2 (en) 2018-01-31 2020-03-13 ファナック株式会社 Material adhesion simulation device
KR102451065B1 (en) * 2022-03-21 2022-10-06 주식회사 맥서브 Video surveillance device in tunnel

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006030874A1 (en) * 2004-09-13 2006-03-23 Canon Kabushiki Kaisha Image sensing apparatus and control method therefor

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4179079B2 (en) * 2002-08-30 2008-11-12 株式会社ニコン Electronic camera and control program thereof
JP4466017B2 (en) * 2002-12-27 2010-05-26 株式会社ニコン Image processing apparatus and image processing program
JP4333199B2 (en) * 2003-04-17 2009-09-16 株式会社ニコン Foreign object detection jig, camera body and foreign object detection system for interchangeable lens digital camera
JP4186699B2 (en) * 2003-05-16 2008-11-26 株式会社ニコン Imaging apparatus and image processing apparatus
WO2005022901A1 (en) * 2003-08-29 2005-03-10 Nikon Corporation Imaging system diagnosis device, imaging system diagnosis program, imaging system diagnosis program product, and imaging device
JP2006013909A (en) * 2004-06-25 2006-01-12 Canon Inc Imaging device and its dust position display method
JP2006019356A (en) * 2004-06-30 2006-01-19 Nikon Corp Device, method, and program for inspecting image pickup element

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006030874A1 (en) * 2004-09-13 2006-03-23 Canon Kabushiki Kaisha Image sensing apparatus and control method therefor

Also Published As

Publication number Publication date
KR20080024946A (en) 2008-03-19
JP2008072416A (en) 2008-03-27
JP4695571B2 (en) 2011-06-08

Similar Documents

Publication Publication Date Title
US8098305B2 (en) Image-capturing system diagnostic device, image-capturing system diagnostic program product and image-capturing device for monitoring foreign matter
KR101579736B1 (en) A device a method and a computer-readable storage medium for reducing noise
US8970742B2 (en) Image processing apparatus and method capable of performing correction process speedily and easily
KR101822661B1 (en) Vision recognition apparatus and method
KR100861514B1 (en) Photographing apparatus and method
US7800686B2 (en) Electronic camera having a light reduction device
CN100525383C (en) Image-data noise reduction apparatus and method of controlling same
JP2007267072A (en) Electronic camera
JP5251700B2 (en) Imaging device
JP5030883B2 (en) Digital still camera and control method thereof
KR100931859B1 (en) Wafer Inspection Camera
JP2011124830A (en) Imaging apparatus, and foreign matter detection method
JP2007249526A (en) Imaging device, and face area extraction method
JP2003204452A (en) Camera for painting and calligraphy
JP2001245200A (en) Digital camera
JP2007208925A (en) Electronic camera shake correction method for digital camera, and digital camera with electronic camera shake correction function
US7969498B2 (en) Digital camera
JP2010283456A (en) Imaging apparatus, integrated circuit used for imaging apparatus, flash detection method, and program
KR101531195B1 (en) Apparatus and method for deleting a blooming of camera photograph
JP2004129117A (en) Digital camera
JP2007259177A (en) Imaging apparatus and method of controlling same
JP2004147140A (en) Digital camera
KR101420442B1 (en) Apparatus and method for automatic controling backlight of camera
JP5515320B2 (en) Imaging device
JP5083087B2 (en) Imaging apparatus, processing method thereof, and program

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120830

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20130829

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20140828

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20150828

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20160830

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20170830

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20180830

Year of fee payment: 11