KR20100104048A - Method and apparatus for classifying a sky image using histogram analysis - Google Patents

Method and apparatus for classifying a sky image using histogram analysis Download PDF

Info

Publication number
KR20100104048A
KR20100104048A KR1020090022185A KR20090022185A KR20100104048A KR 20100104048 A KR20100104048 A KR 20100104048A KR 1020090022185 A KR1020090022185 A KR 1020090022185A KR 20090022185 A KR20090022185 A KR 20090022185A KR 20100104048 A KR20100104048 A KR 20100104048A
Authority
KR
South Korea
Prior art keywords
image
histogram
sky
peak
frequency
Prior art date
Application number
KR1020090022185A
Other languages
Korean (ko)
Other versions
KR101599873B1 (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 KR1020090022185A priority Critical patent/KR101599873B1/en
Publication of KR20100104048A publication Critical patent/KR20100104048A/en
Application granted granted Critical
Publication of KR101599873B1 publication Critical patent/KR101599873B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration using histogram techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)
  • Studio Devices (AREA)

Abstract

PURPOSE: A method and a device for classifying a sky image using histogram analysis are provided to analyze the characteristic of a histogram image and classify an input image based on analysis result, thereby reducing the complexity and processing time of calculation for analyzing histogram characteristic and exactly classifying a sky image. CONSTITUTION: Converting an input RGB image into a luminance/color difference image and using the converted color difference image to remove a cloud component included in the input RGB image. Converting an image which removed the cloud component into a histogram image of gray level and analyzing the characteristic of converted histogram image. A YCC converting unit(110) converts an input RGB image into a luminance/color difference image. A cloud removing unit uses the converted color difference image and removes the cloud component, a cloud component included in the RGB image. A histogram analyzing unit(130) converts the image, an image that removed the cloud component, into a histogram image of a gray level and analyzes the characteristic of the converted histogram image.

Description

히스토그램 분석을 이용한 하늘 영상 분류 방법 및 장치{Method and apparatus for classifying a sky image using histogram analysis} Method and apparatus for classifying a sky image using histogram analysis

본 발명은 영상 처리에 관한 것으로, 더 상세하게는 히스토그램을 이용한 하늘 영상 분류 방법 및 장치에 관한 것이다.The present invention relates to image processing, and more particularly, to a sky image classification method and apparatus using a histogram.

영상 히스토그램은 영상 안에서 픽셀들에 대한 명암 값의 분포를 나타낸 것으로 밝은 픽셀과 어두운 픽셀이 분포할 때 그 범위와 값을 표현한 것이다. 이것을 그래프로 나타낸 것을 히스토그램 그래프라고 하며 256 그레이 레벨 영상에서 명암 값의 범위는 0~255 값을 갖고, 각 명암 값(level)의 빈도 수를 조사하여 그래프의 높이로 나타낸다. 이러한 히스토그램은 영상의 많은 정보를 갖고 있으며, 영상 처리에 다양하게 이용된다. 또한, 히스토그램을 분석하여 영상의 특성을 파악하는 가능하다.The image histogram shows the distribution of contrast values for the pixels in the image, representing the range and value of light and dark pixels when they are distributed. This graph is called a histogram graph, and the range of contrast values in the 256 gray level image ranges from 0 to 255, and the frequency of each intensity level is investigated and expressed as the height of the graph. Such a histogram has a lot of information of an image and is variously used for image processing. In addition, it is possible to analyze the histogram to determine the characteristics of the image.

한국특허공개 2001-0055492호는 영상 히스토그램을 이용한 영상 검색 시스템과 그 방법에 관한 것으로, 각각의 히스토그램의 빈들의 컬러에 대한 양 정보만이 아니라 영상으로부터의 중심점과 분산 값 정보를 구하여 이를 영상 검색을 위한 매핑 정보로 사용하는 기술을 개시하고 있다. Korean Patent Laid-Open Publication No. 2001-0055492 relates to an image retrieval system and method using an image histogram. The image retrieval is obtained by obtaining the center point and the variance information from the image as well as the quantity information of the colors of the bins of each histogram. Disclosed is a technique used for mapping information.

하지만, 영상 히스토그램을 이용하는데 있어서 분산 값 등을 구하는 계산량이 많고 특징 벡터를 추출하기 때문에 처리시간이 길어진다는 문제점이 있다.However, there is a problem in that an image histogram has a large amount of calculation for obtaining a variance value and the like, and a processing time is long because a feature vector is extracted.

한편, 디지털 카메라 또는 캠코더를 포함하는 디지털 촬영 장치가 발전함에 따라 촬영하고자 하는 장면을 인식하고 이에 따른 적절한 촬영 제어 값들을 설정하는 기능이 부가되고 있다. 특히, 하늘의 색상을 구분하여, 석양 모드, 화창한 하늘 모드, 구름 모드 등으로 인식하여 이에 따른 촬영을 가이드 해줄 수 있다. 또한, 촬영한 하늘 영상에서 하늘 부분만을 검출하여 하늘의 채도를 조정하여 더욱 맑고 깨끗한 하늘로 이미지를 보정해 줄 수도 있을 것이다. 이를 위해서는, 하늘 검출 또는 하늘 인식이 필요하다.Meanwhile, with the development of a digital photographing apparatus including a digital camera or a camcorder, a function of recognizing a scene to be photographed and setting appropriate photographing control values is added. In particular, by distinguishing the color of the sky, it can be recognized as a sunset mode, sunny sky mode, cloud mode, etc. can guide the shooting accordingly. In addition, by detecting only a part of the sky from the captured sky image, the saturation of the sky may be adjusted to correct the image with a clearer and clearer sky. To this end, sky detection or sky recognition is required.

본 발명은 전술한 종래기술의 문제점을 해결하기 위한 것으로, 하늘 영상 분류를 위해 구름 성분을 효과적으로 제거하고나서, 영상 히스토그램의 특성을 분석함으로써 간단하게 입력 영상이 하늘 영상인지 아닌지를 분류할 수 있는, 하늘 영상 분류 방법 및 장치를 제공하는 데 목적이 있다. The present invention is to solve the above-mentioned problems of the prior art, and by effectively removing the cloud component for the classification of the sky image, by analyzing the characteristics of the image histogram can simply classify whether the input image is a sky image, An object of the present invention is to provide a sky image classification method and apparatus.

