KR100369370B1 - Block-based Image Histogram Generation Method - Google Patents

Block-based Image Histogram Generation Method Download PDF

Info

Publication number
KR100369370B1
KR100369370B1 KR10-1999-0043779A KR19990043779A KR100369370B1 KR 100369370 B1 KR100369370 B1 KR 100369370B1 KR 19990043779 A KR19990043779 A KR 19990043779A KR 100369370 B1 KR100369370 B1 KR 100369370B1
Authority
KR
South Korea
Prior art keywords
block
edge
histogram
image
feature information
Prior art date
Application number
KR10-1999-0043779A
Other languages
Korean (ko)
Other versions
KR20010036671A (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 KR10-1999-0043779A priority Critical patent/KR100369370B1/en
Priority to US09/493,841 priority patent/US6807298B1/en
Publication of KR20010036671A publication Critical patent/KR20010036671A/en
Application granted granted Critical
Publication of KR100369370B1 publication Critical patent/KR100369370B1/en
Priority to US10/881,807 priority patent/US7106900B2/en
Priority to US11/350,626 priority patent/US7697754B2/en

Links

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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야본 발명은 블록기반 영상 히스토그램 생성 방법 및 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것임.2. 발명이 해결하려고 하는 기술적 과제본 발명은, 여러 개의 픽셀들로 구성된 블록단위의 특징정보를 추출하여 히스토그램을 생성하되, 블록단위의 특징정보를 생성함으로써 다양한 특징정보의 획득이 가능하고, 추출된 특징정보를 단순히 선형 갱신(병합)함으로써 적은 수의 빈으로도 정확한 특징정보를 반영할 수 있는 블록단위의 히스토그램 생성 방법 및 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하고자 함.3. 발명의 해결방법의 요지The present invention relates to a block-based image histogram generation method and a computer-readable recording medium recording a program for realizing the method. The present invention, while generating a histogram by extracting the feature information of the block unit consisting of a plurality of pixels, it is possible to obtain a variety of feature information by generating the feature information of the block unit, the extracted feature It is intended to provide a block-based histogram generation method capable of reflecting accurate feature information with a small number of bins by simply linearly updating (merging) information and a computer-readable recording medium recording a program for implementing the method. .3. Summary of Solution of the Invention

본 발명은, 영상 히스토그램을 생성하는 방법에 있어서, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 단계; 각 블록별로 적어도 두 개의 영상특징정보를 추출하는 제 2 단계; 상기 각 블록별로 추출된 상기 적어도 두 개의 영상특징정보를 이용하여, 해당 블록의 복합 히스토그램 빈을 생성하는 제 3 단계; 상기 영상에서 적어도 하나의 상기 블록을 하위레벨의 블록으로 정의하고, 적어도 하나보다 많은 하위레벨 블록을 모아 상위레벨 블록을 정하는 제 4 단계; 상기 각 하위레벨 블록에서 추출된 상기 적어도 두 개의 영상특징정보를 병합하여 상기 각 상위레벨 블록에 대한 적어도 두 개의 영상특징정보를 생성하는 제 5 단계; 및 상기 제 5 단계에서 생성된 적어도 두 개의 영상특징정보를 이용하여 상기 상위레벨 블록의 복합 히스토그램 빈을 생성하는 제 6 단계를 포함함.According to an aspect of the present invention, there is provided a method of generating an image histogram, comprising: a first step of forming a plurality of blocks by grouping pixels in an image in predetermined units; A second step of extracting at least two image feature information for each block; Generating a complex histogram bin of the corresponding block by using the at least two image feature information extracted for each block; Defining at least one of the at least one block as a lower level block in the image, and collecting at least one lower level block to determine a higher level block; A fifth step of merging the at least two image feature information extracted from each lower level block to generate at least two image feature information for each upper level block; And a sixth step of generating a complex histogram bin of the upper level block by using the at least two image feature information generated in the fifth step.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 영상의 검색 및 장면전환 검출 등에 이용됨.The present invention is used to search for images and detect scene changes.

Description

블록기반 영상 히스토그램 생성 방법 { Block-based Image Histogram Generation Method }Block-based Image Histogram Generation Method

본 발명은 제이펙(JPEG), 엠펙(MPEG)-1, 2의 표준을 따르는 압축된 데이터 비트열 또는 비압축 영상 데이터로부터 정규화된 히스토그램을 생성하는 방법 및 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것으로서, 특히 블록단위 선형 양자화를 이용하여 색상, 밝기, 그리고 에지 성분을 갖는 히스토그램을 생성하는 것이다.The present invention relates to a method for generating a normalized histogram from compressed data bit strings or uncompressed image data conforming to the standards of JPEG, MPEG-1, 2, and a computer recording a program for realizing the method. In particular, the present invention relates to a recording medium which can be read by using a block-based linear quantization to generate a histogram having color, brightness, and edge components.

JPEG은 정지 영상에서, MPEG-1, 2는 동영상에서 저장 및 전송에 관한 국제 표준안으로 그 활용도가 매우 높다. 이러한 압축된 영상 정보에 대하여 대표 영상(Key Frame) 추출이나 영상 검색, 브라우징과 같은 응용을 위하여 각각의 영상마다 특징정보를 추출할 필요가 있다.JPEG is an international standard for storage and transmission in still images, and MPEG-1 and 2 are very useful. For such compressed image information, it is necessary to extract feature information for each image for applications such as key frame extraction, image search, and browsing.

이와 같이 영상에서 특징정보를 추출하기 위해서, 영상내 밝기 혹은 색상(빨강, 녹색, 파랑)의 상대적 발생 빈도를 나타내는 밝기 혹은 색상 히스토그램(histogram)이 많이 사용된다. 특히, 최근에 디지털화되어 저장된 정지영상(still image) 혹은 디지털 비디오(digital video)의 검색(retrieval)을 위해 히스토그램을 비교하는 방법이 제안되고 있다. 이와 같이 히스토그램이 영상의 검색 및 장면전환 검출(shot boundary detection)에 많이 활용되면서 히스토그램에 대한 개선이 요구되고 있다. 즉, 기존의 이산 양자화와 색상만의 단일 성분 히스토그램을 발전시켜 선형 갱신(linear update) 혹은 연성판정(soft decision)을 채택한 색상, 에지, 밝기의 복합 히스토그램(composite histogram)을 채택하여 영상의 내용을 보다 효율적이고 충실하게 나타낼 필요성이 대두되고 있다.As described above, in order to extract feature information from an image, a brightness or color histogram representing a relative occurrence frequency of brightness or color (red, green, and blue) in the image is frequently used. In particular, a method of comparing histograms for retrieval of still images or digital videos that have been digitized and stored has been recently proposed. As the histogram is widely used for image retrieval and shot boundary detection, an improvement on the histogram is required. In other words, by developing a discrete histogram of discrete quantization and color only, a composite histogram of color, edge, and brightness using linear update or soft decision is adopted. There is a need for more efficient and faithful representation.

종래의 히스토그램 생성방법에 관한 기술을 살펴보면 다음과 같다.A description of a conventional histogram generation method is as follows.

'Katherine 외 2인'이 권리자인 미국 특허(No. 5,805,733) 'Method and system for detecting scenes and summarizing video sequences'에는, 색상 히스토그램과 에지 맵을 사용하여 장면 전환을 검출하는 내용이 기술되어 있다. 즉, 미국 특허(No. 5,805,733)는 장면전환 검출을 위한 특징 벡터로 움직이는 윈도우에서 영상의 유사도를 이용하고 있다. 또한, 이러한 유사도 측정을 위해 각 장면에 대하여 평균 색상 히스토그램, 움직임 보상된 화소값의 차 또는 움직임 보상된 에지 맵을 적절히 이용한다. 그러나, 각 장면에 대해 평균 색상 히스토그램을 이용함으로써, 인간시각을 고려한 색상 정보를 추출한다는 효과가 있으나, 장면 검출만을 목적으로 하기 때문에 프레임 별로 블록을 기반으로 하는 보다 세밀한 색상 히스토그램을 이용하거나, 밝기 정보 또는 에지 정보를 포함하는 복합 히스토그램을 이용하는 효과적인 영상 검출 방법이 제안되지는 못하였다.한편, 'M.J.Swain 외 1인'이 'Int. J. of Computer Vision'에 게재한 논문 'Color Indexing'에서는, 색상 정보를 입력받아 히스토그램 인터섹션(histogram intersection) 기법을 이용하여 영상의 유사도를 측정하여 인덱싱을 수행하는 내용이 기술되어 있다. 그러나, 이 역시 밝기 및 에지 정보를 사용하지 않아 정확성이 떨어진다는 문제점이 있다. 또한, 이들 기존의 기법들에서는 이산 양자화 기법을 이용하여 히스토그램을 생성하므로 같은 성능을 내기 위해 상대적으로 많은 히스토그램 빈(bin)이 필요하며, 따라서 저장과 유사도 측정이 비효율적이라는 문제점이 있었다.U.S. Patent No. 5,805,733, entitled 'Katherine et al.', Entitled 'Method and system for detecting scenes and summarizing video sequences' describes the detection of scene transitions using color histograms and edge maps. That is, the US patent (No. 5,805, 733) uses the similarity of an image in a window moving with a feature vector for scene change detection. In addition, an average color histogram, a difference of motion compensated pixel values, or a motion compensated edge map is appropriately used for each scene for such a similarity measure. However, by using the average color histogram for each scene, it is effective to extract color information considering human vision. However, since only the scene is detected, a more detailed color histogram based on blocks for each frame or brightness information is used. Or, an effective image detection method using a composite histogram including edge information has not been proposed. Meanwhile, 'MJSwain et al. In the article 'Color Indexing' published in J. of Computer Vision, a description is given of indexing by measuring the similarity of images using histogram intersection. However, this also has a problem that accuracy is lowered because it does not use the brightness and edge information. In addition, since these histograms generate histograms using discrete quantization techniques, a relatively large number of histogram bins are required to achieve the same performance. Therefore, storage and similarity measurement are inefficient.

그리고, 종래에는 히스토그램 생성시, 픽셀 단위로 특징 추출을 수행하기 때문에 제한적인 특징정보만을 생성할 수밖에 없는 문제점이 있었다.In the conventional method, since feature extraction is performed on a pixel basis when generating a histogram, only limited feature information can be generated.

본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 여러 개의 픽셀들로 구성된 블록단위의 특징정보를 추출하여 히스토그램을 생성하되, 블록단위의 특징정보를 생성함으로써 다양한 특징정보의 획득이 가능하고, 추출된 특징정보를 단순히 선형 갱신(병합)함으로써 적은 수의 빈으로도 정확한 특징정보를 반영할 수 있는 블록단위의 히스토그램 생성 방법 및 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above-described problems, and generates a histogram by extracting feature information of a block unit composed of a plurality of pixels, and obtains various feature information by generating feature information of a block unit. And a method of generating a histogram in a block unit capable of reflecting accurate feature information even with a small number of bins by simply linearly updating (merged) the extracted feature information and a computer-readable recording program for realizing the method. The purpose is to provide a recording medium.

도 1 은 본 발명에 따른 블록기반 영상 히스토그램 생성 방법에 대한 일실시예 전체 흐름도.1 is a flowchart illustrating an embodiment of a block-based image histogram generation method according to the present invention;

도 2 는 본 발명에 따른 블록기반 영상 히스토그램 생성 방법 중 블록기반 영상 히스토그램 빈 갱신 과정을 나타낸 일실시예 설명도.2 is a diagram illustrating an embodiment of a block-based image histogram bin updating process among block-based image histogram generation methods according to the present invention;

도 3 은 본 발명에 이용되는 블록내 서브 블록들의 밝기 대표값과 에지의 종류를 나타낸 일실시예 설명도.3 is a diagram illustrating an exemplary embodiment of brightness representative values and types of edges in sub-blocks used in the present invention.

도 4 는 본 발명에 이용되는 에지 검출을 위한 블록 필터의 일실시예 설명도.4 is a diagram illustrating an embodiment of a block filter for edge detection used in the present invention.

도 5 는 본 발명에 따른 블록기반 영상 히스토그램 생성 방법 중 에지 검출 과정에 대한 일실시예 상세 흐름도.5 is a detailed flowchart illustrating an edge detection process in a block-based image histogram generation method according to the present invention;

도 6 은 본 발명에 따른 블록기반 영상 히스토그램 생성 방법 중 하위레벨의 다수개 블록들을 병합하여 상위레벨의 블록을 생성하는 과정을 나타낸 일실시예 설명도.FIG. 6 is a diagram illustrating a process of generating a block of a higher level by merging a plurality of blocks of a lower level among the block-based image histogram generation method according to the present invention; FIG.

도 7 은 본 발명에 따른 블록기반 영상 히스토그램 생성 방법 중 블록에서 추출된 특징정보의 가변 크기 블록화 과정의 히스토그램 시멘틱(semantic) 예시도.7 is a diagram illustrating a histogram semantic of a variable size blocking process of feature information extracted from a block in the method of generating a block-based image histogram according to the present invention.

도 8 은 선형 가중치를 고려하지 않은 종래의 히스토그램 갱신 과정을 나타낸 설명도.8 is an explanatory diagram showing a conventional histogram updating process without considering linear weights.

도 9 는 선형 가중치를 고려한 본 발명에 따른 히스토그램 갱신 과정을 나타낸 일실시예 설명도.9 is an exemplary explanatory diagram showing a histogram update process according to the present invention considering linear weights.

도 10 은 본 발명에 따른 블록기반 영상 히스토그램 생성 방법 중 유채색 빈과 빈 사이의 선형 가중치와 유채색과 무채색 사이의 선형 가중치를 나타낸 일실시예 설명도.FIG. 10 is a diagram illustrating a linear weight between colored and empty bins and a linear weight between colored and achromatic colors in a block-based image histogram generating method according to the present invention. FIG.

도 11 은 본 발명에 따른 블록기반 영상 히스토그램 생성 방법 중 밝기 특징정보와 에지 특징정보를 사용하여 구성한 복합 히스토그램의 일실시예 설명도.FIG. 11 is an exemplary explanatory diagram of a composite histogram constructed using brightness feature information and edge feature information in a block-based image histogram generating method according to the present invention; FIG.

도 12 는 본 발명에 따른 블록기반 영상 히스토그램 생성 방법 중 전체영역(global)에서의 특징정보와 부분적전체영역(semi-global)에서의 특징정보, 국부영역(local)에서의 특징정보를 사용하여 구성한 복합 히스토그램의 일실시예 설명도.FIG. 12 is a block-based image histogram generating method using feature information in a global area, feature information in a semi-global area, and feature information in a local area. Illustrative diagram of one embodiment of a composite histogram.

도 13 은 상기 도 12의 복합 히스토그램의 일실시예 설명도.FIG. 13 illustrates one embodiment of the composite histogram of FIG. 12; FIG.

상기 목적을 달성하기 위한 본 발명은, 영상 히스토그램을 생성하는 방법에 있어서, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 단계; 각 블록별로 적어도 두 개의 영상특징정보를 추출하는 제 2 단계; 상기 각 블록별로 추출된 상기 적어도 두 개의 영상특징정보를 이용하여, 해당 블록의 복합 히스토그램 빈을 생성하는 제 3 단계; 상기 영상에서 적어도 하나의 상기 블록을 하위레벨의 블록으로 정의하고, 적어도 하나보다 많은 하위레벨 블록을 모아 상위레벨 블록을 정하는 제 4 단계; 상기 각 하위레벨 블록에서 추출된 상기 적어도 두 개의 영상특징정보를 병합하여 상기 각 상위레벨 블록에 대한 적어도 두 개의 영상특징정보를 생성하는 제 5 단계; 및 상기 제 5 단계에서 생성된 적어도 두 개의 영상특징정보를 이용하여 상기 상위레벨 블록의 복합 히스토그램 빈을 생성하는 제 6 단계를 포함하여 이루어진 것을 특징으로 한다.According to an aspect of the present invention, there is provided a method of generating an image histogram, the method comprising: forming a plurality of blocks by grouping pixels in an image in predetermined units; A second step of extracting at least two image feature information for each block; Generating a complex histogram bin of the corresponding block by using the at least two image feature information extracted for each block; Defining at least one of the at least one block as a lower level block in the image, and collecting at least one lower level block to determine a higher level block; A fifth step of merging the at least two image feature information extracted from each lower level block to generate at least two image feature information for each upper level block; And a sixth step of generating a complex histogram bin of the upper level block by using the at least two image feature information generated in the fifth step.

그리고, 본 발명은 영상 히스토그램을 생성하는 방법에 있어서, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 단계; 하나의 대상 블록에 대해, 적어도 두 개의 영상특징정보를 추출하는 제 2 단계; 상기 대상 블록에 대해 추출된 상기 적어도 두 개의 영상특징정보를 이용하여, 상기 대상 블록의 복합 히스토그램 빈을 생성하는 제 3 단계; 생성된 블록 단위의 복합 히스토그램 빈을 이용하여, 영역별로 복합 히스토그램 빈을 갱신하는 제 4 단계; 및 상기 영상내의 모든 블록에 대해, 상기 제 2 단계 내지 제 4 단계를 반복 수행하는 제 5 단계를 포함하여 이루어진 것을 특징으로 한다.In addition, the present invention provides a method of generating an image histogram, comprising: a first step of forming a plurality of blocks by grouping pixels in an image in a predetermined unit; Extracting at least two image feature information of one target block; Generating a composite histogram bin of the target block by using the at least two image feature information extracted for the target block; A fourth step of updating the complex histogram bin for each region by using the generated block histogram bin; And a fifth step of repeatedly performing the second to fourth steps with respect to all blocks in the image.

또한, 본 발명은 영상 히스토그램을 생성하는 방법에 있어서, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 단계; 각 블록별로 에지 영상특징정보를 추출하는 제 2 단계; 및 상기 각 블록별로 추출된 상기 에지 영상특징정보를 이용하여, 영역별로 에지 히스토그램 빈을 생성하는 제 3 단계를 포함하여 이루어진 것을 특징으로 한다.In addition, the present invention provides a method for generating an image histogram, comprising: a first step of forming a plurality of blocks by grouping pixels in an image in predetermined units; Extracting edge image feature information for each block; And generating an edge histogram bin for each region by using the edge image feature information extracted for each block.

또한, 본 발명은 영상 히스트그램을 생성하는 방법에 있어서, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 단계; 하나의 대상 블록에 대해 에지 영상특징정보를 추출하는 제 2 단계; 상기 대상 블록에 대해 추출된 상기 에지 영상특징정보를 이용하여, 상기 대상 블록의 에지 히스토그램 빈을 생성하는 제 3 단계; 생성된 블록 단위의 에지 히스토그램 빈을 이용하여, 영역별로 에지 히스토그램 빈을 갱신하는 제 4 단계; 및 상기 영상내의 모든 블록에 대해, 상기 제 2 단계 내지 제 4 단계를 반복 수행하는 제 5 단계를 포함하여 이루어진 것을 특징으로 한다.The present invention also provides a method of generating an image histogram, comprising: a first step of forming a plurality of blocks by grouping pixels in an image in predetermined units; Extracting edge image feature information of one target block; Generating an edge histogram bin of the target block by using the edge image feature information extracted for the target block; A fourth step of updating the edge histogram bin for each region by using the generated edge histogram bin for each block; And a fifth step of repeatedly performing the second to fourth steps with respect to all blocks in the image.

한편, 본 발명은 블록기반 영상 히스토그램 생성을 위하여, 프로세서를 구비한 영상 시스템에, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 기능; 각 블록별로 적어도 두 개의 영상특징정보를 추출하는 제 2 기능; 상기 각 블록별로 추출된 상기 적어도 두 개의 영상특징정보를 이용하여, 해당 블록의 복합 히스토그램 빈을 생성하는 제 3 기능; 상기 영상에서 적어도 하나의 상기 블록을 하위레벨의 블록으로 정의하고, 적어도 하나보다 많은 하위레벨 블록을 모아 상위레벨 블록을 정하는 제 4 기능; 상기 각 하위레벨 블록에서 추출된 상기 적어도 두 개의 영상특징정보를 병합하여 상기 각 상위레벨 블록에 대한 적어도 두 개의 영상특징정보를 생성하는 제 5 기능; 및 상기 제 5 기능에서 생성된 적어도 두 개의 영상특징정보를 이용하여 상기 상위레벨 블록의 복합 히스토그램 빈을 생성하는 제 6 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.Meanwhile, the present invention provides a video system including a processor for generating a block-based video histogram, comprising: a first function of forming a plurality of blocks by grouping pixels in an image in predetermined units; A second function of extracting at least two image feature information for each block; A third function of generating a complex histogram bin of a corresponding block by using the at least two image feature information extracted for each block; A fourth function of defining at least one of the at least one block as a lower level block in the image and collecting at least one lower level block to determine a higher level block; A fifth function of merging the at least two image feature information extracted from each lower level block to generate at least two image feature information for each upper level block; And a computer-readable recording medium having recorded thereon a program for realizing a sixth function of generating a complex histogram bin of the upper level block using at least two image feature information generated by the fifth function.

그리고, 본 발명은 블록기반 영상 히스토그램 생성을 위하여, 프로세서를 구비한 영상 시스템에, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 기능; 하나의 대상 블록에 대해, 적어도 두 개의 영상특징정보를 추출하는 제 2 기능; 상기 대상 블록에 대해 추출된 상기 적어도 두 개의 영상특징정보를 이용하여, 상기 대상 블록의 복합 히스토그램 빈을 생성하는 제 3 기능; 생성된 블록 단위의 복합 히스토그램 빈을 이용하여, 영역별로 복합 히스토그램 빈을 갱신하는 제 4 기능; 및 상기 영상내의 모든 블록에 대해, 상기 제 2 기능 내지 제 4 기능을 반복 수행하는 제 5 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.In addition, the present invention provides a video system including a processor for generating a block-based image histogram, comprising: a first function of grouping pixels in an image in predetermined units to form a plurality of blocks; A second function of extracting at least two image feature information with respect to one target block; A third function of generating a complex histogram bin of the target block by using the at least two image feature information extracted for the target block; A fourth function of updating the composite histogram bean for each region by using the generated composite histogram bean on a block basis; And a computer readable recording medium having recorded thereon a program for realizing a fifth function for repeatedly performing the second to fourth functions for all blocks in the image.

또한, 본 발명은 블록기반 영상 히스토그램 생성을 위하여, 프로세서를 구비한 영상 시스템에, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 기능; 각 블록별로 에지 영상특징정보를 추출하는 제 2 기능; 및 상기 각 블록별로 추출된 상기 에지 영상특징정보를 이용하여, 영역별로 에지 히스토그램 빈을 생성하는 제 3 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.The present invention also provides a video system including a processor for generating a block-based video histogram, comprising: a first function of configuring a plurality of blocks by grouping pixels in an image in predetermined units; A second function of extracting edge image feature information for each block; And a computer readable recording medium having recorded thereon a program for realizing a third function of generating an edge histogram bin for each region by using the edge image feature information extracted for each block.

또한, 본 발명은 블록기반 영상 히스토그램 생성을 위하여, 프로세서를 구비한 영상 시스템에, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 기능; 하나의 대상 블록에 대해 에지 영상특징정보를 추출하는 제 2 기능; 상기 대상 블록에 대해 추출된 상기 에지 영상특징정보를 이용하여, 상기 대상 블록의 에지 히스토그램 빈을 생성하는 제 3 기능; 생성된 블록 단위의 에지 히스토그램 빈을 이용하여, 영역별로 에지 히스토그램 빈을 갱신하는 제 4 기능; 및 상기 영상내의 모든 블록에 대해, 상기 제 2 기능 내지 제 4 기능을 반복 수행하는 제 5 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.The present invention also provides a video system including a processor for generating a block-based video histogram, comprising: a first function of configuring a plurality of blocks by grouping pixels in an image in predetermined units; A second function of extracting edge image feature information about one target block; A third function of generating an edge histogram bin of the target block by using the edge image feature information extracted for the target block; A fourth function of updating the edge histogram bin for each region using the generated block histogram bin; And a computer readable recording medium having recorded thereon a program for realizing a fifth function for repeatedly performing the second to fourth functions for all blocks in the image.

본 발명은 영상의 전체적인 특징을 반영하기 위해 영상에서 블록단위로 특징정보를 추출한 후 이를 히스토그램 빈에 반영하는 것이다.본 발명에서는 히스토그램 빈의 갱신을 블록단위로 수행함으로써 다양한 특징정보를 사용할 수 있고, 선형적인 갱신을 수행함으로써 빈의 수를 효과적으로 줄일 수 있다. 그리고, 블록단위의 특징정보 추출을 통해 영상의 밝기, 색상, 에지, 질감 등 다양한 특징정보를 추출할 수 있고, 가변 크기 블록의 병합을 통해 다양한 해상도(multi-resolution)를 갖는 특징 추출이 가능하다.즉, 본 발명에서는 여러 개의 픽셀로 구성된 블록을 히스토그램 생성의 기본 단위로 사용하여, 이 블록 단위의 픽셀 집합에서 다양한 해상도의 밝기, 색상, 에지, 질감 등의 특징정보를 추출할 수 있다. 그리고, 영상 히스토그램에서 히스토그램의 각 빈이 가지는 의미를 구분해 줄 수 있어, 좀 더 효과적으로 영상의 내용을 반영하는 히스토그램을 얻을 수 있다.The present invention extracts feature information in units of blocks from an image to reflect the overall characteristics of the image, and then reflects the feature information in the histogram bin. In the present invention, various feature information can be used by updating the histogram bin in units of blocks. By performing a linear update, the number of bins can be effectively reduced. In addition, various feature information such as brightness, color, edge, and texture of an image may be extracted by extracting feature information in units of blocks, and feature extraction having various resolutions (multi-resolution) may be possible through merging of variable size blocks. That is, in the present invention, by using a block composed of several pixels as a basic unit of histogram generation, feature information such as brightness, color, edge, and texture of various resolutions can be extracted from the pixel set of the block unit. In addition, since the meaning of each bin of the histogram can be distinguished from the image histogram, a histogram reflecting the contents of the image can be obtained more effectively.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명에 따른 블록기반 영상 히스토그램 생성 방법에 대한 일실시예 전체 흐름도이다.1 is a flowchart illustrating an embodiment of a method for generating a block-based image histogram according to the present invention.

도 1을 참조하면, 먼저 변수 k를 0으로 초기화하고 영상의 픽셀들을 하나의 그룹으로 묶어서 레벨 0의 블록 크기를 설정한다(S101).이후, 레벨 0의 모든 블록에 대해 블록 단위로 영상의 특징정보를 추출하여 해당 히스토그램을 갱신한다(S102, S103, S104, S105). 즉, 첫 번째 블록부터 블록내 특징정보를 추출하고(S102), 해당 히스토그램을 갱신하는 동작(S103)을 레벨 0의 모든 블록에 대해 수행한다(S104, S105). 이는 레벨 0에서의 전체영역(global region) 히스토그램, 국부영역(local region) 히스토그램 및 부분적전체영역(semi-global region) 히스토그램을 생성하는 것이다.Referring to FIG. 1, first, the variable k is initialized to 0 and the pixel size of the image is grouped into a group to set the block size of the level 0 (S101). The information is extracted and the histogram is updated (S102, S103, S104, S105). That is, in step S102, the feature information within the block is extracted from the first block and the corresponding histogram is updated for all blocks of level 0 (S104 and S105). This produces a global region histogram, a local region histogram, and a semi-global region histogram at level zero.

여기서, 블록내 특징정보로는 밝기, 색상 정보 뿐만 아니라, 에지, 질감 정보가 포함되며, 정보를 추출하는 자세한 설명은 후술하기로 한다.Here, the feature information in the block includes not only brightness and color information but also edge and texture information. A detailed description of extracting the information will be described later.

다음으로, 레벨 0의 모든 블록들에 대해 특징정보를 추출한 후, 레벨을 나타내는 변수 k를 1 증가시킨 다음(S106), 레벨 0의 특징정보를 병합하여 레벨 1의 특징정보를 생성하고(S107), 레벨 1의 해당 히스토그램을 갱신한다(S108). 이때, 레벨 1의 블록은 레벨 0의 블록들을 묶어서 만들 수 있으며, 레벨 1의 특징정보들도 레벨 0의 특징정보를 병합하여 생성할 수 있다. 이렇게 레벨 1의 모든 블록들에 대해 특징정보를 추출하고(S107), 해당 히스토그램을 갱신하는 동작(S108)을 레벨 1의 블록들에 대해 반복 수행한다(S109, S110).만약, 모든 레벨에 대한 특징정보 생성이 끝나지 않았으면(S111), 레벨을 나타내는 변수를 순차적으로 증가시켜(S106), 모든 레벨에 대해 특징정보를 추출하고 그 레벨에서의 해당 히스토그램을 갱신하며, 모든 레벨에 대한 특징정보 생성이 끝나면 종료한다.이러한 상위 레벨들은 사용자가 특징정보 추출을 더욱 세분하여 얻기를 원할 때 사용되며, 상위레벨에서도 전체영역(global region) 히스토그램, 국부영역(local region) 히스토그램 및 부분적전체영역(semi-global region) 히스토그램을 생성할 수 있다.이렇게 블록단위의 특징정보를 생성함으로써 다양한 특징정보의 획득이 가능하다. 그리고, 추출된 특징정보를 선형 갱신(linear update)함으로써 적은 수의 빈으로도 정확한 특징정보를 반영할 수 있다.본 발명의 특징을 살펴보면 다음과 같다.첫째, 다수개의 픽셀들을 하나의 블록으로 묶어서 이를 기본 단위로 이용하여 특징정보를 추출하는 것이다.둘째, 블록 단위로 추출되는 특징정보에 색상, 밝기 정보 뿐만 아니라, 에지 및 질감 정보가 포함되도록 하는 것이다. 여기서, 블록 단위로 추출되는 임의의 2개 이상의 영상특징정보로 복합 히스토그램을 생성한다. 예를 들면, 블록 단위로 추출된 "색상+밝기", "색상(또는 밝기)+질감", "에지+색상(또는 밝기)", "에지+질감", "에지+색상(또는 밝기)+질감", "에지+색상+밝기+질감" 특징정보로 복합 히스토그램을 생성한다.셋째, 블록의 크기는 영상의 크기에 따라 변형 가능하여 영상 전체의 크기에 상관없이 정량적인 특징정보의 추출이 가능하도록 한다. 즉, 영상의 크기에 비례하여 최소 블록의 크기가 정하여 지고, 결과적으로 영상의 크기에 상관없이 정량적인 특징정보의 추출이 가능하다. 특히, 최하위레벨의 블록 크기는 영상 크기에 의하여 결정되고, 하위레벨의 블록들의 히스토그램을 간단히 병합하여 효과적이며 손쉽게 상위레벨 블록의 히스토그램을 생성한다.넷째, 히스토그램의 증가치를 계산할 때 선형 가중치를 적용하여 양자화 오차를 줄인다.다섯째, 하나의 영상에 대해 전체영역(global region), 부분적전체영역(semi-global region), 국부영역(local region)에 대해 각각의 히스토그램을 생성한다.이하에서는 상기의 5가지 특징들을 중심으로 설명하기로 한다.첫째, 히스토그램의 기본 단위에 대해 설명하면 다음과 같다.Next, after extracting feature information for all blocks of level 0, the variable k representing the level is increased by 1 (S106), then the feature information of level 0 is merged to generate feature information of level 1 (S107). In step S108, the histogram of level 1 is updated. In this case, the block of level 1 may be formed by grouping the blocks of level 0, and the feature information of level 1 may be generated by merging the feature information of level 0. The feature information is extracted for all blocks of level 1 (S107), and the operation of updating the corresponding histogram (S108) is repeatedly performed for the blocks of level 1 (S109, S110). If the feature information generation is not finished (S111), the variable representing the level is sequentially increased (S106) to extract feature information for all levels, update the corresponding histogram at that level, and generate feature information for all levels. These higher levels are used when the user wants to obtain more detailed feature information extraction, and even at higher levels, the global region histogram, the local region histogram, and the semi-global region are used. global region) histogram can be generated. By generating feature information in units of blocks, various feature information can be obtained. Further, by linearly updating the extracted feature information, the feature information can be reflected even with a small number of bins. The features of the present invention are as follows. First, a plurality of pixels are grouped into one block. Using this as a basic unit, feature information is extracted. Second, feature information extracted in units of blocks includes not only color and brightness information but also edge and texture information. Here, a composite histogram is generated from two or more pieces of image feature information extracted in units of blocks. For example, "Color + Brightness", "Color (or Brightness) + Texture", "Edge + Color (or Brightness)", "Edge + Texture", "Edge + Color (or Brightness) +" Complex histogram is created with "texture" and "edge + color + brightness + texture" feature. Third, the size of the block can be modified according to the size of the image so that quantitative feature information can be extracted regardless of the size of the entire image. Do it. That is, the size of the minimum block is determined in proportion to the size of the image, and as a result, it is possible to extract quantitative feature information regardless of the size of the image. In particular, the block size of the lowest level is determined by the image size, and the histogram of the lower level blocks is simply merged to produce an effective and easy histogram of the upper level block. Fifth, the histograms are generated for the global region, the semi-global region, and the local region for one image. First, the characteristics of the histogram will be described as follows.

