KR20100076795A - 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
KR20100076795A
KR20100076795A KR1020080134964A KR20080134964A KR20100076795A KR 20100076795 A KR20100076795 A KR 20100076795A KR 1020080134964 A KR1020080134964 A KR 1020080134964A KR 20080134964 A KR20080134964 A KR 20080134964A KR 20100076795 A KR20100076795 A KR 20100076795A
Authority
KR
South Korea
Prior art keywords
flower
subject
live view
view image
color information
Prior art date
Application number
KR1020080134964A
Other languages
Korean (ko)
Other versions
KR101579107B1 (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE: An apparatus and a method for recognizing a flower in a digital image processing device are provided to recognize a subject as a flower if color information is included in a certain color. CONSTITUTION: A mode determining unit(51) judges whether or not a subject of a live view image exists in a certain distance, and a color information extraction unit(53) extracts the color information of the live view image. If the extracted color information is included in a certain color indicating a flower, a control unit(57) recognizes the subject as the flower. A region division unit(55) divides the live view image into regions, and gives the weight value to the each region.

Description

디지털 영상 처리기에서 꽃을 인식하는 장치 및 방법{Apparatus and method for recognizing flower in digital image processing device}Apparatus and method for recognizing flower in digital image processing device}

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

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

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

본 발명이 이루고자 하는 기술적인 과제를 해결하기 위한 디지털 영상 처리기에서 꽃을 인식하는 장치는 디지털 영상 처리기로서, 라이브뷰 영상의 피사체가 일정 거리 내에 위치하면 매크로모드로 판단하고, 상기 매크로모드로 판단된 피사체의 색상 정보가 꽃을 표현하는 임의의 색상에 포함되면, 상기 피사체를 꽃으로 인식하는 디지털 신호 처리 수단을 포함하는 것이 바람직하다.The device for recognizing a flower in a digital image processor for solving the technical problem to be solved by the present invention is a digital image processor. When the subject of the live view image is located within a certain distance, it is determined as a macro mode, and determined as the macro mode. When the color information of the subject is included in any color representing the flower, it is preferable to include digital signal processing means for recognizing the subject as a flower.

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

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

본 발명에 있어서, 상기 색상 정보 추출부는 상기 라이브뷰 영상을 소정개수 의 영역으로 분할하고, 상기 각 영역에 가중치를 할당하는 영역 분할부를 더 포함하고, 상기 영역별 가중치가 적용된 색상 정보를 추출할 수 있다.The color information extracting unit may further include a region dividing unit which divides the live view image into a predetermined number of regions and assigns weights to the regions, and extracts color information to which the respective region weights are applied. Can be.

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

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

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

상술한 바와 같이 본 발명에 따르면, 피사체의 거리 정보 및 색상 정보를 이용하여 피사체를 꽃으로 정확하게 인식할 수 있다.As described above, according to the present invention, the subject can be accurately recognized as a flower 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 the configuration of an apparatus for recognizing a flower in a digital image processor according to the present invention. In particular, FIG. 1 schematically illustrates a digital photographing 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 personal digital assistants (PDAs) and personal multimedia players (PMPs). This also applies to the embodiments described below and variations thereof.

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