상기 기술적 과제를 달성하기 위한, 본 발명의 일 실시 예에 따른 하늘 영상 분류 방법은 입력 RGB 영상을 휘도/색차 영상으로 변환하고, 상기 변환한 색차 영상을 이용하여 상기 입력 RGB 영상에 포함된 구름 성분을 제거하는 단계; 상기 구름 성분이 제거된 영상을 그레이 레벨의 히스토그램 영상으로 변환하고, 상기 변환한 히스토그램 영상의 특성을 분석하는 단계; 및 상기 분석 결과를 기초로 상기 입력 RGB 영상을 하늘 영상으로 분류하는 단계를 포함한다.In order to achieve the above technical problem, the sky image classification method according to an embodiment of the present invention converts an input RGB image into a luminance / color difference image, and uses the converted color difference image to include cloud components included in the input RGB image. Removing; Converting the image from which the cloud component is removed into a histogram image having a gray level, and analyzing characteristics of the converted histogram image; And classifying the input RGB image into a sky image based on the analysis result.

바람직하게, 상기 히스토그램 영상의 특성은, 상기 히스토그램 영상의 빈도수, 피크 갯수, 피크 거리 및 피크 폭 중 적어도 하나 이상을 포함하는 것을 특징으로 한다.The characteristic of the histogram image may include at least one of a frequency, a number of peaks, a peak distance, and a peak width of the histogram image.

바람직하게, 상기 분석 단계는, 상기 히스토그램 영상의 그레이 레벨에 대한 개수를 나타내는 빈도수를 소정의 값으로 설정하는 단계를 더 포함하고,Preferably, the analyzing step further comprises the step of setting a frequency indicating the number of gray levels of the histogram image to a predetermined value,

상기 분류 단계는, 상기 설정한 빈도수 이상을 나타내는 피크들의 유무에 따라 상기 입력 RGB 영상을 하늘 영상으로 분류하는 것을 특징으로 한다.The classifying step may include classifying the input RGB image into a sky image according to the presence or absence of peaks representing the set frequency or more.

바람직하게, 상기 분석 단계는, 상기 설정한 빈도수를 지나는 그레이 레벨의 갯수를 나타내는 상기 피크의 폭에 대한 제1 임계값을 설정하고, 상기 피크의 폭이 상기 제1 임계값 이하인지를 판단하는 단계를 더 포함하고,Preferably, the analyzing step comprises setting a first threshold value for the width of the peak representing the number of gray levels passing the set frequency, and determining whether the width of the peak is less than or equal to the first threshold value. More,

상기 분류 단계는, 상기 피크의 폭이 상기 제1 임계값 이하인 경우, 상기 입력 RGB 영상을 하늘 영상으로 분류하는 것을 특징으로 한다.In the classification step, when the width of the peak is less than or equal to the first threshold value, the input RGB image may be classified into a sky image.

바람직하게, 상기 분석 단계는, 상기 변환한 히스토그램 영상을 정규화하는 단계를 더 포함하는 것을 특징으로 한다.The analyzing may further include normalizing the converted histogram image.

바람직하게, 상기 구름 제거 단계는, 상기 색차 영상에서의 Cb 값 및 Cr값을 이용해서 구름 성분을 제거하는 것을 특징으로 한다.Preferably, the cloud removing step is characterized in that to remove the cloud component by using the Cb value and the Cr value in the color difference image.

상기 다른 기술적 과제를 달성하기 위한, 본 발명의 다른 실시 예에 따른 하늘 영상 분류 장치는 입력 RGB 영상을 휘도/색차 영상으로 변환하는 YCC 변환부; 상기 변환한 색차 영상을 이용하여 상기 입력 RGB 영상에 포함된 구름 성분을 제거하는 구름 제거부; 상기 구름 성분이 제거된 영상을 그레이 레벨의 히스토그램 영상으로 변환하고, 상기 변환한 히스토그램 영상의 특성을 분석하는 히스토그램 분석부; 및 상기 분석 결과를 기초로 상기 입력 RGB 영상을 하늘 영상으로 분류하는 영상 분류부를 포함한다.According to another aspect of the present invention, there is provided a sky image classification apparatus, including: a YCC converter configured to convert an input RGB image into a luminance / color difference image; A cloud removing unit which removes cloud components included in the input RGB image by using the converted color difference image; A histogram analyzer for converting the image from which the cloud component is removed to a histogram image having a gray level, and analyzing characteristics of the converted histogram image; And an image classification unit classifying the input RGB image into a sky image based on the analysis result.

바람직하게, 상기 히스토그램 영상의 특성은, 상기 히스토그램 영상의 빈도수, 피크 갯수, 피크 거리 및 피크 폭 중 적어도 하나 이상을 포함하는 것을 특징으로 한다.The characteristic of the histogram image may include at least one of a frequency, a number of peaks, a peak distance, and a peak width of the histogram image.

바람직하게, 상기 히스토그램 분석부는, 상기 히스토그램 영상의 그레이 레 벨에 대한 개수를 나타내는 빈도수를 소정의 값으로 설정하는 빈도수 설정부를 더 포함하고,Preferably, the histogram analyzer further includes a frequency setting unit that sets a frequency indicating the number of gray levels of the histogram image to a predetermined value.

상기 영상 분류부는, 상기 설정한 빈도수 이상을 나타내는 피크들의 유무에 따라 상기 입력 RGB 영상을 하늘 영상으로 분류하는 것을 특징으로 한다.The image classifying unit may classify the input RGB image into a sky image according to the presence or absence of peaks indicating the set frequency or more.

바람직하게, 상기 히스토그램 분석부는, 상기 설정한 빈도수를 지나는 그레이 레벨의 갯수를 나타내는 상기 피크의 폭에 대한 제1 임계값을 설정하고, 상기 피크의 폭이 상기 제1 임계값 이하인지를 판단하는 피크 폭 판단부를 더 포함하고,Preferably, the histogram analyzer sets a first threshold value for the width of the peak representing the number of gray levels passing the set frequency, and determines whether the width of the peak is less than or equal to the first threshold value. Further comprising a width determining unit,

상기 영상 분류부는, 상기 피크의 폭이 상기 제1 임계값 이하인 경우, 상기 입력 RGB 영상을 하늘 영상으로 분류하는 것을 특징으로 한다.The image classifying unit may classify the input RGB image into an empty image when the width of the peak is less than or equal to the first threshold value.

바람직하게, 상기 히스토그램 분석부는, 상기 변환한 히스토그램 영상을 정규화하는 정규화부를 더 포함하는 것을 특징으로 한다.Preferably, the histogram analyzer further comprises a normalizer for normalizing the converted histogram image.

바람직하게, 상기 구름 제거부는, 상기 색차 영상에서의 Cb 값 및 Cr값을 이용해서 구름 성분을 제거하는 것을 특징으로 한다.Preferably, the cloud removing unit removes the cloud component by using the Cb value and the Cr value in the color difference image.

상기 또 다른 기술적 과제를 달성하기 위한 상기 하늘 영상 분류 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록매체를 포함한다.And a recording medium on which a program for executing the sky image classification method on a computer for recording the technical problem is achieved.