종래의 색상 히스토그램 생성 방법에서는 영상내 각 픽셀별로 추출된 밝기 혹은 색상 특징정보를 해당 히스토그램 빈에 대해서만 갱신하였다. 그러나, 본 발명에서는 도 2에 도시된 바와 같이 여러 픽셀들, 즉 N×M 픽셀그룹을 하나의 블록으로 묶어서(S101) 마치 하나의 큰 픽셀(블록) 단위로 히스토그램 빈을 갱신한다. 각 블록마다 추출된 특징정보들은 블록 단위로 히스토그램 빈 갱신에 사용된다. 이렇게 히스토그램 빈의 갱신을 블록 단위로 정의함으로써, 영상의 밝기, 색상 특징정보 뿐만 아니라 다양한 해상도를 갖는 에지 특징정보도 추출 가능하다. 또한, 영상의 크기에 비례하여 블록의 크기를 변형하여 적용할 수 있어, 영상 전체의 크기에 상관없이(scale invariant) 정량적인 특징정보의 추출이 가능하다.In the conventional color histogram generation method, the brightness or color feature information extracted for each pixel in the image is updated only for the corresponding histogram bin. However, in the present invention, as shown in FIG. 2, the histogram bin is updated in units of one large pixel (block) by grouping several pixels, that is, N × M pixel groups, into one block (S101). Feature information extracted for each block is used to update the histogram bin on a block basis. By defining the update of the histogram bin in units of blocks, the edge feature information having various resolutions as well as the brightness and color feature information of the image can be extracted. In addition, since the size of the block can be modified and applied in proportion to the size of the image, quantitative feature information can be extracted regardless of the size of the entire image (scale invariant).

