KR102203272B1 - Apparatus and method for processing object of interest - Google Patents

Apparatus and method for processing object of interest Download PDF

Info

Publication number
KR102203272B1
KR102203272B1 KR1020180164509A KR20180164509A KR102203272B1 KR 102203272 B1 KR102203272 B1 KR 102203272B1 KR 1020180164509 A KR1020180164509 A KR 1020180164509A KR 20180164509 A KR20180164509 A KR 20180164509A KR 102203272 B1 KR102203272 B1 KR 102203272B1
Authority
KR
South Korea
Prior art keywords
interest
region
size conversion
regions
bounding box
Prior art date
Application number
KR1020180164509A
Other languages
Korean (ko)
Other versions
KR20200075628A (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 KR1020180164509A priority Critical patent/KR102203272B1/en
Priority to PCT/KR2018/016817 priority patent/WO2020130217A1/en
Publication of KR20200075628A publication Critical patent/KR20200075628A/en
Application granted granted Critical
Publication of KR102203272B1 publication Critical patent/KR102203272B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06K9/3233
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/4728End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for selecting a Region Of Interest [ROI], e.g. for requesting a higher resolution version of a selected region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/12Bounding box

Abstract

본 발명은 콘텐츠 표출 시 관심 객체를 처리하는 장치 및 그 방법에 관한 것이다.
본 발명에 따른 관심 객체 처리 장치는 원시 콘텐츠를 수신하는 영상 수신부와, 원시 콘텐츠에 대한 변환 프로그램이 저장된 메모리 및 프로그램을 실행시키는 프로세서를 포함하고, 프로세서는 원시 콘텐츠 내의 관심 영역을 설정하고, 관심 영역에 대해 크기 변환 비율에 따른 크기 변환을 수행하고, 최종 영상을 합성하여 표출하는 것을 특징으로 한다.
The present invention relates to an apparatus and a method for processing an object of interest when displaying content.
An object-of-interest processing apparatus according to the present invention includes an image receiving unit that receives raw content, a memory storing a conversion program for the raw content, and a processor that executes the program, and the processor sets a region of interest in the raw content, and It is characterized in that the size conversion is performed according to the size conversion ratio, and the final image is synthesized and displayed.

Description

관심 객체 처리 장치 및 그 방법{APPARATUS AND METHOD FOR PROCESSING OBJECT OF INTEREST}Object processing apparatus of interest and its method {APPARATUS AND METHOD FOR PROCESSING OBJECT OF INTEREST}

본 발명은 콘텐츠 표출 시 관심 객체를 처리하는 장치 및 그 방법에 관한 것이다. The present invention relates to an apparatus and a method for processing an object of interest when displaying content.

종래 기술에 따르면, 화면표시장치에 콘텐츠를 표출함에 있어서 원시 콘텐츠의 가로 세로 비율이 화면표시장치의 가로 세로 비율과 서로 다른 경우, 표시할 정보가 왜곡되어 표출되는 문제점이 있다.According to the prior art, when content is displayed on a screen display, if the aspect ratio of the original content is different from the aspect ratio of the screen display device, information to be displayed is distorted and displayed.

종래 기술에 따르면, 원시 콘텐츠의 가로 세로 비율과 화면표시장치의 가로 세로 비율의 차이를 고려하지 않고, 단순 비례식을 통해 콘텐츠의 크기를 변환함으로써, 콘텐츠 내부 관심 영역에 해당하는 부분의 모양이 당초 의도와 달리 심하게 왜곡될 수 있고, 정보 전달에 어려움이 발생되는 문제점이 있다. According to the prior art, by converting the size of the content through a simple proportional expression without considering the difference between the aspect ratio of the original content and the aspect ratio of the display device, the shape of the part corresponding to the area of interest inside the content is originally intended. Unlike this, it may be severely distorted, and there is a problem in that information transmission is difficult.

본 발명은 전술한 문제점을 해결하기 위하여 제안된 것으로, 다양한 화면 표시 장치에 콘텐츠를 표시함에 있어서, 중요한 영역에 대한 왜곡 문제를 해결하고, 중요한 영역을 강조하는 것이 가능한 관심 객체 처리 장치 및 방법을 제공하는데 그 목적이 있다. The present invention has been proposed to solve the above-described problem, and provides an apparatus and method for processing an object of interest capable of solving a distortion problem for an important area and highlighting an important area in displaying content on various screen display devices. It has its purpose.

본 발명에 따른 관심 객체 처리 장치는 원시 콘텐츠를 수신하는 영상 수신부와, 원시 콘텐츠에 대한 변환 프로그램이 저장된 메모리 및 프로그램을 실행시키는 프로세서를 포함하고, 프로세서는 원시 콘텐츠 내의 관심 영역을 설정하고, 관심 영역에 대해 크기 변환 비율에 따른 크기 변환을 수행하고, 최종 영상을 합성하여 표출하는 것을 특징으로 한다. An object-of-interest processing apparatus according to the present invention includes an image receiving unit that receives raw content, a memory storing a conversion program for the raw content, and a processor that executes the program, and the processor sets a region of interest in the raw content, and It is characterized in that the size conversion is performed according to the size conversion ratio, and the final image is synthesized and displayed.

본 발명에 따른 관심 객체 처리 방법은 원시 콘텐츠를 수신하고, 원시 콘텐츠 내의 관심 영역을 설정하는 단계와, 원시 영상에 대해 전체적으로 크기 변환하고, 관심 영역에 대하여 크기 변환 비율에 따른 크기 변환을 수행하는 단계 및 전체적으로 크기 변환된 영상에 크기 변환이 수행된 관심 영역을 오버레이하여 최종 영상을 합성하고, 표출하는 단계를 포함하는 것을 특징으로 한다. The method of processing an object of interest according to the present invention includes the steps of receiving raw content, setting a region of interest in the original content, transforming the size of the original image as a whole, and performing size conversion according to the size conversion ratio for the region of interest. And synthesizing and displaying the final image by overlaying the ROI on which the size conversion has been performed on the overall size-converted image.

본 발명의 실시예에 따르면, 공연, 광고, 전시, 홍보를 위해 다양한 화면표시장치를 활용할 시, 표출되는 정보의 왜곡을 줄이는 것이 가능한 효과가 있다. According to an embodiment of the present invention, when various screen display devices are used for performances, advertisements, exhibitions, and promotions, it is possible to reduce distortion of displayed information.

본 발명의 효과는 이상에서 언급한 것들에 한정되지 않으며, 언급되지 아니한 다른 효과들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The effects of the present invention are not limited to those mentioned above, and other effects that are not mentioned will be clearly understood by those skilled in the art from the following description.

도 1은 원시 콘텐츠를 도시한다.
도 2는 도 1에 도시한 원시 콘텐츠를 종횡비가 다른 화면표시 장치에 표출한 화면을 도시한다.
도 3은 종래 기술에 따른 콘텐츠 표출 방식을 도시한다.
도 4는 본 발명의 실시예에 따른 관심 객체 처리 장치를 나타내는 블록도이다.
도 5는 본 발명의 실시예에 따른 관심 영역에 대한 종횡비 유지 결과를 도시한다.
도 6은 본 발명의 실시예에 따른 관심 영역 설정을 도시한다.
도 7은 본 발명의 실시예에 따른 관심 영역에 대한 바운딩 박스의 오프셋 위치 및 가로세로 길이를 도시한다.
도 8은 본 발명의 실시예에 따른 최종 영상 표출을 도시한다.
도 9는 본 발명의 실시예에 따른 관심 객체 처리 방법을 나타내는 순서도이다.
도 10은 본 발명의 다른 실시예에 따른 관심 객체 처리 방법을 나타내는 순서도이다.
도 11은 본 발명의 다른 실시예에 따른 관심 영역 병합을 도시한다.
도 12는 본 발명의 다른 실시예에 따른 부분 영역 설정을 도시한다.
도 13은 본 발명의 다른 실시예에 따른 바운딩 박스 영역 및 주변 영역을 도시한다.
도 14는 본 발명의 다른 실시예에 따른 주변 영역에 대한 크기변환 비율 결정을 도시한다.
도 15는 본 발명의 또 다른 실시예에 따른 화면표시 장치 사용례를 도시한다.
1 shows raw content.
FIG. 2 shows a screen in which the original content shown in FIG. 1 is displayed on a screen display device having a different aspect ratio.
3 shows a content display method according to the prior art.
4 is a block diagram illustrating an apparatus for processing an object of interest according to an embodiment of the present invention.
5 shows the result of maintaining an aspect ratio for an ROI according to an embodiment of the present invention.
6 shows an ROI setting according to an embodiment of the present invention.
7 shows an offset position and a horizontal and vertical length of a bounding box with respect to an ROI according to an embodiment of the present invention.
8 shows a final image display according to an embodiment of the present invention.
9 is a flowchart illustrating a method of processing an object of interest according to an embodiment of the present invention.
10 is a flowchart illustrating a method of processing an object of interest according to another embodiment of the present invention.
11 illustrates merging of regions of interest according to another embodiment of the present invention.
12 shows a partial area setting according to another embodiment of the present invention.
13 illustrates a bounding box area and a peripheral area according to another embodiment of the present invention.
14 is a diagram illustrating a determination of a size conversion ratio for a surrounding area according to another embodiment of the present invention.
15 illustrates an example of using a screen display device according to another embodiment of the present invention.

본 발명의 전술한 목적 및 그 이외의 목적과 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. The above-described objects and other objects, advantages, and features of the present invention, and methods of achieving them will become apparent with reference to the embodiments described below in detail together with the accompanying drawings.

그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 이하의 실시예들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 목적, 구성 및 효과를 용이하게 알려주기 위해 제공되는 것일 뿐으로서, 본 발명의 권리범위는 청구항의 기재에 의해 정의된다. However, the present invention is not limited to the embodiments disclosed below, but may be implemented in a variety of different forms, and only the following embodiments are for the purpose of the invention to those of ordinary skill in the art, It is only provided to easily inform the composition and effect, and the scope of the present invention is defined by the description of the claims.

한편, 본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성소자, 단계, 동작 및/또는 소자가 하나 이상의 다른 구성소자, 단계, 동작 및/또는 소자의 존재 또는 추가됨을 배제하지 않는다.Meanwhile, terms used in the present specification are for explaining embodiments and are not intended to limit the present invention. In this specification, the singular form also includes the plural form unless specifically stated in the phrase. As used in the specification, "comprises" and/or "comprising" refers to the presence of one or more other components, steps, actions and/or elements in which the recited component, step, operation and/or element is Or does not preclude addition.

이하에서는, 당업자의 이해를 돕기 위하여 본 발명이 제안된 배경에 대하여 먼저 서술하고, 본 발명의 실시예에 대하여 서술하기로 한다. Hereinafter, in order to help those skilled in the art understand, the background to which the present invention is proposed is first described, and then an embodiment of the present invention will be described.

도 1에 도시한 바와 같은 원시 콘텐츠가 주어짐을 가정하며, 원시 콘텐츠의 가로길이는

Figure 112018127478226-pat00001
, 세로길이는
Figure 112018127478226-pat00002
라고 가정한다. Assuming that the original content as shown in FIG. 1 is given, the horizontal length of the original content is
Figure 112018127478226-pat00001
, The vertical length is
Figure 112018127478226-pat00002
Is assumed.

여기서 길이의 단위는 픽셀(pixels)의 수 또는 미터법에서 정의하는 것과 같은 임의의 통일된 길이단위가 사용될 수 있는데, 특정한 길이단위에 한정하여 사용할 필요는 없으며, 소정의 정해진 단위를 일관되게 사용하면 문제가 없다. Here, as the unit of length, any unified length unit such as the number of pixels or defined in the metric system can be used, but it is not necessary to use it limited to a specific length unit, and it is a problem if the predetermined unit is consistently used. There is no

그럼에도 불구하고, 매우 특수한 화면표시 환경의 경우 픽셀이 표출되는 가로세로의 비(종횡비)가 1:1이 아닐 수 있는데, 이 경우에는 원시 콘텐츠(RAW Contents)와 최종적으로 화면표시장치를 거쳐 표출된 콘텐츠(Displayed contents)를 소정의 길이단위로 일관되게 변환하여 처리한다. Nevertheless, in a very special display environment, the aspect ratio (aspect ratio) at which pixels are expressed may not be 1:1. In this case, raw contents and finally displayed through the display device Contents (displayed contents) are consistently converted into a predetermined length unit and processed.

이하 도 4 내지 도 15를 참조하여 본 발명의 바람직한 실시예를 설명함에 있어서는, 당업자의 이해를 돕기 위하여 화면표시장치에서 픽셀을 표현하는 소자의 종횡비는 1:1로 동일하다고 가정하고, 픽셀의 수와 길이단위의 차이를 두지 않고 그 실시예를 설명한다. Hereinafter, in describing a preferred embodiment of the present invention with reference to FIGS. 4 to 15, it is assumed that the aspect ratio of elements representing pixels in the screen display device is equal to 1:1, and the number of pixels The embodiment will be described without making any difference between the and length units.

그러나, 하지만 종횡비가 동일하지 않는 경우도 본 발명에서 제안하는 개체 처리 방법을 쉽게 적용할 수 있음은 물론이다. However, it goes without saying that the object processing method proposed in the present invention can be easily applied even when the aspect ratio is not the same.

다시 도 1을 참조하면, “가나다...”, “ABC...”라는 글자가 적혀져 있는데, 통상적으로 이러한 글자정보는 정보 전달의 관점에서 볼 때 가급적 왜곡이 적게 표출되는 것이 바람직하다.Referring back to FIG. 1, the letters “Kanada...” and “ABC...” are written, and it is preferable that such character information is expressed as less distortion as possible from the viewpoint of information transmission.

그러나 원시 콘텐츠를 도 2에 도시한 바와 같이, 종횡비가 다른 화면표시장치에 표출하는 경우, 표출되는 콘텐츠는 특정 방향으로 늘어지거나 줄어들어서 표시되는 문제점이 있다. However, as illustrated in FIG. 2, when the original content is displayed on a screen display device having a different aspect ratio, the displayed content is stretched or shrunk in a specific direction to be displayed.

종래 기술에 따른 문제점을 보다 명확하게 서술하기 위해, 수식을 이용하여 설명한다. In order to more clearly describe the problem according to the prior art, it will be described using an equation.

도 1에서 도시한 바와 같은 2차원 영상 형태의 원시 콘텐츠를

Figure 112018127478226-pat00003
라고 할 때, 도 2에 도시한 화면표시장치에 표출하기 위한 목표콘텐츠를
Figure 112018127478226-pat00004
의 크기로 변환하여 모델링할 수 있다.Raw content in the form of a two-dimensional image as shown in FIG. 1
Figure 112018127478226-pat00003
In the case of, target content to be displayed on the screen display device shown in FIG. 2
Figure 112018127478226-pat00004
It can be modeled by converting it to the size of.

여기서 x는

Figure 112018127478226-pat00005
로써 임의 픽셀의 가로 위치를 나타내는 인덱스를 의미하고, y는
Figure 112018127478226-pat00006
는 임의의 픽셀의 세로 위치를 나타내는 인덱스를 의미한다. Where x is
Figure 112018127478226-pat00005
Means the index representing the horizontal position of an arbitrary pixel, and y is
Figure 112018127478226-pat00006
Denotes an index indicating the vertical position of an arbitrary pixel.

크기변환과 관련하여, 종래 기술에 따르면 원시 콘텐츠를 화면표시장치에 꽉 채워 표출하기 위해, 아래의 [수학식 1]과 같은 형태의 함수를 호출하여 처리할 수 있다. Regarding the size conversion, according to the prior art, in order to fill the original content in the display device and display it, a function in the form of [Equation 1] below may be called and processed.

[수학식 1]의 함수는 가로세로 크기가 (

Figure 112018127478226-pat00007
,
Figure 112018127478226-pat00008
)인 입력된 영상
Figure 112018127478226-pat00009
를 가로세로 크기 (
Figure 112018127478226-pat00010
,
Figure 112018127478226-pat00011
)로 변환 처리된 영상
Figure 112018127478226-pat00012
를 생성한다는 의미를 포함하고 있다.The function of [Equation 1] has a size of (
Figure 112018127478226-pat00007
,
Figure 112018127478226-pat00008
)
Figure 112018127478226-pat00009
The horizontal and vertical size (
Figure 112018127478226-pat00010
,
Figure 112018127478226-pat00011
) Converted to
Figure 112018127478226-pat00012
It contains the meaning of creating.

Figure 112018127478226-pat00013
Figure 112018127478226-pat00013

상기 [수학식 1]에서 resize() 함수를 행렬(matrix) 표현식으로 나타내면 아래 [수학식 2]와 같다. In [Equation 1], the resize() function is expressed as a matrix expression as shown in [Equation 2] below.

즉, 벡터로 표현된 입력 영상의 좌표위치

Figure 112018127478226-pat00014
를 출력 영상의 좌표위치
Figure 112018127478226-pat00015
로 매핑한다. In other words, the coordinate position of the input image expressed as a vector
Figure 112018127478226-pat00014
The coordinate position of the output image
Figure 112018127478226-pat00015
Maps to

Figure 112018127478226-pat00016
Figure 112018127478226-pat00016

[수학식 2]에서

Figure 112018127478226-pat00017
는 가로방향으로의 크기변환비율(resize ratio)을 나타내고,
Figure 112018127478226-pat00018
는 세로방향으로의 크기변환비율을 나타낸다.In [Equation 2]
Figure 112018127478226-pat00017
Represents the resize ratio in the horizontal direction,
Figure 112018127478226-pat00018
Represents the ratio of size conversion in the vertical direction.

여기서 픽셀의 좌표를 나타내는 좌표 인덱스값은 각각

Figure 112018127478226-pat00019
,
Figure 112018127478226-pat00020
,
Figure 112018127478226-pat00021
,
Figure 112018127478226-pat00022
가 된다. Here, the coordinate index values representing the coordinates of the pixels are each
Figure 112018127478226-pat00019
,
Figure 112018127478226-pat00020
,
Figure 112018127478226-pat00021
,
Figure 112018127478226-pat00022
Becomes.

행렬의 곱셈으로 나타난 [수학식 2] 의 표현은 전술한 [수학식 1] 의 resize 함수에 대한 수학적 개념을 나타내는 것으로써, 컴퓨터 프로그램을 사용하여 실제 구현 시에는 보다 복잡한 처리들이 추가로 필요하다. The expression of [Equation 2] represented by the multiplication of the matrix represents the mathematical concept for the resize function of [Equation 1] described above, and more complex processing is additionally required when implemented using a computer program.

일례로 영상의 크기변환이나 모양변환 시 행렬 연산을 통한 전방향 사상(forward mapping)을 수행한다면, 목적 영상의 좌표인덱스에 소수점이 들어갈 수 있는데, 이를 정수로 바꾸는 과정에서 목적 영상에 좌표가 계산되지 않아 영상이 표현되지 않는 부분이 생길 수 있게 된다. For example, if forward mapping is performed through matrix operation during image size transformation or shape transformation, a decimal point may be entered in the coordinate index of the target image. In the process of converting this to an integer, the coordinates are not calculated in the target image. As a result, there may be a part where the image is not expressed.

이를 해결하려면 최종 영상을 기준으로 역방향으로 계산 처리하는 것이 일반적이다. To solve this problem, it is common to calculate and process in the reverse direction based on the final image.

또한 영상을 줄이는 변화에 있어서도 언더샘플링(Under sampling)에 의한 에일리어싱(Aliasing) 문제가 발생할 수 있는데 이를 해결하기 위해 저역통과 필터링과 같은 부가적인 처리가 추가될 수 있다. In addition, an aliasing problem due to under sampling may occur in a change in image reduction, and additional processing such as low-pass filtering may be added to solve this problem.

이와 같은 추가적인 과정들은 이하, 도 4 내지 도 15를 참조하여 설명하는 본 발명의 실시예와 함께 사용될 수 있다. These additional processes may be used with the embodiments of the present invention described below with reference to FIGS. 4 to 15.

[수학식 2]를 도 2의 관점에서 해석하여 보면, 예를 들어 10x10 픽셀 크기의 영상을 20x10 크기의 화면표시장치에 가로세로에 대해 선형적으로 크기를 변환하여 표출한다고 가정하면,

Figure 112018127478226-pat00023
,
Figure 112018127478226-pat00024
이 되어 종횡비 1:1의 원시콘텐츠를 종횡비 2:1로 바뀌어 표출되도록 처리하게 된다. When [Equation 2] is interpreted from the point of view of FIG. 2, for example, assuming that an image of 10x10 pixels is displayed by converting the size linearly with respect to width and length on a display device of 20x10 size,
Figure 112018127478226-pat00023
,
Figure 112018127478226-pat00024
As a result, the original content with an aspect ratio of 1:1 is changed to an aspect ratio of 2:1 and processed to be displayed.

따라서, 도 2에 도시한 바와 같이, 결과적으로 세로에 비해 가로가 2배 늘어난 왜곡된 영상을 보게 된다.Accordingly, as shown in FIG. 2, as a result, a distorted image is viewed in which the horizontal is doubled compared to the vertical.

종래 기술에 따르면, 이러한 문제를 해결하기 위해, 도 3에 도시한 바와 같이, 화면표시장치의 가로세로 비율이 원시 콘텐츠와 다른 경우, 원시 콘텐츠를 강제로 늘이지 않고 비율을 유지하여 화면에 표출하는 방법을 사용하기도 하였다. According to the prior art, in order to solve this problem, as shown in FIG. 3, when the aspect ratio of the screen display device is different from the original content, the original content is not forcibly stretched and the ratio is maintained and displayed on the screen. The method was also used.

즉, 이는 원시 콘텐츠가 화면표시장치를 넘치지 않는 선에서 최대로 키워서 화면에 표출하는 식이다. In other words, this is an expression in which the original content is maximized and displayed on the screen without overflowing the screen display device.

그러나 종래의 기술에서는 도 3에 도시한 바와 같이, 콘텐츠를 표출하지 않는 빈 공간이 발생할 수 있었다. However, in the conventional technology, as shown in FIG. 3, an empty space that does not display content may occur.

빈 공간 없이 콘텐츠가 표시되는 것이 바람직한 경우도 발생 수 있으며, 콘텐츠 내부의 일부 관심 있는 중요한 영역들에 대해서만 사전에 정의된 종횡비를 유지할 필요성이 존재하였으며, 본 발명은 이러한 점에 착안하여 제안된 관심 객체 처리 장치 및 그 방법을 제공한다. There may be cases where it is desirable to display content without empty space, and there is a need to maintain a predefined aspect ratio only for some important areas of interest within the content, and the present invention focuses on this point and proposes an object of interest. It provides a processing apparatus and a method thereof.

도 4는 본 발명의 실시예에 따른 관심 객체 처리 장치를 나타내는 블록도이다.4 is a block diagram illustrating an apparatus for processing an object of interest according to an embodiment of the present invention.

본 발명의 실시예에 따른 관심 객체 처리 장치는 원시 콘텐츠를 수신하는 영상 수신부(100)와, 원시 콘텐츠에 대한 변환 프로그램이 저장된 메모리(200) 및 프로그램을 실행시키는 프로세서(300)를 포함하고, 프로세서(300)는 원시 콘텐츠 내의 관심 영역을 설정하고, 관심 영역에 대해 크기 변환 비율에 따른 크기 변환을 수행하고, 최종 영상을 합성하여 표출한다. An object of interest processing apparatus according to an embodiment of the present invention includes an image receiving unit 100 for receiving raw content, a memory 200 in which a conversion program for raw content is stored, and a processor 300 for executing the program. In step 300, a region of interest in the original content is set, size conversion according to a size conversion ratio is performed on the region of interest, and a final image is synthesized and displayed.

프로세서(300)는 사용자 입력 또는 객체검출 알고리즘을 이용하여 관심 영역을 바운딩 박스로 설정한다. The processor 300 sets the region of interest as a bounding box using a user input or an object detection algorithm.

이 때, 프로세서(300)는 관심 영역에 대한 바운딩 박스의 오프셋 위치, 가로 길이 및 세로 길이를 통해 관심 영역을 설정하고, 목표 콘텐츠 내에서 관심 영역이 표출될 위치를 결정하고, 크기 변환 비율에 따라 관심 영역에 대한 크기 변환을 수행한다. At this time, the processor 300 sets the region of interest through the offset position, the horizontal length, and the vertical length of the bounding box with respect to the region of interest, determines a position in which the region of interest is to be expressed within the target content, Size transformation is performed on the region of interest.

프로세서(300)는 관심 영역들 간에 공통되는 영역이 존재하는 경우 이들을 병합하고, 병합된 바운딩 박스 영역에 대한 크기 변환 비율을 적용하고, 병합된 바운딩 박스 영역 이외의 나머지 영역에 대한 크기 변환 비율을 결정한다. The processor 300 merges the regions of interest when common regions exist, applies a size conversion ratio for the merged bounding box region, and determines a size conversion ratio for the remaining regions other than the merged bounding box region. do.

프로세서(300)는 관심 영역에 대한 호모그래피 변환을 위한 파라미터를 이용하여 관심 영역에 대한 모양 변환을 수행하는 것이 가능하다. The processor 300 may perform shape transformation on the ROI by using a parameter for homography transformation on the ROI.

본 발명의 실시예에 따르면, 도 5에 도시한 바와 같이, 빈 공간 없이 콘텐츠를 표출하면서도 소정의 방법으로 설정된 관심 영역들에 대해서는 목적에 맞게 설정된 종횡비가 유지되거나 크기를 조절할 수 있도록 하는 것을 특징으로 한다. According to an embodiment of the present invention, as shown in FIG. 5, while displaying content without empty space, the aspect ratio set according to the purpose is maintained or the size can be adjusted for the regions of interest set in a predetermined method. do.

도 5에 도시한 바와 같이, “가나다...”, “ABC...”라는 2개의 분리된 영역들이 관심 영역으로 설정되는데, 이하에서 설명하는 구체적인 실시예를 통해, 관심 영역에 대해서는 종횡비를 유지하거나 조절하는 것이 가능하다. As shown in FIG. 5, two separate regions of "Kanada..." and "ABC..." are set as regions of interest. Through a specific embodiment described below, the aspect ratio of the region of interest is It is possible to maintain or adjust.

이하에서는, 원시콘텐츠가 화면표시장치를 통해 최종적으로 표출된 모양이 직사각형 형태로 가정하여도 무관한 경우에 대해서 관심 영역을 설정하고 및 영상처리를 수행하는 실시예에 대해 설명한다. Hereinafter, an embodiment in which an ROI is set and image processing is performed in a case where it is not relevant even if it is assumed that the shape of the original content finally expressed through the screen display device is rectangular.

도 6을 참조하면, 입력된 원시영상

Figure 112018127478226-pat00025
가 있을 때, 관심 영역을 설정한다. 6, the input raw image
Figure 112018127478226-pat00025
When there is, set the area of interest.

도 6에 도시된 바와 같이, “가나다...”, “ABC...”, “123...” 영역에 대해, 사각형 형태의 바운딩 박스로 설정된 3개의 관심 영역이 존재한다. As shown in FIG. 6, three regions of interest set as a rectangular bounding box exist for the regions "Kanada...", "ABC...", and "123...".

관심 영역들의 설정은 사용자가 마우스나 키보드와 같은 소정의 입력장치를 사용하여 각각의 영역을 설정할 수 있다. For setting the regions of interest, the user can set each region using a predetermined input device such as a mouse or a keyboard.

따라서 본 발명의 실시예에 따르면, 사용자 입력을 받을 수 있게 하는 입력장치를 포함할 수 있다. Accordingly, according to an embodiment of the present invention, an input device capable of receiving a user input may be included.

그리고 도 6의 예시에서는 글자를 관심 영역으로 설정한 것인데, 임의의 그림영역, 더 일반적으로는 임의의 바운딩 박스 영역을 설정하는 것도 가능하다.In the example of FIG. 6, the text is set as the region of interest, but it is also possible to set an arbitrary picture area, more generally, an arbitrary bounding box area.

관심 영역 설정은 사용자가 명시적으로 하지 않더라도 소정의 영상처리 방법이나 기계학습 기술에 의한 객체검출 방법을 사용하여 수행할 수 있다. Even if the user does not explicitly set the region of interest, it can be performed using a predetermined image processing method or an object detection method using machine learning technology.

예컨대 사전에 “사람의 얼굴영역을 관심 영역으로 찾기”, “사람의 전신을 관심 영역으로 찾기”, “자동차 객체를 관심 영역으로 찾기”, “건물 영역을 관심 영역으로 찾기”, “영문 알파벳 영역을 관심 영역으로 찾기”, “한글 문장 영역을 관심 영역으로 찾기”, “숫자를 관심 영역으로 찾기”, “언어 상관없이 텍스트 문장을 관심 영역으로 찾기”의 예시들처럼 종래의 영상처리나 기계학습 방법을 사용하여 관심 영역을 찾을 수 있다. For example, in advance, “Finding a person's face area as a region of interest”, “Finding a person's whole body as a region of interest”, “Finding a vehicle object as a region of interest”, “Finding a building region as a region of interest”, “English alphabet region As the examples of “Find a text sentence as a region of interest”, “Find a Korean sentence region as a region of interest”, “Find a number as a region of interest”, and “Find a text sentence as a region of interest regardless of language”. Methods can be used to find areas of interest.

이 때 관심 영역 각각은 임의의 직사각형 형태를 갖는 바운딩 박스가 되도록 설정하는 것이 바람직하다. At this time, it is preferable to set each region of interest to be a bounding box having an arbitrary rectangular shape.

서로 분리된 관심 영역의 개수는

Figure 112018127478226-pat00026
개라고 가정한다. The number of regions of interest separated from each other is
Figure 112018127478226-pat00026
Suppose it is a dog.

본 발명의 실시예에 따르면, 영상처리나 딥러닝 기술을 사용한 관심 영역 설정부를 포함할 수 있다.According to an embodiment of the present invention, a region of interest setting unit using image processing or deep learning technology may be included.

도 6에 도시한 바와 같이, 입력 원시영상

Figure 112018127478226-pat00027
에는 서로 구분되는
Figure 112018127478226-pat00028
개의 관심 영역
Figure 112018127478226-pat00029
들이 존재한다. As shown in Fig. 6, the input raw image
Figure 112018127478226-pat00027
There are distinct
Figure 112018127478226-pat00028
Areas of interest
Figure 112018127478226-pat00029
They exist.

Figure 112018127478226-pat00030
로써
Figure 112018127478226-pat00031
번째 관심 영역을 의미하고, 각각의 관심 영역을 기술하는 파라미터가 존재하게 되는데,
Figure 112018127478226-pat00032
번째 관심 영역은
Figure 112018127478226-pat00033
,
Figure 112018127478226-pat00034
,
Figure 112018127478226-pat00035
,
Figure 112018127478226-pat00036
라는 4개의 파라미터로 나타낼 수 있다.
Figure 112018127478226-pat00030
As
Figure 112018127478226-pat00031
It means the second region of interest, and there is a parameter describing each region of interest.
Figure 112018127478226-pat00032
Area of interest
Figure 112018127478226-pat00033
,
Figure 112018127478226-pat00034
,
Figure 112018127478226-pat00035
,
Figure 112018127478226-pat00036
It can be represented by four parameters:

도 7을 참조하면, 관심 영역에 대한 바운딩 박스의 오프셋 위치와 각각의 가로세로 길이를 나타낸다. Referring to FIG. 7, an offset position of a bounding box with respect to an ROI and a length of each of the bounding boxes are shown.

도 8은 전술한 과정을 통해 설정된 관심 영역들이 화면표시장치를 거쳐 최종 표출된 형상을 나타낸다. 8 shows a shape in which regions of interest set through the above-described process are finally expressed through a screen display device.

이 경우

Figure 112018127478226-pat00037
번째 관심 영역은
Figure 112018127478226-pat00038
,
Figure 112018127478226-pat00039
,
Figure 112018127478226-pat00040
,
Figure 112018127478226-pat00041
라는 4개의 수치로 나타낼 수 있다.in this case
Figure 112018127478226-pat00037
Area of interest
Figure 112018127478226-pat00038
,
Figure 112018127478226-pat00039
,
Figure 112018127478226-pat00040
,
Figure 112018127478226-pat00041
It can be represented by four numbers.

임의의

Figure 112018127478226-pat00042
번째 관심 영역에 대해서 {
Figure 112018127478226-pat00043
,
Figure 112018127478226-pat00044
,
Figure 112018127478226-pat00045
,
Figure 112018127478226-pat00046
}과 {
Figure 112018127478226-pat00047
,
Figure 112018127478226-pat00048
,
Figure 112018127478226-pat00049
,
Figure 112018127478226-pat00050
}사이의 관계를 결정하여야 한다. random
Figure 112018127478226-pat00042
For the first area of interest {
Figure 112018127478226-pat00043
,
Figure 112018127478226-pat00044
,
Figure 112018127478226-pat00045
,
Figure 112018127478226-pat00046
} And {
Figure 112018127478226-pat00047
,
Figure 112018127478226-pat00048
,
Figure 112018127478226-pat00049
,
Figure 112018127478226-pat00050
} The relationship between them must be determined.

이러한 관계를 표현하기 위해서 전술한 [수학식 1] 및 [수학식 2]를 각각의 관심 영역에 대해서 다시 정리하면 아래 [수학식 3] 및 [수학식 4]와 같다. In order to express this relationship, [Equation 1] and [Equation 2] described above are reorganized for each region of interest as shown in [Equation 3] and [Equation 4] below.

Figure 112018127478226-pat00051
Figure 112018127478226-pat00051

Figure 112018127478226-pat00052
Figure 112018127478226-pat00052

[수학식 3] 및 [수학식 4]에서,

Figure 112018127478226-pat00053
,
Figure 112018127478226-pat00054
의 관계를 가지고 있다. In [Equation 3] and [Equation 4],
Figure 112018127478226-pat00053
,
Figure 112018127478226-pat00054
Have a relationship.

Figure 112018127478226-pat00055
Figure 112018127478226-pat00056
가 종속변수가 아니라 제어에 활용하는 독립변수라고 가정하면,
Figure 112018127478226-pat00057
,
Figure 112018127478226-pat00058
로 나타낼 수 있다.
Figure 112018127478226-pat00055
Wow
Figure 112018127478226-pat00056
Assuming that is not a dependent variable but an independent variable used for control,
Figure 112018127478226-pat00057
,
Figure 112018127478226-pat00058
It can be expressed as

본 발명의 실시예에 따르면, 원시 콘텐츠가 화면표시장치에 크기변환 되어 표출하는 것과, 독립적으로 관심 영역들에 대한 크기변환 비율 정보를 입력받아 해당 영역을 표출하는 것을 기술적 특징으로 한다. According to an embodiment of the present invention, it is technically characterized in that the original content is size-converted and displayed on a screen display device, and the corresponding area is displayed by receiving size conversion ratio information for regions of interest independently.

도 9는 본 발명의 실시예에 따른 관심 객체 처리 방법을 나타내는 순서도이다. 9 is a flowchart illustrating a method of processing an object of interest according to an embodiment of the present invention.

본 발명의 실시예에 따른 관심 객체 처리 방법은 원시 콘텐츠를 수신하고, 원시 콘텐츠 내의 관심 영역을 설정하는 단계(S910)와, 원시 영상에 대해 전체적으로 크기 변환하고, 관심 영역에 대하여 크기 변환 비율에 따른 크기 변환을 수행하는 단계(S920 내지 S940) 및 전체적으로 크기 변환된 영상에 크기 변환이 수행된 관심 영역을 오버레이하여 최종 영상을 합성하고, 표출하는 단계(S950)를 포함한다. An object of interest processing method according to an embodiment of the present invention includes receiving raw content, setting an ROI in the original content (S910), transforming the size of the original image as a whole, and performing a size conversion ratio for the ROI. And performing size conversion (S920 to S940) and synthesizing and displaying a final image by overlaying a region of interest on which the size conversion has been performed on the overall size-converted image (S950).

본 발명의 실시예에 따르면, 관심 영역들 간에 공통되는 영역이 존재하는 경우 이들을 병합하고, 병합된 바운딩 박스 영역에 대한 크기 변환 비율을 적용하고, 병합된 바운딩 박스 영역 이외의 나머지 영역에 대한 크기 변환 비율을 결정한다. According to an embodiment of the present invention, if there are common regions between regions of interest, they are merged, a size conversion ratio is applied to the merged bounding box region, and size conversion is performed on the remaining regions other than the merged bounding box region. Determine the ratio.

이하에서는, 본 발명의 일 실시예에 따른 관심 객체 처리 방법을 보다 상세히 설명한다. Hereinafter, a method of processing an object of interest according to an embodiment of the present invention will be described in more detail.

(i-1) 표출해야할 원시 콘텐츠를

Figure 112018127478226-pat00059
라고 가정하면, 크기는
Figure 112018127478226-pat00060
,
Figure 112018127478226-pat00061
이다.(i-1) the raw content to be expressed
Figure 112018127478226-pat00059
Assuming that the size is
Figure 112018127478226-pat00060
,
Figure 112018127478226-pat00061
to be.

(i-2) 화면표시장치에 대응하여 변환할 목표 콘텐츠의 크기는

Figure 112018127478226-pat00062
,
Figure 112018127478226-pat00063
라고 가정한다.(i-2) The size of the target content to be converted corresponding to the display device is
Figure 112018127478226-pat00062
,
Figure 112018127478226-pat00063
Is assumed.

이때

Figure 112018127478226-pat00064
,
Figure 112018127478226-pat00065
대신에 전체적인 크기를 변환하기 위해 필요한 가로 및 세로의 크기변환비율
Figure 112018127478226-pat00066
Figure 112018127478226-pat00067
를 명시적으로 입력 받는 것이 가능하다. At this time
Figure 112018127478226-pat00064
,
Figure 112018127478226-pat00065
Instead, the ratio of horizontal and vertical size conversion required to convert the overall size
Figure 112018127478226-pat00066
Wow
Figure 112018127478226-pat00067
It is possible to explicitly receive input.

(i-3) 원시 콘텐츠

Figure 112018127478226-pat00068
에 대해서
Figure 112018127478226-pat00069
개의 관심 영역을 설정한다.(i-3) raw content
Figure 112018127478226-pat00068
about
Figure 112018127478226-pat00069
Set the area of interest for the dog.

설정된

Figure 112018127478226-pat00070
개의 관심 영역들 중에서
Figure 112018127478226-pat00071
번째 관심 영역 정보는 {
Figure 112018127478226-pat00072
,
Figure 112018127478226-pat00073
,
Figure 112018127478226-pat00074
,
Figure 112018127478226-pat00075
},
Figure 112018127478226-pat00076
로 표현할 수 있다. Set
Figure 112018127478226-pat00070
Among the areas of interest
Figure 112018127478226-pat00071
The first region of interest information is {
Figure 112018127478226-pat00072
,
Figure 112018127478226-pat00073
,
Figure 112018127478226-pat00074
,
Figure 112018127478226-pat00075
},
Figure 112018127478226-pat00076
It can be expressed as

전술한 바와 같이, 관심 영역은 사용자가 명시적으로 사용자 인터페이스를 통해 설정할 수도 있고, 영상처리나 기계학습 기술을 사용하여 자동으로 설정할 수도 있다.As described above, the region of interest may be explicitly set by the user through a user interface, or may be automatically set using image processing or machine learning technology.

(i-4)

Figure 112018127478226-pat00077
번째 관심 영역의 가로 및 세로 크기변환
Figure 112018127478226-pat00078
Figure 112018127478226-pat00079
를 입력 받는다. (i-4)
Figure 112018127478226-pat00077
Horizontal and vertical scaling of the first region of interest
Figure 112018127478226-pat00078
and
Figure 112018127478226-pat00079
Is entered.

만약 입력된 크기변환 비율이 없다면 사전에 내정된 값(default value) 또는 소정의 계산절차에 따라 크기변환비율을 결정한다. If there is no input size conversion ratio, the size conversion ratio is determined according to a predetermined value or a predetermined calculation procedure.

예컨대,

Figure 112018127478226-pat00080
=
Figure 112018127478226-pat00081
=min(
Figure 112018127478226-pat00082
,
Figure 112018127478226-pat00083
) 또는
Figure 112018127478226-pat00084
=
Figure 112018127478226-pat00085
=max(
Figure 112018127478226-pat00086
,
Figure 112018127478226-pat00087
) 또는
Figure 112018127478226-pat00088
=
Figure 112018127478226-pat00089
=function(
Figure 112018127478226-pat00090
,
Figure 112018127478226-pat00091
) 과 같은 계산절차 방식을 사용할 수 있다. for example,
Figure 112018127478226-pat00080
=
Figure 112018127478226-pat00081
=min(
Figure 112018127478226-pat00082
,
Figure 112018127478226-pat00083
) or
Figure 112018127478226-pat00084
=
Figure 112018127478226-pat00085
=max(
Figure 112018127478226-pat00086
,
Figure 112018127478226-pat00087
) or
Figure 112018127478226-pat00088
=
Figure 112018127478226-pat00089
=function(
Figure 112018127478226-pat00090
,
Figure 112018127478226-pat00091
) Can be used.

여기서 min()은 입력된 값 중에서 최소값을 계산하는 함수, max()는 최대값을 계산하는 함수, function()은 임의의 함수를 의미한다.Here, min() is a function that calculates the minimum value among the input values, max() is a function that calculates the maximum value, and function() is an arbitrary function.

(i-5)

Figure 112018127478226-pat00092
Figure 112018127478226-pat00093
= resize(
Figure 112018127478226-pat00094
,
Figure 112018127478226-pat00095
,
Figure 112018127478226-pat00096
,
Figure 112018127478226-pat00097
,
Figure 112018127478226-pat00098
)와 같이 크기변환한다. (i-5)
Figure 112018127478226-pat00092
To
Figure 112018127478226-pat00093
= resize(
Figure 112018127478226-pat00094
,
Figure 112018127478226-pat00095
,
Figure 112018127478226-pat00096
,
Figure 112018127478226-pat00097
,
Figure 112018127478226-pat00098
) And size conversion.

이 때 전술한 바와 같이,

Figure 112018127478226-pat00099
= resize(
Figure 112018127478226-pat00100
,
Figure 112018127478226-pat00101
,
Figure 112018127478226-pat00102
,
Figure 112018127478226-pat00103
,
Figure 112018127478226-pat00104
)에 따라 크기변환을 수행할 수도 있다. At this time, as described above,
Figure 112018127478226-pat00099
= resize(
Figure 112018127478226-pat00100
,
Figure 112018127478226-pat00101
,
Figure 112018127478226-pat00102
,
Figure 112018127478226-pat00103
,
Figure 112018127478226-pat00104
), you can also perform size conversion.

그 차이점에 대해 설명하면, 크기 변환 시 {

Figure 112018127478226-pat00105
,
Figure 112018127478226-pat00106
,
Figure 112018127478226-pat00107
,
Figure 112018127478226-pat00108
}를 매개변수로 사용하면 크기변환비율을 입력 크기와 출력 크기의 비로써 계산한다는 묵시적 의미가 담겨있는데 반하여, {
Figure 112018127478226-pat00109
,
Figure 112018127478226-pat00110
,
Figure 112018127478226-pat00111
,
Figure 112018127478226-pat00112
}를 매개변수로 사용한다면 명시적으로 가로와 세로의 크기변환비율을 입력해준다는 것이다. Explaining the difference, the {
Figure 112018127478226-pat00105
,
Figure 112018127478226-pat00106
,
Figure 112018127478226-pat00107
,
Figure 112018127478226-pat00108
} Is used as a parameter to contain the implicit meaning that the size conversion ratio is calculated as the ratio of the input size and the output size, whereas {
Figure 112018127478226-pat00109
,
Figure 112018127478226-pat00110
,
Figure 112018127478226-pat00111
,
Figure 112018127478226-pat00112
If} is used as a parameter, the ratio of the horizontal and vertical size conversion is explicitly entered.

(i-6)

Figure 112018127478226-pat00113
번째 관심 영역이 표출될 위치 {
Figure 112018127478226-pat00114
,
Figure 112018127478226-pat00115
}를 결정하며, 이는 아래 [수학식 5]와 같이 표현할 수 있다. (i-6)
Figure 112018127478226-pat00113
The location where the first region of interest will be expressed {
Figure 112018127478226-pat00114
,
Figure 112018127478226-pat00115
} Is determined, which can be expressed as [Equation 5] below.

Figure 112018127478226-pat00116
Figure 112018127478226-pat00116

(i-7) 번째 관심 영역에 대해서 주어진 크기변환비율에 따라서 크기변환을 수행한다.For the (i-7)-th region of interest, size conversion is performed according to the given size conversion ratio.

(i-8) 전술한 (i-5) 과정에서 크기 변환되어 출력된 결과 영상에 (i-7)에서 크기변환 수행한 N개의 관심 영역들을 (i-6)에서 결정한 위치에 오버레이하여 최종 표출할 영상을 합성하고 이를 화면표시장치에 표출한다.(i-8) On the result image output after size conversion in the above-described (i-5) process, the N regions of interest performed by the size conversion in (i-7) are overlaid on the position determined in (i-6) for final expression. The video to be played is synthesized and displayed on the screen display device.

전술한 실시예에 따르면, 관심 영역들과 관심 영역 이외의 영역들이 연속적으로 이어지지 않을 수 있는 경우가 발생한다. According to the above-described embodiment, there occurs a case in which regions of interest and regions other than the region of interest may not be connected continuously.

본 발명의 다른 실시예에서는, 전술한 실시예와 유사하지만, 제약조건이 강화됨에 따라 관심 영역들과 관심 영역 이외의 영역들이 연속적으로 이어질 수 있도록 하는 방법을 개시한다. In another embodiment of the present invention, a method is disclosed that is similar to the above-described embodiment, but allows regions of interest and regions other than the region of interest to be successively connected as constraints are strengthened.

도 10은 본 발명의 다른 실시예에 따른 관심 객체 처리 방법을 나타내는 순서도이다. 10 is a flowchart illustrating a method of processing an object of interest according to another embodiment of the present invention.

본 발명의 다른 실시예에 따르면, 원시콘텐츠에서 관심 영역을 설정하고(S1010), 서로 공통되는 관심 영역들을 합병하고(S1020), 관심 영역들과 비관심 영역들에 대한 부분 영역을 설정하고, 부분 영역별로 위치 및 크기변환비율을 결정하고(S1030), 각각의 부분 영역들을 크기변환하여 최종 영상을 합성하고 화면표시장치에 표출한다(S1040). According to another embodiment of the present invention, a region of interest is set in the original content (S1010), regions of interest that are common to each other are merged (S1020), a partial region for regions of interest and non-interest regions is set, and A location and a size conversion ratio are determined for each area (S1030), and a final image is synthesized by resizing each of the partial areas and displayed on the screen display device (S1040).

본 발명의 다른 실시예에 따른 관심 객체 처리 방법의 과정 중, (ii-1) 내지 (ii-3)은 전술한 (i-1) 내지 (i-3)과 각각 동일하다. In the process of a method of processing an object of interest according to another embodiment of the present invention, (ii-1) to (ii-3) are the same as those of (i-1) to (i-3) described above.

(ii-4) 관심 영역들 사이에 가로방향 혹은 세로방향으로 공통구역이 존재하면 이를 병합하여 하나의 바운딩 박스를 결정한다. (ii-4) If a common area exists between the regions of interest in the horizontal or vertical direction, it is merged to determine one bounding box.

도 11을 참조하면, 다수의 관심 영역들이 설정되었을 때 이를 합병하는 예시가 도시된다. Referring to FIG. 11, an example of merging a plurality of regions of interest when they are set is shown.

당업자의 이해를 돕기 위하여, 당초 6개의 관심 영역이 설정되었다고 가정한다. In order to help those skilled in the art understand, it is assumed that 6 regions of interest are initially set.

이렇게 설정된 관심 영역들에 대해서 임의의 2개의 관심 영역들 상호간에 서로 가로방향 혹은 세로방향으로 공통되는 영역이 존재하면 하나의 바운딩 박스로 병합한다. If there is an area common to each other in a horizontal direction or a vertical direction between any two areas of interest for the set areas of interest, they are merged into one bounding box.

이미 병합된 바운딩 박스는 병합되지 않은 나머지 관심 영역들과 가로 및 세로방향으로 공통되는 부분이 존재한다면 이를 다시 병합한다. The bounding box that has already been merged is merged again if there is a common portion in the horizontal and vertical directions with the remaining regions of interest that have not been merged.

즉, 도 11에 도시된 예에 따르면, “관심 영역 1”과 “관심 영역 2”가 세로 방향으로 공통영역이 존재하여 하나의 바운딩 박스로 병합된다. That is, according to the example shown in FIG. 11, the "region of interest 1" and the "region of interest 2" have a common region in the vertical direction and are merged into one bounding box.

병합된 바운딩 박스는 2개의 관심 영역을 포함하는 최소크기의 바운딩 박스로 결정하는 것이 바람직하다. It is preferable to determine the merged bounding box as a bounding box having a minimum size including two regions of interest.

“관심 영역 1”과 “관심 영역 2”를 포함하는 바운딩 박스는 더 이상 다른 관심 영역들과 공통영역이 존재하지 않으므로 독립적인 바운딩 박스가 된다.The bounding box including “region of interest 1” and “region of interest 2” no longer exists in common with other regions of interest, and thus becomes an independent bounding box.

다음으로 “관심 영역 3”에 대해서 공통되는 관심 영역을 찾아보면, “관심 영역 5”와 “관심 영역 6”이 가로방향에서 공통영역이 존재하여 하나의 바운딩 박스로 병합된다. Next, looking for a common region of interest for the “region of interest 3”, the “region of interest 5” and the “region of interest 6” are merged into one bounding box because a common region exists in the horizontal direction.

병합된 새로운 바운딩 박스는 “관심 영역 4”와 세로방향으로 공통영역이 발생하여 “관심 영역 4”도 함께 병합한다. In the merged new bounding box, a common area occurs vertically with “area of interest 4”, and “area of interest 4” is also merged.

결과적으로 도 11에 도시한 예시에서는 2개의 독립된 바운딩 박스가 생성된다. As a result, in the example shown in FIG. 11, two independent bounding boxes are generated.

전술한 바와 같이, 관심 영역들의 병합 과정을 통해 다수의 관심 영역이 설정되었을 때 콘텐츠가 원래의 콘텐츠와 매우 달라지는 문제를 제거해주는 효과가 있으며, 관심 영역과 관심 영역 이외의 영역들 사이에 콘텐츠가 서로 연속적으로 이어지도록 하는 기능을 제공할 수 있다. As described above, when multiple regions of interest are set through the process of merging regions of interest, there is an effect of removing the problem that the content is very different from the original content, and contents are mutually interposed between the region of interest and the regions other than the region of interest. It can provide a function to be connected continuously.

(ii-5) 관심 영역들과 비관심 영역들에 대한 부분 영역들을 설정한다. (ii-5) Set partial areas for areas of interest and non-interest areas.

부분 영역들은 각각의 바운딩 박스의 각 모서리를 영상의 가로축과 세로축으로 연장함으로써 생성된다. The partial regions are created by extending each corner of each bounding box to the horizontal and vertical axes of the image.

도 12를 참조하면, 이는 도 11에 도시한 예에서 부분 영역들을 설정한 예시이다.Referring to FIG. 12, this is an example of setting partial regions in the example shown in FIG. 11.

즉, 도 12를 참조하면, 총 25개의 부분 영역이 발생하고 영역7번, 영역19번이 도 11에서의 2개의 병합된 바운딩 박스에 대응하게 된다.That is, referring to FIG. 12, a total of 25 partial regions are generated, and regions 7 and 19 correspond to the two merged bounding boxes in FIG. 11.

(ii-6) 병합되어 새롭게 생성된 바운딩 박스의 개수가

Figure 112018127478226-pat00117
개라고 한다면
Figure 112018127478226-pat00118
번째 바운딩 영역의 가로 및 세로 크기변환비율
Figure 112018127478226-pat00119
Figure 112018127478226-pat00120
를 설정파일이나 사용자로부터 입력 받는다.(ii-6) The number of bounding boxes newly created by merging
Figure 112018127478226-pat00117
A dog
Figure 112018127478226-pat00118
Horizontal and vertical size conversion ratio of the second bounding area
Figure 112018127478226-pat00119
and
Figure 112018127478226-pat00120
Is input from a configuration file or user.

여기서

Figure 112018127478226-pat00121
이고, 만약 별도로 입력된 크기변환비율이 없다면 사전에 내정된 값(default value) 또는 소정의 계산절차에 따라 크기변환비율을 결정한다. here
Figure 112018127478226-pat00121
And, if there is no separately inputted size conversion ratio, the size conversion ratio is determined according to a preset value or a predetermined calculation procedure.

예컨대,

Figure 112018127478226-pat00122
=
Figure 112018127478226-pat00123
=min(
Figure 112018127478226-pat00124
,
Figure 112018127478226-pat00125
) 또는
Figure 112018127478226-pat00126
=
Figure 112018127478226-pat00127
=max(
Figure 112018127478226-pat00128
,
Figure 112018127478226-pat00129
) 또는
Figure 112018127478226-pat00130
=
Figure 112018127478226-pat00131
=function(
Figure 112018127478226-pat00132
,
Figure 112018127478226-pat00133
) 과 같은 계산절차 방식을 사용할 수 있다. for example,
Figure 112018127478226-pat00122
=
Figure 112018127478226-pat00123
=min(
Figure 112018127478226-pat00124
,
Figure 112018127478226-pat00125
) or
Figure 112018127478226-pat00126
=
Figure 112018127478226-pat00127
=max(
Figure 112018127478226-pat00128
,
Figure 112018127478226-pat00129
) or
Figure 112018127478226-pat00130
=
Figure 112018127478226-pat00131
=function(
Figure 112018127478226-pat00132
,
Figure 112018127478226-pat00133
) Can be used.

여기서 min()은 입력된 값 중에서 최소값을 계산하는 함수, max()는 최대값을 계산하는 함수, function()은 임의의 함수를 의미한다. Here, min() is a function that calculates the minimum value among the input values, max() is a function that calculates the maximum value, and function() is an arbitrary function.

단, 이 과정에서는 각각의 바운딩 박스를 크기변환 했을 때 서로 겹치거나 영향을 주지 않도록 하는 제약조건을 부여하는 것이 바람직하다.However, in this process, it is desirable to impose a constraint that prevents overlapping or affecting each bounding box when the size is changed.

(ii-7) 병합된 바운딩 박스 영역 이외의 나머지 영역들에 대해서도 크기변환비율을 결정한다. (ii-7) The size conversion ratio is also determined for the remaining areas other than the merged bounding box area.

전술한 과정을 통해, 도 12에서 도시된 바와 같이, 영역 7번과 영역 19번은 가로와 세로의 크기변환비율이 결정되어 있으므로 나머지 영역들은 이를 반영하여 결정되는 것이 바람직하다.Through the above-described process, as shown in FIG. 12, since the horizontal and vertical size conversion ratios for regions 7 and 19 are determined, the remaining regions are preferably determined by reflecting them.

예를 들어 도 12에 도시된 의 7번 영역의 가로, 세로 비율이

Figure 112018127478226-pat00134
Figure 112018127478226-pat00135
이라고 가정한다면 {2, 12, 17, 22}번 영역의 가로 크기변환비율은
Figure 112018127478226-pat00136
이어야 하고, {6, 8, 9, 10}번 영역의 세로 크기변환비율은
Figure 112018127478226-pat00137
가 되도록 변환되어야 한다. For example, the horizontal and vertical ratio of area 7 of
Figure 112018127478226-pat00134
Wow
Figure 112018127478226-pat00135
Assuming that, the horizontal size conversion ratio of the {2, 12, 17, 22} area is
Figure 112018127478226-pat00136
Should be, and the vertical size conversion ratio of the {6, 8, 9, 10} area is
Figure 112018127478226-pat00137
Should be converted to

마찬가지로 영역 19번의 가로와 세로의 크기변환비율이

Figure 112018127478226-pat00138
Figure 112018127478226-pat00139
라고 가정한다면, {4, 9, 14, 24}번 영역의 가로 크기변환비율은
Figure 112018127478226-pat00140
이고, {16, 17, 18, 20}번 영역의 세로 크기변환비율은
Figure 112018127478226-pat00141
가 되도록 변환되어야 한다. Likewise, the horizontal and vertical size conversion ratio of area 19
Figure 112018127478226-pat00138
Wow
Figure 112018127478226-pat00139
Assuming that, the horizontal size conversion ratio of the {4, 9, 14, 24} area is
Figure 112018127478226-pat00140
And the vertical size conversion ratio of the {16, 17, 18, 20} area is
Figure 112018127478226-pat00141
Should be converted to

영역별로 비율이 결정된 부분과 그렇지 않은 부분이 생기게 된다. For each area, there are parts whose ratio is determined and parts that are not.

결과적으로 {7, 9, 17, 19}번 영역들은 가로와 세로 크기변환비율이 모두 결정되게 된다. As a result, areas {7, 9, 17, 19} have both the horizontal and vertical size conversion ratios determined.

{2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24}번 영역들은 가로 혹은 세로 크기변환비율 하나만 결정된다. For areas {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24}, only one horizontal or vertical size conversion ratio is determined.

{1, 3, 5, 11, 13, 15, 21, 23, 25}번 영역들은 크기변환비율이 전혀 결정되지 않게 된다. For areas {1, 3, 5, 11, 13, 15, 21, 23, 25}, the size conversion ratio is not determined at all.

이와 같이, 크기변환 비율이 결정되지 않은 영역들이 존재하게 되는데, 본 발명의 실시예에 따르면 이들의 크기변환비율을 결정한다. As described above, there exist areas for which the size conversion ratio is not determined, and according to an embodiment of the present invention, the size conversion ratio thereof is determined.

도 13은 본 발명의 다른 실시예에 따른 바운딩 박스 영역 및 주변 영역을 도시한 것으로, 당업자의 이해를 돕기 위해 도 13은 관심 영역들을 포함하는 바운딩박스 영역이 1개인 경우로 한정한 경우를 도시한다. FIG. 13 illustrates a bounding box area and a peripheral area according to another embodiment of the present invention, and FIG. 13 illustrates a case where there is only one bounding box area including regions of interest to aid understanding of those skilled in the art. .

도 13의 좌측 도면은 1개의 바운딩 박스 영역이 존재하는 예시이다. The left drawing of FIG. 13 is an example in which one bounding box area exists.

도 13의 우측 도면은 이를 부분 영역으로 구분한 예로써, 5번 영역이 관심 영역들이 병합된 바운딩 박스 영역에 대응한다. The right diagram of FIG. 13 is an example of dividing this into partial regions, and region 5 corresponds to a bounding box region in which regions of interest are merged.

5번 영역의 가로 및 세로의 크기변환 비율을 각각

Figure 112018127478226-pat00142
Figure 112018127478226-pat00143
이라고 가정한다. Adjust the horizontal and vertical size conversion ratio of area 5 respectively
Figure 112018127478226-pat00142
Wow
Figure 112018127478226-pat00143
Is assumed.

가로의 변환비율을 생각하면 2, 5, 8의 가로 비율은

Figure 112018127478226-pat00144
으로 동일하게 결정된다. Considering the horizontal conversion ratio, the aspect ratio of 2, 5, 8 is
Figure 112018127478226-pat00144
Is determined in the same way.

반면 {1, 4, 7}번과 {3, 6, 9}번은 결정되지 않았다. 이를 결정하는 방법은 도 14를 참조하여 설명한다. On the other hand, {1, 4, 7} and {3, 6, 9} were not determined. A method of determining this will be described with reference to FIG. 14.

도 14는 가로방향으로의 크기변환 관계를 나타낸다.14 shows the relationship of size conversion in the horizontal direction.

도 14의 좌측 그림과 같이, 종래 기술에 따른 방식으로 특별한 처리를 하지 않고 크기변환을 한다면 직선형태의 선형 매핑함수로 표현되며, 기울기는

Figure 112018127478226-pat00145
=
Figure 112018127478226-pat00146
이다. As shown in the left figure of FIG. 14, if the size conversion is performed in a manner according to the prior art without special processing, it is expressed as a linear mapping function in the form of a straight line, and the slope is
Figure 112018127478226-pat00145
=
Figure 112018127478226-pat00146
to be.

반면, 본 발명의 실시예에 따르면, 관심 영역이 설정되고 이를 병합하여

Figure 112018127478226-pat00147
개의 바운딩 박스가 결정되면,
Figure 112018127478226-pat00148
번째 크기변환비율이 결정되며, 이는 도 14의 우측 도면에 도시한 바와 같다. On the other hand, according to an embodiment of the present invention, a region of interest is set and merged
Figure 112018127478226-pat00147
When two bounding boxes are determined,
Figure 112018127478226-pat00148
The th size conversion ratio is determined, as shown in the right figure of FIG. 14.

Figure 112018127478226-pat00149
번째 바운딩 박스는 가로축에서
Figure 112018127478226-pat00150
부터
Figure 112018127478226-pat00151
+
Figure 112018127478226-pat00152
까지 영역을 차지하게 된다.
Figure 112018127478226-pat00149
The first bounding box is on the horizontal axis
Figure 112018127478226-pat00150
from
Figure 112018127478226-pat00151
+
Figure 112018127478226-pat00152
To occupy the area.

따라서 이 영역의 중간 위치는

Figure 112018127478226-pat00153
+
Figure 112018127478226-pat00154
가 된다. So the middle position of this area is
Figure 112018127478226-pat00153
+
Figure 112018127478226-pat00154
Becomes.

그러므로 가로축 상에서 바운딩 박스의 중간위치에 대응하는 세로축 상의 위치는

Figure 112018127478226-pat00155
+
Figure 112018127478226-pat00156
가 된다. Therefore, the position on the vertical axis corresponding to the middle position of the bounding box on the horizontal axis is
Figure 112018127478226-pat00155
+
Figure 112018127478226-pat00156
Becomes.

전술한 (ii-6)번 과정에서

Figure 112018127478226-pat00157
번째 바운딩 영역의 가로 크기변환비율이
Figure 112018127478226-pat00158
로 이미 주어졌으므로, 도 14의 우측 도면의 2차원 좌표계에서의 점 B(
Figure 112018127478226-pat00159
+
Figure 112018127478226-pat00160
,
Figure 112018127478226-pat00161
+
Figure 112018127478226-pat00162
)를 지나고 기울기가
Figure 112018127478226-pat00163
인 직선을 그린다. In the above (ii-6) process
Figure 112018127478226-pat00157
The horizontal size conversion ratio of the second bounding area is
Figure 112018127478226-pat00158
Since it has already been given as, point B (
Figure 112018127478226-pat00159
+
Figure 112018127478226-pat00160
,
Figure 112018127478226-pat00161
+
Figure 112018127478226-pat00162
) And the slope is
Figure 112018127478226-pat00163
Draw a straight line.

그러면 이 직선이 가로축 점(

Figure 112018127478226-pat00164
, 0)을 지나는 수직선과 만나는 점 A(
Figure 112018127478226-pat00165
,
Figure 112018127478226-pat00166
)가 되고, 이 직선이 세로축 점(
Figure 112018127478226-pat00167
+
Figure 112018127478226-pat00168
, 0)을 지나는 수직선과 만나는 점은 C(
Figure 112018127478226-pat00169
+
Figure 112018127478226-pat00170
,
Figure 112018127478226-pat00171
+
Figure 112018127478226-pat00172
)가 된다. Then this line is the horizontal axis point (
Figure 112018127478226-pat00164
, Point A(
Figure 112018127478226-pat00165
,
Figure 112018127478226-pat00166
), and this line is the vertical axis point (
Figure 112018127478226-pat00167
+
Figure 112018127478226-pat00168
, The point where it meets the vertical line passing through 0) is C(
Figure 112018127478226-pat00169
+
Figure 112018127478226-pat00170
,
Figure 112018127478226-pat00171
+
Figure 112018127478226-pat00172
).

따라서, 도 13에서 {1, 4, 7}번 영역들의 가로 크기변환비율은 도 14의 우측 도면에 도시한 바와 같이,

Figure 112018127478226-pat00173
=
Figure 112018127478226-pat00174
로 결정할 수 있고, {3, 6, 9}번 영역들의 가로 크기변환비율은
Figure 112018127478226-pat00175
=
Figure 112018127478226-pat00176
로 결정할 수 있다.Accordingly, the horizontal size conversion ratio of the areas {1, 4, 7} in FIG. 13 is as shown in the right figure of FIG. 14,
Figure 112018127478226-pat00173
=
Figure 112018127478226-pat00174
Can be determined as, and the horizontal size conversion ratio of areas {3, 6, 9} is
Figure 112018127478226-pat00175
=
Figure 112018127478226-pat00176
Can be determined by

이 과정을 세로축에 대해서도 적용하면 모든 부분 영역들에 대한 가로 및 세로의 크기변환비율을 결정할 수 있다. By applying this process to the vertical axis as well, it is possible to determine the horizontal and vertical size conversion ratios for all partial regions.

본 발명의 실시예에 따르면, 바운딩 박스가 여러 개인 경우에도 바운딩 박스에 대해서 먼저 주어진 크기변환비율을 설정하고, 이를 통해 교차점을 각각 구함으로써 결정되지 않은 부분 영역들의 크기변환비율을 자동으로 결정할 수 있다. According to an embodiment of the present invention, even when there are several bounding boxes, the size conversion ratio of the undecided partial regions can be automatically determined by first setting a given size conversion ratio for the bounding box and obtaining each intersection point through this. .

(ii-7) 결정된 부분 영역들의 크기변환비율로 부분 영역들의 영상들을 각각 크기변환하고 이를 하나로 합하여 화면표시장치에 표출한다.(ii-7) Each image of the partial regions is size-converted at the determined size conversion ratio of the partial regions, and the images of the partial regions are combined into one and displayed on the screen display.

전술한 실시예에서는 표출되는 화면표시장치가 직사각형 형태라고 가정해도 무방한 경우에 대해서, 관심 영역의 종횡비를 사전에 설정한 값으로 처리하기 위한 방법을 설명하였다. In the above-described embodiment, a method for processing the aspect ratio of the region of interest to a value set in advance is described in the case where it is safe to assume that the displayed screen display device has a rectangular shape.

이하에서는, 본 발명의 또 다른 실시예로서, 원시 콘텐츠가 화면표시장치를 통해 임의의 4개의 꼭지점을 갖는 다각형 형태로 변형되는 경우의 관심 영역 설정 및 영상처리 방법을 설명한다. Hereinafter, as another embodiment of the present invention, a method of setting a region of interest and an image processing method when raw content is transformed into a polygonal shape having four arbitrary vertices through a screen display device will be described.

본 발명의 또 다른 실시예에 따르면, 도 15에 도시된 바와 같이, 프로젝터와 같은 화면표시장치를 사용하는 경우, 최종 표출되는 영상의 모양이 호모그래피 변환되는 것과 같이 왜곡되는 경우에도 관심 영역에 대해서 처리를 수행한다. According to another embodiment of the present invention, as shown in FIG. 15, when a screen display device such as a projector is used, even when the shape of the final displayed image is distorted such as homography conversion, the region of interest is Carry out processing.

본 발명의 또 다른 실시예에서는, 호모그래피 변환을 위한 파라미터를 제공받는다. In yet another embodiment of the present invention, parameters for homography conversion are provided.

이하, 본 발명의 또 다른 실시예에 따른 과정을 설명한다. Hereinafter, a process according to another embodiment of the present invention will be described.

(iii-1) 표출해야할 원시 콘텐츠를

Figure 112018127478226-pat00177
라고 가정하며, 그 크기는
Figure 112018127478226-pat00178
,
Figure 112018127478226-pat00179
이다.(iii-1) the raw content to be displayed
Figure 112018127478226-pat00177
And the size is
Figure 112018127478226-pat00178
,
Figure 112018127478226-pat00179
to be.

(iii-2) 표출해야할 화면표시장치에 표시하기 위해 호모그래피 변환하기 위한 행렬을

Figure 112018127478226-pat00180
라고 주어졌다고 가정한다.(iii-2) A matrix for homography conversion to be displayed on the display device to be displayed
Figure 112018127478226-pat00180
Is given.

(iii-3) 원시콘텐츠

Figure 112018127478226-pat00181
에 대해서
Figure 112018127478226-pat00182
개의 관심 영역을 설정한다. (iii-3) Raw content
Figure 112018127478226-pat00181
about
Figure 112018127478226-pat00182
Set the area of interest for the dog.

설정된

Figure 112018127478226-pat00183
개의 관심 영역들 중에서
Figure 112018127478226-pat00184
번째 관심 영역 정보는 {
Figure 112018127478226-pat00185
,
Figure 112018127478226-pat00186
,
Figure 112018127478226-pat00187
,
Figure 112018127478226-pat00188
},
Figure 112018127478226-pat00189
로 표현할 수 있다. Set
Figure 112018127478226-pat00183
Among the areas of interest
Figure 112018127478226-pat00184
The first region of interest information is {
Figure 112018127478226-pat00185
,
Figure 112018127478226-pat00186
,
Figure 112018127478226-pat00187
,
Figure 112018127478226-pat00188
},
Figure 112018127478226-pat00189
It can be expressed as

전술한 바와 같이, 관심 영역은 사용자가 명시적으로 사용자 인터페이스를 통해 설정할 수도 있고, 영상처리나 기계학습 기술을 사용하여 자동으로 설정할 수도 있다.As described above, the region of interest may be explicitly set by the user through a user interface, or may be automatically set using image processing or machine learning technology.

(iii-4)

Figure 112018127478226-pat00190
번째 관심 영역에 대한 호모그래피 변환행렬
Figure 112018127478226-pat00191
의 계수값들을 입력 받는다. (iii-4)
Figure 112018127478226-pat00190
Homography transformation matrix for the first region of interest
Figure 112018127478226-pat00191
The coefficient values of are input.

호모그래피 변환행렬은 아래 [수학식 6]과 같이 입력영상을 출력영상으로 모양 변환을 수행하는 역할을 수행한다.The homography transformation matrix serves to transform the shape of the input image into the output image as shown in [Equation 6] below.

Figure 112018127478226-pat00192
Figure 112018127478226-pat00192

만약 입력된 호모그래피 변환행렬이 없다면 사전에 내정된 값(default value) 혹은 소정의 계산절차에 따라 이를 결정한다.If there is no input homography conversion matrix, it is determined according to a preset value or a predetermined calculation procedure.

(iii-5) 입력된 콘텐츠 영상을

Figure 112018127478226-pat00193
를 (iii-2)에서 주어진 호모그래피 변환행렬
Figure 112018127478226-pat00194
를 적용하여 모양변환시킨다. (iii-5) The input content video
Figure 112018127478226-pat00193
The homography transformation matrix given in (iii-2)
Figure 112018127478226-pat00194
Apply to transform the shape.

(iii-6)

Figure 112018127478226-pat00195
번째 관심 영역이 표출될 위치 {
Figure 112018127478226-pat00196
,
Figure 112018127478226-pat00197
}를 결정하며, 이는 아래 [수학식 7]과 같이 표현할 수 있다. (iii-6)
Figure 112018127478226-pat00195
The location where the first region of interest will be expressed {
Figure 112018127478226-pat00196
,
Figure 112018127478226-pat00197
} Is determined, which can be expressed as [Equation 7] below.

Figure 112018127478226-pat00198
Figure 112018127478226-pat00198

(iii-7)

Figure 112018127478226-pat00199
개의 관심 영역들에 대해서 주어진 호모그래피 변환행렬
Figure 112018127478226-pat00200
,
Figure 112018127478226-pat00201
를 이용하여 각각 모양변환을 수행한다.(iii-7)
Figure 112018127478226-pat00199
Homography transformation matrix given for two regions of interest
Figure 112018127478226-pat00200
,
Figure 112018127478226-pat00201
Each shape transformation is performed using.

(iii-8) 전술한 (iii-5)번 과정에서 모양 변환되어 출력된 결과 영상에 (iii-7)에서 모양 변환된 N개의 관심 영역 영상들에 대해 (iii-6)에서 설정한 위치에 오버레이하여 최종 표출할 영상을 합성하고 이를 화면표시장치에 표출한다.(iii-8) In the result image output after shape conversion in step (iii-5) above, the N ROI images converted in shape in (iii-7) are located at the location set in (iii-6). The image to be displayed is synthesized by overlaying it and displayed on the screen display device.

한편, 본 발명의 실시예에 따른 관심 객체 처리 방법은 컴퓨터 시스템에서 구현되거나, 또는 기록매체에 기록될 수 있다. 컴퓨터 시스템은 적어도 하나 이상의 프로세서와, 메모리와, 사용자 입력 장치와, 데이터 통신 버스와, 사용자 출력 장치와, 저장소를 포함할 수 있다. 전술한 각각의 구성 요소는 데이터 통신 버스를 통해 데이터 통신을 한다.Meanwhile, the method of processing an object of interest according to an embodiment of the present invention may be implemented in a computer system or recorded on a recording medium. The computer system may include at least one processor, memory, user input device, data communication bus, user output device, and storage. Each of the above-described components communicates data through a data communication bus.

컴퓨터 시스템은 네트워크에 커플링된 네트워크 인터페이스를 더 포함할 수 있다. 프로세서는 중앙처리 장치(central processing unit (CPU))이거나, 혹은 메모리 및/또는 저장소에 저장된 명령어를 처리하는 반도체 장치일 수 있다. The computer system may further include a network interface coupled to the network. The processor may be a central processing unit (CPU) or a semiconductor device that processes instructions stored in a memory and/or storage.

메모리 및 저장소는 다양한 형태의 휘발성 혹은 비휘발성 저장매체를 포함할 수 있다. 예컨대, 메모리는 ROM 및 RAM을 포함할 수 있다.The memory and storage may include various types of volatile or nonvolatile storage media. For example, the memory may include ROM and RAM.

따라서, 본 발명의 실시예에 따른 관심 객체 처리 방법은 컴퓨터에서 실행 가능한 방법으로 구현될 수 있다. 본 발명의 실시예에 따른 관심 객체 처리 방법이 컴퓨터 장치에서 수행될 때, 컴퓨터로 판독 가능한 명령어들이 본 발명에 따른 처리 방법을 수행할 수 있다.Accordingly, the method of processing an object of interest according to an embodiment of the present invention may be implemented in a computer-executable method. When the method of processing an object of interest according to an embodiment of the present invention is performed in a computer device, computer-readable instructions may perform the processing method according to the present invention.

한편, 상술한 본 발명에 따른 관심 객체 처리 방법은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현되는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체로는 컴퓨터 시스템에 의하여 해독될 수 있는 데이터가 저장된 모든 종류의 기록 매체를 포함한다. 예를 들어, ROM(Read Only Memory), RAM(Random Access Memory), 자기 테이프, 자기 디스크, 플래시 메모리, 광 데이터 저장장치 등이 있을 수 있다. 또한, 컴퓨터로 판독 가능한 기록매체는 컴퓨터 통신망으로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 읽을 수 있는 코드로서 저장되고 실행될 수 있다.Meanwhile, the method of processing an object of interest according to the present invention may be implemented as a computer-readable code on a computer-readable recording medium. The computer-readable recording medium includes all kinds of recording media in which data that can be decoded by a computer system is stored. For example, there may be read only memory (ROM), random access memory (RAM), magnetic tape, magnetic disk, flash memory, optical data storage device, and the like. In addition, the computer-readable recording medium can be distributed to a computer system connected through a computer communication network, and stored and executed as code that can be read in a distributed manner.

이제까지 본 발명의 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다. So far, it looked at the center of the embodiments of the present invention. Those of ordinary skill in the art to which the present invention pertains will be able to understand that the present invention can be implemented in a modified form without departing from the essential characteristics of the present invention. Therefore, the disclosed embodiments should be considered from an illustrative point of view rather than a limiting point of view. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope equivalent thereto should be construed as being included in the present invention.

100: 영상 수신부 200: 메모리
300: 프로세서
100: image receiving unit 200: memory
300: processor

Claims (7)

원시 콘텐츠를 수신하는 영상 수신부;
상기 원시 콘텐츠에 대한 변환 프로그램이 저장된 메모리; 및
상기 프로그램을 실행시키는 프로세서를 포함하되,
상기 프로세서는 상기 원시 콘텐츠 내의 관심 영역을 설정하고, 상기 관심 영역에 대해 크기 변환 비율에 따른 크기 변환을 수행하고, 최종 영상을 합성하여 표출하고,
상기 프로세서는 사용자 입력 또는 객체검출 알고리즘을 이용하여 상기 관심 영역을 바운딩 박스로 설정하고, 관심 영역들 간에 가로 또는 세로 방향으로 공통되는 영역이 존재하는 경우 이들을 병합하고, 병합된 바운딩 박스 영역에 대한 크기 변환 비율을 적용하고, 상기 병합된 바운딩 박스 영역 이외의 나머지 영역에 대한 크기 변환 비율을 결정하는 것
인 관심 객체 처리 장치.
An image receiving unit for receiving raw content;
A memory storing a conversion program for the original content; And
Including a processor for executing the program,
The processor sets a region of interest in the original content, performs size conversion according to a size conversion ratio for the region of interest, synthesizes and displays a final image,
The processor sets the region of interest as a bounding box using a user input or object detection algorithm, merges the regions of interest when common regions exist in the horizontal or vertical direction, and merges the regions of the merged bounding box. Applying a conversion ratio and determining a size conversion ratio for the remaining areas other than the merged bounding box area
Object of interest processing device.
삭제delete 제1항에 있어서,
상기 프로세서는 상기 관심 영역에 대한 바운딩 박스의 오프셋 위치, 가로 길이 및 세로 길이를 통해 관심 영역을 설정하고, 목표 콘텐츠 내에서 관심 영역이 표출될 위치를 결정하고, 크기 변환 비율에 따라 상기 관심 영역에 대한 크기 변환을 수행하는 것
인 관심 객체 처리 장치.
The method of claim 1,
The processor sets a region of interest through an offset position, a horizontal length, and a vertical length of the bounding box with respect to the region of interest, determines a position in which the region of interest is to be expressed within the target content, and applies to the region of interest according to a size conversion ratio. Performing a size conversion for
Object of interest processing device.
삭제delete 제1항에 있어서,
상기 프로세서는 상기 관심 영역에 대한 호모그래피 변환을 위한 파라미터를 이용하여 상기 관심 영역에 대한 모양 변환을 수행하는 것
인 관심 객체 처리 장치.
The method of claim 1,
The processor performs shape transformation on the region of interest by using a parameter for homography transformation on the region of interest.
Object of interest processing device.
(a) 원시 콘텐츠를 수신하고, 상기 원시 콘텐츠 내의 관심 영역을 설정하는 단계;
(b) 원시 영상에 대해 전체적으로 크기 변환하고, 상기 관심 영역에 대하여 크기 변환 비율에 따른 크기 변환을 수행하는 단계; 및
(c) 상기 전체적으로 크기 변환된 영상에 상기 크기 변환이 수행된 관심 영역을 오버레이하여 최종 영상을 합성하고, 표출하는 단계를 포함하되,
상기 (a) 단계는 사용자 입력 또는 객체검출 알고리즘을 이용하여 상기 관심 영역을 바운딩 박스로 설정하고,
상기 (b) 단계는 관심 영역들 간에 가로 또는 세로 방향으로 공통되는 영역이 존재하는 경우 이들을 병합하고, 병합된 바운딩 박스 영역에 대한 크기 변환 비율을 적용하고, 상기 병합된 바운딩 박스 영역 이외의 나머지 영역에 대한 크기 변환 비율을 결정하는 것
인 관심 객체 처리 방법.
(a) receiving the original content and setting a region of interest in the original content;
(b) performing a size conversion on the original image as a whole and performing size conversion on the ROI according to a size conversion ratio; And
(c) synthesizing and displaying a final image by overlaying the region of interest on which the size conversion has been performed on the overall size-converted image,
In the step (a), the region of interest is set as a bounding box using a user input or an object detection algorithm,
In the step (b), if there are common regions between regions of interest in the horizontal or vertical direction, they are merged, a size conversion ratio is applied to the merged bounding box region, and the remaining regions other than the merged bounding box region To determine the size conversion ratio for
How to handle objects of interest.
삭제delete
KR1020180164509A 2018-12-18 2018-12-18 Apparatus and method for processing object of interest KR102203272B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020180164509A KR102203272B1 (en) 2018-12-18 2018-12-18 Apparatus and method for processing object of interest
PCT/KR2018/016817 WO2020130217A1 (en) 2018-12-18 2018-12-28 Device for processing object-of-interest, and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180164509A KR102203272B1 (en) 2018-12-18 2018-12-18 Apparatus and method for processing object of interest

Publications (2)

Publication Number Publication Date
KR20200075628A KR20200075628A (en) 2020-06-26
KR102203272B1 true KR102203272B1 (en) 2021-01-15

Family

ID=71102176

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180164509A KR102203272B1 (en) 2018-12-18 2018-12-18 Apparatus and method for processing object of interest

Country Status (2)

Country Link
KR (1) KR102203272B1 (en)
WO (1) WO2020130217A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100727390B1 (en) * 2005-12-26 2007-06-12 삼성전자주식회사 Adaptive image size conversion apparatus and method thereof
JP2012500991A (en) 2008-08-28 2012-01-12 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Device that determines the size change of an object

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7715656B2 (en) * 2004-09-28 2010-05-11 Qualcomm Incorporated Magnification and pinching of two-dimensional images
JP4489605B2 (en) * 2005-01-19 2010-06-23 株式会社メガチップス Compression encoding apparatus, compression encoding method and program
US20110235706A1 (en) * 2010-03-25 2011-09-29 Texas Instruments Incorporated Region of interest (roi) video encoding
KR102157675B1 (en) * 2014-07-25 2020-09-18 삼성전자주식회사 Image photographing apparatus and methods for photographing image thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100727390B1 (en) * 2005-12-26 2007-06-12 삼성전자주식회사 Adaptive image size conversion apparatus and method thereof
JP2012500991A (en) 2008-08-28 2012-01-12 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Device that determines the size change of an object

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Wong & Low. Tearable Image Warping for Extreme Image Retargeting, CGI, 2012년 6월 15일, pp. 1-10. 1부.*

Also Published As

Publication number Publication date
KR20200075628A (en) 2020-06-26
WO2020130217A1 (en) 2020-06-25

Similar Documents

Publication Publication Date Title
JP3697276B2 (en) Image display method, image display apparatus, and image scaling method
JP4696635B2 (en) Method, apparatus and program for generating highly condensed summary images of image regions
US6731285B2 (en) System and method for providing high performance image magnification in a web browser
JP3718472B2 (en) Image display method and apparatus
US8711183B2 (en) Graphical user interfaces and occlusion prevention for fisheye lenses with line segment foci
US20060143020A1 (en) Device capable of easily creating and editing a content which can be viewed in three dimensional way
US20120229501A1 (en) Method and a Computer System for Displaying and Selecting Images
JPH07181952A (en) Picture display method, context-preserved picture display and picture scaling method
US8373802B1 (en) Art-directable retargeting for streaming video
US6360029B1 (en) Method and apparatus for variable magnification of an image
WO2013179560A1 (en) Image processing device and image processing method
Sadun IOS Drawing
US8908964B2 (en) Color correction for digital images
JP4137923B2 (en) Image display method and apparatus
US9384562B2 (en) Methods for visual content processing, and systems and computer program codes thereto
US8760472B2 (en) Pixel transforms
US9082183B2 (en) Image processing device and image processing method
KR102203272B1 (en) Apparatus and method for processing object of interest
US9792717B2 (en) Interactive slide deck
US11037323B2 (en) Image processing apparatus, image processing method and storage medium
JP2009065462A (en) Device, method, and program for summarizing video
EP3096291A1 (en) Method and device for bounding an object in a video
KR20220030084A (en) Method and apparatus of processing image
Jachimski Video Stereo Digitizer-a small digital Stereophotogrammetric Working Station for the needs of SIT and other application
KR100903394B1 (en) Processing Method for Character Animation in Mobile Terminal By Reducing Animation Data

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right