KR101579107B1 - Apparatus and method for recognizing flower in digital image processing device - Google Patents

Apparatus and method for recognizing flower in digital image processing device Download PDF

Info

Publication number
KR101579107B1
KR101579107B1 KR1020080134964A KR20080134964A KR101579107B1 KR 101579107 B1 KR101579107 B1 KR 101579107B1 KR 1020080134964 A KR1020080134964 A KR 1020080134964A KR 20080134964 A KR20080134964 A KR 20080134964A KR 101579107 B1 KR101579107 B1 KR 101579107B1
Authority
KR
South Korea
Prior art keywords
subject
flower
live view
view image
weight
Prior art date
Application number
KR1020080134964A
Other languages
Korean (ko)
Other versions
KR20100076795A (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 삼성전자주식회사
Priority to KR1020080134964A priority Critical patent/KR101579107B1/en
Publication of KR20100076795A publication Critical patent/KR20100076795A/en
Application granted granted Critical
Publication of KR101579107B1 publication Critical patent/KR101579107B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/50Extraction of image or video features by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders

Abstract

본 발명은 피사체의 거리 정보 및 색상 정보를 이용하여 피사체를 꽃으로 인식하는 디지털 영상 처리기에서 꽃을 인식하는 장치 및 방법에 관한 것이다. 디지털 영상 처리기에서 꽃을 인식하는 장치는 디지털 영상 처리기로서, 라이브뷰 영상의 피사체가 일정 거리 내에 위치하면 매크로모드로 판단하고, 상기 매크로모드로 판단된 피사체의 색상 정보가 꽃을 표현하는 임의의 색상에 포함되면, 상기 피사체를 꽃으로 인식하는 디지털 신호 처리 수단을 포함한다.

Figure R1020080134964

매크로모드, 색상정보 추출, 꽃 인식

The present invention relates to an apparatus and method for recognizing flowers in a digital image processor for recognizing a subject as flowers using distance information and color information of a subject. A device for recognizing flowers in a digital image processor is a digital image processor. When a subject of a live view image is located within a certain distance, it is determined as a macro mode. If the color information of a subject determined as the macro mode is an arbitrary color And a digital signal processing means for recognizing the subject as a flower if the subject is included in the image.

Figure R1020080134964

Macro mode, color information extraction, flower recognition

Description

디지털 영상 처리기에서 꽃을 인식하는 장치 및 방법{Apparatus and method for recognizing flower in digital image processing device}[0001] APPARATUS AND METHOD FOR RECOGNIZING FLOWERS IN A DIGITAL IMAGE PROCESSOR [0002]

본 발명은 피사체의 거리 정보 및 색상 정보를 이용하여 피사체를 꽃으로 인식하는 디지털 영상 처리기에서 꽃을 인식하는 장치 및 방법에 관한 것이다. The present invention relates to an apparatus and method for recognizing flowers in a digital image processor for recognizing a subject as flowers using distance information and color information of a subject.

일반적으로 디지털 영상 처리기에서는 장면인식의 모드 수가 점점 증가함에 따라 꽃을 인식하는 모드로 차별화를 추구하는 회사가 있다. 그러나 꽃을 인식하는 경우 일반적으로 색깔이 많으면 꽃으로 인식하기 때문에 꽃의 오인식이 너무 많아 불편하다.Generally, in digital image processors, as the number of mode of scene recognition increases, there is a company that seeks to differentiate into a flower recognition mode. However, when recognizing a flower, it is generally inconvenient because the flower is recognized as a flower if the color is large.

본 발명이 해결하고자 하는 기술적인 과제는 피사체의 거리 정보 및 색상 정보를 이용하여 피사체를 정확하게 꽃으로 인식하는 디지털 영상 처리기에서 꽃을 인식하는 장치 및 방법을 제공하는데 있다.SUMMARY OF THE INVENTION It is an object of the present invention to provide an apparatus and method for recognizing flowers in a digital image processor for accurately recognizing a subject as flowers using distance information and color information of a subject.

본 발명이 이루고자 하는 기술적인 과제를 해결하기 위한 디지털 영상 처리기에서 꽃을 인식하는 장치는 디지털 영상 처리기로서, 라이브뷰 영상의 피사체가 일정 거리 내에 위치하면 매크로모드로 판단하고, 상기 매크로모드로 판단된 피사체의 색상 정보가 꽃을 표현하는 임의의 색상에 포함되면, 상기 피사체를 꽃으로 인식하는 디지털 신호 처리 수단을 포함하는 것이 바람직하다.According to an aspect of the present invention, there is provided an apparatus for recognizing flowers in a digital image processor, the apparatus comprising: a digital image processor for determining a macro mode when a subject of a live view image is located within a predetermined distance; And a digital signal processing means for recognizing the subject as a flower if the color information of the subject is included in an arbitrary color representing the flower.

본 발명에 있어서, 상기 라이브뷰 영상의 피사체는 AF(auto focus) 처리가 완료된 것일 수 있다.In the present invention, the subject of the live view image may be one in which AF (auto focus) processing has been completed.

본 발명에 있어서, 상기 디지털 신호 처리수단은 상기 라이브뷰 영상의 피사체가 일정 거리 내에 위치해 있는지 판단하는 매크로모드 판단부; 상기 라이브뷰 영상의 색상 정보를 추출하는 색상 정보 추출부; 및 상기 라이브뷰 영상의 피사체가 일정 거리 내에 위치해 있는 매크로모드로 판단되고, 상기 추출된 색상 정보가 꽃을 표현하는 임의의 색상에 포함되면 상기 피사체를 꽃으로 인식하는 제어부를 포함할 수 있다.In the present invention, the digital signal processing means may include a macro mode determining unit for determining whether a subject of the live view image is located within a predetermined distance; A color information extracting unit for extracting color information of the live view image; And a controller for recognizing the subject as a flower when the extracted color information is included in an arbitrary color representing a flower, and a controller for recognizing the subject as a flower.

본 발명에 있어서, 상기 색상 정보 추출부는 상기 라이브뷰 영상을 소정개수 의 영역으로 분할하고, 상기 각 영역에 가중치를 할당하는 영역 분할부를 더 포함하고, 상기 영역별 가중치가 적용된 색상 정보를 추출할 수 있다.In the present invention, the color information extracting unit may further include an area dividing unit dividing the live view image into a predetermined number of areas and assigning weights to the respective areas, and extracting color information to which the weight per area is applied .

본 발명에 있어서, 디지털 영상 처리기의 동작 방법으로서, (a) 라이브뷰 영상의 피사체가 일정 거리 내에 위치여부를 판단하는 단계; (b) 상기 라이브뷰 영상의 색상 정보를 추출하는 단계; 및 (c) 상기 라이브뷰 영상의 피사체가 일정 거리 내에 위치한 매크로모드로 판단되고, 상기 추출된 색상 정보가 꽃을 표현하는 임의의 색상에 포함되면 상기 피사체를 꽃으로 인식하는 단계를 포함하는 것이 바람직하다.According to the present invention, there is provided a method of operating a digital image processor, comprising the steps of: (a) determining whether a subject of a live view image is located within a predetermined distance; (b) extracting color information of the live view image; And (c) recognizing the subject as a flower if the subject of the live view image is determined to be a macro mode positioned within a certain distance and the extracted color information is included in an arbitrary color representing a flower Do.

본 발명에 있어서, 상기 (a)단계에서 상기 라이브뷰 영상의 피사체는 AF(auto focus) 처리가 완료된 것일 수 있다.In the present invention, in the step (a), the subject of the live view image may be one in which AF (auto focus) processing has been completed.

본 발명에 있어서, 상기 (b)단계는 (b-1) 상기 라이브뷰 영상을 소정개수의 영역으로 분할하고, 상기 각 영역에 가중치를 할당하는 단계; 및 (b-2) 상기 영역별 가중치가 적용된 색상 정보를 추출하는 단계를 포함할 수 있다.In the present invention, the step (b) includes the steps of: (b-1) dividing the live view image into a predetermined number of regions and assigning weights to the respective regions; And (b-2) extracting color information to which the weight for each region is applied.

상술한 바와 같이 본 발명에 따르면, 피사체의 거리 정보 및 색상 정보를 이용하여 피사체를 꽃으로 정확하게 인식할 수 있다.As described above, according to the present invention, a subject can be accurately recognized as a flower by using distance information and color information of the subject.

이하, 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the drawings.

도 1은 본 발명에 따른 디지털 영상 처리기에서 꽃을 인식하는 장치의 구성을 보이는 블록도 이다. 특히 도 1은 디지털 영상 처리기의 일종으로서 디지털 촬 영 장치를 개략적으로 도시하고 있다. 물론 본 발명이 도 1에 도시된 것과 같은 디지털 영상 촬영장치에 한정되는 것은 아니며, PDA(personal digital assistants), PMP(personal multimedia player) 등과 같은 이미지 처리장치에도 본 발명이 적용될 수 있음은 물론이다. 이는 후술하는 실시 예들 및 그 변형 예들에서도 마찬가지이다.1 is a block diagram showing a configuration of an apparatus for recognizing flowers in a digital image processor according to the present invention. 1 schematically shows a digital imaging apparatus as a kind of digital image processor. Of course, the present invention is not limited to the digital image photographing apparatus as shown in FIG. 1, and the present invention can be applied to image processing apparatuses such as PDAs (personal digital assistants) and PMPs (personal multimedia players). This also applies to the following embodiments and modifications thereof.

디지털 촬영장치의 전체 동작은 CPU(100)에 의해 통괄된다. 그리고 디지털 촬영장치에는 사용자로부터의 전기적 신호를 발생시키는 키 등을 포함하는 조작부(200)가 구비된다. 이 조작부(200)로부터의 전기적 신호는 CPU(100)에 전달되어, CPU(100)가 전기적 신호에 따라 디지털 촬영장치를 제어할 수 있도록 한다.The overall operation of the digital photographing apparatus is governed by the CPU 100. [ The digital photographing apparatus is provided with an operation unit 200 including a key for generating an electrical signal from the user. An electrical signal from the operation unit 200 is transmitted to the CPU 100 so that the CPU 100 can control the digital photographing apparatus in accordance with an electrical signal.

촬영 모드일 경우, 사용자로부터의 전기적 신호가 CPU(100)에 인가됨에 따라 CPU(100)는 그 신호를 파악하여 렌즈 구동부(11), 조리개 구동부(21) 및 촬상소자 제어부(31)를 제어하며, 이에 따라 각각 렌즈(10)의 위치, 조리개(20)의 개방 정도 및 촬상소자(30)의 감도 등이 제어된다. 촬상소자(30)는 입력된 광으로부터 데이터를 생성하며, 아날로그/디지털 변환부(40)는 촬상소자(30)에서 출력되는 아날로그 데이터를 디지털 데이터로 변환한다. 물론 촬상소자(30)의 특성에 따라 아날로그/디지털 변환부(40)가 필요 없는 경우도 있을 수 있다.The CPU 100 recognizes the signal and controls the lens driving unit 11, the diaphragm driving unit 21, and the imaging device control unit 31 as an electrical signal from the user is applied to the CPU 100 , Thereby controlling the position of the lens 10, the degree of opening of the diaphragm 20, and the sensitivity of the imaging element 30, respectively. The image pickup element 30 generates data from the input light, and the analog / digital conversion section 40 converts the analog data output from the image pickup element 30 into digital data. Of course, the analog-to-digital conversion section 40 may not be required depending on the characteristics of the imaging element 30. [

촬상소자(30)로부터의 데이터는 메모리(60)를 거쳐 디지털 신호 처리부(50)에 입력될 수도 있고, 메모리(60)를 거치지 않고 디지털 신호 처리부(50)에 입력될 수도 있으며, 필요에 따라 CPU(100)에도 입력될 수도 있다. 여기서 메모리(60)는 ROM 또는 RAM 등을 포함하는 개념이다. 디지털 신호 처리부(50)는 필요에 따라 감 마(gamma) 보정, 화이트 밸런스 조정 등의 디지털 신호 처리를 할 수 있다. 또한, 도 2에 도시된 것과 같이, 디지털 신호 처리부(50)는 매크로모드 판단부(51), 영역 분할부(53), 색상 정보 추출부(55) 및 제어부(57) 등과 같은 구성요소들을 구비할 수도 있다. 물론 모드 판단부(51), 색상 정보 추출부(53), 영역 분할부(55) 및 제어부(57) 등은 디지털 신호 처리부(50) 내의 구성요소가 아닌 별도의 구성요소일 수도 있는 등 다양한 변형이 가능하다. 이하, 꽃을 판별하는 디지털 신호 처리부(50)의 상세 동작은 후술한다.The data from the image pickup device 30 may be input to the digital signal processing unit 50 via the memory 60 or may be input to the digital signal processing unit 50 without going through the memory 60, (Not shown). Here, the memory 60 is a concept including ROM, RAM, and the like. The digital signal processing unit 50 can perform digital signal processing such as gamma correction and white balance adjustment as necessary. 2, the digital signal processing unit 50 includes components such as a macro mode determination unit 51, a region division unit 53, a color information extraction unit 55, and a control unit 57 You may. Of course, the mode determination unit 51, the color information extraction unit 53, the area division unit 55, the control unit 57, and the like may be components other than the components in the digital signal processing unit 50, This is possible. Hereinafter, detailed operation of the digital signal processor 50 for discriminating flowers will be described later.

디지털 신호 처리부(50)로부터 출력된 데이터로부터의 이미지는 메모리(60)를 통하여 또는 직접 디스플레이 제어부(81)에 전달된다. 디스플레이 제어부(81)는 디스플레이부(80)를 제어하여 디스플레이부(80)에 동영상을 디스플레이한다. 그리고 디지털 신호 처리부(50)로부터 출력된 데이터는 메모리(60)를 통하여 또는 직접 저장/판독 제어부(71)에 입력되는데, 이 저장/판독 제어부(71)는 사용자로부터의 신호에 따라 또는 자동으로 이미지 데이터를 저장매체(70)에 저장한다. 물론 저장/판독 제어부(71)는 저장매체(70)에 저장된 동영상 파일로부터 데이터를 판독하고, 이를 메모리(60)를 통해 또는 다른 경로를 통해 디스플레이 제어부(81)에 입력하여 디스플레이부(80)에 동영상이 디스플레이 되도록 할 수도 있다. 저장매체(70)는 착탈가능한 것일 수도 있고 디지털 촬영장치에 영구 장착된 것일 수 있다.The image from the data outputted from the digital signal processing section 50 is transmitted to the display control section 81 through the memory 60 or directly. The display control unit 81 controls the display unit 80 to display a moving image on the display unit 80. [ The data output from the digital signal processing unit 50 is input to the memory 60 or directly to the storage / read control unit 71. The storage / And stores the data in the storage medium (70). Of course, the storage / read control unit 71 reads data from the moving picture file stored in the storage medium 70 and inputs it to the display control unit 81 through the memory 60 or another path, So that the moving picture is displayed. The storage medium 70 may be removable or permanently attached to the digital photographing apparatus.

이하에서는 도 2를 참조하여 꽃 인식을 위한 디지털 신호 처리부(50)의 동작을 설명한다. 도 2에 도시된 디지털 신호 처리부(50)는 라이브뷰 영상의 피사체가 일정 거리 내에 위치하면 매크로모드로 판단하고, 매크로모드로 판단된 피사체의 색상 정보가 꽃을 표현하는 임의의 색상에 포함되면, 상기 피사체를 꽃으로 인식하며, 모드 판단부(51), 색상 정보 추출부(53), 영역 분할부(55) 및 제어부(57)를 포함한다.Hereinafter, the operation of the digital signal processor 50 for flower recognition will be described with reference to FIG. When the subject of the live view image is located within a certain distance, the digital signal processing unit 50 shown in FIG. 2 determines that the macro mode is selected. When the color information of the subject determined as the macro mode is included in an arbitrary color representing a flower, A color information extracting unit 53, an area dividing unit 55 and a control unit 57. The mode determining unit 51 determines whether the subject is a flower or not.

보통 꽃 촬영은 원거리에서 하지 않는다. 원거리에서 촬영을 한다면 꽃보다는 풍경에 가깝기 때문이다. 따라서 꽃을 촬영한다는 것은 피사체가 즉, 꽃이 근거리에 있다는 것을 의미하며 이것은 매크로 인식을 활용하여 찾아낼 수 있다.Usually, taking flowers is not done at a distance. If you shoot at a distance, it is closer to the landscape than the flowers. Therefore, photographing a flower means that the subject is close to the flower, which can be detected using macro recognition.

모드 판단부(51)는 라이브뷰 영상의 피사체가 일정 거리 예를 들어 3cm-30cm 이내에 존재하는지 판단하여 매크로모드 인지 노멀모드인지 판단한다. 매크로모드 판단부(51)는 라이브뷰 영상의 피사체 거리를 측정하며, 이 피사체 거리를 수신한 제어부(57)가 매크로모드인지 노멀모드인지 판단한다.The mode determination unit 51 determines whether the subject of the live view image exists within a predetermined distance, for example, within 3 cm-30 cm, and determines whether the mode is the macro mode or the normal mode. The macro mode determination unit 51 measures the subject distance of the live view image and determines whether the control unit 57 receiving the subject distance is in the macro mode or the normal mode.

도 3에는 디지털 영상 처리기에서 오토 포커싱을 위한 렌즈 위치 결정을 위해 전체 렌즈 위치 지점에서 오토 포커스값 획득을 그래프로 나타내고 있다. 디지털 촬영 장치는 렌즈의 위치를 옮겨가며 오토포커스값을 획득하는데, 이를 그래프로 나타내면 도 3의 그래프와 같다. 이와 같은 그래프에서 피크에 대응하는 렌즈의 위치 지점(AFP)이 오토 포커싱을 위한 렌즈 위치 지점으로 결정된다.FIG. 3 graphically shows the autofocus value acquisition at all lens position points for lens positioning for autofocusing in a digital image processor. The digital photographing apparatus moves the position of the lens and acquires the autofocus value. The graph is shown in the graph of FIG. In this graph, the lens position point AFP corresponding to the peak is determined as the lens position point for auto focusing.

디지털 영상 처리기의 촬영 모드에는 매크로모드와 매크로모드가 아닌 모드(이하 노멀모드라 표기함)가 있는데, 매크로모드는 디지털 영상 처리기로부터 피사체까지의 거리가 예를 들어 3cm-30cm인 경우에 선택되는 모드이고, 노멀모드는 디지털 영상 처리기로부터 피사체까지의 거리가 예를 들어 30cm 이상인 경우에 선택되는 모드이다. 따라서 노멀모드가 선택된 경우에는 도 3에 도시된 바와 같이 노 멀모드 대응 영역인 무한대 대응지점부터 30cm 대응 지점까지의 범위에서 렌즈 위치를 변경하며 오토 포커스 값을 획득하고, 오토 포커싱을 위한 렌즈 위치를 결정한다. 매크로모드가 선택된 경우에는 매크로모드 대응 영역인 30cm 대응 지점부터 3cm 대응 지점까지의 범위에서 렌즈 위치를 변경하며 오토 포커스 값을 획득한다. There are modes other than macro mode and macro mode (hereinafter referred to as normal mode) in the shooting mode of the digital image processor. The macro mode is a mode in which the distance from the digital image processor to the subject is, for example, 3 cm to 30 cm And the normal mode is a mode selected when the distance from the digital image processor to the subject is, for example, 30 cm or more. Accordingly, when the normal mode is selected, the lens position is changed in the range from the infinity corresponding point, which corresponds to the normal mode to the corresponding point 30 cm, as shown in FIG. 3, and the autofocus value is obtained. . When the macro mode is selected, the lens position is changed in a range from the corresponding point of 30 cm to the corresponding point of 3 cm corresponding to the macro mode, and the autofocus value is obtained.

색상 정보 추출부(53)는 라이브뷰 영상에 대한 색상 정보를 추출한다. 보통 꽃의 색상은 어느 정도 한정되어 있으며, 빨간색, 노란색, 보라색 계통의 꽃은 도 4에 도시된 바와 같은 HSV(hue(색도), saturation(채도), value(명도)) 공간 상에서 특정 위치에 분포되어 있으며, HSV 좌표계가 아닌 Hue 정보를 알 수 있는 색공간이면 어느 좌표계에서나 꽃의 색을 구분해 낼 수 있다.The color information extracting unit 53 extracts color information on the live view image. The colors of the flowers are usually limited to a certain extent, and the flowers of the red, yellow, and purple lines are distributed at specific positions on the HSV (hue (chroma), saturation, value And it is possible to distinguish the color of flowers from any coordinate system in the case of a color space in which the Hue information can be known rather than the HSV coordinate system.

영역 분할부(55)는 피사체가 디스플레이되는 디스플레이부(80)를 소정 개수의 영역으로 분할하며, 도 5에 그 예가 도시되어 있다. 사용자가 꽃을 촬영할 경우, 보통 가운데에 메인 꽃을 위치시켜 촬영하게 된다. 따라서 도 5에 도시된 바와 같이 영역 크기를 다르게 분할하고 각 영역에 가중치를 주면, 도 4와 같이 컬러 구분이 더 확실하게 된다. 예를 들어 도 5와 같이 영역을 9개로 분할하고, 영역 5에 가중치를 10을 주고, 영역 2 및 8에 가중치를 8을 주고 나머지 영역에 가중치를 2로 줄 수 있다.The area dividing unit 55 divides the display unit 80 on which a subject is displayed into a predetermined number of areas, and an example thereof is shown in Fig. When the user shoots a flower, the main flower is usually placed in the center. Therefore, if the area size is differently divided and the weight is given to each area as shown in FIG. 5, the color classification becomes more clear as shown in FIG. For example, as shown in FIG. 5, the region may be divided into 9 regions, the region 5 may be weighted 10, the regions 2 and 8 may be weighted 8, and the remaining regions may be weighted 2.

제어부(57)는 모드 판단부(51)의 판단 결과, 라이브뷰 영상의 피사체가 일정 거리 예를 들어 3cm-30cm 내에 위치해 있는 경우 매크로모드로 판단하고, 색상 정보 추출부(53)가 추출된 색상 정보가 꽃을 표현하는 임의의 색상 예를 들어 빨간색, 노랑색, 보라색 계통에 포함되면 피사체를 꽃으로 인식한다. 그러나, 색상 정보 추출부(53)가 추출한 색상 정보가 꽃을 표현하는 색상이 아닌 경우, 피사체를 꽃으로 인식하지 않는다.As a result of the determination by the mode determination unit 51, the control unit 57 determines that the macro mode is selected when the subject of the live view image is located within a predetermined distance, for example, 3 cm to 30 cm. If the color information extraction unit 53 determines that the extracted color If the information is contained in a random color representing a flower, for example, a red, a yellow, or a purple line, the subject is recognized as a flower. However, when the color information extracted by the color information extracting unit 53 is not a color representing a flower, the subject is not recognized as a flower.

이와 같이 피사체의 거리 정보 및 색상 정보를 이용하여 피사체를 꽃으로 정확하게 인식할 수 있다.Thus, the subject can be accurately recognized as a flower by using the distance information and color information of the subject.

이하, 도 6을 참조하여 본 발명에 따른 디지털 영상 처리기에서 꽃을 인식하는 방법을 상세히 설명한다. 본 발명에 따른 풍경씬 판별 방법은 도 1 및 도 2에 도시된 바와 같은 디지털 영상 처리기 내부에서 수행될 수 있는데, 실시 예에 따라 동작 방법의 주 알고리즘은 기기 내의 주변 구성 요소들의 도움을 받아 디지털 신호 처리부(50) 내부에서 수행될 수 있다.Hereinafter, a method of recognizing flowers in the digital image processor according to the present invention will be described in detail with reference to FIG. The method of determining a landscape scene according to the present invention can be performed in a digital image processor as shown in FIGS. 1 and 2. According to an exemplary embodiment, And may be performed within the processing unit 50.

도 6에 도시된 바와 같이, 디스플레이부(80)에 라이브뷰 영상이 디스플레이 되면(610단계), 디지털 신호 처리부(50)는 영상 씬이 변화되었는지 판단한다(620단계).6, when the live view image is displayed on the display unit 80 (step 610), the digital signal processor 50 determines whether the image scene has changed (step 620).

영상 씬이 변화된 경우 디지털 신호 처리부(50)는 오토 포커싱 조정을 수행한다(630단계).When the video scene changes, the digital signal processor 50 performs autofocus adjustment (step 630).

오토 포커싱 조정 완료 후에, 디지털 신호 처리부(50)는 라이브뷰 영상의 피사체가 일정 거리 예를 들어 3cm-30cm 이내에 존재하는 매크로모드 인지 여부를 판단하여(640단계), 라이브뷰 영상의 피사체가 일정 거리 예를 들어 3cm-30cm 이내에 존재하는 경우 매크로모드로 인식하고(650단계) 그렇지 않은 경우 노멀모드로 인식한다. 매크로모드 및 노멀모드에 대한 판단은 상기에서 설명되었으므로 생략한다.After completion of the auto focus adjustment, the digital signal processing unit 50 determines whether the subject of the live view image is in a macro mode within a predetermined distance, for example, 3 cm to 30 cm (step 640) For example, if it is within 3 cm-30 cm, it is recognized as a macro mode (step 650). Otherwise, it is recognized as a normal mode. Since the determination of the macro mode and the normal mode has been described above, it is omitted here.

매크로모드 판단이 완료되면, 디지털 신호 처리부(50)는 도 5에 도시된 바와 같이 디스플레이 영역을 소정 개수(예를 들어 9개)로 분할하고 각 영역별 색상을 추출한다(660단계). 보통 꽃의 색상은 어느 정도 한정되어 있으며, 빨간색, 노란색, 보라색 계통의 꽃은 도 4에 도시된 바와 같은 HSV(hue(색도), saturation(채도), value(명도)) 공간 상에서 특정 위치에 분포되어 있으며, HSV 좌표계가 아닌 Hue 정보를 알 수 있는 색공간이면 어느 좌표계에서나 꽃의 색을 구분해 낼 수 있다.After the determination of the macro mode is completed, the digital signal processor 50 divides the display area into a predetermined number (for example, nine) and extracts colors for each area as shown in FIG. 5 (step 660). The colors of the flowers are usually limited to a certain extent, and the flowers of the red, yellow, and purple lines are distributed at specific positions on the HSV (hue (chroma), saturation, value And it is possible to distinguish the color of flowers from any coordinate system in the case of a color space in which the Hue information can be known rather than the HSV coordinate system.

사용자가 꽃을 촬영할 경우, 보통 가운데에 메인 꽃을 위치시켜 촬영하게 된다. 따라서 도 5에 도시된 바와 같이 디지털 신호 처리부(50)는 영역 크기를 다르게 분할하고 각 영역에 가중치를 적용한다(670단계). 이와 같이 가중치를 적용하면 도 4와 같이 컬러 구분이 더 확실하게 된다. When the user shoots a flower, the main flower is usually placed in the center. Accordingly, as shown in FIG. 5, the digital signal processor 50 divides the area size differently and applies the weight to each area (step 670). When the weight is applied as described above, the color classification becomes more clear as shown in FIG.

이어서, 디지털 신호 처리부(50)는 가중치가 적용된 색상정보로부터 피사체 즉, 꽃이 컬러인지 판단하고(680단계), 판단결과, 꽃이 컬러 즉, 꽃의 색상 정보가 임의의 색상 예를 들어 빨간색, 노랑색, 보라색 계통에 포함되면 라이브뷰 영상을 꽃으로 인식한다(690단계).In step 680, the digital signal processor 50 determines whether the subject is a color from the color information to which the weight is applied (step 680). If it is determined that the flower is a color, that is, Yellow, and purple lines, the live view image is recognized as a flower (step 690).

그러나, 꽃의 색상 정보가 임의의 색상 예를 들어 빨간색, 노랑색, 보라색 계통에 포함되지 않으면, 라이브뷰 영상을 꽃이 아닌것으로 인식한다(700단계).However, if the flower color information is not included in any color, for example, a red, a yellow, or a purple line, the live view image is recognized as not a flower (step 700).

도 1은 본 발명에 따른 디지털 영상 처리기에서 꽃을 인식하는 장치의 구성을 보이는 블록도 이다.1 is a block diagram showing a configuration of an apparatus for recognizing flowers in a digital image processor according to the present invention.

도 2는 도 1 중 디지털 신호 처리부의 상세 블록도 이다.2 is a detailed block diagram of the digital signal processing unit in FIG.

도 3은 도 1에서 매크로모드 판단을 설명하기 위한 도면이다.FIG. 3 is a diagram for explaining the determination of the macro mode in FIG.

도 4는 도 1에서 꽃이 디스플레이된 영역을 분할 예를 보이는 도면이다.FIG. 4 is a view showing an example in which a flower display area is divided in FIG.

도 5는 도 4의 영역별 색상 정보의 예를 도시한 도면이다.FIG. 5 is a diagram showing an example of color information for each region in FIG.

도 6은 본 발명에 따른 디지털 영상 처리기에서 꽃을 인식하는 방법의 동작을 보이는 흐름도 이다.6 is a flowchart illustrating an operation of a flower recognition method in a digital image processor according to the present invention.

Claims (9)

디지털 영상 처리기로서,As a digital image processor, 라이브뷰 영상의 피사체가 일정 거리 내에 위치하는지 여부를 판단하고, 상기 라이브뷰 영상의 피사체가 일정 거리 내에 위치한 매크로모드로 판단되면, 상기 라이브뷰 영상을 크기가 다른 영역들이 포함되도록 소정의 개수로 분할하고, 상기 각 영역에 가중치를 할당하며, 상기 영역별 가중치가 적용된 색상 정보를 획득하고, 상기 매크로모드로 판단된 피사체의 상기 영역별 가중치가 적용된 색상 정보가 꽃을 표현하는 임의의 색상에 포함되면, 상기 피사체를 꽃으로 인식하는 디지털 신호 처리 수단을 포함하는 꽃을 인식하는 장치.The method comprising the steps of: determining whether a subject of the live view image is located within a predetermined distance; and if the subject of the live view image is determined as a macro mode located within a predetermined distance, And assigns a weight to each of the areas, obtains color information to which the weight for each area is applied, and if the color information to which the weight for each area of the subject determined to be the macro mode is applied is included in an arbitrary color representing a flower And a digital signal processing means for recognizing the subject as a flower. 제 1항에 있어서, 상기 라이브뷰 영상의 피사체는 AF(auto focus) 처리가 완료된 것임을 특징으로 하는 꽃을 인식하는 장치. The apparatus of claim 1, wherein the subject of the live view image is an AF (auto focus) processed. 삭제delete 삭제delete 디지털 영상 처리기의 동작 방법으로서,A method of operating a digital image processor, (a) 라이브뷰 영상의 피사체가 일정 거리 내에 위치여부를 판단하는 단계; (a) determining whether a subject of the live view image is located within a predetermined distance; (b) 상기 라이브뷰 영상의 피사체가 일정 거리 내에 위치한 매크로모드로 판단되면, 상기 라이브뷰 영상을 크기가 다른 영역들이 포함되도록 소정의 개수로 분할하고, 상기 각 영역에 가중치를 할당하는 단계;(b) if the subject of the live view image is determined to be a macro mode located within a predetermined distance, dividing the live view image into a predetermined number so as to include regions having different sizes, and assigning a weight to each of the regions; (c) 상기 영역별 가중치가 적용된 색상 정보를 획득하는 단계; 및(c) obtaining color information to which the weight for each region is applied; And (d) 상기 매크로모드로 판단된 피사체의 상기 영역별 가중치가 적용된 색상 정보가 꽃을 표현하는 임의의 색상에 포함되면 상기 피사체를 꽃으로 인식하는 단계를 포함하는 꽃을 인식하는 방법.(d) recognizing the subject as a flower if the color information to which the weight for each region of the subject determined as the macro mode is included in an arbitrary color representing a flower. 제 5항에 있어서, 상기 (a)단계에서6. The method of claim 5, wherein in step (a) 상기 라이브뷰 영상의 피사체는 AF(auto focus) 처리가 완료된 것임을 특징으로 하는 꽃을 인식하는 방법. Wherein the subject of the live view image is an AF (auto focus) process completed. 삭제delete 제 1 항에 있어서,The method according to claim 1, 상기 영역별 가중치는 상기 라이브뷰 영상의 중앙에 가까운 영역일수록 높은 가중치를 주는 것을 특징으로 하는 꽃을 인식하는 장치.Wherein the weight for each region gives a higher weight to a region closer to the center of the live view image. 제 5 항에 있어서,6. The method of claim 5, 상기 영역별 가중치는 상기 라이브뷰 영상의 중앙에 가까운 영역일수록 높은 가중치를 주는 것을 특징으로 하는 꽃을 인식하는 방법.Wherein the weight for each region gives a higher weight to a region closer to the center of the live view image.
KR1020080134964A 2008-12-26 2008-12-26 Apparatus and method for recognizing flower in digital image processing device KR101579107B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080134964A KR101579107B1 (en) 2008-12-26 2008-12-26 Apparatus and method for recognizing flower in digital image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080134964A KR101579107B1 (en) 2008-12-26 2008-12-26 Apparatus and method for recognizing flower in digital image processing device

Publications (2)

Publication Number Publication Date
KR20100076795A KR20100076795A (en) 2010-07-06
KR101579107B1 true KR101579107B1 (en) 2015-12-21

Family

ID=42638449

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080134964A KR101579107B1 (en) 2008-12-26 2008-12-26 Apparatus and method for recognizing flower in digital image processing device

Country Status (1)

Country Link
KR (1) KR101579107B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100369370B1 (en) * 1999-10-11 2003-01-24 한국전자통신연구원 Block-based Image Histogram Generation Method
JP2008042616A (en) * 2006-08-08 2008-02-21 Eastman Kodak Co Imaging apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100369370B1 (en) * 1999-10-11 2003-01-24 한국전자통신연구원 Block-based Image Histogram Generation Method
JP2008042616A (en) * 2006-08-08 2008-02-21 Eastman Kodak Co Imaging apparatus

Also Published As

Publication number Publication date
KR20100076795A (en) 2010-07-06

Similar Documents

Publication Publication Date Title
JP4862930B2 (en) Image processing apparatus, image processing method, and program
JP6204660B2 (en) Imaging apparatus and control method thereof
US20100231747A1 (en) Method and system for focal length-specific color enhancement
US10027878B2 (en) Detection of object in digital image
KR101441786B1 (en) Subject determination apparatus, subject determination method and recording medium storing program thereof
JP2008219874A (en) Imaging device, image processing device, control method, and program
US20060291845A1 (en) Apparatus and method for deciding in-focus position of imaging lens
US7614559B2 (en) Apparatus and method for deciding in-focus position of imaging lens
JP2014127963A (en) Image processing system and image processing method
CN101996389A (en) Image processing device, imaging device, and image processing program
CN102542251B (en) Object detection device and subject detection method
CN107920205B (en) Image processing method, device, storage medium and electronic equipment
US20180077298A1 (en) Image-capturing assistance device and image-capturing device
JP5395650B2 (en) Subject area extraction device and control method thereof, subject tracking device, and program
JP5045538B2 (en) Imaging apparatus and program
KR101579107B1 (en) Apparatus and method for recognizing flower in digital image processing device
JP2016146640A (en) Area extraction device, imaging apparatus, and area extraction program
JP5871175B2 (en) Region extraction device, imaging device, and region extraction program
JP6349703B2 (en) Electronic camera and image processing program
JP5899693B2 (en) Region extraction device, imaging device, and region extraction program
JP2015102856A (en) Image processing device, electronic camera and image processing program
JP5287965B2 (en) Image processing apparatus, image processing method, and program
JP2011147076A (en) Image processing apparatus, image capturing apparatus and program
JP6464553B2 (en) Lens drive control device, electronic camera, and lens drive control program
JP6508259B2 (en) Imaging device and program

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
LAPS Lapse due to unpaid annual fee