촬영 모드일 경우, 사용자로부터의 전기적 신호가 CPU(100)에 인가됨에 따라 CPU(100)는 그 신호를 파악하여 렌즈 구동부(11), 조리개 구동부(21) 및 촬상소자 제어부(31)를 제어하며, 이에 따라 각각 렌즈(10)의 위치, 조리개(20)의 개방 정도 및 촬상소자(30)의 감도 등이 제어된다. 촬상소자(30)는 입력된 광으로부터 데이터를 생성하며, 아날로그/디지털 변환부(40)는 촬상소자(30)에서 출력되는 아날로그 데이터를 디지털 데이터로 변환한다. 물론 촬상소자(30)의 특성에 따라 아날로그/디지털 변환부(40)가 필요 없는 경우도 있을 수 있다.In the photographing mode, as the electrical signal from the user is applied to the CPU 100, the CPU 100 detects the signal and controls the lens driver 11, the aperture driver 21, and the imaging device controller 31. Accordingly, the position of the lens 10, the opening degree of the diaphragm 20, the sensitivity of the imaging device 30, and the like are respectively controlled. The imaging device 30 generates data from the input light, and the analog / digital converter 40 converts the analog data output from the imaging device 30 into digital data. Of course, the analog / digital converter 40 may not be necessary depending on the characteristics of the imaging device 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)의 상세 동작은 후술한다.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 passing through the memory 60. It may also be input to 100. The memory 60 is a concept including a ROM or a RAM. The digital signal processing unit 50 may perform digital signal processing such as gamma correction and white balance adjustment as necessary. In addition, as illustrated in FIG. 2, the digital signal processor 50 includes components such as a macro mode determiner 51, an area divider 53, a color information extractor 55, a controller 57, and the like. You may. Of course, the mode determining unit 51, the color information extracting unit 53, the region dividing unit 55, and the control unit 57 may be separate components other than the components in the digital signal processing unit 50. This is possible. Hereinafter, the detailed operation of the digital signal processing unit 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 output from the digital signal processing unit 50 is transmitted to the display control unit 81 or directly through the memory 60. The display controller 81 controls the display 80 to display a video on the display 80. The data output from the digital signal processing unit 50 is inputted through the memory 60 or directly to the storage / reading control unit 71. The storage / reading control unit 71 automatically generates an image according to a signal from a user or automatically. The data is stored in the storage medium 70. Of course, the storage / reading control unit 71 reads data from the video file stored in the storage medium 70 and inputs the data to the display control unit 81 through the memory 60 or through another path to the display unit 80. You can also have a video displayed. The storage medium 70 may be detachable or may be permanently mounted to the digital photographing apparatus.

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

보통 꽃 촬영은 원거리에서 하지 않는다. 원거리에서 촬영을 한다면 꽃보다는 풍경에 가깝기 때문이다. 따라서 꽃을 촬영한다는 것은 피사체가 즉, 꽃이 근거리에 있다는 것을 의미하며 이것은 매크로 인식을 활용하여 찾아낼 수 있다.Usually flowers are not taken from a distance. If you take a picture from a long distance, it is closer to the landscape than the flower. Therefore, photographing flowers means that the subject, ie, the flowers are close, can be found 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, 3 cm-30 cm, and determines whether the macro mode or the normal mode is present. The macro mode determination unit 51 measures the subject distance of the live view image, and determines whether the controller 57 that receives the subject distance is the macro mode or the normal mode.

도 3에는 디지털 영상 처리기에서 오토 포커싱을 위한 렌즈 위치 결정을 위해 전체 렌즈 위치 지점에서 오토 포커스값 획득을 그래프로 나타내고 있다. 디지털 촬영 장치는 렌즈의 위치를 옮겨가며 오토포커스값을 획득하는데, 이를 그래프로 나타내면 도 3의 그래프와 같다. 이와 같은 그래프에서 피크에 대응하는 렌즈의 위치 지점(AFP)이 오토 포커싱을 위한 렌즈 위치 지점으로 결정된다.FIG. 3 graphically illustrates auto focus value acquisition at all lens position points for lens positioning for auto focusing in a digital image processor. The digital photographing apparatus acquires an autofocus value by shifting the position of the lens, which is shown in the graph of FIG. 3. 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 대응 지점까지의 범위에서 렌즈 위치를 변경하며 오토 포커스 값을 획득한다. The shooting mode of the digital image processor includes a macro mode and a non-macro mode (hereinafter referred to as normal mode). The macro mode is selected when the distance from the digital image processor to the subject is, for example, 3 cm-30 cm. 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. Therefore, when the normal mode is selected, as shown in FIG. 3, the lens position is changed from the infinity corresponding point corresponding to the normal mode to the 30 cm corresponding point to obtain an autofocus value, and the lens position for auto focusing is changed. Decide When the macro mode is selected, an autofocus value is obtained by changing the lens position in a range from a 30 cm corresponding point, which is a macro mode corresponding area, to a 3 cm corresponding point.