둘째, 블록에서 추출된 특징정보에 대해 설명하면 다음과 같다.Second, the feature information extracted from the block will be described below.

종래의 픽셀 단위의 특징정보 추출 방법은 픽셀이 가지고 있는 밝기 정보 뿐이기 때문에 영상 전체의 밝기 분포 또는 색상의 분포만을 정량적으로 측정할 수 있었다. 그러나, 본 발명에서는 도 2와 같이 N×M 픽셀들을 블록 단위로 묶어서 하나의 블록으로 구성하고(S101) 블록 단위로 특징정보를 추출하기 때문에 밝기 및 색상 특징정보 뿐만 아니라 블록내 발생되는 에지, 질감(texture) 등 다양한 특징정보를 획득할 수 있다(S102).In the conventional method of extracting feature information on a pixel-by-pixel basis, only the brightness information of a pixel can be used to quantitatively measure only the brightness distribution or the color distribution of the image. However, in the present invention, as shown in FIG. 2, since N × M pixels are grouped into block units to form a block (S101), and feature information is extracted in block units, not only brightness and color feature information but also edges and textures generated in the block. Various feature information, such as text, may be acquired (S102).

그리고, 이 블록 단위로 추출된 특징정보는 복합(composite) 히스토그램 갱신에 반영할 수 있다. 여기서, 복합 히스토그램이란 여러 종류의 히스토그램 빈들을 하나의 히스토그램으로 표현한 것을 말한다.하나의 블록은 도 3에 도시된 바와 같이 4개의 서브 블록(sub-block)들로 이루어진다. 여기서, 각 서브 블록들은 내부 픽셀들의 밝기 대표값으로 표현된다. 이때, 서브 블록의 대표값으로는 서브 블록내 픽셀들의 평균값(average value) 또는 중앙값(median value)을 사용할 수 있다. 이러한 서브 블록으로 이루어진 블록의 에지는 다음과 같은 방법으로 검출할 수 있다.The feature information extracted in units of blocks can be reflected in the composite histogram update. Here, the complex histogram refers to a representation of several histogram bins as one histogram. One block includes four sub-blocks as illustrated in FIG. 3. Here, each subblock is represented by the brightness representative value of the inner pixels. In this case, an average value or a median value of the pixels in the subblock may be used as the representative value of the subblock. The edge of a block composed of such sub blocks can be detected in the following manner.

먼저, 블록의 에지 존재 여부를 검출하는 과정의 일실시예는 다음과 같다.First, an embodiment of a process of detecting the presence or absence of an edge of a block is as follows.

도 3 은 본 발명에 이용되는 블록내 서브 블록들의 밝기 대표값과 에지의 종류를 나타낸 일실시예 설명도로서, 도 3의 (a)에 도시된 바와 같이, 하나의 블록은 4개의 서브 블록들로 이루어지며, 각 서브 블록들의 밝기 대표값은 각각 DC1,DC2, DC3, DC4라 한다. 예를 들어, 서브 블록간 에지 구별을 위한 밝기차의 임계값을 Te라 가정하면, 각 서브 블록간 밝기값의 차이가 Te를 넘는 경우 해당 서브 블록간에 에지가 존재하는 것이며, 이는 굵은 실선으로 표현되었다. 따라서, 하나의 블록내에 에지가 존재하는 경우, 도 3의 (b), (c), (d) 3가지 종류중의 한가지 에지에 해당된다. 즉, (b)와 같은 수직 에지(vertical edge)이거나, (c)와 같은 수평 에지(horizontal edge)이거나, (d)와 같은 혼합 에지(miscellaneous edge) 중 한가지 에지이다. 이와 같이 블록내에 에지가 판정되면(에지가 존재하면), 해당 히스토그램 빈을 갱신한다. 즉, 해당 히스토그램 빈을 1 증가시킨다.FIG. 3 is a diagram illustrating an example of brightness representative values and types of edges of sub-blocks in a block used in the present invention. As shown in FIG. 3 (a), one block includes four sub-blocks. The representative values of the brightness of each subblock are DC1, DC2, DC3, and DC4, respectively. For example, assuming a threshold value of a brightness difference for distinguishing edges between subblocks is Te, when a difference in brightness values between subblocks exceeds Te, edges exist between the corresponding subblocks, which is represented by a thick solid line. It became. Therefore, when an edge exists in one block, it corresponds to one of three types of (b), (c), and (d) of FIG. That is, it is either a vertical edge such as (b), a horizontal edge such as (c) or a miscellaneous edge such as (d). When an edge is determined in the block (if an edge exists), the histogram bin is updated. That is, the histogram bin is increased by one.

한편, 블록의 에지 존재 여부를 검출하는 과정의 다른 실시예는 다음과 같다.Meanwhile, another embodiment of a process of detecting the presence or absence of an edge of a block is as follows.