본 발명의 일 실시 예에 따른 하늘 영상 분류 방법은 입력 영상에서 구름 성분을 제거하고나서, 히스토그램 영상의 특성을 분석하고, 분석 결과를 기초로 입력 영상을 분류함으로써, 히스토그램 특성 분석을 위한 계산의 복잡성 및 처리시간을 줄이고, 하늘 영상 분류를 정확하게 할 수 있다. The sky image classification method according to an embodiment of the present invention removes the cloud component from the input image, analyzes the characteristics of the histogram image, and classifies the input image based on the analysis result, thereby calculating complexity for the histogram characteristic analysis. And processing time can be reduced, and sky image classification can be made correctly.

이하, 첨부한 도면들을 참조하여 본 발명의 바람직한 실시 예들을 상세히 설명한다. 하기의 설명에서는 본 발명에 따른 동작을 이해하는데 필요한 부분만이 설명되며 그 이외 부분의 설명은 본 발명의 요지를 흩트리지 않도록 생략될 수 있다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, only parts necessary for understanding the operation according to the present invention will be described, and descriptions of other parts may be omitted so as not to distract from the gist of the present invention.

또한, 이하에서 설명되는 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 본 발명을 가장 적절하게 표현할 수 있도록 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야 한다. In addition, terms and words used in the following description and claims should not be construed to be limited to ordinary or dictionary meanings, but are to be construed in a manner consistent with the technical idea of the present invention As well as the concept.

도 1은 본 발명의 일 실시 예에 따른 하늘 영상 분류 장치(100)의 개략적인 블록도이다.1 is a schematic block diagram of a sky image classification apparatus 100 according to an exemplary embodiment.

도 1을 참조하면, 하늘 영상 분류 장치(100)는 YCC 변환부(110), 구름 제거부(120), 히스토그램 분석부(130) 및 영상 분류부(140)를 포함하여 구성된다.Referring to FIG. 1, the sky image classification apparatus 100 includes a YCC converter 110, a cloud remover 120, a histogram analyzer 130, and an image classifier 140.

Y/C변환부(110)는 RGB 입력 영상을 휘도/색도 컬러 공간으로 변환하여 휘도(Y) 및 색도 신호(C)로 출력한다. 여기서, RGB 입력 영상은 구름 성분을 포함하고 있는 하늘 영상이다. The Y / C converter 110 converts the RGB input image into a luminance / chromatic color space and outputs the luminance (Y) and chroma signal (C). Here, the RGB input image is a sky image including a cloud component.

여기서, RGB 색 공간에서 YCbCr 색 공간으로의 변환은 다음 수학식 1을 이용한다.Here, the conversion from the RGB color space to the YCbCr color space uses the following equation (1).

Y=0.29900R+0.58700G+0.11400BY = 0.29900R + 0.58700G + 0.11400B

Cb=-0.16874R-0.33126G+0.50000BCb = -0.16874R-0.33126G + 0.50000B

Cr=0.50000R-0.41869G-0.08131BCr = 0.50000R-0.41869G-0.08131B

여기서, 휘도(Y)는 밝고 어두운 정도를 표현하는 성분이고, 색차(C)는 색상 정보를 표현하는 성분이다. 2가지 색차 성분은 Cb,Cr값을 가지는데, Cb는 블루(B) 성분과 기준값과의 차이, Cr은 레드(R) 성분과 기준값과의 차이를 의미한다. 또한, 본 발명의 바람직한 실시 예에서는 RGB 영상을 YCbCr 신호로 변환하는 것을 설명하고 있지만, YCbCr 변환 좌표뿐만 아니라, 다른 색 공간 좌표, 예를 들면 YUV, Lab, YCC 등의 다른 색공간 좌표계에도 적용할 수 있음은 물론이다. Here, the luminance Y is a component expressing the light and dark degree, and the color difference C is a component expressing the color information. The two color difference components have Cb and Cr values, where Cb is the difference between the blue (B) component and the reference value, and Cr is the difference between the red (R) component and the reference value. In addition, although the preferred embodiment of the present invention describes the conversion of an RGB image to a YCbCr signal, it is applicable not only to YCbCr conversion coordinates but also to other color space coordinate systems such as YUV, Lab, and YCC. Of course it can.

구름 제거부(120)는 YCC 변환부(110)에서 출력된 색차 영상에서의 Cb 값 및 Cr 값을 이용해서 구름 성분을 제거한다. 따라서, 하늘 영상의 정확한 검출을 위해서, 하늘 성분과 구분되는 구름을 효과적으로 제거할 수 있다.The cloud remover 120 removes the cloud component by using the Cb value and the Cr value in the color difference image output from the YCC converter 110. Therefore, in order to accurately detect the sky image, it is possible to effectively remove clouds separated from the sky components.

각 영상에 대해 Cb와 Cr 값의 최소값과 최대값을 이용하여 구름 성분을 제거한다. 즉, 다음 수학식 2에 도시된 범위 내의 성분은 구름 성분이라고 판단하고, 원 영상에서 구름 성분을 제거한 영상을 얻는다. For each image, the cloud component is removed using the minimum and maximum values of Cb and Cr. That is, it is determined that the component within the range shown in Equation 2 is a cloud component, and an image from which the cloud component is removed from the original image is obtained.

Min < Cb < MaxMin <Cb <Max

Min < Cr < MaxMin <Cr <Max

여기서, 각각의 최소값과 최대값은 임의로 결정할 수 있는 값으로, 하늘 영상의 특징, 즉 구름 성분을 얼마나 많이 포함하고 있는지 여부에 따라 변경 가능한 값들이다.Here, each of the minimum and maximum values is a value that can be arbitrarily determined and can be changed depending on the characteristics of the sky image, that is, how many cloud components are included.

히스토그램 분석부(110)는 구름 성분이 제거된 하늘 영상을 입력받아, 히스토그램 영상의 특성을 분석한다. 여기서, 히스토그램 영상의 특성은 히스토그램 영상의 빈도수, 피크 갯수, 피크 거리, 피크 폭을 포함한다. 일반적으로 히스토그램은 영상 안에서 픽셀들에 대한 명암 값의 분포를 나타낸 것으로, 밝은 픽셀과 어두운 픽셀이 분포할 때 그 범위와 값을 표현한 것으로, 이것을 그래프로 나타낸 것을 히스토그램 그래프라고 하며, 예를 들면 256 그레이 레벨 영상에서 명암 값의 범위는 0 내지 255의 값을 갖고, 각 명암 값, 즉 레벨의 빈도수가 그래프의 높이로 나타낸다. 히스토그램은 영상의 많은 정보를 갖고 있으며, 다양한 영상 처리에 이용된다. 또한, 본 발명의 바람직한 실시 예에서, 히스토그램을 분석하여 영상의 특성을 알 수 있다. 히스토그램 분석부(110)의 구체적인 구성은 도 2를 참조하여 후술한다.The histogram analyzer 110 receives a sky image from which cloud components have been removed and analyzes characteristics of the histogram image. Here, the characteristic of the histogram image includes the frequency, number of peaks, peak distance, and peak width of the histogram image. In general, a histogram is a distribution of contrast values for pixels in an image. The histogram represents the range and value of light and dark pixels when they are distributed. The histogram is called a histogram graph. The range of the contrast value in the level image has a value of 0 to 255, and each contrast value, that is, the frequency of the level is represented by the height of the graph. The histogram has a lot of information of the image and is used for various image processing. Also, in a preferred embodiment of the present invention, the histogram may be analyzed to determine characteristics of the image. The detailed configuration of the histogram analyzer 110 will be described later with reference to FIG. 2.