색상 정보 추출부(53)는 라이브뷰 영상에 대한 색상 정보를 추출한다. 보통 꽃의 색상은 어느 정도 한정되어 있으며, 빨간색, 노란색, 보라색 계통의 꽃은 도 4에 도시된 바와 같은 HSV(hue(색도), saturation(채도), value(명도)) 공간 상에서 특정 위치에 분포되어 있으며, HSV 좌표계가 아닌 Hue 정보를 알 수 있는 색공간이면 어느 좌표계에서나 꽃의 색을 구분해 낼 수 있다.The color information extracting unit 53 extracts color information of the live view image. Usually, the color of the flower is somewhat limited, and the red, yellow, and purple flowers are distributed at specific positions in the HSV (hue, saturation, value) space as shown in FIG. If the color space where Hue information is known, not HSV coordinate system, the color of flower can be distinguished from any 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 the subject is displayed into a predetermined number of regions, an example of which is illustrated in FIG. 5. When the user shoots flowers, the main flower is usually placed in the center. Therefore, as shown in FIG. 5, if the size of the region is divided differently and weighted to each region, color separation becomes more secure as shown in FIG. 4. For example, as shown in FIG. 5, the region may be divided into nine, the weight of the region 5 may be 10, the weight of the regions 2 and 8 may be 8, and the weight of the remaining regions may be 2.

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

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

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

도 6에 도시된 바와 같이, 디스플레이부(80)에 라이브뷰 영상이 디스플레이 되면(610단계), 디지털 신호 처리부(50)는 영상 씬이 변화되었는지 판단한다(620단계).As shown in FIG. 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 is changed (step 620).

영상 씬이 변화된 경우 디지털 신호 처리부(50)는 오토 포커싱 조정을 수행한다(630단계).When the image scene is changed, the digital signal processing unit 50 performs auto focusing adjustment (operation 630).

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

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

사용자가 꽃을 촬영할 경우, 보통 가운데에 메인 꽃을 위치시켜 촬영하게 된다. 따라서 도 5에 도시된 바와 같이 디지털 신호 처리부(50)는 영역 크기를 다르게 분할하고 각 영역에 가중치를 적용한다(670단계). 이와 같이 가중치를 적용하면 도 4와 같이 컬러 구분이 더 확실하게 된다. When the user shoots flowers, 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 a weight to each area (step 670). When the weight is applied in this way, color separation is more reliably as shown in FIG. 4.

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

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

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

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

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

도 4는 도 1에서 꽃이 디스플레이된 영역을 분할 예를 보이는 도면이다.4 is a diagram illustrating an example of dividing an area where flowers are displayed in FIG. 1.

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

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

Claims (7)