도 4 는 본 발명에 이용되는 에지 검출을 위한 블록 필터의 일실시예 설명도로서, 블록의 에지 존재 여부를 검출할 때 사용하는 5가지 필터들을 나타낸 것이다.도 4의 (a)는 edge 90의 필터 계수값, (b)는 edge 0의 필터 계수값, (c)는 edge 45의 필터 계수값, (d)는 edge 135의 필터 계수값, 및 (e)는 complex_edge의 필터 계수값이다.본 발명의 다른 실시예에 따라 도 5를 참조하여 블록의 에지 존재 여부를 검출하는 과정을 살펴보면 다음과 같다.FIG. 4 is a diagram illustrating an example of a block filter for edge detection used in the present invention, and shows five filters used to detect the presence or absence of an edge of a block. FIG. The filter coefficient value (b) is a filter coefficient value of edge 0, (c) is a filter coefficient value of edge 45, (d) is a filter coefficient value of edge 135, and (e) is a filter coefficient value of complex_edge. According to another embodiment of the present invention, a process of detecting the presence or absence of an edge of a block will be described with reference to FIG. 5.

우선, 0도 에지값(edge0), 45도 에지값(edge45), 90도 에지값(edge90), 135도 에지값(edge135), 혼합 에지값(complex_edge)을 각각 구한다(S501). 여기서, 하나의 블록에 대한 다수의 에지값들은 상기 도 4에 도시된 5가지의 필터 계수값과 각 서브 블록들의 밝기 대표값들을 컨볼루션(convolution)하여 구할 수 있는데, 이는 하기의 (수학식 1)과 같다.First, the 0 degree edge value edge0, the 45 degree edge value edge45, the 90 degree edge value edge90, the 135 degree edge value edge135, and the mixed edge value complex_edge are obtained, respectively (S501). Here, the plurality of edge values for one block may be obtained by convolving the five filter coefficient values shown in FIG. 4 and the brightness representative values of the respective sub blocks, which are represented by Equation 1 below. )

상기 (수학식 1)에서, mean_sub_block(0)는 상기 도 3 (a)의 DC1 서브 블록, mean_sub_block(1)는 DC2 서브 블록, mean_sub_block(2)는 DC3 서브 블록, 그리고 mean_sub_block(3)는 DC4 서브 블록을 각각 의미한다. 또한, edge_filter(i)는 도 4의 해당 필터 계수값들을 의미한다. 예를 들어, edge45_filter(0)은, edge45_filter(1)과 edge45_filter(2)는 0, edge45_filter(3)은이다.In Equation 1, mean_sub_block (0) is a DC1 subblock of FIG. 3 (a), mean_sub_block (1) is a DC2 subblock, mean_sub_block (2) is a DC3 subblock, and mean_sub_block (3) is a DC4 subblock. Each block means. In addition, edge_filter (i) means corresponding filter coefficient values of FIG. 4. For example, edge45_filter (0) is , edge45_filter (1) and edge45_filter (2) are 0, edge45_filter (3) is to be.

상기와 같이 0도 에지값(edge0)과, 45도 에지값(edge45), 90도 에지값(edge90), 135도 에지값(edge135), 및 혼합 에지값(complex_edge)들을 계산한 다음(S501), 이들 중 가장 큰 값이 임계값(Th_sub_differece)을 넘는지를 판별하여(S502), 단일톤 블록과 에지블록을 구분한다. 즉, 최대 에지값이 임계값보다 크면, 최대값 에지를 그 블록의 대표 에지로 판별한다(S503). 그러나, 최대 에지값이 임계값보다 작으면, 그 블록을 단일톤 블록으로 판별한다(S504). 상기와 같이 해당 블록의 에지 종류가 판별되면 해당 히스토그램 빈을 갱신한다. 즉, 해당 히스토그램 빈을 1 증가시킨다.정리해 보면, 상기 (수학식 1)과 같은 방식으로 각 방향성 에지의 크기를 구하고, 각 에지의 세기값들중 가장 큰 값이 임계값(Th_sub_differece)을 넘는지를 판별하여(max{edge0,edge45,edge90,edge135,complex_edge}〈 Th_sub_differece) 단순영역과 에지영역을 구분하고, 에지영역일 경우 가장 큰 에지 세기를 갖는 에지를 그 블록의 대표 에지로 한다.As described above, the 0 degree edge value edge0, the 45 degree edge value edge45, the 90 degree edge value edge90, the 135 degree edge value edge135, and the mixed edge values complex_edge are calculated (S501). Then, it is determined whether the largest value among them exceeds the threshold Th_sub_differece (S502) to distinguish the single tone block from the edge block. That is, when the maximum edge value is larger than the threshold value, the maximum edge value is determined as the representative edge of the block (S503). However, if the maximum edge value is smaller than the threshold value, the block is determined as a single tone block (S504). When the edge type of the block is determined as described above, the histogram bin is updated. That is, the histogram bin is increased by one. In summary, the size of each directional edge is calculated in the same manner as in Equation 1 above, and the largest value among the intensity values of each edge exceeds the threshold value Th_sub_differece. By discriminating (max {edge0, edge45, edge90, edge135, complex_edge} < Th_sub_differece), the simple area and the edge area are distinguished. In the case of the edge area, the edge having the largest edge strength is used as the representative edge of the block.

셋째, 블록에서 추출된 특징정보의 가변크기 블록(variable size block)화 및 계층적(하위레벨→상위레벨) 히스토그램 생성 과정을 살펴보면 다음과 같다.Third, a process of generating a variable size block of feature information extracted from a block and generating a histogram hierarchically (lower level to higher level) is as follows.

종래에는 영상 전체의 밝기, 색상, 에지 등의 분포 등을 일정한 해상도로 추출하였으나, 영상을 보다 효과적으로 표현하려면 다양한 해상도를 갖는 특징정보의 추출이 필요하다. 본 발명에서는 도 6에 도시된 바와 같이 여러 개의 기본 블록(level 0)들로 이루어진 상위 블록(level 1)을 정의한다. 즉, 하위레벨 k의 블록들을 모아서 상위레벨 k+1의 블록으로 정의한다. 도 6에서, 하위레벨 k의 블록들은 (0,0)에서 (5,5)까지이다. 하위레벨 k의 블록들을 9개씩 묶으면, 하위레벨 k의 (0,0)에서(2,2)까지의 블록들은 상위레벨 k+1의 B00 블록이 되고, 하위레벨 k의 (0,3)에서 (2,5)까지의 블록들은 상위레벨 k+1의 B01 블록이 되며, 하위레벨 k의 (3,0)에서 (5,2)까지의 블록들은 상위레벨 k+1의 B10 블록이 되고, 하위레벨 k의 (3,3)에서 (5,5)까지의 블록들은 상위레벨 k+1의 B11 블록이 된다.Conventionally, the distribution of brightness, color, edge, etc. of the entire image is extracted at a constant resolution. However, in order to express the image more effectively, feature information having various resolutions needs to be extracted. In the present invention, as shown in FIG. 6, an upper block (level 1) consisting of several basic blocks (level 0) is defined. That is, the blocks of the lower level k are collected and defined as the blocks of the upper level k + 1. In FIG. 6, the blocks of lower level k are from (0,0) to (5,5). When nine blocks of lower level k are grouped, blocks from (0,0) to (2,2) of lower level k become B00 blocks of upper level k + 1, and (0,3) of lower level k. Blocks from to (2,5) become B01 blocks of upper level k + 1, and blocks from (3,0) to (5,2) of lower level k become B10 blocks of upper level k + 1 , Blocks from (3,3) to (5,5) of lower level k become B11 blocks of upper level k + 1.

영상을 보다 효과적으로 표현하려면, 각 레벨별로 에지 성분을 추출하여 해당 히스토그램의 빈을 발생한다. 이때, 상위레벨 k+1 블록의 특징정보는 하위레벨 k 블록들의 특징정보를 사용하여 간단한 연산으로 구할 수 있다. 상위레벨 k+1 블록에서의 특징정보는 영상내 위치정보를 반영하고 있는 바, 하위레벨 k 블록과 상위레벨 k+1 블록의 영상내 위치별, 해상도별 특징정보들을 반영한 시멘틱(semantic)의 히스토그램을 도 7과 같이 구성할 수 있다. 즉, 각 레벨별로 수직 에지 히스토그램 빈과 수평 에지 히스토그램 빈, 및 혼합 에지 히스토그램 빈을 별도 발생할 수 있다.To represent the image more effectively, edge components are extracted for each level to generate bins of the histogram. In this case, the feature information of the upper level k + 1 block may be obtained by a simple operation using the feature information of the lower level k blocks. The semantic histogram reflects the characteristic information by position and resolution of the lower level k block and the upper level k + 1 block by reflecting the position information in the image. It can be configured as shown in FIG. That is, the vertical edge histogram bin, the horizontal edge histogram bin, and the mixed edge histogram bin may be separately generated for each level.

넷째, 선형 갱신(linear update) 과정을 살펴보기로 한다.Fourth, a linear update process will be described.

색상에 있어서, 기존의 히스토그램 빈 갱신방법은 도 8에 도시된 바와 같이 주어진 구역내의 데이터 존재 유무를 가지고 해당 히스토그램의 빈을 1씩 증가시키는 바이너리(binary) 결정 방법을 사용한다. 이 경우 빈과 빈 사이의 경계 부근에 존재하는 데이터의 경우, 유사한 색상 특징을 반영하지만 2개의 빈에 각각 다르게 할당됨으로써 서로 다른 특징정보로 표현되는 심각한 오차를 발생시킨다. 이러한 오차를 해소하기 위하여, 종래에는 결과 히스토그램을 평탄화시키는 작업, 즉 저역통과 필터링을 행하였다. 그러나, 이러한 평탄화 작업으로 인하여 특징정보의 손실이 많으므로 영상의 정확한 특징정보를 반영할 수 없는 문제점이 있었다.In terms of color, the existing histogram bin updating method uses a binary determination method of incrementing the bin of the histogram by one with or without data in a given region as shown in FIG. In this case, data that exists near the boundary between the bins reflects similar color features but is allocated differently to the two bins, thereby causing a serious error represented by different feature information. In order to eliminate this error, conventionally, the result histogram is flattened, that is, low pass filtering. However, due to such flattening, there is a problem in that the feature information is lost so that the accurate feature information of the image cannot be reflected.

이러한 종래기술의 문제점을 보다 명확하게 살펴보기 위해, 도 8을 참조하여 설명하면 다음과 같다.In order to look at the problems of the prior art more clearly, it will be described with reference to FIG.

도 8의 (a)와 (c)의 "A" 부분은 모두 오렌지(orange)색이지만, (a)는 빨강(red)에 가까운 오렌지색이고 (c)는 노랑(yellow)에 가까운 오렌지색이다. 비록, 이 두 색(red, yellow)은 비슷한 오렌지색이지만, (a)의 오렌지색은 (b)와 같이 빨강(red) 히스토그램 빈에 카운트되고, (c)의 오렌지색은 (d)와 같이 노랑(yellow) 히스토그램 빈에 카운트된다. 즉, 같은 오렌지(orange) 계열의 색상이지만, 히스토그램의 빈에서 양자화 오차에 의하여 카운트된 히스토그램은 다른 색상이라고 판단한다. 이와 같이 종래에는 빈과 빈 사이의 경계부근에 존재하는 정보는 유사한 특징을 가지지만, 각각 다른 빈에 할당되기 때문에 다른 특징정보로 표현되는 심각한 오차를 발생시키는 문제점이 있었다.The portion "A" of FIGS. 8A and 8C is orange, but (a) is orange near red and (c) is orange near yellow. Although these two colors are similar orange, the orange in (a) counts in the red histogram bin as in (b), and the orange in (c) is yellow as in (d). Are counted in the histogram bin. That is, it is determined that the histogram that is the same orange color but counted by the quantization error in the bin of the histogram is a different color. As described above, information existing near the boundary between bins has similar characteristics, but since they are assigned to different bins, there is a problem of generating serious errors represented by different feature information.

이러한 문제를 해결하기 위하여, 본 발명에서는 도 10의 (a)와 같이 각 빈과 빈 사이의 거리에 따른 선형적인 가중치를 적용함으로써, 도 9와 같이 빈과 빈 사이에서 발생되는 양자화 오차를 줄일 수 있다. 따라서, 적은 수의 빈을 갖는 히스토그램이라도 특징정보를 정확하게 반영할 수 있다.In order to solve this problem, in the present invention, by applying a linear weight according to the distance between each bin and bins as shown in (a) of FIG. 10, the quantization error generated between bins and bins can be reduced as shown in FIG. have. Therefore, even the histogram having a small number of bins can accurately reflect the feature information.