영상 분류부(140)는 히스토그램 분석부(130)의 분석 결과를 기초로 입력 영상을 하늘 영상으로 분류한다. 영상 분류부(140)는 전술한 히스토그램 영상의 특성에 따라 입력 영상이 하늘 영상인지 아닌지를 분류한다. 즉, 히스토그램 영상의 피크의 갯수, 피크의 폭, 피크의 변화 등에 대한 정보를 가지고 입력 영상을 분류한다. The image classifier 140 classifies the input image into the sky image based on the analysis result of the histogram analyzer 130. The image classifying unit 140 classifies whether the input image is a sky image according to the characteristics of the histogram image described above. That is, the input image is classified with information about the number of peaks, the width of the peak, and the change of the peak of the histogram image.

도 2는 도 1에 도시된 히스토그램 분석부(130)의 개략적인 블록도이다.2 is a schematic block diagram of the histogram analyzer 130 illustrated in FIG. 1.

도 2를 참조하면, 히스토그램 분석부(130)는 정규화부(131), 빈도수 설정부(132), 피크 갯수 판단부(133), 피크 거리 판단부(134), 피크 폭 판단부(135)를 포함하여 구성된다.Referring to FIG. 2, the histogram analysis unit 130 may include a normalization unit 131, a frequency setting unit 132, a peak number determination unit 133, a peak distance determination unit 134, and a peak width determination unit 135. It is configured to include.

정규화부(131)는 히스토그램 영상을 정규화한다. 여기서, 정규화는 히스토그램에서 변환된 Y값, 즉 영상에서 해당 명암 값, 즉 그레이 레벨 값에 해당하는 픽셀들의 갯수(빈도수)가 일정 범위 값을 넘을 때, 이러한 값들을 원하는 일정 범위 안에서 재매핑시키기 위해 재조정하는 것을 의미한다. The normalizer 131 normalizes the histogram image. Here, normalization is used to remap these values within a desired range when the number of pixels (frequency) corresponding to the Y value transformed in the histogram, that is, the corresponding contrast value in the image, that is, the gray level value, exceeds a certain range value. Means to readjust.

빈도수 설정부(132)는 히스토그램 영상의 그레이 레벨에 대한 개수를 나타내는 빈도수를 소정의 값으로 설정한다. 여기서, 소정의 값은 영상의 종류, 즉 하늘 영상인지에 따라 임의로 설정할 수 있는 값이고, 빈도수는 해당 그레이 레벨에 속하는 픽셀들의 수를 의미한다.The frequency setting unit 132 sets a frequency indicating the number of gray levels of the histogram image to a predetermined value. Here, the predetermined value is a value that can be arbitrarily set according to the type of the image, that is, the sky image, and the frequency means the number of pixels belonging to the gray level.

도 6은 본 발명의 다른 실시 예에 따른 히스토그램 분석 방법을 설명하기 위한 도면이다.6 is a diagram for describing a histogram analysis method according to another exemplary embodiment.

도 6을 참조하면, 도 3d의 히스토그램 영상이 도시되어 있다. X축은 그레이 레벨이고, Y축은 정규화된 빈도수이다. 여기서, 빈도수는 160으로 설정된다. 빈도수 설정부(132)는 분류하고 하는 영상의 종류에 따라 빈도수를 다르게 설정할 수 있다. Referring to FIG. 6, the histogram image of FIG. 3D is illustrated. The X axis is gray level and the Y axis is normalized frequency. Here, the frequency is set to 160. The frequency setting unit 132 may set the frequency differently according to the type of images to be classified.

피크 갯수 판단부(133)는 빈도수 설정부(132)가 설정한 빈도수 이상을 나타내는 피크들 사이의 갯수를 판단한다. 다시 도 6을 참조하면, 빈도수 100 이상의 피크들 사이의 갯수는 0개이다. The peak number determination unit 133 determines the number of peaks representing the frequency or more set by the frequency setting unit 132. Referring again to FIG. 6, the number between peaks of frequency 100 or more is zero.

피크 거리 판단부(134)는 피크들 사이의 갯수가 1 이상인 경우, 피크들 사이의 거리값에 대한 제1 임계값을 설정하고, 거리 값이 제1 임계값 이상인지를 판단한다. 다시 도 6을 참조하면, 피크들 사이의 갯수가 0개이므로, 피크들 사이의 거 리 값은 판단하지 않는다. The peak distance determination unit 134 sets a first threshold value for the distance value between the peaks when the number between the peaks is 1 or more, and determines whether the distance value is greater than or equal to the first threshold value. Referring back to FIG. 6, since the number between peaks is zero, the distance value between the peaks is not determined.

피크 폭 판단부(135)는 빈도수 설정부(131)가 설정한 빈도수를 지나는 그레이 레벨의 갯수를 나타내는 피크의 폭에 대한 제2 임계값을 설정하고, 피크의 폭이 제2 임계값 이하인지를 판단한다. 다시 도 6을 참조하면, 빈도수 160 이상을 지나는 피크의 폭은 10이다. 그리고 피크의 폭 10이 제2 임계값 이하인지를 판단한다. 여기서, 제2 임계값은 임의로 설정할 수 있는 값이다.The peak width determining unit 135 sets a second threshold value for the width of the peak indicating the number of gray levels passing the frequency set by the frequency setting unit 131, and determines whether the width of the peak is less than or equal to the second threshold value. To judge. Referring back to FIG. 6, the width of the peak passing over frequency 160 is 10. Then, it is determined whether the width 10 of the peak is less than or equal to the second threshold value. Here, the second threshold value is a value that can be arbitrarily set.