디지털 영상 처리기로서,As a digital image processor, 라이브뷰 영상의 피사체가 일정 거리 내에 위치하면 매크로모드로 판단하고, 상기 매크로모드로 판단된 피사체의 색상 정보가 꽃을 표현하는 임의의 색상에 포함되면, 상기 피사체를 꽃으로 인식하는 디지털 신호 처리 수단을 포함하는 꽃을 인식하는 장치.Digital signal processing means for determining the macro mode when the subject of the live view image is located within a certain distance, and when the color information of the subject determined in the macro mode is included in an arbitrary color representing a flower, the subject is recognized as a flower. Device for recognizing a flower comprising a. 제 1항에 있어서, 상기 라이브뷰 영상의 피사체는 AF(auto focus) 처리가 완료된 것임을 특징으로 하는 꽃을 인식하는 장치. The apparatus of claim 1, wherein the subject of the live view image is AF completed. 제 2항에 있어서, 상기 디지털 신호 처리수단은3. The digital signal processing means according to claim 2, 상기 라이브뷰 영상의 피사체가 일정 거리 내에 위치해 있는지 여부를 판단하는 모드 판단부;A mode determination unit determining whether a subject of the live view image is located within a predetermined distance; 상기 라이브뷰 영상의 색상 정보를 추출하는 색상 정보 추출부; 및A color information extracting unit extracting color information of the live view image; And 상기 라이브뷰 영상의 피사체가 일정 거리 내에 위치해 있는 매크로모드로 판단되고, 상기 추출된 색상 정보가 꽃을 표현하는 임의의 색상에 포함되면 상기 피사체를 꽃으로 인식하는 제어부를 포함하는 것을 특징으로 하는 꽃을 인식하는 장치.And a control unit for recognizing the subject as a flower when the subject of the live view image is determined to be a macro mode located within a predetermined distance and the extracted color information is included in an arbitrary color representing a flower. Recognize the device. 제 3항에 있어서, 상기 색상 정보 추출부는The method of claim 3, wherein the color information extraction unit 상기 라이브뷰 영상을 소정개수의 영역으로 분할하고, 상기 각 영역에 가중치를 할당하는 영역 분할부를 더 포함하고,A region dividing unit for dividing the live view image into a predetermined number of regions and assigning weights to the regions; 상기 영역별 가중치가 적용된 색상 정보를 추출하는 것을 특징으로 하는 꽃을 인식하는 장치.A device for recognizing a flower, characterized in that for extracting the color information applied to the weight for each region. 디지털 영상 처리기의 동작 방법으로서,As an operation method of a digital image processor, (a) 라이브뷰 영상의 피사체가 일정 거리 내에 위치여부를 판단하는 단계; (a) determining whether a subject of the live view image is located within a predetermined distance; (b) 상기 라이브뷰 영상의 색상 정보를 추출하는 단계; 및(b) extracting color information of the live view image; And (c) 상기 라이브뷰 영상의 피사체가 일정 거리 내에 위치한 매크로모드로 판단되고, 상기 추출된 색상 정보가 꽃을 표현하는 임의의 색상에 포함되면 상기 피사체를 꽃으로 인식하는 단계를 포함하는 꽃을 인식하는 방법.(c) Recognizing a flower comprising the step of recognizing the subject as a flower if it is determined that the subject of the live view image is a macro mode located within a predetermined distance and the extracted color information is included in an arbitrary color representing a flower. How to. 제 5항에 있어서, 상기 (a)단계에서The method of claim 5, wherein in step (a) 상기 라이브뷰 영상의 피사체는 AF(auto focus) 처리가 완료된 것임을 특징으로 하는 꽃을 인식하는 방법. The subject of the live view image is a method for recognizing a flower, characterized in that the AF (auto focus) processing is completed. 제 6항에 있어서, 상기 (b)단계는The method of claim 6, wherein step (b) (b-1) 상기 라이브뷰 영상을 소정개수의 영역으로 분할하고, 상기 각 영역에 가중치를 할당하는 단계; 및(b-1) dividing the live view image into a predetermined number of regions, and assigning weights to the regions; And (b-2) 상기 영역별 가중치가 적용된 색상 정보를 추출하는 단계를 포함하는 것을 특징으로 하는 꽃을 인식하는 방법.(b-2) extracting color information to which the weight for each region is applied.
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 true KR20100076795A (en) 2010-07-06
KR101579107B1 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
KR101579107B1 (en) 2015-12-21

Similar Documents

Publication Publication Date Title
JP4862930B2 (en) Image processing apparatus, image processing method, and program
KR102499560B1 (en) Detection apparatus and detection method
WO2015012411A1 (en) Image processing device, method of processing image, image processing program, and imaging device
JP6132490B2 (en) Authentication apparatus, authentication method, and program
JP5939705B2 (en) Subject determination device, subject determination method, and program
KR20110034961A (en) Apparatus and method for processing image according to display scene mode
US9357205B2 (en) Stereoscopic image control apparatus to adjust parallax, and method and program for controlling operation of same
US10382671B2 (en) Image processing apparatus, image processing method, and recording medium
US7614559B2 (en) Apparatus and method for deciding in-focus position of imaging lens
CN104702824A (en) Image capturing apparatus and control method of image capturing apparatus
KR20110004083A (en) Apparatus and method for processing digital image
JP2014127963A (en) Image processing system and image processing method
US10121067B2 (en) Image processing apparatus that determines processing target area of an image based on degree of saliency, image processing method, and storage medium
CN101996389A (en) Image processing device, imaging device, and image processing program
US9070008B2 (en) Object recognition apparatus and dictionary data registration method
KR20100012822A (en) Imaging apparatus and imaging method
US20180077298A1 (en) Image-capturing assistance device and image-capturing device
JP2011134117A (en) Object region extraction apparatus, method for controlling the same, object tracking apparatus, and program
KR101616028B1 (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable medium
JP5381498B2 (en) Image processing apparatus, image processing program, and image processing method
KR20100076795A (en) Apparatus and method for recognizing flower in digital image processing device
JP6379478B2 (en) Image processing apparatus, electronic camera, and image processing program
JP6349703B2 (en) Electronic camera and image processing program
KR20100116877A (en) Apparatus and method for determining landscape scene in digital image processing device
JP2018197873A (en) Image processor and image processing 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