이를 도 9를 참조하여 보다 구체적으로 살펴보면, (a)에 도시된 ″A″부분과 (c)에 도시된 ″A″부분은 모두 오렌지(orange)색이며, 빨강(R)과 노랑(Y)의 경계부근에 위치한다. 이때, 빨강(R)에 가까운 오렌지색은 (b)와 같이 빨강(R)에 더 많은 가중치가 부여되어 히스토그램에 카운팅되고, 노랑(Y)에 가까운 오렌지색은 (d)와 같이 노랑(Y)에 더 많은 가중치가 부여되어 히스토그램에 카운팅된다. 따라서, 같은 오렌지(orange) 계열의 색상이라는 것을 카운트된 히스토그램의 빈으로 확인할 수 있다. 이렇게 도 10의 (a)와 같이 각 빈과 빈 사이의 거리에 따른 선형적인 가중치의 적용에 따라, 도 9와 같이 빈과 빈 사이에서 발생하는 양자화 오차를 줄일 수 있어, 적은 수의 빈을 갖는 히스토그램이라도 특징정보를 정확하게 반영할 수 있는 이점이 있다.Looking at this in more detail with reference to Figure 9, the ″ A ″ portion shown in (a) and the ″ A ″ portion shown in (c) are both orange color, red (R) and yellow (Y) Located near the boundary of. At this time, orange close to red (R) is counted in the histogram by giving more weight to red (R) as in (b), and orange close to yellow (Y) is more at yellow (Y) as in (d). Many weights are assigned and counted in the histogram. Therefore, it can be confirmed that the color of the same orange series is the bin of the counted histogram. As shown in FIG. 10 (a), by applying a linear weight according to the distance between the bins and the bins, the quantization error occurring between the bins and the bins can be reduced as shown in FIG. Even histograms have the advantage of accurately reflecting feature information.

이와 같은 선형 갱신의 적용예를 설명하면 다음과 같다.An example of the application of such a linear update is as follows.

도 10 은 유채색 영역을 마젠타(M), 청색(B), 사이안(C), 녹색(G), 노랑(Y), 빨강(R)의 6가지 대표 색조로 구분하고, 무채색을 밝기에 따라 5가지로 구분하여 히스토그램의 빈을 카운트하는 것이다. 이 경우, 히스토그램 빈 h(0)부터 h(5)는 색상 히스토그램이고, h(6)부터 h(10)은 밝기 히스토그램이다.10 is divided into six representative color shades of magenta (M), blue (B), cyan (C), green (G), yellow (Y), and red (R). The bins in the histogram are counted into five categories. In this case, the histogram bins h (0) to h (5) are color histograms, and h (6) to h (10) are brightness histograms.

본 발명에서는 YCbCr 색공간으로부터 의사 색조(pseudo hue)와 의사 색농도(pseudo saturation)를 계산하여 사용한다. 그러나, 색조(hue)와 색농도(saturation)로 표현되는 색공간, 즉 색상-채도-명도(HSV : Hue-Saturation-Value) 색공간을 사용하는 경우에는 의사 색조(pseudo hue)와 의사 색농도(pseudo saturation) 대신에 색조와 색농도를 그대로 사용한다.In the present invention, pseudo hue and pseudo saturation are calculated and used from the YCbCr color space. However, when using a color space represented by hue and saturation, that is, a hue-saturation-value (HSV) color space, pseudo hue and pseudo color density are used. Instead of pseudo saturation, color tone and color depth are used.

YCbCr 색공간에서, Cb, Cr값에 의하여 의사 색조(Psuedo Hue)와 의사 색농도(Psuedo Saturation)는 하기의 (수학식 2)와 같이 정의된다.참고적으로, 색상의 표현은 YCbCr란 방법을 이용하여 표현한다. 보통의 경우, RGB란 방법을 사용하는데, 이 방법은 빛의 삼원소인 적색광(R), 녹색광(G), 청색광(B)의 색을 혼합하여 색을 표현하는 방법이다. 하지만, YCbCr은 색의 세기인 휘도(Y)와, 파란색과의 색의 차이정보(Cb), 빨간색과의 색의 차이정보(Cr)로 색을 표현하는 방법이다.In the YCbCr color space, Psuedo Hue and Psuedo Saturation are defined according to Cb and Cr values as shown in Equation 2 below. To express. In general, RGB is a method, which is a method of expressing a color by mixing colors of red light (R), green light (G), and blue light (B), which are three elements of light. However, YCbCr is a method of expressing a color using luminance Y, which is the intensity of color, color difference information Cb with blue, and color difference information Cr with red.

유채색 영역에서 대표 색조들 사이의 선형 가중치(α)와 무채색과 유채색 빈 사이의 선형 가중치(β)는 하기의 (수학식 3)과 같이 구할 수 있다.In the chromatic region, the linear weight α between the representative hues and the linear weight β between the achromatic and the chroma bins can be obtained as in Equation 3 below.

상기 (수학식 3)에서, phi는 i번째 대표 색조를 나타내며, ph(p,q)와 ps(p,q)는 색공간 (p,q)에서의 색조(즉, 각도)와 색농도(즉, 원점으로부터의 거리)를 각각 나타낸다. 이때, 색차 성분을 이용한 색정보는 영상의 밝기에 무관한 색 특징정보로서만 사용된다. 색공간에서 중심인 원점부근에서는 Cr과 Cb가 '0'근처의 값을 가지므로 무채색에 가까운 색이다. 일반적으로, 이 색차값과 원점과의 거리를 임계치로 하여 무채색과 유채색을 구분하게 되는데, 자연 영상의 경우 이 경계에 존재하는 경우가 많이 발생하고, 이 경계에서 발생하는 오차가 매우 심각하게 발생한다. 즉, 밝기가 좀 더 밝은 색상은 유채색의 히스토그램 빈에 갱신되고, 밝기가 좀 더 어두운 색상은 무채색 히스토그램 빈에 갱신되는 등과 같이, 비슷한 어두운 밝기의 색상이더라도 서로 다른 히스토그램 빈에 갱신되는 등의 문제가 발생한다.In Equation (3), ph i represents the i-th representative color tone, ph (p, q) and ps (p, q) represent the color tone (i.e., angle) and color concentration in the color space (p, q). (Ie, distance from the origin). In this case, the color information using the color difference component is used only as color feature information regardless of the brightness of the image. In the vicinity of the origin, which is the center of the color space, Cr and Cb have values near '0', so they are almost achromatic. In general, achromatic and chromatic colors are distinguished by using the distance between the color difference value and the origin as a threshold. In the case of a natural image, a lot of cases exist at this boundary, and an error occurring at this boundary occurs very seriously. . In other words, the lighter colors are updated in chromatic histogram bins, and the lighter colors are updated in achromatic histogram bins. Occurs.

본 발명에서는 이와 같은 무채색과 유채색의 경계부근에서도 선형 가중치를 고려한 갱신방법을 사용한다.In the present invention, the update method considering the linear weight is used even near the boundary between the achromatic and chromatic colors.

무채색 빈의 시작 임계치를 Ts라 한다면, 색농도(ps)가 Ts를 넘으면 순수 색상이기 때문에 도 10의 (a)와 같이 대표 색조들 사이의 선형 가중치(α)만을 이용하여 색상 히스토그램의 각 빈(h(i))의 실수값의 증가분을 계산하고, 그 증가분 만큼씩 증가시킨다. 이 각 빈들의 증가분은 하기의 (수학식 4)와 같이 표현된다If the starting threshold of the achromatic bin is Ts, since the color concentration ps exceeds Ts, since it is pure color, each bin of the color histogram using only the linear weight α between representative tones as shown in FIG. Calculate the increment of the real value of h (i)) and increase it by that increment. The increment of each of these bins is expressed as (Equation 4) below.

한편, 의사 색농도(ps)가 Ts를 넘지 않으면, 즉 색공간에서 원점 부근에 위치한 무채색에 가까운 색상인 경우에는, 도 10의 (b)와 같이 색상 히스토그램은 대표 색조들 사이의 선형 가중치(α)와 유채색과 무채색 사이의 선형 가중치(β)를 모두 이용하여 각 빈들의 증가분을 계산한다. 이 각 색상 히스토그램 빈들의 증가분은 하기의 (수학식 5)와 같이 표현된다.On the other hand, if the pseudo color density ps does not exceed Ts, i.e., the color is close to an achromatic color located near the origin in the color space, the color histogram is a linear weight between the representative tones as shown in FIG. ) And the increment of each bin using both linear weights (β) between chromatic and achromatic. The increment of each of the color histogram bins is expressed as Equation 5 below.

또한, 상기와 같이 영상의 밝기에 따라 밝기 히스토그램을 5개의 빈들로 구분하고, 밝기 히스토그램 빈들을 선형 가중치(β)를 이용하여 하기의 (수학식 6)과 같은 조건에 따라 증가시킨다.In addition, the brightness histogram is divided into five bins according to the brightness of the image as described above, and the brightness histogram bins are increased according to the following Equation (6) using the linear weight β.

다음은, 에지와 밝기로 구성된 복합 히스토그램의 갱신 예를 설명하기로 한다. 도 11은 0 레벨의 블록들이 가지는 밝기 정보와, 0, 1, 2 레벨들의 블록들이 가지는 에지 정보들을 히스토그램 빈 갱신에 적용한 예를 설명하기 위한 것이다.Next, an example of updating a composite histogram composed of edges and brightness will be described. FIG. 11 illustrates an example of applying brightness information of blocks of 0 levels and edge information of blocks of 0, 1, and 2 levels to histogram bin updating.

우선, 0 레벨에서, 블록의 대표 밝기값 L에 대하여 밝기 히스토그램 빈은 Q개로 구분하는 바, 그 구분 조건은 하기의 (수학식 7)과 같다.First, at the level 0, the brightness histogram bins are divided into Q for the representative brightness value L of the block, and the division condition is expressed by Equation 7 below.

그리고, 각 레벨의 블록에서 구한 방향성 에지의 강도를 각각 수직 에지의 강도(αv(k)), 수평 에지의 강도(αh(k)), 혼합 에지의 강도(αmisc(k))라고 가정하면, 해당 히스토그램 빈의 갱신은 하기의 (수학식 8)과 같다.The strength of the directional edges obtained from the blocks of each level is referred to as the strength of the vertical edge (α v (k) ), the strength of the horizontal edge (α h (k) ), and the strength of the mixed edge (α misc (k) ). Assuming, update of the histogram bin is as shown in Equation 8 below.

복합 히스토그램의 경우에는, 상기 (수학식 7)에서와 같이 0 레벨의 밝기 히스토그램 빈 h(0)부터 h(Q-1)을 마련하고, 그 위에 상기 (수학식 8)과 같은 0 레벨부터 2 레벨의 에지 히스토그램 빈 h(Q) 내지 h(Q+8)을 마련한다. 여기에, 1 레벨, 2 레벨, .. , k 레벨의 밝기 히스토그램을 추가하여, 밝기에 대한 다해상도(multi-resolution) 표현을 추가할 수 있다.In the case of a complex histogram, as shown in Equation (7), zero-level brightness histogram bins h (0) to h (Q-1) are provided, and from the zero level as shown in Equation (8) above 2 Level histogram bins h (Q) to h (Q + 8) are provided. In addition, multi-resolution representations of brightness can be added by adding brightness histograms of one level, two levels,..., K levels.

여기서, 복합 히스토그램은 에지 성분에 대하여 멀티레이어로 표현한 것인데, 상기 (수학식 7)에서와 같이 밝기 정보를 Q개의 레벨로 표현하는 경우 밝기 히스토그램의 인덱스는 0부터 Q-1까지 된다. 그리고, 에지 성분에 대하여(여기서는 0, 1, 2의 3개의 레벨로 에지를 표현함) Q번째 히스토그램부터 9개의 히스토그램을 갱신한다.In this case, the composite histogram is expressed in multiple layers with respect to the edge component. When the brightness information is expressed in Q levels as shown in Equation (7), the index of the brightness histogram is 0 to Q-1. Then, nine edge histograms are updated from the Q th histogram with respect to the edge components (the edges are expressed in three levels of 0, 1, and 2).

다섯째, 영역별 히스토그램 생성 과정(S103)을 살펴보면 다음과 같다.Fifth, the histogram generation process S103 is as follows.

도 12와 같이 블록 단위로 생성된 히스토그램을 이용하여, 영상의 전체영역(global region), 부분적전체영역(semi-global region), 국부영역(local region)에 대해 각각의 히스토그램을 생성한다. 이렇게 생성된 각 영역별 히스토그램은 영상의 전체적인 특징과 국부적인 위치정보를 잘 반영할 수 있는 특징정보로 이용할 수 있다.As shown in FIG. 12, histograms are generated for the global region, the semi-global region, and the local region of the image by using the histogram generated in units of blocks. The histogram for each region generated as described above may be used as feature information capable of reflecting the overall feature of the image and local location information.

전체영역(global region)에 대하여 6개의 밝기 빈과 5개의 에지 빈을 사용하면, 도 13에 도시된 바와 같이 11개의 전체영역 히스토그램 빈을 생성할 수 있다. 이 11개의 히스토그램 빈을 이용하여 영상의 전체적인 특징정보를 표현한다.Using six brightness bins and five edge bins for the global region, eleven global region histogram bins can be generated as shown in FIG. 13. The 11 histogram bins are used to express the overall characteristic information of the image.

이 전체영역을 가로 및 세로를 4등분하여 16개의 국부영역들을 만들고, 각각 국부영역별로 5개의 에지 빈을 생성하면 도 13에 도시된 바와 같이 80개의 국부영역 히스토그램 빈이 생성된다.16 local regions are formed by dividing the entire region into four horizontal and vertical sections, and five edge bins are generated for each local region. As shown in FIG. 13, 80 local region histogram bins are generated.

마지막으로, 각 국부영역에 대해 가로, 세로 방향으로 해당 기본 블록의 에지를 종류별로 누적하여, 가로에 대하여 4개의 부분적전체영역을 만들고, 세로에 대해 4개의 부분적전체영역을 만든다. 각 부분적전체영역에 대해 5가지 에지 빈이 존재하면, 도 13에 도시된 바와 같이 40개의 부분적전체영역 히스토그램 빈이 생성된다.Finally, by accumulating the edges of the basic block in the horizontal and vertical directions for each local region by type, four partial global regions are created for the horizontal and four partial global regions for the vertical. If five edge bins exist for each partial global region, forty partial partial region histogram bins are generated as shown in FIG.