영상 분류부(140)는 빈도수 설정부(132)가 설정한 빈도수 이상을 나타내는 피크들의 유무, 피크 갯수 판단부(133)가 판단한 피크들 사이의 갯수, 피크 거리 판단부(134)가 판단한 거리 값이 제1 임계값 이상인지 여부, 피크 폭 판단부(135)가 판단한 피크의 폭의 합이 제2 임계값 이하인지에 따라 입력 영상을 하늘 영상으로 분류할 수 있다.The image classifying unit 140 includes the presence or absence of peaks indicating the frequency or more set by the frequency setting unit 132, the number of peaks determined by the peak number determination unit 133, and the distance value determined by the peak distance determination unit 134. The input image may be classified as an empty image according to whether the sum of the peak widths determined by the peak width determination unit 135 is equal to or greater than the first threshold value or less.

도 3 내지 5는 다양한 하늘 영상의 히스토그램을 설명하기 위한 도면이다.3 to 5 illustrate histograms of various sky images.

도 3a는 구름을 포함하는 하늘 영상의 RGB 영상이고, 도 3b는 Cb 값 및 Cr 값을 이용하여 하늘 성분을 제거한 영상이고, 도 3c는 도 3b의 영상에 대한 그레이 영상이다. 도 3d는 도 3c의 영상을 256 레벨의 히스토그램 영상으로 표시한 히스토그램 영상이다. 여기서, 히스토그램 영상은 빈도수, 즉 특정 레벨의 픽셀수를 정규화한 히스토그램 영상이다. 도 3d에서, 그레이레벨 0 내지 5에 나타난 빈도수는 도 3b에서 구름 성분을 제거한 검은색 부분이므로 히스토그램 분석에서 제외하고 판단한다.3A is an RGB image of a sky image including a cloud, FIG. 3B is an image from which sky components are removed using a Cb value and a Cr value, and FIG. 3C is a gray image of the image of FIG. 3B. 3D is a histogram image in which the image of FIG. 3C is displayed as a histogram image having 256 levels. Here, the histogram image is a histogram image obtained by normalizing a frequency, that is, the number of pixels of a specific level. In FIG. 3D, the frequencies shown in gray levels 0 to 5 are black parts from which the cloud component is removed in FIG. 3B, and thus are excluded from the histogram analysis.

도 4a는 구름을 포함하는 하늘 영상의 RGB 영상이며, 도 3a와 구름의 분포가 차이가 있다. 도 4b는 Cb 값 및 Cr 값을 이용하여 하늘 성분을 제거한 영상이고, 도 4c는 도 4b의 영상에 대한 그레이 영상이다. 도 4d는 도 4c의 영상을 256 레벨의 히스토그램 영상으로 표시한 히스토그램 영상이다. 여기서, 히스토그램 영상은 빈도수, 즉 특정 레벨의 픽셀수를 정규화한 히스토그램 영상이다. 도 4d에서, 그레이레벨 0 내지 5에 나타난 빈도수는 도 4b에서 구름 성분을 제거한 검은색 부분이므로 히스토그램 분석에서 제외하고 판단한다. 4A is an RGB image of a sky image including a cloud, and the distribution of the cloud is different from that of FIG. 3A. FIG. 4B is an image from which sky components are removed using a Cb value and a Cr value, and FIG. 4C is a gray image of the image of FIG. 4B. 4D is a histogram image in which the image of FIG. 4C is displayed as a histogram image having 256 levels. Here, the histogram image is a histogram image obtained by normalizing a frequency, that is, the number of pixels of a specific level. In FIG. 4D, the frequencies shown in the gray levels 0 to 5 are black parts from which the cloud component is removed in FIG. 4B, and thus are excluded from the histogram analysis.

도 5a는 구름을 포함하는 하늘 영상의 RGB 영상이고, 도 5b는 Cb 값 및 Cr 값을 이용하여 하늘 성분을 제거한 영상이고, 도 5c는 도 5b의 영상에 대한 그레이 영상이다. 도 5d는 도 5c의 영상을 256 레벨의 히스토그램 영상으로 표시한 히스토그램 영상이다. 여기서, 히스토그램 영상은 빈도수, 즉 특정 레벨의 픽셀수를 정규화한 히스토그램 영상이다. 도 5d에서, 그레이레벨 0 내지 5에 나타난 빈도수는 도 5b에서 구름 성분을 제거한 검은색 부분이므로 히스토그램 분석에서 제외하고 판단한다.FIG. 5A is an RGB image of a sky image including clouds, FIG. 5B is an image obtained by removing sky components using Cb and Cr values, and FIG. 5C is a gray image of the image of FIG. 5B. 5D is a histogram image in which the image of FIG. 5C is displayed as a histogram image having 256 levels. Here, the histogram image is a histogram image obtained by normalizing a frequency, that is, the number of pixels of a specific level. In FIG. 5D, the frequencies shown in the gray levels 0 to 5 are black parts from which the cloud component is removed in FIG. 5B, and thus are excluded from the histogram analysis.

도 6 내지 8은 도 3 내지 5에 각각 도시된 하늘 영상에 대한 히스토그램 분석을 설명하기 위한 도면이다. 6 to 8 are diagrams for describing histogram analysis of sky images illustrated in FIGS. 3 to 5, respectively.

도 3d, 4d 및 5d에 각각 도시된 다양한 하늘 영상의 히스토그램을 분석하기 위한 기본 조건, 즉 빈도수, 피크 유무, 피크들 사이의 갯수, 피크들 사이의 거리값에 대한 임계값, 설정한 빈도수를 지나는 피크의 폭에 대한 임계값은 다음과 같다. 빈도수는 160, 피크들 사이의 갯수는 0, 피크들 사이의 거리값에 대한 임계값은 30으로 설정한다.The basic conditions for analyzing the histograms of the various sky images shown in FIGS. 3D, 4D, and 5D, that is, the frequency, the presence or absence of peaks, the number of peaks, the threshold for distance values between peaks, and the set frequency The threshold for the width of the peak is as follows. The frequency is set to 160, the number between peaks is 0, and the threshold for the distance value between the peaks is 30.

도 6을 다시 참조하면, 도 3d에 도시된 히스토그램 영상은 피크 값이 그레이 레벨 30~60 사이에 존재하고, 빈도수 160을 지나는 피크는 1개이다. 따라서, 피크 사이의 개수는 0개이므로 피크 사이의 거리값은 판단하지 않는다. 그리고 빈도수 160를 지나는 히스토그램의 그레이 레벨의 갯수는 10이므로 30 이하의 조건을 만족하므로, 상기 히스토그램 영상은 하늘 영상으로 분류할 수 있다.Referring back to FIG. 6, in the histogram image illustrated in FIG. 3D, a peak value exists between gray levels 30 to 60, and one peak passes through a frequency 160. Therefore, since the number between peaks is 0, the distance value between peaks is not determined. Since the number of gray levels of the histogram passing through the frequency 160 is 10, the number of gray levels is satisfied. Therefore, the histogram image may be classified as a sky image.

도 7을 다시 참조하면, 도 4d에 도시된 히스토그램 영상은 피크 값이 그레이 레벨 30~60 사이에 존재하고, 빈도수 160를 지나는 피크는 1개이다. 따라서, 피크 사이의 개수는 0개이므로 피크 사이의 거리값은 판단하지 않는다. 그리고 빈도수 160를 지나는 히스토그램의 그레이 레벨의 갯수는 14이므로 30 이하의 조건을 만족하므로, 상기 히스토그램 영상은 하늘 영상으로 분류할 수 있다.Referring back to FIG. 7, in the histogram image illustrated in FIG. 4D, a peak value exists between gray levels 30 to 60, and one peak passes through a frequency 160. Therefore, since the number between peaks is 0, the distance value between peaks is not determined. Since the number of gray levels of the histogram passing through the frequency 160 is 14, the condition below 30 is satisfied, and therefore, the histogram image may be classified as a sky image.

도 8을 다시 참조하면, 도 5d에 도시된 히스토그램 영상은 피크 값이 그레이 레벨 30~60 사이에 존재하고, 빈도수 160를 지나는 피크는 1개이다. 따라서, 피크 사이의 개수는 0개이므로 피크 사이의 거리값은 판단하지 않는다. 그리고 빈도수 160를 지나는 히스토그램의 그레이 레벨의 갯수는 22이므로 30 이하의 조건을 만족하므로, 상기 히스토그램 영상은 하늘 영상으로 분류할 수 있다.Referring back to FIG. 8, in the histogram image illustrated in FIG. 5D, a peak value exists between gray levels 30 to 60, and one peak passes through a frequency 160. Therefore, since the number between peaks is 0, the distance value between peaks is not determined. Since the number of gray levels of the histogram passing through the frequency 160 is 22, it satisfies a condition of 30 or less, and thus the histogram image may be classified as a sky image.

도 9는 본 발명의 또 다른 실시 예에 따른 영상 분류 방법을 설명하기 위한 흐름도이다.9 is a flowchart illustrating an image classification method according to another exemplary embodiment.

도 9을 참조하면, 단계 900에서, RGB 하늘 영상을 입력한다.9, in operation 900, an RGB sky image is input.

단계 902에서, RGB 영상을 YCC 변환하여 Cb, Cr 값을 계산한다. 단계 904에서, Cb, Cr값을 이용해서 하늘 영상에 포함된 구름 성분을 제거한다. 따라서, 하 늘 영상을 분석하기 위해 불필요한 구름을 제거함으로써 하늘 영상 검출의 정확도를 높일 수 있다.In step 902, the RGB image is YCC-converted to calculate Cb and Cr values. In step 904, the cloud component included in the sky image is removed using Cb and Cr values. Therefore, the accuracy of sky image detection can be improved by removing unnecessary clouds to analyze the sky image.

단계 906에서, 히스토그램 영상을 일정 범위 내의 빈도수를 갖도록 정규화한다. 단계 908에서, 히스토그램의 특정 빈도수를 설정한다. 여기서, 빈도수는 하늘 영상의 종류, 예를 들면 구름 성분의 포함 정도에 따라 다르게 설정할 수 있다. In step 906, the histogram image is normalized to have a frequency within a certain range. In step 908, a specific frequency of the histogram is set. Here, the frequency may be set differently according to the type of the sky image, for example, the degree of inclusion of the cloud component.

단계 910에서, 특정 빈도수 이상의 피크를 갖는 피크들 사이의 갯수를 판단한다. 단계 912에서, 피크들 사이의 갯수가 1 이상인 경우에, 해당 피크들 사이의 거리에 대한 특정 임계값을 설정하고, 거리 값이 임계값의 범위 내인지를 판단한다. In step 910, the number of peaks having peaks above a certain frequency is determined. In step 912, when the number between peaks is 1 or more, a specific threshold value for the distance between the corresponding peaks is set, and it is determined whether the distance value is within the range of the threshold value.

단계 914에서, 단계 908에서 설정한 빈도수를 지나는 피크 폭 또는 피크들의 폭의 합이 특정 임계값 이하인지를 판단한다.In step 914, it is determined whether the sum of the peak width or the width of the peaks passing the frequency set in step 908 is equal to or less than a specific threshold value.

단계 916에서, 상기 단계 910 내지 914에서 판단한 피크 갯수, 피크 거리, 피크 폭에 대한 판단 결과로부터 입력 영상을 하늘 영상으로 분류한다. In operation 916, the input image is classified into a sky image based on the determination result of the number of peaks, the peak distance, and the peak width determined in the operations 910 to 914.

본 발명은 다양한 이미지 처리 디바이스, 예를 들면 디지털 카메라, 카메라가 장착된 휴대폰, 디지털 캠코더 등에 적용할 수 있다.The present invention can be applied to various image processing devices such as digital cameras, mobile phones equipped with cameras, digital camcorders, and the like.

한편, 본 발명은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터가 읽을 수 있는 코드로 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다.Meanwhile, the present invention can be embodied as computer readable codes on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored.

컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현하는 것을 포함한다. 또한, 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산 방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고 본 발명을 구현하기 위한 기능적인(functional) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술 분야의 프로그래머들에 의하여 용이하게 추론될 수 있다.Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disks, optical data storage devices, and the like, which may also be implemented in the form of carrier waves (for example, transmission over the Internet). Include. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion. In addition, functional programs, codes, and code segments for implementing the present invention can be easily deduced by programmers skilled in the art to which the present invention belongs.

이제까지 본 발명에 대하여 바람직한 실시 예를 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 본 발명을 구현할 수 있음을 이해할 것이다. 그러므로 상기 개시된 실시 예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 한다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will understand that the present invention can be embodied in a modified form without departing from the essential characteristics of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown not in the above description but in the claims, and all differences within the scope should be construed as being included in the present invention.

도 1은 본 발명의 일 실시 예에 따른 하늘 영상 분류 장치(100)의 개략적인 블록도이다.1 is a schematic block diagram of a sky image classification apparatus 100 according to an exemplary embodiment.

도 2는 도 1에 도시된 히스토그램 분석부(130)의 개략적인 블록도이다.2 is a schematic block diagram of the histogram analyzer 130 illustrated in FIG. 1.

도 3 내지 5는 다양한 하늘 영상의 히스토그램을 설명하기 위한 도면이다.3 to 5 illustrate histograms of various sky images.

도 6 내지 8은 도 3 내지 5에 각각 도시된 하늘 영상에 대한 히스토그램 분석을 설명하기 위한 도면이다. 6 to 8 are diagrams for describing histogram analysis of sky images illustrated in FIGS. 3 to 5, respectively.