즉, 도 13에 도시된 바와 같은 복합 히스토그램에는 전체영역에 대한 밝기 정보가 h(0)부터 h(5)까지 갱신되고, 전체영역에 대한 에지 정보가 h(6)부터 h(10)까지 갱신되며, 국부영역에 대한 에지 정보가 그 위치별로 5개씩 h(11)부터 h(90)까지 갱신되고, 부분적전체영역에 대한 에지 정보가 그 위치별로 5개씩 h(91)부터 h(130)까지 갱신된다.That is, in the composite histogram as shown in FIG. 13, brightness information of the entire area is updated from h (0) to h (5), and edge information of the entire area is updated from h (6) to h (10). The edge information for the local area is updated from h (11) to h (90) by 5 for each position, and the edge information for the partial whole area is for each position from h (91) to h (130). Is updated.

이와 같이 히스토그램 빈의 순서가 정해지면, 부분적전체영역이나 국부영역의 히스토그램에는 위치정보와 에지 특징정보가 동시에 표현된다. 이때, 이 복합 히스토그램은 각 영역별 정규화되는데, 그 방법은 다음과 같다.When the histogram bins are determined in this manner, the positional information and the edge feature information are simultaneously expressed in the histogram of the partial whole region or the local region. In this case, the composite histogram is normalized for each region, and the method is as follows.

첫 번째, 전체영역 히스토그램 빈(global_histogram_value[i])은 영상내 존재하는 전체영역의 블록의 개수(global_number_block)로 나누어 하기의 (수학식 9)와 같이 정규화한다.First, the global region histogram bin (global_histogram_value [i]) is normalized as shown in Equation 9 below by dividing the number of blocks of the entire region existing in the image (global_number_block).

두 번째, 국부영역의 80개의 히스토그램 빈은 각 국부영역의 영상에 대하여 각각 국부영역내 블록의 개수(local_global_number_block)로 나누어 하기의 (수학식 10)과 같이 정규화한다.Second, the 80 histogram bins of the local area are normalized by Equation 10 below by dividing the number of blocks in the local area (local_global_number_block) with respect to the image of each local area.

마지막으로, 부분적전체영역의 40개의 히스토그램 빈은 각 부분적전체영역의 영상에 대해, 가로 또는 세로로 연속된 부분 영상내 블록 수(semi_global_number_block)로 나누어, 하기의 (수학식 11)과 같이 정규화한다.Finally, 40 histogram bins of the partial global region are divided by the number of blocks (semi_global_number_block) in the partial image consecutively or vertically for each partial global region image, and normalized as shown in Equation 11 below.

이렇게 정규화된 nomalize_histogram[i]는 도 13과 같이 표현된다.The normalized nomalize_histogram [i] is expressed as shown in FIG. 13.

상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다.이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The method of the present invention as described above may be implemented as a program and stored in a computer-readable recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.). Those skilled in the art to which the present invention pertains that various substitutions, modifications, and changes are possible without departing from the spirit and scope of the present invention without departing from the spirit and scope of the present invention. It will be obvious to you.

상기한 바와 같은 본 발명은, 여러 개의 픽셀로 이루어진 블록 단위로 특징정보를 추출하기 때문에 종래에는 추출하지 못했던 에지 정보를 추출할 수 있는 효과가 있다. 또한, 다양한 해상도의 밝기, 색상, 에지 등의 특징정보를 추출하기 때문에 영상의 내용을 반영하는 특징정보를 보다 자세하게 추출할 수 있고, 유사도 측정이나 거리 측정에서 정확한 비교가 가능해지는 효과가 있다.As described above, since the feature information is extracted in units of blocks composed of a plurality of pixels, edge information, which has not been conventionally extracted, can be extracted. In addition, since feature information such as brightness, color, and edge of various resolutions is extracted, feature information reflecting the content of an image can be extracted in more detail, and accurate comparison can be performed in similarity measurement or distance measurement.

그리고, 본 발명은 선형 갱신방법을 이용함으로써, 빈과 빈 사이의 경계에서 발생하는 양자화 오차를 상당히 감소시킬 수 있는 효과가 있다. 또한, 히스토그램 빈을 정규화하여 사용하기 때문에 영상의 크기에 관계없이 유사한 영상을 검색해 낼 수 있는 효과가 있다.In addition, the present invention has the effect of significantly reducing the quantization error occurring at the boundary between bins by using the linear update method. In addition, since the histogram bin is normalized and used, similar images can be searched regardless of the size of the image.

Claims (33)

삭제delete 영상 히스토그램을 생성하는 방법에 있어서,In the method for generating an image histogram, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 단계;A first step of forming a plurality of blocks by grouping pixels in an image in predetermined units; 각 블록별로 적어도 두 개의 영상특징정보를 추출하는 제 2 단계;A second step of extracting at least two image feature information for each block; 상기 각 블록별로 추출된 상기 적어도 두 개의 영상특징정보를 이용하여, 해당 블록의 복합 히스토그램 빈을 생성하는 제 3 단계;Generating a complex histogram bin of the corresponding block by using the at least two image feature information extracted for each block; 상기 영상에서 적어도 하나의 상기 블록을 하위레벨의 블록으로 정의하고, 적어도 하나보다 많은 하위레벨 블록을 모아 상위레벨 블록을 정하는 제 4 단계;Defining at least one of the at least one block as a lower level block in the image, and collecting at least one lower level block to determine a higher level block; 상기 각 하위레벨 블록에서 추출된 상기 적어도 두 개의 영상특징정보를 병합하여 상기 각 상위레벨 블록에 대한 적어도 두 개의 영상특징정보를 생성하는 제 5 단계; 및A fifth step of merging the at least two image feature information extracted from each lower level block to generate at least two image feature information for each upper level block; And 상기 제 5 단계에서 생성된 적어도 두 개의 영상특징정보를 이용하여 상기 상위레벨 블록의 복합 히스토그램 빈을 생성하는 제 6 단계A sixth step of generating a complex histogram bin of the upper level block by using the at least two image feature information generated in the fifth step; 를 포함하는 블록기반 영상 히스토그램 생성 방법.Block-based image histogram generation method comprising a. 영상 히스토그램을 생성하는 방법에 있어서,In the method for generating an image histogram, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 단계;A first step of forming a plurality of blocks by grouping pixels in an image in predetermined units; 하나의 대상 블록에 대해, 적어도 두 개의 영상특징정보를 추출하는 제 2 단계;Extracting at least two image feature information of one target block; 상기 대상 블록에 대해 추출된 상기 적어도 두 개의 영상특징정보를 이용하여, 상기 대상 블록의 복합 히스토그램 빈을 생성하는 제 3 단계;Generating a composite histogram bin of the target block by using the at least two image feature information extracted for the target block; 생성된 블록 단위의 복합 히스토그램 빈을 이용하여, 영역별로 복합 히스토그램 빈을 갱신하는 제 4 단계; 및A fourth step of updating the complex histogram bin for each region by using the generated block histogram bin; And 상기 영상내의 모든 블록에 대해, 상기 제 2 단계 내지 제 4 단계를 반복 수행하는 제 5 단계A fifth step of repeatedly performing the second to fourth steps for all blocks in the image; 를 포함하는 블록기반 영상 히스토그램 생성 방법.Block-based image histogram generation method comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 블록들을 하위레벨의 블록으로 정의하고 적어도 하나보다 많은 하위레벨 블록을 모아 상위레벨 블록을 정하는 제 6 단계;Defining a higher level block by defining the blocks as lower level blocks and collecting at least one lower level block; 각 하위레벨 블록에서 추출된 상기 적어도 두 개의 영상특징정보를 병합하여 각 상위레벨 블록에 대한 적어도 두 개의 영상특징정보를 생성하는 제 7 단계;A seventh step of merging the at least two image feature information extracted from each lower level block to generate at least two image feature information for each upper level block; 상기 제 7 단계에서 생성된 각 상위레벨 블록에 대한 적어도 두 개의 영상특징정보를 이용하여 상기 상위레벨 블록의 복합 히스토그램 빈을 생성하는 제 8 단계;An eighth step of generating a complex histogram bin of the upper level block by using at least two image feature information of each upper level block generated in the seventh step; 생성된 상기 복합 히스토그램 빈을 이용하여 영역별로 복합 히스토그램 빈을 갱신하는 제 9 단계; 및A ninth step of updating a composite histogram bean for each region by using the generated composite histogram bean; And 상기 영상내의 모든 상위레벨 블록에 대해, 상기 제 6 단계 내지 제 9 단계를 반복 수행하는 제 10 단계A tenth step of repeating the sixth to ninth steps for all upper level blocks in the image; 를 더 포함하는 블록기반 영상 히스토그램 생성 방법.Block-based image histogram generation method further comprising. 제 2 항 또는 제 4 항에 있어서,The method according to claim 2 or 4, 상기 하위레벨의 블록은,The lower level block is 상기 영상의 크기에 비례하여 크기가 결정되는 가변크기 블록인 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.And a variable size block whose size is determined in proportion to the size of the image. 제 2 항 내지 제 4 항 중 어느 한 항에 있어서,The method according to any one of claims 2 to 4, 상기 영상특징정보는,The video feature information, 바람직하게는, 상기 영상의 밝기, 색상, 에지, 질감 정보 중 적어도 두 개를 포함하는 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.Preferably, the block-based image histogram generating method comprising at least two of the brightness, color, edge, texture information of the image. 제 2 항 내지 제 4 항 중 어느 한 항에 있어서,The method according to any one of claims 2 to 4, 상기 영상특징정보가 에지 영상특징정보를 포함하며, 상기 영상의 에지 영상특징정보를 추출하는 과정은,The image feature information includes edge image feature information, and the process of extracting edge image feature information of the image comprises: 상기 블록을 수평 및 수직 방향으로 등분하여 서브 블록으로 나누는 제1 과정;Dividing the block into sub-blocks by dividing the block into horizontal and vertical directions; 각 서브 블록들의 밝기 대표값들을 구하는 제2 과정; 및Obtaining a brightness representative value of each subblock; And 인접한 서브 블록 사이의 밝기차와 소정의 임계값(Te)을 비교하여, 상기 블록내의 에지 존재여부와 에지 종류를 검출하는 제3 과정A third process of detecting the presence of the edge and the type of the edge in the block by comparing the brightness difference between the adjacent sub-blocks and a predetermined threshold Te 을 포함하는 블록기반 영상 히스토그램 생성 방법.Block-based image histogram generation method comprising a. 제 7 항에 있어서,The method of claim 7, wherein 상기 제3 과정은,The third process, 상기 인접한 서브 블록 사이의 밝기차가 상기 소정의 임계값(Te)을 넘으면 해당 서브 블록들 사이에 에지가 존재하는 것으로 판정하여 에지의 종류를 검출하며, 상기 인접한 서브 블록 사이의 밝기차가 상기 소정의 임계값(Te)을 넘지 않으면 상기 블록을 에지가 존재하지 않는 것으로 판정하는 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.When the brightness difference between the adjacent subblocks exceeds the predetermined threshold Te, it is determined that an edge exists between the corresponding subblocks to detect the type of the edge, and the brightness difference between the adjacent subblocks is the predetermined threshold. And determining that the edge does not exist if the value Te is not exceeded. 제 2 항 내지 제 4 항 중 어느 한 항에 있어서,The method according to any one of claims 2 to 4, 상기 영상특징정보가 에지 영상특징정보를 포함하며, 상기 영상의 에지 영상특징정보를 추출하는 과정은,The image feature information includes edge image feature information, and the process of extracting edge image feature information of the image comprises: 상기 블록을 수평 및 수직 방향으로 등분하여 서브 블록으로 나누는 제1 과정;Dividing the block into sub-blocks by dividing the block into horizontal and vertical directions; 각 서브 블록들의 밝기 대표값들을 구하는 제2 과정;Obtaining a brightness representative value of each subblock; 상기 각 서브 블록들의 밝기 대표값들과 필터 계수값들을 컨볼루션(convolution)하여 혼합 에지값(complex_edge)을 포함하는 복수의 에지값을 각각 구하는 제3 과정; 및A third step of convolving the brightness representative values and the filter coefficient values of each sub-block to obtain a plurality of edge values each including a complex edge value; And 상기 복수의 에지값 중 최대 에지값과 소정의 임계값(Th_sub_difference)을 비교하여, 상기 블록내의 에지 존재 여부와 에지 종류를 검출하는 제4 과정A fourth process of detecting whether an edge exists in the block and an edge type by comparing a maximum edge value among the plurality of edge values with a predetermined threshold value Th_sub_difference 을 포함하는 블록기반 영상 히스토그램 생성 방법.Block-based image histogram generation method comprising a. 제 9 항에 있어서,The method of claim 9, 상기 복수의 에지값은,The plurality of edge values, 0도 에지값(edge0)과, 45도 에지값(edge45)과, 90도 에지값(edge90)과, 135도 에지값(edge135)과, 혼합 에지값(complex_edge)인 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.Block-based image, characterized in that the 0-degree edge value (edge0), 45-degree edge value (edge45), 90-degree edge value (edge90), 135-degree edge value (edge135), mixed edge value (complex_edge) How to generate a histogram. 제 9 항에 있어서,The method of claim 9, 상기 제4 과정은,The fourth process, 상기 최대 에지값이 상기 소정의 임계값(Th_sub_difference) 보다 크면 최대값의 에지를 상기 블록의 대표 에지로 판정하고, 상기 최대 에지값이 상기 소정의 임계값(Th_sub_difference) 보다 작으면 상기 블록에 에지가 존재하지 않는 것으로 판정하는 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.If the maximum edge value is greater than the predetermined threshold Th_sub_difference, the edge of the maximum value is determined as the representative edge of the block. A block-based image histogram generation method, characterized in that it does not exist. 제 2 항 내지 제 4 항 중 어느 한 항에 있어서,The method according to any one of claims 2 to 4, 상기 영상특징정보가 색상 혹은 밝기 영상특징정보를 포함하며, 각 히스토그램 빈 사이의 거리에 따라 선형가중치를 적용하여 히스토그램 빈을 갱신하는 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.And the image feature information includes color or brightness image feature information, and updates the histogram bin by applying a linear weight value according to the distance between the histogram bins. 제 12 항에 있어서,The method of claim 12, 상기 색상 영상특징정보를 포함하는 색상 히스토그램 빈을 갱신하는 과정은,The process of updating the color histogram bin including the color image feature information, 주어진 색공간을 이용하여 색조(ph)와 색농도(ps)를 나타내는 제1 과정;A first process of expressing color tone (ph) and color concentration (ps) using a given color space; 상기 색조와 상기 색농도를 이용하여 유채색의 대표 색조들 사이의 제1 선형 가중치(α)와, 유채색과 무채색 사이의 제2 선형 가중치(β)를 구하는 제2 과정;A second process of obtaining a first linear weight (α) between representative color shades of chromatic colors and a second linear weight (β) between chromatic and achromatic colors using the hue and the color concentration; 상기 색농도값을 이용하여 상기 블록의 색상이 순수 색상인지 혹은 무채색을 포함한 어두운 유채색인지를 판별하는 제3 과정;A third step of determining whether the color of the block is a pure color or a dark chromatic color including an achromatic color using the color concentration value; 상기 제3 과정의 판별 결과, 상기 블록의 색상이 순수 색상이면, 상기 제1 선형 가중치(α)를 이용하여 해당 색상 히스토그램 빈의 증가분을 계산하여 해당 색상 히스토그램을 갱신하는 제4 과정; 및A fourth step of updating the color histogram by calculating an increment of the corresponding color histogram bin using the first linear weight α if the color of the block is a pure color as a result of the determination of the third process; And 상기 제3 과정의 판별 결과, 상기 블록의 색상이 어두운 유채색이면, 상기 제1 선형 가중치(α)와 상기 제2 선형 가중치(β)를 이용하여, 해당 색상 히스토그램 빈의 증가분과 밝기 히스토그램 빈의 증가분을 계산하여 해당 색상 히스토그램과 밝기 히스토그램을 갱신하는 제5 과정As a result of the determination of the third process, when the color of the block is a dark chromatic color, an increase of the corresponding color histogram bin and an increase of the brightness histogram bin are performed by using the first linear weight α and the second linear weight β. Process of updating the corresponding color histogram and brightness histogram 을 포함하는 블록기반 영상 히스토그램 생성 방법.Block-based image histogram generation method comprising a. 제 2 항 내지 제 4 항 중 어느 한 항에 있어서,The method according to any one of claims 2 to 4, 상기 영상특징정보가 에지와 밝기 영상특징정보를 포함하며, 상기 에지와 밝기 영상특징정보를 포함하는 복합 히스토그램 빈을 갱신하는 과정이 수평, 수직, 혼합 에지의 강도를 이용하여 이루어지는 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.Wherein the image feature information includes edge and brightness image feature information, and wherein a process of updating a composite histogram bin including the edge and brightness image feature information is performed by using horizontal, vertical, and mixed edge intensities. Based image histogram generation method. 제 6 항에 있어서,The method of claim 6, 상기 영역별 복합 히스토그램은,The region-specific composite histogram, 영상을 기본블록들로 나누고, 각 기본블록에서 추출되는 영상특징정보를 이용하여 기본블록 단위의 히스토그램을 생성한 후, 상기 기본블록 단위의 히스토그램을 이용하여 영상의 전체적인 특징을 표현하는 전체영역 복합 히스토그램과, 상기 기본블록들을 모아서 상기 영상의 전체영역을 적어도 두 개의 국부영역들로 나누고 각 국부영역별로 각 기본블록에서 추출된 영상특징정보를 이용하여 상기 국부영역의 특징으로 표현하는 국부영역 복합 히스토그램과, 상기 국부영역의 수평 및 수직 방향별 히스토그램을 누적하여 부분적전체영역의 특징을 표현하는 부분적전체영역 복합 히스토그램을 포함하는 블록기반 영상 히스토그램 생성 방법.Dividing an image into basic blocks, generating a histogram in basic block units using image feature information extracted from each basic block, and then using the histogram in basic block units to express the overall characteristics of the image. And a local region composite histogram that collects the basic blocks, divides the entire region of the image into at least two local regions, and expresses the characteristics of the local region using image feature information extracted from each basic block for each local region. And a partial full region composite histogram representing a partial full region region by accumulating histograms in the horizontal and vertical directions of the local region. 제 15 항에 있어서,The method of claim 15, 상기 전체영역 복합 히스토그램 및 상기 국부영역 복합 히스토그램과 상기 부분적전체영역 복합 히스토그램은,The full region composite histogram, the local region composite histogram and the partial partial region composite histogram, 해당 영역별 발생 블록수를 이용하여, 각 복합 히스토그램이 영역별로 정규화되는 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.A method for generating a block-based image histogram, wherein each composite histogram is normalized for each region by using the number of generated blocks for each region. 영상 히스토그램을 생성하는 방법에 있어서,In the method for generating an image histogram, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 단계;A first step of forming a plurality of blocks by grouping pixels in an image in predetermined units; 각 블록별로 에지 영상특징정보를 추출하는 제 2 단계; 및Extracting edge image feature information for each block; And 상기 각 블록별로 추출된 상기 에지 영상특징정보를 이용하여, 영역별로 에지 히스토그램 빈을 생성하는 제 3 단계A third step of generating an edge histogram bin for each region by using the edge image feature information extracted for each block; 를 포함하는 블록기반의 영상 히스토그램 생성 방법.Block-based image histogram generation method comprising a. 제 17 항에 있어서,The method of claim 17, 상기 영상에서 적어도 하나의 상기 블록을 하위레벨의 블록으로 정의하고, 적어도 하나보다 많은 하위레벨 블록을 모아 상위레벨 블록을 정하는 제 4 단계;Defining at least one of the at least one block as a lower level block in the image, and collecting at least one lower level block to determine a higher level block; 상기 각 하위레벨 블록에서 추출된 에지 영상특징정보를 병합하여 상기 각 상위레벨 블록에 대한 에지 영상특징정보를 생성하는 제 5 단계; 및A fifth step of generating edge image feature information for each upper level block by merging edge image feature information extracted from each lower level block; And 상기 제 5 단계에서 생성된 에지 영상특징정보를 이용하여 상기 상위레벨 블록의 에지 히스토그램 빈을 생성하는 제 6 단계A sixth step of generating an edge histogram bin of the upper level block by using the edge image feature information generated in the fifth step; 를 더 포함하는 블록기반 영상 히스토그램 생성 방법.Block-based image histogram generation method further comprising. 영상 히스토그램을 생성하는 방법에 있어서,In the method for generating an image histogram, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 단계;A first step of forming a plurality of blocks by grouping pixels in an image in predetermined units; 하나의 대상 블록에 대해 에지 영상특징정보를 추출하는 제 2 단계;Extracting edge image feature information of one target block; 상기 대상 블록에 대해 추출된 상기 에지 영상특징정보를 이용하여, 상기 대상 블록의 에지 히스토그램 빈을 생성하는 제 3 단계;Generating an edge histogram bin of the target block by using the edge image feature information extracted for the target block; 생성된 블록 단위의 에지 히스토그램 빈을 이용하여, 영역별로 에지 히스토그램 빈을 갱신하는 제 4 단계; 및A fourth step of updating the edge histogram bin for each region by using the generated edge histogram bin for each block; And 상기 영상내의 모든 블록에 대해, 상기 제 2 단계 내지 제 4 단계를 반복 수행하는 제 5 단계A fifth step of repeatedly performing the second to fourth steps for all blocks in the image; 를 포함하는 블록기반 영상 히스토그램 생성 방법.Block-based image histogram generation method comprising a. 제 19 항에 있어서,The method of claim 19, 상기 블록들을 하위레벨의 블록으로 정의하고 적어도 하나보다 많은 하위레벨 블록을 모아 상위레벨 블록을 정하는 제 6 단계;Defining a higher level block by defining the blocks as lower level blocks and collecting at least one lower level block; 각 하위레벨 블록에서 추출된 상기 에지 영상특징정보를 병합하여 각 상위레벨 블록에 대한 에지 영상특징정보를 생성하는 제 7 단계;A seventh step of generating edge image feature information for each upper level block by merging the edge image feature information extracted from each lower level block; 상기 제 7 단계에서 생성된 각 상위레벨 블록에 대한 에지 영상특징정보를 이용하여 상기 상위레벨 블록의 에지 히스토그램 빈을 생성하는 제 8 단계;An eighth step of generating an edge histogram bin of the upper level block by using the edge image feature information of each upper level block generated in the seventh step; 생성된 상기 에지 히스토그램 빈을 이용하여 영역별로 에지 히스토그램 빈을 갱신하는 제 9 단계; 및A ninth step of updating an edge histogram bin for each region by using the generated edge histogram bin; And 상기 영상내의 모든 상위레벨 블록에 대해, 상기 제 6 단계 내지 제 9 단계를 반복 수행하는 제 10 단계A tenth step of repeating the sixth to ninth steps for all upper level blocks in the image; 를 더 포함하는 블록기반 영상 히스토그램 생성 방법.Block-based image histogram generation method further comprising. 제 18 항 또는 제 20 항에 있어서,The method of claim 18 or 20, 상기 하위레벨의 블록은,The lower level block is 상기 영상의 크기에 비례하여 크기가 결정되는 가변크기 블록인 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.And a variable size block whose size is determined in proportion to the size of the image. 제 17 내지 제 20 항 중 어느 한 항에 있어서,The method according to any one of claims 17 to 20, 상기 영역별 에지 히스토그램은,The edge histogram for each region, 영상을 기본블록들로 나누고, 각 기본블록에서 추출되는 영상특징정보를 이용하여 기본블록 단위의 히스토그램을 생성한 후, 상기 기본블록 단위의 히스토그램을 이용하여 영상의 전체적인 특징을 표현하는 전체영역 에지 히스토그램과, 상기 기본블록들을 모아서 상기 영상의 전체영역을 적어도 2개의 국부영역들로 나누고 상기 각 국부영역별로 각 기본블록에서 추출된 영상특징정보를 이용하여 상기 국부영역의 특징으로 표현하는 국부영역 에지 히스토그램과, 상기 국부영역의 수평 및 수직 방향별 에지 히스토그램을 누적하여 부분적전체영역의 특징을 표현하는 부분적전체영역 에지 히스토그램 중 적어도 하나를 포함하는 블록기반 영상 히스토그램 생성 방법.After dividing the image into basic blocks, generating histograms in basic block units using the image feature information extracted from each basic block, and using the histogram in basic block units, a full region edge histogram expressing the overall characteristics of the image. And a local region edge histogram that collects the basic blocks, divides the entire region of the image into at least two local regions, and expresses the characteristics of the local region using image feature information extracted from each basic block for each local region. And at least one of a partial full region edge histogram expressing features of the partial full region by accumulating horizontal and vertical edge histograms of the local region. 제 17 항 내지 제 20 항 중 어느 한 항에 있어서,The method according to any one of claims 17 to 20, 상기 에지 영상특징정보는,The edge image feature information, 방향성 에지 정보와 혼합 에지(complex_edge) 정보를 포함하는 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.A block-based image histogram generation method comprising directional edge information and mixed edge information. 제 23 항에 있어서,The method of claim 23, 상기 방향성 에지 정보는,The directional edge information is, 실질적으로, 0도 에지(edge0), 45도 에지(edge45), 90도 에지(edge90), 135도 에지(edge135)인 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.Substantially, the block-based image histogram generating method characterized in that the 0 degree edge (edge0), 45 degree edge (edge45), 90 degree edge (edge90), 135 degree edge (edge135). 제 17 항 내지 제 20 항 중 어느 한 항에 있어서,The method according to any one of claims 17 to 20, 상기 제 2 단계는,The second step, 상기 블록을 수평 및 수직 방향으로 등분하여 서브 블록으로 나누는 제1 과정;Dividing the block into sub-blocks by dividing the block into horizontal and vertical directions; 각 서브 블록들의 밝기 대표값들을 구하는 제2 과정; 및Obtaining a brightness representative value of each subblock; And 인접한 서브 블록 사이의 밝기차와 소정의 임계값(Te)을 비교하여, 상기 블록내의 에지 존재여부와 에지 종류를 검출하는 제3 과정A third process of detecting the presence of the edge and the type of the edge in the block by comparing the brightness difference between the adjacent sub-blocks and a predetermined threshold Te 을 포함하는 블록기반 영상 히스토그램 생성 방법.Block-based image histogram generation method comprising a. 제 25 항에 있어서,The method of claim 25, 상기 제 3 과정은,The third process, 상기 인접한 서브 블록 사이의 밝기차가 상기 소정의 임계값(Te)을 넘으면 해당 서브 블록들 사이에 에지가 존재하는 것으로 판정하여 에지의 종류를 검출하며, 상기 인접한 서브 블록 사이의 밝기차가 상기 소정의 임계값(Te)을 넘지 않으면 상기 블록을 에지가 존재하지 않는 것으로 판정하는 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.When the brightness difference between the adjacent subblocks exceeds the predetermined threshold Te, it is determined that an edge exists between the corresponding subblocks to detect the type of the edge, and the brightness difference between the adjacent subblocks is the predetermined threshold. And determining that the edge does not exist if the value Te is not exceeded. 제 17 항 내지 제 20 항 중 어느 한 항에 있어서,The method according to any one of claims 17 to 20, 상기 제 2 단계는,The second step, 상기 블록을 수평 및 수직 방향으로 등분하여 서브 블록으로 나누는 제1 과정;Dividing the block into sub-blocks by dividing the block into horizontal and vertical directions; 각 서브 블록들의 밝기 대표값들을 구하는 제2 과정;Obtaining a brightness representative value of each subblock; 상기 각 서브 블록들의 밝기 대표값들과 필터 계수값들을 컨볼루션(convolution)하여 혼합 에지값(complex_edge)을 포함하는 복수의 에지값을 각각 구하는 제3 과정; 및A third step of convolving the brightness representative values and the filter coefficient values of each sub-block to obtain a plurality of edge values each including a complex edge value; And 상기 복수의 에지값 중 최대 에지값과 소정의 임계값(Th_sub_difference)을 비교하여, 상기 블록내의 에지 존재 여부와 에지 종류를 검출하는 제4 과정A fourth process of detecting whether an edge exists in the block and an edge type by comparing a maximum edge value among the plurality of edge values with a predetermined threshold value Th_sub_difference 을 포함하는 블록기반 영상 히스토그램 생성 방법.Block-based image histogram generation method comprising a. 제 27 항에 있어서,The method of claim 27, 상기 복수의 에지값은,The plurality of edge values, 실질적으로, 0도 에지값(edge0)과, 45도 에지값(edge45)과, 90도 에지값(edge90)과, 135도 에지값(edge135)과, 혼합 에지값(complex_edge)인 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.Substantially, it is 0 degree edge value edge0, 45 degree edge value edge45, 90 degree edge value edge90, 135 degree edge value edge135, and mixed edge value complex_edge. Block-based image histogram generation method. 제 27 항에 있어서,The method of claim 27, 상기 제4 과정은,The fourth process, 상기 최대 에지값이 상기 소정의 임계값(Th_sub_difference) 보다 크면 최대값의 에지를 상기 블록의 대표 에지로 판정하고, 상기 최대 에지값이 상기 소정의 임계값(Th_sub_difference) 보다 작으면 상기 블록에 에지가 존재하지 않는 것으로 판정하는 것을 특징으로 하는 블록기반 영상 히스토그램 생성 방법.If the maximum edge value is greater than the predetermined threshold Th_sub_difference, the edge of the maximum value is determined as the representative edge of the block. A block-based image histogram generation method, characterized in that it does not exist. 블록기반 영상 히스토그램 생성을 위하여, 프로세서를 구비한 영상 시스템에,In order to generate a block-based histogram, in an imaging system having a processor, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 기능;A first function of forming a plurality of blocks by grouping pixels in an image in a predetermined unit; 각 블록별로 적어도 두 개의 영상특징정보를 추출하는 제 2 기능;A second function of extracting at least two image feature information for each block; 상기 각 블록별로 추출된 상기 적어도 두 개의 영상특징정보를 이용하여, 해당 블록의 복합 히스토그램 빈을 생성하는 제 3 기능;A third function of generating a complex histogram bin of a corresponding block by using the at least two image feature information extracted for each block; 상기 영상에서 적어도 하나의 상기 블록을 하위레벨의 블록으로 정의하고, 적어도 하나보다 많은 하위레벨 블록을 모아 상위레벨 블록을 정하는 제 4 기능;A fourth function of defining at least one of the at least one block as a lower level block in the image and collecting at least one lower level block to determine a higher level block; 상기 각 하위레벨 블록에서 추출된 상기 적어도 두 개의 영상특징정보를 병합하여 상기 각 상위레벨 블록에 대한 적어도 두 개의 영상특징정보를 생성하는 제 5 기능; 및A fifth function of merging the at least two image feature information extracted from each lower level block to generate at least two image feature information for each upper level block; And 상기 제 5 기능에서 생성된 적어도 두 개의 영상특징정보를 이용하여 상기 상위레벨 블록의 복합 히스토그램 빈을 생성하는 제 6 기능A sixth function of generating a complex histogram bin of the upper level block by using at least two image feature information generated by the fifth function; 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this. 블록기반 영상 히스토그램 생성을 위하여, 프로세서를 구비한 영상 시스템에,In order to generate a block-based histogram, in an imaging system having a processor, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 기능;A first function of forming a plurality of blocks by grouping pixels in an image in a predetermined unit; 하나의 대상 블록에 대해, 적어도 두 개의 영상특징정보를 추출하는 제 2 기능;A second function of extracting at least two image feature information with respect to one target block; 상기 대상 블록에 대해 추출된 상기 적어도 두 개의 영상특징정보를 이용하여, 상기 대상 블록의 복합 히스토그램 빈을 생성하는 제 3 기능;A third function of generating a complex histogram bin of the target block by using the at least two image feature information extracted for the target block; 생성된 블록 단위의 복합 히스토그램 빈을 이용하여, 영역별로 복합 히스토그램 빈을 갱신하는 제 4 기능; 및A fourth function of updating the composite histogram bean for each region by using the generated composite histogram bean on a block basis; And 상기 영상내의 모든 블록에 대해, 상기 제 2 기능 내지 제 4 기능을 반복 수행하는 제 5 기능A fifth function of repeatedly performing the second to fourth functions for all blocks in the image; 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this. 블록기반 영상 히스토그램 생성을 위하여, 프로세서를 구비한 영상 시스템에,In order to generate a block-based histogram, in an imaging system having a processor, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 기능;A first function of forming a plurality of blocks by grouping pixels in an image in a predetermined unit; 각 블록별로 에지 영상특징정보를 추출하는 제 2 기능; 및A second function of extracting edge image feature information for each block; And 상기 각 블록별로 추출된 상기 에지 영상특징정보를 이용하여, 영역별로 에지 히스토그램 빈을 생성하는 제 3 기능A third function of generating edge histogram bins for each region by using the edge image feature information extracted for each block; 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this. 블록기반 영상 히스토그램 생성을 위하여, 프로세서를 구비한 영상 시스템에,In order to generate a block-based histogram, in an imaging system having a processor, 영상내 픽셀들을 소정의 단위로 그룹핑하여 다수의 블록을 구성하는 제 1 기능;A first function of forming a plurality of blocks by grouping pixels in an image in a predetermined unit; 하나의 대상 블록에 대해 에지 영상특징정보를 추출하는 제 2 기능;A second function of extracting edge image feature information about one target block; 상기 대상 블록에 대해 추출된 상기 에지 영상특징정보를 이용하여, 상기 대상 블록의 에지 히스토그램 빈을 생성하는 제 3 기능;A third function of generating an edge histogram bin of the target block by using the edge image feature information extracted for the target block; 생성된 블록 단위의 에지 히스토그램 빈을 이용하여, 영역별로 에지 히스토그램 빈을 갱신하는 제 4 기능; 및A fourth function of updating the edge histogram bin for each region using the generated block histogram bin; And 상기 영상내의 모든 블록에 대해, 상기 제 2 기능 내지 제 4 기능을 반복 수행하는 제 5 기능A fifth function of repeatedly performing the second to fourth functions for all blocks in the image; 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR10-1999-0043779A 1999-03-12 1999-10-11 Block-based Image Histogram Generation Method KR100369370B1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR10-1999-0043779A KR100369370B1 (en) 1999-10-11 1999-10-11 Block-based Image Histogram Generation Method
US09/493,841 US6807298B1 (en) 1999-03-12 2000-01-28 Method for generating a block-based image histogram
US10/881,807 US7106900B2 (en) 1999-03-12 2004-06-30 Method for generating a block-based image histogram
US11/350,626 US7697754B2 (en) 1999-03-12 2006-02-08 Method for generating a block-based image histogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-1999-0043779A KR100369370B1 (en) 1999-10-11 1999-10-11 Block-based Image Histogram Generation Method