도 9는 본 발명의 다른 실시 예에 따른 하늘 영상 분류 방법을 설명하기 위한 흐름도이다.9 is a flowchart illustrating a sky image classification method according to another exemplary embodiment.

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

100: 하늘 영상 분류 장치 110: YCC 변환부100: sky video classification device 110: YCC conversion unit

120: 구름 제거부 130: 히스토그램 분석부120: cloud removing unit 130: histogram analysis unit

140: 영상 분류부 131: 정규화부140: image classification unit 131: normalization unit

132: 빈도수 설정부 133: 피크 갯수 판단부132: frequency setting unit 133: number of peak determination unit

134: 피크 거리 판단부 135: 피크 폭 판단부134: peak distance determination unit 135: peak width determination unit

Claims (13)

입력 RGB 영상을 휘도/색차 영상으로 변환하고, 상기 변환한 색차 영상을 이용하여 상기 입력 RGB 영상에 포함된 구름 성분을 제거하는 단계;Converting an input RGB image into a luminance / color difference image and removing cloud components included in the input RGB image using the converted color difference image; 상기 구름 성분이 제거된 영상을 그레이 레벨의 히스토그램 영상으로 변환하고, 상기 변환한 히스토그램 영상의 특성을 분석하는 단계; 및Converting the image from which the cloud component is removed into a histogram image having a gray level, and analyzing characteristics of the converted histogram image; And 상기 분석 결과를 기초로 상기 입력 RGB 영상을 하늘 영상으로 분류하는 단계를 포함하는 히스토그램 분석을 이용한 하늘 영상 분류 방법.And classifying the input RGB image into a sky image based on the analysis result. 제 1 항에 있어서, The method of claim 1, 상기 히스토그램 영상의 특성은,The characteristic of the histogram image, 상기 히스토그램 영상의 빈도수, 피크 갯수, 피크 거리 및 피크 폭 중 적어도 하나 이상을 포함하는 것을 특징으로 하는 히스토그램 분석을 이용한 하늘 영상 분류 방법.Sky image classification method using a histogram analysis, characterized in that it comprises at least one or more of the frequency, number of peaks, peak distance, and peak width of the histogram image. 제 2 항에 있어서,The method of claim 2, 상기 분석 단계는,The analyzing step, 상기 히스토그램 영상의 그레이 레벨에 대한 개수를 나타내는 빈도수를 소정의 값으로 설정하는 단계를 더 포함하고,The method may further include setting a frequency indicating a number of gray levels of the histogram image to a predetermined value. 상기 분류 단계는,The classification step, 상기 설정한 빈도수 이상을 나타내는 피크들의 유무에 따라 상기 입력 RGB 영상을 하늘 영상으로 분류하는 것을 특징으로 하는 히스토그램 분석을 이용한 하늘 영상 분류 방법.The sky image classification method using a histogram analysis, characterized in that the input RGB image is classified into a sky image according to the presence or absence of peaks indicating the frequency above the set frequency. 제 3 항에 있어서,The method of claim 3, wherein 상기 분석 단계는,The analyzing step, 상기 설정한 빈도수를 지나는 그레이 레벨의 갯수를 나타내는 상기 피크의 폭에 대한 제1 임계값을 설정하고, 상기 피크의 폭이 상기 제1 임계값 이하인지를 판단하는 단계를 더 포함하고,Setting a first threshold value for the width of the peak representing the number of gray levels passing the set frequency, and determining whether the width of the peak is less than or equal to the first threshold value, 상기 분류 단계는,The classification step, 상기 피크의 폭이 상기 제1 임계값 이하인 경우, 상기 입력 RGB 영상을 하늘 영상으로 분류하는 것을 특징으로 하는 히스토그램 분석을 이용한 하늘 영상 분류 방법. The sky image classification method using histogram analysis, wherein the input RGB image is classified into a sky image when the width of the peak is less than or equal to the first threshold value. 제 2 항에 있어서,The method of claim 2, 상기 분석 단계는,The analyzing step, 상기 변환한 히스토그램 영상을 정규화하는 단계를 더 포함하는 것을 특징으로 하는 히스토그램 분석을 이용한 하늘 영상 분류 방법.Normalizing the transformed histogram image sky image classification method using histogram analysis, characterized in that it further comprises. 제 2 항에 있어서,The method of claim 2, 상기 색차 영상에서의 Cb 값 및 Cr값을 이용해서 구름 성분을 제거하는 것을 특징으로 하는 히스토그램 분석을 이용한 하늘 영상 분류 방법.The sky image classification method using the histogram analysis, characterized in that the cloud component is removed using the Cb value and the Cr value in the chrominance image. 제 1 항 내지 제 6 항 중 어느 한 항에 따른 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록매체.A recording medium having recorded thereon a program for executing a method according to any one of claims 1 to 6 on a computer. 입력 RGB 영상을 휘도/색차 영상으로 변환하는 YCC 변환부;A YCC converting unit converting an input RGB image into a luminance / color difference image; 상기 변환한 색차 영상을 이용하여 상기 입력 RGB 영상에 포함된 구름 성분을 제거하는 구름 제거부;A cloud removing unit which removes cloud components included in the input RGB image by using the converted color difference image; 상기 구름 성분이 제거된 영상을 그레이 레벨의 히스토그램 영상으로 변환하고, 상기 변환한 히스토그램 영상의 특성을 분석하는 히스토그램 분석부; 및A histogram analyzer for converting the image from which the cloud component is removed to a histogram image having a gray level, and analyzing characteristics of the converted histogram image; And 상기 분석 결과를 기초로 상기 입력 RGB 영상을 하늘 영상으로 분류하는 영상 분류부를 포함하는 히스토그램 분석을 이용한 하늘 영상 분류 장치.The sky image classification apparatus using a histogram analysis including an image classifier which classifies the input RGB image into a sky image based on the analysis result. 제 8 항에 있어서,The method of claim 8, 상기 히스토그램 영상의 특성은,The characteristic of the histogram image, 상기 히스토그램 영상의 빈도수, 피크 갯수, 피크 거리 및 피크 폭 중 적어도 하나 이상을 포함하는 것을 특징으로 하는 히스토그램 분석을 이용한 하늘 영상 분류 장치.Sky image classification apparatus using a histogram analysis, characterized in that at least one of the frequency, number of peaks, peak distance, and peak width of the histogram image. 제 9 항에 있어서,The method of claim 9, 상기 히스토그램 분석부는,The histogram analysis unit, 상기 히스토그램 영상의 그레이 레벨에 대한 개수를 나타내는 빈도수를 소정의 값으로 설정하는 빈도수 설정부를 더 포함하고,And a frequency setting unit for setting a frequency indicating a number of gray levels of the histogram image to a predetermined value. 상기 영상 분류는,The image classification is, 상기 설정한 빈도수 이상을 나타내는 피크들의 유무에 따라 상기 입력 RGB 영상을 하늘 영상으로 분류하는 것을 특징으로 하는 히스토그램 분석을 이용한 하늘 영상 분류 장치.The sky image classification apparatus using a histogram analysis, characterized in that the input RGB image is classified into a sky image in accordance with the presence or absence of peaks indicating the set frequency or more. 제 10 항에 있어서,The method of claim 10, 상기 히스토그램 분석부는,The histogram analysis unit, 상기 설정한 빈도수를 지나는 그레이 레벨의 갯수를 나타내는 상기 피크의 폭에 대한 제1 임계값을 설정하고, 상기 피크의 폭이 상기 제1 임계값 이하인지를 판단하는 피크 폭 판단부를 더 포함하고,And a peak width determining unit that sets a first threshold value for the width of the peak representing the number of gray levels passing the set frequency, and determines whether the width of the peak is less than or equal to the first threshold value. 상기 영상 분류부는,The image classification unit, 상기 피크의 폭이 상기 제1 임계값 이하인 경우, 상기 입력 RGB 영상을 하늘 영상으로 분류하는 것을 특징으로 하는 히스토그램 분석을 이용한 하늘 영상 분류 장치. The sky image classification apparatus using histogram analysis, wherein the input RGB image is classified into a sky image when the width of the peak is less than or equal to the first threshold value. 제 9 항에 있어서,The method of claim 9, 상기 히스토그램 분석부는,The histogram analysis unit, 상기 변환한 히스토그램 영상을 정규화하는 정규화부를 더 포함하는 것을 특징으로 하는 히스토그램 분석을 이용한 하늘 영상 분류 장치.The sky image classification apparatus using the histogram analysis, further comprising a normalization unit for normalizing the converted histogram image. 제 9 항에 있어서,The method of claim 9, 상기 구름 제거부는,The cloud removing unit, 상기 색차 영상에서의 Cb 값 및 Cr값을 이용해서 구름 성분을 제거하는 것을 특징으로 하는 히스토그램 분석을 이용한 하늘 영상 분류 장치.The sky image classification apparatus using histogram analysis, characterized in that the cloud component is removed by using the Cb value and the Cr value in the chrominance image.
KR1020090022185A 2009-03-16 2009-03-16 Method and apparatus for classifying a sky image using histogram analysis KR101599873B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090022185A KR101599873B1 (en) 2009-03-16 2009-03-16 Method and apparatus for classifying a sky image using histogram analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090022185A KR101599873B1 (en) 2009-03-16 2009-03-16 Method and apparatus for classifying a sky image using histogram analysis

Publications (2)

Publication Number Publication Date
KR20100104048A true KR20100104048A (en) 2010-09-29
KR101599873B1 KR101599873B1 (en) 2016-03-04

Family

ID=43008346

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090022185A KR101599873B1 (en) 2009-03-16 2009-03-16 Method and apparatus for classifying a sky image using histogram analysis

Country Status (1)

Country Link
KR (1) KR101599873B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101451097B1 (en) * 2012-12-23 2014-10-15 전남대학교산학협력단 System and method for image classification using color histogram
KR20210158677A (en) * 2020-06-24 2021-12-31 대한민국(기상청 국립기상과학원장) calculating method of total cloud in night time using method of classifying image
KR20230027652A (en) 2021-08-19 2023-02-28 부경대학교 산학협력단 Classification apparatus and method of 3d film image using histogram

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202525A (en) * 1999-11-29 2001-07-27 Eastman Kodak Co Method for deciding direction of image including blue sky
JP2005005753A (en) * 2003-06-09 2005-01-06 Minolta Co Ltd Imaging apparatus
WO2007029454A1 (en) * 2005-09-07 2007-03-15 Pioneer Corporation Scene analysis device and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202525A (en) * 1999-11-29 2001-07-27 Eastman Kodak Co Method for deciding direction of image including blue sky
JP2005005753A (en) * 2003-06-09 2005-01-06 Minolta Co Ltd Imaging apparatus
WO2007029454A1 (en) * 2005-09-07 2007-03-15 Pioneer Corporation Scene analysis device and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
논문1 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101451097B1 (en) * 2012-12-23 2014-10-15 전남대학교산학협력단 System and method for image classification using color histogram
KR20210158677A (en) * 2020-06-24 2021-12-31 대한민국(기상청 국립기상과학원장) calculating method of total cloud in night time using method of classifying image
KR20230027652A (en) 2021-08-19 2023-02-28 부경대학교 산학협력단 Classification apparatus and method of 3d film image using histogram

Also Published As

Publication number Publication date
KR101599873B1 (en) 2016-03-04

Similar Documents

Publication Publication Date Title
KR101566196B1 (en) Method and apparatus for classifying an image using histogram analysis and method and apparatus for recognizing text image using thereof
US8264594B2 (en) Exposure control for an imaging system
US7489345B2 (en) Image processing apparatus, image-taking system, image processing method and image processing program
US8189913B2 (en) Method for detecting shadow of object
US20060204082A1 (en) Fusion of color space data to extract dominant color
US8655060B2 (en) Night-scene light source detecting device and night-scene light source detecting method
US10438376B2 (en) Image processing apparatus replacing color of portion in image into single color, image processing method, and storage medium
KR101590771B1 (en) Apparatus and method for adjusting auto white balance by detecting effective area
KR101875891B1 (en) apparatus and method for face detection using multi detection
CN111626967A (en) Image enhancement method, image enhancement device, computer device and readable storage medium
CN104145477A (en) Method and system for color adjustment
KR101599873B1 (en) Method and apparatus for classifying a sky image using histogram analysis
US8026954B2 (en) System and computer-readable medium for automatic white balancing
Surampalli et al. An analysis of skin pixel detection using different skin color extraction techniques
US20240086661A1 (en) Method and apparatus for processing graphic symbol and computer-readable storage medium
CN114066862A (en) Indicator identification method and system based on color gamut and contour characteristics
JP5441669B2 (en) Image processing apparatus and control method thereof
US10929960B2 (en) Method and image processing device for detecting a portion of an image
KR20200046281A (en) System and Method for Retrieving Image Based Content Using Color Descriptor and Discrete Wavelet Transform
KR102118783B1 (en) Preprocessing method for color filtering robust against illumination environment and the system thereof
KR100488014B1 (en) YCrCb color based human face location detection method
KR20190058753A (en) Image processing method and image processor performing the same
KR100695128B1 (en) Method for determining color of illuminant
CN108133204B (en) Hand body identification method, device, equipment and computer readable storage medium
JP6798690B2 (en) Image processing equipment, image processing methods, and programs

Legal Events

Date Code Title Description
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