Publications (2)

Publication Number Publication Date
KR20010036671A KR20010036671A (en) 2001-05-07
KR100369370B1 true KR100369370B1 (en) 2003-01-24

Family

ID=19614763

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-1999-0043779A KR100369370B1 (en) 1999-03-12 1999-10-11 Block-based Image Histogram Generation Method

Country Status (1)

Country Link
KR (1) KR100369370B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100076795A (en) * 2008-12-26 2010-07-06 삼성전자주식회사 Apparatus and method for recognizing flower in digital image processing device
KR20180092652A (en) * 2017-02-10 2018-08-20 한양대학교 산학협력단 Method for adaptive scene change detection based on resolution and apparatus for the same

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100850935B1 (en) * 2001-12-27 2008-08-08 주식회사 엘지이아이 Apparatus for detecting scene conversion
KR100959053B1 (en) * 2003-01-13 2010-05-20 한국전자통신연구원 Non-linear quantization and similarity matching method for retrieving video sequence having a set of image frames
KR100735236B1 (en) 2006-02-08 2007-07-03 삼성전자주식회사 Apparatus and method for analysing histogram of image and luminance adjustment apparatus using the same
KR100827229B1 (en) * 2006-05-17 2008-05-07 삼성전자주식회사 Apparatus and method for video retrieval
CN116758528B (en) * 2023-08-18 2023-11-03 山东罗斯夫新材料科技有限公司 Acrylic emulsion color change identification method based on artificial intelligence

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10301948A (en) * 1997-04-25 1998-11-13 Nippon Telegr & Teleph Corp <Ntt> Method for retrieving image and video
US5956026A (en) * 1997-12-19 1999-09-21 Sharp Laboratories Of America, Inc. Method for hierarchical summarization and browsing of digital video
KR20000054860A (en) * 1999-02-01 2000-09-05 구자홍 Structure of image description and method of image search system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10301948A (en) * 1997-04-25 1998-11-13 Nippon Telegr & Teleph Corp <Ntt> Method for retrieving image and video
US5956026A (en) * 1997-12-19 1999-09-21 Sharp Laboratories Of America, Inc. Method for hierarchical summarization and browsing of digital video
KR20000054860A (en) * 1999-02-01 2000-09-05 구자홍 Structure of image description and method of image search system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100076795A (en) * 2008-12-26 2010-07-06 삼성전자주식회사 Apparatus and method for recognizing flower in digital image processing device
KR101579107B1 (en) * 2008-12-26 2015-12-21 삼성전자주식회사 Apparatus and method for recognizing flower in digital image processing device
KR20180092652A (en) * 2017-02-10 2018-08-20 한양대학교 산학협력단 Method for adaptive scene change detection based on resolution and apparatus for the same
KR101979492B1 (en) * 2017-02-10 2019-05-16 한양대학교 산학협력단 Method for adaptive scene change detection based on resolution and apparatus for the same

Also Published As

Publication number Publication date
KR20010036671A (en) 2001-05-07

Similar Documents

Publication Publication Date Title
US6807298B1 (en) Method for generating a block-based image histogram
KR100450793B1 (en) Apparatus for object extraction based on the feature matching of region in the segmented images and method therefor
US7227987B2 (en) Representative color designating method using reliability
US7991224B2 (en) Segmenting digital image and producing compact representation
EP1564684B1 (en) Systems and methods for clustering image data
Kim Park
JP4139615B2 (en) Event clustering of images using foreground / background segmentation
Huang et al. Foreground/background segmentation of color images by integration of multiple cues
US8340412B2 (en) Image processing
JP2005150855A (en) Color image compression method and color image compression apparatus
CN107145487A (en) Image search method and device
US20090257662A1 (en) System and method for image and video search, indexing and object classification
KR100369370B1 (en) Block-based Image Histogram Generation Method
JP4035456B2 (en) Image compression method and image compression apparatus
Demarty et al. Color segmentation algorithm using an HLS transformation
Karatzas et al. Two approaches for text segmentation in web images
KR100314654B1 (en) Composite histogram generation method using super pixel and liner quantization
Antonacopoulos et al. Fuzzy segmentation of characters in web images based on human colour perception
KR100243351B1 (en) Image similarity measurement using color distribution feature in yuv color domain
Adamek et al. Stopping region-based image segmentation at meaningful partitions
US7899255B2 (en) Method for recognizing and indexing digital media
KR100350793B1 (en) Multimedia Feature And Method Of Multimedia Retrieval System Using Binary Color Histogram
Shankar et al. Segmentation of natural colour image based on colour-texture features
KR100408521B1 (en) Method for extraction of query object from database images
AU2005211628A1 (en) Processing digital image

Legal Events

Date Code Title Description
A201 Request for examination
AMND Amendment
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
AMND Amendment
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121206

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20131209

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20141229

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20151228

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20161228

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee