WO2020130217A1 - 관심 객체 처리 장치 및 그 방법 - Google Patents

관심 객체 처리 장치 및 그 방법 Download PDF

Info

Publication number
WO2020130217A1
WO2020130217A1 PCT/KR2018/016817 KR2018016817W WO2020130217A1 WO 2020130217 A1 WO2020130217 A1 WO 2020130217A1 KR 2018016817 W KR2018016817 W KR 2018016817W WO 2020130217 A1 WO2020130217 A1 WO 2020130217A1
Authority
WO
WIPO (PCT)
Prior art keywords
interest
region
size conversion
size
bounding box
Prior art date
Application number
PCT/KR2018/016817
Other languages
English (en)
French (fr)
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 전자부품연구원
Publication of WO2020130217A1 publication Critical patent/WO2020130217A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream 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

Definitions

  • the present invention relates to an apparatus and method for processing an object of interest when displaying content.
  • the size of the content is converted through a simple proportional expression, and the shape of the part corresponding to the region of interest inside the content is originally intended. Unlike, 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-mentioned problems, and in displaying content on various screen display devices, it provides an apparatus and method for processing an object of interest capable of solving a distortion problem of an important area and highlighting an important area There is a purpose.
  • the apparatus for processing an object of interest includes an image receiving unit for receiving raw content, a memory in which a conversion program for the raw content is stored, and a processor for executing the program, and the processor sets the region of interest in the raw content, and the region of interest It is characterized in that it performs size conversion according to the size conversion ratio and synthesizes and displays the final image.
  • a method of processing an object of interest includes receiving raw content, setting a region of interest in the raw content, transforming the overall size of the original image, and performing a size transformation according to a size conversion ratio for the region of interest And synthesizing and displaying the final image by overlaying the region of interest on which the size transformation has been performed on the overall size-transformed image.
  • 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.
  • FIG. 3 illustrates a content presentation method according to the prior art.
  • FIG. 4 is a block diagram showing an apparatus for processing an object of interest according to an embodiment of the present invention.
  • FIG. 5 illustrates an aspect ratio maintenance result for a region of interest according to an embodiment of the present invention.
  • FIG. 6 illustrates a region of interest setting according to an embodiment of the present invention.
  • FIG 7 illustrates the offset position and the width and length of the bounding box for the region of interest according to an embodiment of the present invention.
  • FIG. 9 is a flowchart illustrating a method of processing an object of interest according to an embodiment of the present invention.
  • FIG. 10 is a flowchart illustrating a method of processing an object of interest according to another embodiment of the present invention.
  • FIG 11 illustrates merging a region of interest according to another embodiment of the present invention.
  • FIG. 12 illustrates a partial region setting according to another embodiment of the present invention.
  • 13A and 13B show a bounding box area and a peripheral area according to another embodiment of the present invention.
  • 14A and 14B illustrate a determination of a size conversion ratio for a peripheral area according to another embodiment of the present invention.
  • FIG. 15 shows an example of using a screen display device according to another embodiment of the present invention.
  • the unit of length may be any number of pixels or any uniform unit of length, such as defined in the metric system, but it is not necessary to use a specific unit of length, and if a predetermined unit is consistently used, there is a problem. There is no
  • the aspect ratio (aspect ratio) in which pixels are displayed may not be 1:1, in this case, the raw content and finally displayed through the display device. Displayed contents are converted and processed consistently in a predetermined length unit.
  • the displayed content when the original content is displayed on a screen display device having a different aspect ratio, the displayed content may be stretched or reduced in a specific direction to be displayed.
  • the target content for displaying on the screen display device shown in FIG. 2 is the size of I dst (x,y). Can be modeled by converting to.
  • x is Denotes the index indicating the horizontal position of any pixel
  • y is Denotes an index indicating the vertical position of an arbitrary pixel.
  • Equation 1 converts the input image I src (x,y) having the horizontal and vertical dimensions (W src , H src ) into the horizontal image size (W dst , H dst ) and processes the processed image I dst (x ,y).
  • Equation 2 is as follows.
  • R w represents a size conversion ratio in the horizontal direction
  • R h represents a size conversion ratio in the vertical direction.
  • the coordinate index values representing the coordinates of the pixels are each , , , Becomes
  • a decimal point may be included in the coordinate index of the target image.
  • the coordinates are not calculated in the target image. As a result, a part in which the image is not expressed may occur.
  • an aliasing problem due to undersampling may occur even in a change to reduce the image, and additional processing such as low-pass filtering may be added to solve the problem.
  • Equation 2 When [Equation 2] is interpreted from the perspective of FIG. 2, for example, assuming that an image having a size of 10x10 pixels is linearly converted and displayed for an aspect ratio on a display device having a size of 20x10, , As a result, the original content with an aspect ratio of 1:1 is converted to an aspect ratio of 2:1 to be displayed.
  • this is an expression in which the raw content is maximized on a line that does not overflow the display device and displayed on the screen.
  • a processing apparatus and method are provided.
  • FIG. 4 is a block diagram showing an apparatus for processing an object of interest according to an embodiment of the present invention.
  • the apparatus for processing an object of interest includes an image receiving unit 100 for receiving raw content, a memory 200 in which a conversion program for the raw content is stored, and a processor 300 for executing the program, the processor In step 300, a region of interest in the original content is set, a size transformation according to a size conversion ratio is performed on the region of interest, and the final image is synthesized and displayed.
  • the processor 300 sets a region of interest as a bounding box using a user input or object detection algorithm.
  • 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 the location of the region of interest within the target content, and according to the size conversion ratio Perform size transformation for the region of interest.
  • the processor 300 merges the common areas between regions of interest if they exist, applies a size conversion ratio for the merged bounding box area, and determines a size conversion rate for the rest of the areas other than the merged bounding box area do.
  • the processor 300 may perform shape transformation on the region of interest using parameters for homography transformation for the region of interest.
  • FIG. 5 it is characterized in that an aspect ratio set for a purpose can be maintained or a size can be adjusted for regions of interest set by a predetermined method while displaying content without empty space. do.
  • regions of interest As shown in FIG. 5, two separate regions, “canada...” and “ABC...”, are set as regions of interest, and through specific embodiments described below, the aspect ratio for regions of interest is set. It is possible to maintain or adjust.
  • a user may set each region using a predetermined input device such as a mouse or keyboard.
  • an input device capable of receiving user input may be included.
  • the character is set as an area of interest, but it is also possible to set an arbitrary picture area, more generally, an arbitrary bounding box area.
  • the region of interest may be set by using a predetermined image processing method or an object detection method using machine learning technology even if the user does not explicitly set the region of interest.
  • each region of interest it is preferable to set to be a bounding box having an arbitrary rectangular shape.
  • a region of interest setting unit using image processing or deep learning technology may be included.
  • N regions of interest I (i) src (x,y) that are separated from each other in the input raw image I src (x,y).
  • the i-th region of interest there are parameters describing each region of interest.
  • the i-th region of interest is ofsX (i) src , ofsY (i) src , W (i) src , H (i) src Can be represented by 4 parameters.
  • FIG. 8 shows a shape in which regions of interest set through the above-described process are finally exposed through a screen display device.
  • the i-th region of interest may be represented by four values: ofsX (i) dst , ofsY (i) dst , W (i) dst , and H (i) dst .
  • the original content is size-converted and displayed on the screen display device, and the size conversion ratio information for the regions of interest is input independently to display the corresponding region.
  • FIG. 9 is a flowchart illustrating a method of processing an object of interest according to an embodiment of the present invention.
  • a method of processing an object of interest receives raw content, sets a region of interest in the raw content (S910), transforms the overall size of the original image, and scales the ratio of the region of interest It includes the steps of performing the size conversion (S920 to S940) and the step of synthesizing and displaying the final image by overlaying the region of interest on which the size conversion has been performed on the overall size-converted image (S950).
  • the present invention if there are common areas between regions of interest, merge them, apply a size conversion ratio for the merged bounding box area, and convert the size for areas other than the merged bounding box area Determine the ratio.
  • N regions of interest are set for the original content I src (x,y).
  • i-th interest region information is ⁇ ofsX (i) src , ofsY (i) src , W (i) src , H (i) src ⁇ , Can be expressed as
  • the region of interest may be explicitly set by the user through the user interface, or may be automatically set using image processing or machine learning technology.
  • the size conversion ratio is determined according to a predetermined value or a predetermined calculation procedure.
  • min() is a function for calculating the minimum value among input values
  • max() is a function for calculating the maximum value
  • function() is an arbitrary function.
  • the final image is displayed by overlaying the N regions of interest performed by the size conversion in (i-7) to the position determined in (i-6) in the result image converted and output in the above-mentioned (i-5) process.
  • the video to be synthesized is displayed on the display device.
  • FIG. 10 is a flowchart illustrating a method of processing an object of interest according to another embodiment of the present invention.
  • the region of interest is set in the raw content (S1010), the regions of interest common to each other are merged (S1020), and a partial region for regions of interest and uninteresting regions is set, and The position and size conversion ratio is determined for each area (S1030), and the size of each partial area is converted to synthesize a final image and displayed on a screen display device (S1040).
  • FIG. 11 an example of merging multiple regions of interest when they are established is illustrated.
  • the regions of interest set in this way have a region common to each other between two arbitrary regions of interest in the horizontal or vertical direction, they are merged into one bounding box.
  • the bounding box which has already been merged, merges the remaining regions of interest that are not merged in the horizontal and vertical directions if there is a common portion.
  • the merged bounding box It is desirable to determine the merged bounding box to be the smallest sized bounding box that contains two regions of interest.
  • the bounding box including “interest zone 1” and “interest zone 2” becomes an independent bounding box because there are no longer common areas with other regions of interest.
  • the partial regions are created by extending each edge of each bounding box in the horizontal and vertical axes of the image.
  • FIG. 12 this is an example of setting partial regions in the example shown in FIG. 11.
  • regions 7 and 19 correspond to the two merged bounding boxes in FIG. 11.
  • the size conversion ratio is determined according to a predetermined value or a predetermined calculation procedure.
  • min() is a function for calculating the minimum value among input values
  • max() is a function for calculating the maximum value
  • function() is an arbitrary function.
  • the size conversion ratio is also determined for areas other than the merged bounding box area.
  • the horizontal and vertical ratios of region 7 of FIG. 12 are R w (1) and R h (1)
  • the horizontal size conversion ratio of region ⁇ 2, 12, 17, 22 ⁇ is R It should be w (1)
  • the vertical size conversion ratio in the ⁇ 6, 8, 9, 10 ⁇ area should be converted to be R h (1) .
  • the horizontal size conversion rate of area ⁇ 4, 9, 14, 24 ⁇ is R w (2) .
  • the vertical size conversion ratio of ⁇ 16, 17, 18, 20 ⁇ area should be converted to be R h (2) .
  • each area there is a portion where the ratio is determined and a portion that is not.
  • the ⁇ 7, 9, 17, 19 ⁇ regions have both horizontal and vertical size conversion ratios determined.
  • the size conversion ratio is not determined at all.
  • FIGS. 13A and 13B illustrate a bounding box area and a peripheral area according to another exemplary embodiment of the present invention.
  • FIGS. 13A and 13B illustrate a case in which there is one bounding box area including regions of interest to help those skilled in the art to understand. The limited case is shown.
  • 13A is an example in which one bounding box area exists.
  • region 5 corresponds to a bounding box region in which regions of interest are merged.
  • the size conversion is performed without special processing in a method according to the prior art, it is represented by a linear mapping function of a linear shape, and the slope to be.
  • the first size conversion ratio is determined, as shown in FIG. 14B.
  • the jth bounding box is on the horizontal axis from Until it occupies an area.
  • this straight line is the horizontal axis point Point A meets vertical line passing through And this straight line is the vertical axis point The point of intersection with the vertical line passing through is C. Obviously
  • the horizontal size conversion ratio of ⁇ 1, 4, 7 ⁇ regions is as shown in FIG. 14B, Can be determined, and the horizontal size conversion ratio of ⁇ 3, 6, 9 ⁇ areas is You can decide.
  • the size conversion ratio of sub-regions that are not determined can be automatically determined by first setting a given size conversion ratio for the bounding box, and obtaining intersection points through this. .
  • the images of the partial regions are respectively size-converted at the determined size conversion ratio of the partial regions, and the images are displayed on the display device by combining them.
  • parameters for homography transformation are provided.
  • N interest regions are set for the original content I src (x,y).
  • i-th interest region information is ⁇ ofsX (i) src , ofsY (i) src , W (i) src , H (i) src ⁇ , Can be expressed as
  • the region of interest may be explicitly set by the user through the user interface, or may be automatically set using image processing or machine learning technology.
  • the homography transformation matrix serves to perform shape transformation from an input image to an output image as shown in [Equation 6] below.
  • the image to be finally expressed is overlaid and displayed on the display device.
  • a method of processing an object of interest may be implemented in a computer system or recorded on a recording medium.
  • the computer system may include at least one processor, memory, a user input device, a data communication bus, a user output device, and storage. Each of the above-described components communicates through a data communication bus.
  • the computer system can 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 memory and/or storage.
  • the memory and storage may include various types of volatile or nonvolatile storage media.
  • the memory may include ROM and RAM.
  • a method for processing an object of interest according to an embodiment of the present invention may be implemented in a method executable on a computer.
  • computer-readable instructions may perform the processing method according to the present invention.
  • Computer-readable recording media includes all kinds of recording media storing data that can be read by a computer system.
  • ROM read only memory
  • RAM random access memory
  • magnetic tape magnetic tape
  • magnetic disk magnetic disk
  • flash memory magnetic tape
  • optical data storage device optical data storage device
  • the computer-readable recording medium may be distributed over computer systems connected through a computer communication network, and stored and executed as code readable in a distributed manner.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

본 발명은 콘텐츠 표출 시 관심 객체를 처리하는 장치 및 그 방법에 관한 것이다. 본 발명에 따른 관심 객체 처리 장치는 원시 콘텐츠를 수신하는 영상 수신부와, 원시 콘텐츠에 대한 변환 프로그램이 저장된 메모리 및 프로그램을 실행시키는 프로세서를 포함하고, 프로세서는 원시 콘텐츠 내의 관심 영역을 설정하고, 관심 영역에 대해 크기 변환 비율에 따른 크기 변환을 수행하고, 최종 영상을 합성하여 표출하는 것을 특징으로 한다.

Description

관심 객체 처리 장치 및 그 방법
본 발명은 콘텐츠 표출 시 관심 객체를 처리하는 장치 및 그 방법에 관한 것이다.
종래 기술에 따르면, 화면표시장치에 콘텐츠를 표출함에 있어서 원시 콘텐츠의 가로 세로 비율이 화면표시장치의 가로 세로 비율과 서로 다른 경우, 표시할 정보가 왜곡되어 표출되는 문제점이 있다.
종래 기술에 따르면, 원시 콘텐츠의 가로 세로 비율과 화면표시장치의 가로 세로 비율의 차이를 고려하지 않고, 단순 비례식을 통해 콘텐츠의 크기를 변환함으로써, 콘텐츠 내부 관심 영역에 해당하는 부분의 모양이 당초 의도와 달리 심하게 왜곡될 수 있고, 정보 전달에 어려움이 발생되는 문제점이 있다.
본 발명은 전술한 문제점을 해결하기 위하여 제안된 것으로, 다양한 화면 표시 장치에 콘텐츠를 표시함에 있어서, 중요한 영역에 대한 왜곡 문제를 해결하고, 중요한 영역을 강조하는 것이 가능한 관심 객체 처리 장치 및 방법을 제공하는데 그 목적이 있다.
본 발명에 따른 관심 객체 처리 장치는 원시 콘텐츠를 수신하는 영상 수신부와, 원시 콘텐츠에 대한 변환 프로그램이 저장된 메모리 및 프로그램을 실행시키는 프로세서를 포함하고, 프로세서는 원시 콘텐츠 내의 관심 영역을 설정하고, 관심 영역에 대해 크기 변환 비율에 따른 크기 변환을 수행하고, 최종 영상을 합성하여 표출하는 것을 특징으로 한다.
본 발명에 따른 관심 객체 처리 방법은 원시 콘텐츠를 수신하고, 원시 콘텐츠 내의 관심 영역을 설정하는 단계와, 원시 영상에 대해 전체적으로 크기 변환하고, 관심 영역에 대하여 크기 변환 비율에 따른 크기 변환을 수행하는 단계 및 전체적으로 크기 변환된 영상에 크기 변환이 수행된 관심 영역을 오버레이하여 최종 영상을 합성하고, 표출하는 단계를 포함하는 것을 특징으로 한다.
본 발명의 실시예에 따르면, 공연, 광고, 전시, 홍보를 위해 다양한 화면표시장치를 활용할 시, 표출되는 정보의 왜곡을 줄이는 것이 가능한 효과가 있다.
본 발명의 효과는 이상에서 언급한 것들에 한정되지 않으며, 언급되지 아니한 다른 효과들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.
도 1은 원시 콘텐츠를 도시한다.
도 2는 도 1에 도시한 원시 콘텐츠를 종횡비가 다른 화면표시 장치에 표출한 화면을 도시한다.
도 3은 종래 기술에 따른 콘텐츠 표출 방식을 도시한다.
도 4는 본 발명의 실시예에 따른 관심 객체 처리 장치를 나타내는 블록도이다.
도 5는 본 발명의 실시예에 따른 관심 영역에 대한 종횡비 유지 결과를 도시한다.
도 6은 본 발명의 실시예에 따른 관심 영역 설정을 도시한다.
도 7은 본 발명의 실시예에 따른 관심 영역에 대한 바운딩 박스의 오프셋 위치 및 가로세로 길이를 도시한다.
도 8은 본 발명의 실시예에 따른 최종 영상 표출을 도시한다.
도 9는 본 발명의 실시예에 따른 관심 객체 처리 방법을 나타내는 순서도이다.
도 10은 본 발명의 다른 실시예에 따른 관심 객체 처리 방법을 나타내는 순서도이다.
도 11은 본 발명의 다른 실시예에 따른 관심 영역 병합을 도시한다.
도 12는 본 발명의 다른 실시예에 따른 부분 영역 설정을 도시한다.
도 13a 및 도 13b는 본 발명의 다른 실시예에 따른 바운딩 박스 영역 및 주변 영역을 도시한다.
도 14a 및 도 14b는 본 발명의 다른 실시예에 따른 주변 영역에 대한 크기변환 비율 결정을 도시한다.
도 15는 본 발명의 또 다른 실시예에 따른 화면표시 장치 사용례를 도시한다.
본 발명의 전술한 목적 및 그 이외의 목적과 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다.
그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 이하의 실시예들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 목적, 구성 및 효과를 용이하게 알려주기 위해 제공되는 것일 뿐으로서, 본 발명의 권리범위는 청구항의 기재에 의해 정의된다.
한편, 본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성소자, 단계, 동작 및/또는 소자가 하나 이상의 다른 구성소자, 단계, 동작 및/또는 소자의 존재 또는 추가됨을 배제하지 않는다.
이하에서는, 당업자의 이해를 돕기 위하여 본 발명이 제안된 배경에 대하여 먼저 서술하고, 본 발명의 실시예에 대하여 서술하기로 한다.
도 1에 도시한 바와 같은 원시 콘텐츠가 주어짐을 가정하며, 원시 콘텐츠의 가로길이는 Wsrc, 세로길이는 Hsrc라고 가정한다.
여기서 길이의 단위는 픽셀(pixels)의 수 또는 미터법에서 정의하는 것과 같은 임의의 통일된 길이단위가 사용될 수 있는데, 특정한 길이단위에 한정하여 사용할 필요는 없으며, 소정의 정해진 단위를 일관되게 사용하면 문제가 없다.
그럼에도 불구하고, 매우 특수한 화면표시 환경의 경우 픽셀이 표출되는 가로세로의 비(종횡비)가 1:1이 아닐 수 있는데, 이 경우에는 원시 콘텐츠(RAW Contents)와 최종적으로 화면표시장치를 거쳐 표출된 콘텐츠(Displayed contents)를 소정의 길이단위로 일관되게 변환하여 처리한다.
이하 도 4 내지 도 15를 참조하여 본 발명의 바람직한 실시예를 설명함에 있어서는, 당업자의 이해를 돕기 위하여 화면표시장치에서 픽셀을 표현하는 소자의 종횡비는 1:1로 동일하다고 가정하고, 픽셀의 수와 길이단위의 차이를 두지 않고 그 실시예를 설명한다.
그러나, 하지만 종횡비가 동일하지 않는 경우도 본 발명에서 제안하는 개체 처리 방법을 쉽게 적용할 수 있음은 물론이다.
다시 도 1을 참조하면, “가나다...”, “ABC...”라는 글자가 적혀져 있는데, 통상적으로 이러한 글자정보는 정보 전달의 관점에서 볼 때 가급적 왜곡이 적게 표출되는 것이 바람직하다.
그러나 원시 콘텐츠를 도 2에 도시한 바와 같이, 종횡비가 다른 화면표시장치에 표출하는 경우, 표출되는 콘텐츠는 특정 방향으로 늘어지거나 줄어들어서 표시되는 문제점이 있다.
종래 기술에 따른 문제점을 보다 명확하게 서술하기 위해, 수식을 이용하여 설명한다.
도 1에서 도시한 바와 같은 2차원 영상 형태의 원시 콘텐츠를 Isrc(x,y)라고 할 때, 도 2에 도시한 화면표시장치에 표출하기 위한 목표콘텐츠를 Idst(x,y)의 크기로 변환하여 모델링할 수 있다.
여기서 x는
Figure PCTKR2018016817-appb-I000001
로써 임의 픽셀의 가로 위치를 나타내는 인덱스를 의미하고, y는
Figure PCTKR2018016817-appb-I000002
는 임의의 픽셀의 세로 위치를 나타내는 인덱스를 의미한다.
크기변환과 관련하여, 종래 기술에 따르면 원시 콘텐츠를 화면표시장치에 꽉 채워 표출하기 위해, 아래의 [수학식 1]과 같은 형태의 함수를 호출하여 처리할 수 있다.
[수학식 1]의 함수는 가로세로 크기가 (Wsrc, Hsrc)인 입력된 영상 Isrc(x,y)를 가로세로 크기 (Wdst, Hdst)로 변환 처리된 영상 Idst(x,y)를 생성한다는 의미를 포함하고 있다.
Figure PCTKR2018016817-appb-M000001
상기 [수학식 1]에서 resize() 함수를 행렬(matrix) 표현식으로 나타내면 아래 [수학식 2]와 같다.
즉, 벡터로 표현된 입력 영상의 좌표위치
Figure PCTKR2018016817-appb-I000003
를 출력 영상의 좌표위치
Figure PCTKR2018016817-appb-I000004
로 매핑한다.
Figure PCTKR2018016817-appb-M000002
[수학식 2]에서 Rw는 가로방향으로의 크기변환비율(resize ratio)을 나타내고, Rh는 세로방향으로의 크기변환비율을 나타낸다.
여기서 픽셀의 좌표를 나타내는 좌표 인덱스값은 각각
Figure PCTKR2018016817-appb-I000005
,
Figure PCTKR2018016817-appb-I000006
,
Figure PCTKR2018016817-appb-I000007
,
Figure PCTKR2018016817-appb-I000008
가 된다.
행렬의 곱셈으로 나타난 [수학식 2] 의 표현은 전술한 [수학식 1] 의 resize 함수에 대한 수학적 개념을 나타내는 것으로써, 컴퓨터 프로그램을 사용하여 실제 구현 시에는 보다 복잡한 처리들이 추가로 필요하다.
일례로 영상의 크기변환이나 모양변환 시 행렬 연산을 통한 전방향 사상(forward mapping)을 수행한다면, 목적 영상의 좌표인덱스에 소수점이 들어갈 수 있는데, 이를 정수로 바꾸는 과정에서 목적 영상에 좌표가 계산되지 않아 영상이 표현되지 않는 부분이 생길 수 있게 된다.
이를 해결하려면 최종 영상을 기준으로 역방향으로 계산 처리하는 것이 일반적이다.
또한 영상을 줄이는 변화에 있어서도 언더샘플링(Under sampling)에 의한 에일리어싱(Aliasing) 문제가 발생할 수 있는데 이를 해결하기 위해 저역통과 필터링과 같은 부가적인 처리가 추가될 수 있다.
이와 같은 추가적인 과정들은 이하, 도 4 내지 도 15를 참조하여 설명하는 본 발명의 실시예와 함께 사용될 수 있다.
[수학식 2]를 도 2의 관점에서 해석하여 보면, 예를 들어 10x10 픽셀 크기의 영상을 20x10 크기의 화면표시장치에 가로세로에 대해 선형적으로 크기를 변환하여 표출한다고 가정하면,
Figure PCTKR2018016817-appb-I000009
,
Figure PCTKR2018016817-appb-I000010
이 되어 종횡비 1:1의 원시콘텐츠를 종횡비 2:1로 바뀌어 표출되도록 처리하게 된다.
따라서, 도 2에 도시한 바와 같이, 결과적으로 세로에 비해 가로가 2배 늘어난 왜곡된 영상을 보게 된다.
종래 기술에 따르면, 이러한 문제를 해결하기 위해, 도 3에 도시한 바와 같이, 화면표시장치의 가로세로 비율이 원시 콘텐츠와 다른 경우, 원시 콘텐츠를 강제로 늘이지 않고 비율을 유지하여 화면에 표출하는 방법을 사용하기도 하였다.
즉, 이는 원시 콘텐츠가 화면표시장치를 넘치지 않는 선에서 최대로 키워서 화면에 표출하는 식이다.
그러나 종래의 기술에서는 도 3에 도시한 바와 같이, 콘텐츠를 표출하지 않는 빈 공간이 발생할 수 있었다.
빈 공간 없이 콘텐츠가 표시되는 것이 바람직한 경우도 발생 수 있으며, 콘텐츠 내부의 일부 관심 있는 중요한 영역들에 대해서만 사전에 정의된 종횡비를 유지할 필요성이 존재하였으며, 본 발명은 이러한 점에 착안하여 제안된 관심 객체 처리 장치 및 그 방법을 제공한다.
도 4는 본 발명의 실시예에 따른 관심 객체 처리 장치를 나타내는 블록도이다.
본 발명의 실시예에 따른 관심 객체 처리 장치는 원시 콘텐츠를 수신하는 영상 수신부(100)와, 원시 콘텐츠에 대한 변환 프로그램이 저장된 메모리(200) 및 프로그램을 실행시키는 프로세서(300)를 포함하고, 프로세서(300)는 원시 콘텐츠 내의 관심 영역을 설정하고, 관심 영역에 대해 크기 변환 비율에 따른 크기 변환을 수행하고, 최종 영상을 합성하여 표출한다.
프로세서(300)는 사용자 입력 또는 객체검출 알고리즘을 이용하여 관심 영역을 바운딩 박스로 설정한다.
이 때, 프로세서(300)는 관심 영역에 대한 바운딩 박스의 오프셋 위치, 가로 길이 및 세로 길이를 통해 관심 영역을 설정하고, 목표 콘텐츠 내에서 관심 영역이 표출될 위치를 결정하고, 크기 변환 비율에 따라 관심 영역에 대한 크기 변환을 수행한다.
프로세서(300)는 관심 영역들 간에 공통되는 영역이 존재하는 경우 이들을 병합하고, 병합된 바운딩 박스 영역에 대한 크기 변환 비율을 적용하고, 병합된 바운딩 박스 영역 이외의 나머지 영역에 대한 크기 변환 비율을 결정한다.
프로세서(300)는 관심 영역에 대한 호모그래피 변환을 위한 파라미터를 이용하여 관심 영역에 대한 모양 변환을 수행하는 것이 가능하다.
본 발명의 실시예에 따르면, 도 5에 도시한 바와 같이, 빈 공간 없이 콘텐츠를 표출하면서도 소정의 방법으로 설정된 관심 영역들에 대해서는 목적에 맞게 설정된 종횡비가 유지되거나 크기를 조절할 수 있도록 하는 것을 특징으로 한다.
도 5에 도시한 바와 같이, “가나다...”, “ABC...”라는 2개의 분리된 영역들이 관심 영역으로 설정되는데, 이하에서 설명하는 구체적인 실시예를 통해, 관심 영역에 대해서는 종횡비를 유지하거나 조절하는 것이 가능하다.
이하에서는, 원시콘텐츠가 화면표시장치를 통해 최종적으로 표출된 모양이 직사각형 형태로 가정하여도 무관한 경우에 대해서 관심 영역을 설정하고 및 영상처리를 수행하는 실시예에 대해 설명한다.
도 6을 참조하면, 입력된 원시영상 Isrc(x,y)가 있을 때, 관심 영역을 설정한다.
도 6에 도시된 바와 같이, “가나다...”, “ABC...”, “123...” 영역에 대해, 사각형 형태의 바운딩 박스로 설정된 3개의 관심 영역이 존재한다.
관심 영역들의 설정은 사용자가 마우스나 키보드와 같은 소정의 입력장치를 사용하여 각각의 영역을 설정할 수 있다.
따라서 본 발명의 실시예에 따르면, 사용자 입력을 받을 수 있게 하는 입력장치를 포함할 수 있다.
그리고 도 6의 예시에서는 글자를 관심 영역으로 설정한 것인데, 임의의 그림영역, 더 일반적으로는 임의의 바운딩 박스 영역을 설정하는 것도 가능하다.
관심 영역 설정은 사용자가 명시적으로 하지 않더라도 소정의 영상처리 방법이나 기계학습 기술에 의한 객체검출 방법을 사용하여 수행할 수 있다.
예컨대 사전에 “사람의 얼굴영역을 관심 영역으로 찾기”, “사람의 전신을 관심 영역으로 찾기”, “자동차 객체를 관심 영역으로 찾기”, “건물 영역을 관심 영역으로 찾기”, “영문 알파벳 영역을 관심 영역으로 찾기”, “한글 문장 영역을 관심 영역으로 찾기”, “숫자를 관심 영역으로 찾기”, “언어 상관없이 텍스트 문장을 관심 영역으로 찾기”의 예시들처럼 종래의 영상처리나 기계학습 방법을 사용하여 관심 영역을 찾을 수 있다.
이 때 관심 영역 각각은 임의의 직사각형 형태를 갖는 바운딩 박스가 되도록 설정하는 것이 바람직하다.
서로 분리된 관심 영역의 개수는 N개라고 가정한다.
본 발명의 실시예에 따르면, 영상처리나 딥러닝 기술을 사용한 관심 영역 설정부를 포함할 수 있다.
도 6에 도시한 바와 같이, 입력 원시영상 Isrc(x,y)에는 서로 구분되는 N개의 관심 영역 I(i) src(x,y)들이 존재한다.
Figure PCTKR2018016817-appb-I000011
로써 i번째 관심 영역을 의미하고, 각각의 관심 영역을 기술하는 파라미터가 존재하게 되는데, i번째 관심 영역은 ofsX(i) src, ofsY(i) src, W(i) src, H(i) src라는 4개의 파라미터로 나타낼 수 있다.
도 7을 참조하면, 관심 영역에 대한 바운딩 박스의 오프셋 위치와 각각의 가로세로 길이를 나타낸다.
도 8은 전술한 과정을 통해 설정된 관심 영역들이 화면표시장치를 거쳐 최종 표출된 형상을 나타낸다.
이 경우 i번째 관심 영역은 ofsX(i) dst, ofsY(i) dst, W(i) dst , H(i) dst라는 4개의 수치로 나타낼 수 있다.
임의의
Figure PCTKR2018016817-appb-I000012
번째 관심 영역에 대해서 {ofsX(i) src, ofsY(i) src, W(i) src, H(i) src}과 {ofsX(i) dst, ofsY(i) dst, W(i) dst , H(i) dst}사이의 관계를 결정하여야 한다.
이러한 관계를 표현하기 위해서 전술한 [수학식 1] 및 [수학식 2]를 각각의 관심 영역에 대해서 다시 정리하면 아래 [수학식 3] 및 [수학식 4]와 같다.
Figure PCTKR2018016817-appb-M000003
Figure PCTKR2018016817-appb-M000004
[수학식 3] 및 [수학식 4]에서,
Figure PCTKR2018016817-appb-I000013
의 관계를 가지고 있다.
Figure PCTKR2018016817-appb-I000014
Figure PCTKR2018016817-appb-I000015
가 종속변수가 아니라 제어에 활용하는 독립변수라고 가정하면,
Figure PCTKR2018016817-appb-I000016
로 나타낼 수 있다.
본 발명의 실시예에 따르면, 원시 콘텐츠가 화면표시장치에 크기변환 되어 표출하는 것과, 독립적으로 관심 영역들에 대한 크기변환 비율 정보를 입력받아 해당 영역을 표출하는 것을 기술적 특징으로 한다.
도 9는 본 발명의 실시예에 따른 관심 객체 처리 방법을 나타내는 순서도이다.
본 발명의 실시예에 따른 관심 객체 처리 방법은 원시 콘텐츠를 수신하고, 원시 콘텐츠 내의 관심 영역을 설정하는 단계(S910)와, 원시 영상에 대해 전체적으로 크기 변환하고, 관심 영역에 대하여 크기 변환 비율에 따른 크기 변환을 수행하는 단계(S920 내지 S940) 및 전체적으로 크기 변환된 영상에 크기 변환이 수행된 관심 영역을 오버레이하여 최종 영상을 합성하고, 표출하는 단계(S950)를 포함한다.
본 발명의 실시예에 따르면, 관심 영역들 간에 공통되는 영역이 존재하는 경우 이들을 병합하고, 병합된 바운딩 박스 영역에 대한 크기 변환 비율을 적용하고, 병합된 바운딩 박스 영역 이외의 나머지 영역에 대한 크기 변환 비율을 결정한다.
이하에서는, 본 발명의 일 실시예에 따른 관심 객체 처리 방법을 보다 상세히 설명한다.
(i-1) 표출해야할 원시 콘텐츠를 Isrc(x,y)라고 가정하면, 크기는 Wsrc, Hsrc이다.
(i-2) 화면표시장치에 대응하여 변환할 목표 콘텐츠의 크기는 Wdst, Hdst라고 가정한다.
이때 Wdst, Hdst대신에 전체적인 크기를 변환하기 위해 필요한 가로 및 세로의 크기변환비율 Rw와 Rh를 명시적으로 입력 받는 것이 가능하다.
(i-3) 원시 콘텐츠 Isrc(x,y)에 대해서 N개의 관심 영역을 설정한다.
설정된 N개의 관심 영역들 중에서 i번째 관심 영역 정보는 {ofsX(i) src, ofsY(i) src, W(i) src, H(i) src},
Figure PCTKR2018016817-appb-I000017
로 표현할 수 있다.
전술한 바와 같이, 관심 영역은 사용자가 명시적으로 사용자 인터페이스를 통해 설정할 수도 있고, 영상처리나 기계학습 기술을 사용하여 자동으로 설정할 수도 있다.
(i-4) i번째 관심 영역의 가로 및 세로 크기변환 Rw (i)과 Rh (i)를 입력 받는다.
만약 입력된 크기변환 비율이 없다면 사전에 내정된 값(default value) 또는 소정의 계산절차에 따라 크기변환비율을 결정한다.
예컨대,
Figure PCTKR2018016817-appb-I000018
또는
Figure PCTKR2018016817-appb-I000019
또는
Figure PCTKR2018016817-appb-I000020
과 같은 계산절차 방식을 사용할 수 있다.
여기서 min()은 입력된 값 중에서 최소값을 계산하는 함수, max()는 최대값을 계산하는 함수, function()은 임의의 함수를 의미한다.
(i-5) Isrc(x,y)를 Idst(x,y)= resize(Isrc(x,y), Wsrc, Hsrc, Wdst, Hdst)와 같이 크기변환한다.
이 때 전술한 바와 같이, Idst(x,y)= resize(Isrc(x,y), Wsrc, Hsrc, Rw, Rh)에 따라 크기변환을 수행할 수도 있다.
그 차이점에 대해 설명하면, 크기 변환 시 {Wsrc, Hsrc, Wdst, Hdst}를 매개변수로 사용하면 크기변환비율을 입력 크기와 출력 크기의 비로써 계산한다는 묵시적 의미가 담겨있는데 반하여, {Wsrc, Hsrc, Rw, Rh}를 매개변수로 사용한다면 명시적으로 가로와 세로의 크기변환비율을 입력해준다는 것이다.
(i-6) i번째 관심 영역이 표출될 위치 {ofsX(i) dst, ofsY(i) dst}를 결정하며, 이는 아래 [수학식 5]와 같이 표현할 수 있다.
Figure PCTKR2018016817-appb-M000005
(i-7) i번째 관심 영역에 대해서 주어진 크기변환비율에 따라서 크기변환을 수행한다.
(i-8) 전술한 (i-5) 과정에서 크기 변환되어 출력된 결과 영상에 (i-7)에서 크기변환 수행한 N개의 관심 영역들을 (i-6)에서 결정한 위치에 오버레이하여 최종 표출할 영상을 합성하고 이를 화면표시장치에 표출한다.
전술한 실시예에 따르면, 관심 영역들과 관심 영역 이외의 영역들이 연속적으로 이어지지 않을 수 있는 경우가 발생한다.
본 발명의 다른 실시예에서는, 전술한 실시예와 유사하지만, 제약조건이 강화됨에 따라 관심 영역들과 관심 영역 이외의 영역들이 연속적으로 이어질 수 있도록 하는 방법을 개시한다.
도 10은 본 발명의 다른 실시예에 따른 관심 객체 처리 방법을 나타내는 순서도이다.
본 발명의 다른 실시예에 따르면, 원시콘텐츠에서 관심 영역을 설정하고(S1010), 서로 공통되는 관심 영역들을 합병하고(S1020), 관심 영역들과 비관심 영역들에 대한 부분 영역을 설정하고, 부분 영역별로 위치 및 크기변환비율을 결정하고(S1030), 각각의 부분 영역들을 크기변환하여 최종 영상을 합성하고 화면표시장치에 표출한다(S1040).
본 발명의 다른 실시예에 따른 관심 객체 처리 방법의 과정 중, (ii-1) 내지 (ii-3)은 전술한 (i-1) 내지 (i-3)과 각각 동일하다.
(ii-4) 관심 영역들 사이에 가로방향 혹은 세로방향으로 공통구역이 존재하면 이를 병합하여 하나의 바운딩 박스를 결정한다.
도 11을 참조하면, 다수의 관심 영역들이 설정되었을 때 이를 합병하는 예시가 도시된다.
당업자의 이해를 돕기 위하여, 당초 6개의 관심 영역이 설정되었다고 가정한다.
이렇게 설정된 관심 영역들에 대해서 임의의 2개의 관심 영역들 상호간에 서로 가로방향 혹은 세로방향으로 공통되는 영역이 존재하면 하나의 바운딩 박스로 병합한다.
이미 병합된 바운딩 박스는 병합되지 않은 나머지 관심 영역들과 가로 및 세로방향으로 공통되는 부분이 존재한다면 이를 다시 병합한다.
즉, 도 11에 도시된 예에 따르면, “관심 영역 1”과 “관심 영역 2”가 세로 방향으로 공통영역이 존재하여 하나의 바운딩 박스로 병합된다.
병합된 바운딩 박스는 2개의 관심 영역을 포함하는 최소크기의 바운딩 박스로 결정하는 것이 바람직하다.
“관심 영역 1”과 “관심 영역 2”를 포함하는 바운딩 박스는 더 이상 다른 관심 영역들과 공통영역이 존재하지 않으므로 독립적인 바운딩 박스가 된다.
다음으로 “관심 영역 3”에 대해서 공통되는 관심 영역을 찾아보면, “관심 영역 5”와 “관심 영역 6”이 가로방향에서 공통영역이 존재하여 하나의 바운딩 박스로 병합된다.
병합된 새로운 바운딩 박스는 “관심 영역 4”와 세로방향으로 공통영역이 발생하여 “관심 영역 4”도 함께 병합한다.
결과적으로 도 11에 도시한 예시에서는 2개의 독립된 바운딩 박스가 생성된다.
전술한 바와 같이, 관심 영역들의 병합 과정을 통해 다수의 관심 영역이 설정되었을 때 콘텐츠가 원래의 콘텐츠와 매우 달라지는 문제를 제거해주는 효과가 있으며, 관심 영역과 관심 영역 이외의 영역들 사이에 콘텐츠가 서로 연속적으로 이어지도록 하는 기능을 제공할 수 있다.
(ii-5) 관심 영역들과 비관심 영역들에 대한 부분 영역들을 설정한다.
부분 영역들은 각각의 바운딩 박스의 각 모서리를 영상의 가로축과 세로축으로 연장함으로써 생성된다.
도 12를 참조하면, 이는 도 11에 도시한 예에서 부분 영역들을 설정한 예시이다.
즉, 도 12를 참조하면, 총 25개의 부분 영역이 발생하고 영역7번, 영역19번이 도 11에서의 2개의 병합된 바운딩 박스에 대응하게 된다.
(ii-6) 병합되어 새롭게 생성된 바운딩 박스의 개수가 M개라고 한다면 j번째 바운딩 영역의 가로 및 세로 크기변환비율 Rw (j)과 Rh (j)를 설정파일이나 사용자로부터 입력 받는다.
여기서
Figure PCTKR2018016817-appb-I000021
이고, 만약 별도로 입력된 크기변환비율이 없다면 사전에 내정된 값(default value) 또는 소정의 계산절차에 따라 크기변환비율을 결정한다.
예컨대,
Figure PCTKR2018016817-appb-I000022
또는
Figure PCTKR2018016817-appb-I000023
또는
Figure PCTKR2018016817-appb-I000024
과 같은 계산절차 방식을 사용할 수 있다.
여기서 min()은 입력된 값 중에서 최소값을 계산하는 함수, max()는 최대값을 계산하는 함수, function()은 임의의 함수를 의미한다.
단, 이 과정에서는 각각의 바운딩 박스를 크기변환 했을 때 서로 겹치거나 영향을 주지 않도록 하는 제약조건을 부여하는 것이 바람직하다.
(ii-7) 병합된 바운딩 박스 영역 이외의 나머지 영역들에 대해서도 크기변환비율을 결정한다.
전술한 과정을 통해, 도 12에서 도시된 바와 같이, 영역 7번과 영역 19번은 가로와 세로의 크기변환비율이 결정되어 있으므로 나머지 영역들은 이를 반영하여 결정되는 것이 바람직하다.
예를 들어 도 12에 도시된 의 7번 영역의 가로, 세로 비율이 Rw (1)와 Rh (1)이라고 가정한다면 {2, 12, 17, 22}번 영역의 가로 크기변환비율은 Rw (1)이어야 하고, {6, 8, 9, 10}번 영역의 세로 크기변환비율은 Rh (1)가 되도록 변환되어야 한다.
마찬가지로 영역 19번의 가로와 세로의 크기변환비율이 Rw (2)와 Rh (2)라고 가정한다면, {4, 9, 14, 24}번 영역의 가로 크기변환비율은 Rw (2)이고, {16, 17, 18, 20}번 영역의 세로 크기변환비율은 Rh (2)가 되도록 변환되어야 한다.
영역별로 비율이 결정된 부분과 그렇지 않은 부분이 생기게 된다.
결과적으로 {7, 9, 17, 19}번 영역들은 가로와 세로 크기변환비율이 모두 결정되게 된다.
{2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24}번 영역들은 가로 혹은 세로 크기변환비율 하나만 결정된다.
{1, 3, 5, 11, 13, 15, 21, 23, 25}번 영역들은 크기변환비율이 전혀 결정되지 않게 된다.
이와 같이, 크기변환 비율이 결정되지 않은 영역들이 존재하게 되는데, 본 발명의 실시예에 따르면 이들의 크기변환비율을 결정한다.
도 13a 및 도 13b는 본 발명의 다른 실시예에 따른 바운딩 박스 영역 및 주변 영역을 도시한 것으로, 당업자의 이해를 돕기 위해 도 13a 및 도 13b는 관심 영역들을 포함하는 바운딩박스 영역이 1개인 경우로 한정한 경우를 도시한다.
도 13a는 1개의 바운딩 박스 영역이 존재하는 예시이다.
도 13b는 이를 부분 영역으로 구분한 예로써, 5번 영역이 관심 영역들이 병합된 바운딩 박스 영역에 대응한다.
5번 영역의 가로 및 세로의 크기변환 비율을 각각 Rw (j)와 Rh (j)이라고 가정한다.
가로의 변환비율을 생각하면 2, 5, 8의 가로 비율은 Rw (j)으로 동일하게 결정된다.
반면 {1, 4, 7}번과 {3, 6, 9}번은 결정되지 않았다. 이를 결정하는 방법은 도 14a 및 도 14b를 참조하여 설명한다.
도 14a 및 도 14b는 가로방향으로의 크기변환 관계를 나타낸다.
도 14a와 같이, 종래 기술에 따른 방식으로 특별한 처리를 하지 않고 크기변환을 한다면 직선형태의 선형 매핑함수로 표현되며, 기울기는
Figure PCTKR2018016817-appb-I000025
이다.
반면, 본 발명의 실시예에 따르면, 관심 영역이 설정되고 이를 병합하여 M개의 바운딩 박스가 결정되면,
Figure PCTKR2018016817-appb-I000026
번째 크기변환비율이 결정되며, 이는 도 14b에 도시한 바와 같다.
j번째 바운딩 박스는 가로축에서
Figure PCTKR2018016817-appb-I000027
부터
Figure PCTKR2018016817-appb-I000028
까지 영역을 차지하게 된다.
따라서 이 영역의 중간 위치는
Figure PCTKR2018016817-appb-I000029
가 된다.
그러므로 가로축 상에서 바운딩 박스의 중간위치에 대응하는 세로축 상의 위치는
Figure PCTKR2018016817-appb-I000030
가 된다.
전술한 (ii-6)번 과정에서 j번째 바운딩 영역의 가로 크기변환비율이 Rw (j)로 이미 주어졌으므로, 도 14b의 2차원 좌표계에서의 점
Figure PCTKR2018016817-appb-I000031
를 지나고 기울기가 Rw (j)인 직선을 그린다.
그러면 이 직선이 가로축 점
Figure PCTKR2018016817-appb-I000032
을 지나는 수직선과 만나는 점 A
Figure PCTKR2018016817-appb-I000033
가 되고, 이 직선이 세로축 점
Figure PCTKR2018016817-appb-I000034
을 지나는 수직선과 만나는 점은 C
Figure PCTKR2018016817-appb-I000035
가 된다.
따라서, 도 13a 및 도 13b에서 {1, 4, 7}번 영역들의 가로 크기변환비율은 도 14b에 도시한 바와 같이,
Figure PCTKR2018016817-appb-I000036
로 결정할 수 있고, {3, 6, 9}번 영역들의 가로 크기변환비율은
Figure PCTKR2018016817-appb-I000037
로 결정할 수 있다.
이 과정을 세로축에 대해서도 적용하면 모든 부분 영역들에 대한 가로 및 세로의 크기변환비율을 결정할 수 있다.
본 발명의 실시예에 따르면, 바운딩 박스가 여러 개인 경우에도 바운딩 박스에 대해서 먼저 주어진 크기변환비율을 설정하고, 이를 통해 교차점을 각각 구함으로써 결정되지 않은 부분 영역들의 크기변환비율을 자동으로 결정할 수 있다.
(ii-7) 결정된 부분 영역들의 크기변환비율로 부분 영역들의 영상들을 각각 크기변환하고 이를 하나로 합하여 화면표시장치에 표출한다.
전술한 실시예에서는 표출되는 화면표시장치가 직사각형 형태라고 가정해도 무방한 경우에 대해서, 관심 영역의 종횡비를 사전에 설정한 값으로 처리하기 위한 방법을 설명하였다.
이하에서는, 본 발명의 또 다른 실시예로서, 원시 콘텐츠가 화면표시장치를 통해 임의의 4개의 꼭지점을 갖는 다각형 형태로 변형되는 경우의 관심 영역 설정 및 영상처리 방법을 설명한다.
본 발명의 또 다른 실시예에 따르면, 도 15에 도시된 바와 같이, 프로젝터와 같은 화면표시장치를 사용하는 경우, 최종 표출되는 영상의 모양이 호모그래피 변환되는 것과 같이 왜곡되는 경우에도 관심 영역에 대해서 처리를 수행한다.
본 발명의 또 다른 실시예에서는, 호모그래피 변환을 위한 파라미터를 제공받는다.
이하, 본 발명의 또 다른 실시예에 따른 과정을 설명한다.
(iii-1) 표출해야할 원시 콘텐츠를 Isrc(x,y)라고 가정하며, 그 크기는 Wsrc, Hsrc이다.
(iii-2) 표출해야할 화면표시장치에 표시하기 위해 호모그래피 변환하기 위한 행렬을 U라고 주어졌다고 가정한다.
(iii-3) 원시콘텐츠 Isrc(x,y)에 대해서 N개의 관심 영역을 설정한다.
설정된 N개의 관심 영역들 중에서 i번째 관심 영역 정보는 {ofsX(i) src, ofsY(i) src, W(i) src, H(i) src},
Figure PCTKR2018016817-appb-I000038
로 표현할 수 있다.
전술한 바와 같이, 관심 영역은 사용자가 명시적으로 사용자 인터페이스를 통해 설정할 수도 있고, 영상처리나 기계학습 기술을 사용하여 자동으로 설정할 수도 있다.
(iii-4) i번째 관심 영역에 대한 호모그래피 변환행렬 U(i)의 계수값들을 입력 받는다.
호모그래피 변환행렬은 아래 [수학식 6]과 같이 입력영상을 출력영상으로 모양 변환을 수행하는 역할을 수행한다.
Figure PCTKR2018016817-appb-M000006
만약 입력된 호모그래피 변환행렬이 없다면 사전에 내정된 값(default value) 혹은 소정의 계산절차에 따라 이를 결정한다.
(iii-5) 입력된 콘텐츠 영상을 Isrc(x,y)를 (iii-2)에서 주어진 호모그래피 변환행렬 U를 적용하여 모양변환시킨다.
(iii-6) i번째 관심 영역이 표출될 위치 {ofsX(i) dst, ofsY(i) dst}를 결정하며, 이는 아래 [수학식 7]과 같이 표현할 수 있다.
Figure PCTKR2018016817-appb-M000007
(iii-7) N개의 관심 영역들에 대해서 주어진 호모그래피 변환행렬 U(i),
Figure PCTKR2018016817-appb-I000039
를 이용하여 각각 모양변환을 수행한다.
(iii-8) 전술한 (iii-5)번 과정에서 모양 변환되어 출력된 결과 영상에 (iii-7)에서 모양 변환된 N개의 관심 영역 영상들에 대해 (iii-6)에서 설정한 위치에 오버레이하여 최종 표출할 영상을 합성하고 이를 화면표시장치에 표출한다.
한편, 본 발명의 실시예에 따른 관심 객체 처리 방법은 컴퓨터 시스템에서 구현되거나, 또는 기록매체에 기록될 수 있다. 컴퓨터 시스템은 적어도 하나 이상의 프로세서와, 메모리와, 사용자 입력 장치와, 데이터 통신 버스와, 사용자 출력 장치와, 저장소를 포함할 수 있다. 전술한 각각의 구성 요소는 데이터 통신 버스를 통해 데이터 통신을 한다.
컴퓨터 시스템은 네트워크에 커플링된 네트워크 인터페이스를 더 포함할 수 있다. 프로세서는 중앙처리 장치(central processing unit (CPU))이거나, 혹은 메모리 및/또는 저장소에 저장된 명령어를 처리하는 반도체 장치일 수 있다.
메모리 및 저장소는 다양한 형태의 휘발성 혹은 비휘발성 저장매체를 포함할 수 있다. 예컨대, 메모리는 ROM 및 RAM을 포함할 수 있다.
따라서, 본 발명의 실시예에 따른 관심 객체 처리 방법은 컴퓨터에서 실행 가능한 방법으로 구현될 수 있다. 본 발명의 실시예에 따른 관심 객체 처리 방법이 컴퓨터 장치에서 수행될 때, 컴퓨터로 판독 가능한 명령어들이 본 발명에 따른 처리 방법을 수행할 수 있다.
한편, 상술한 본 발명에 따른 관심 객체 처리 방법은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현되는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체로는 컴퓨터 시스템에 의하여 해독될 수 있는 데이터가 저장된 모든 종류의 기록 매체를 포함한다. 예를 들어, ROM(Read Only Memory), RAM(Random Access Memory), 자기 테이프, 자기 디스크, 플래시 메모리, 광 데이터 저장장치 등이 있을 수 있다. 또한, 컴퓨터로 판독 가능한 기록매체는 컴퓨터 통신망으로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 읽을 수 있는 코드로서 저장되고 실행될 수 있다.
이제까지 본 발명의 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.

Claims (7)

  1. 원시 콘텐츠를 수신하는 영상 수신부;
    상기 원시 콘텐츠에 대한 변환 프로그램이 저장된 메모리; 및
    상기 프로그램을 실행시키는 프로세서를 포함하되,
    상기 프로세서는 상기 원시 콘텐츠 내의 관심 영역을 설정하고, 상기 관심 영역에 대해 크기 변환 비율에 따른 크기 변환을 수행하고, 최종 영상을 합성하여 표출하는 것
    인 관심 객체 처리 장치.
  2. 제1항에 있어서,
    상기 프로세서는 사용자 입력 또는 객체검출 알고리즘을 이용하여 상기 관심 영역을 바운딩 박스로 설정하는 것
    인 관심 객체 처리 장치.
  3. 제2항에 있어서,
    상기 프로세서는 상기 관심 영역에 대한 바운딩 박스의 오프셋 위치, 가로 길이 및 세로 길이를 통해 관심 영역을 설정하고, 목표 콘텐츠 내에서 관심 영역이 표출될 위치를 결정하고, 크기 변환 비율에 따라 상기 관심 영역에 대한 크기 변환을 수행하는 것
    인 관심 객체 처리 장치.
  4. 제2항에 있어서,
    상기 프로세서는 관심 영역들 간에 공통되는 영역이 존재하는 경우 이들을 병합하고, 병합된 바운딩 박스 영역에 대한 크기 변환 비율을 적용하고, 상기 병합된 바운딩 박스 영역 이외의 나머지 영역에 대한 크기 변환 비율을 결정하는 것
    인 관심 객체 처리 장치.
  5. 제1항에 있어서,
    상기 프로세서는 상기 관심 영역에 대한 호모그래피 변환을 위한 파라미터를 이용하여 상기 관심 영역에 대한 모양 변환을 수행하는 것
    인 관심 객체 처리 장치.
  6. (a) 원시 콘텐츠를 수신하고, 상기 원시 콘텐츠 내의 관심 영역을 설정하는 단계;
    (b) 원시 영상에 대해 전체적으로 크기 변환하고, 상기 관심 영역에 대하여 크기 변환 비율에 따른 크기 변환을 수행하는 단계; 및
    (c) 상기 전체적으로 크기 변환된 영상에 상기 크기 변환이 수행된 관심 영역을 오버레이하여 최종 영상을 합성하고, 표출하는 단계
    를 포함하는 관심 객체 처리 방법.
  7. 제6항에 있어서,
    상기 (b) 단계는 관심 영역들 간에 공통되는 영역이 존재하는 경우 이들을 병합하고, 병합된 바운딩 박스 영역에 대한 크기 변환 비율을 적용하고, 상기 병합된 바운딩 박스 영역 이외의 나머지 영역에 대한 크기 변환 비율을 결정하는 것
    인 관심 객체 처리 방법.
PCT/KR2018/016817 2018-12-18 2018-12-28 관심 객체 처리 장치 및 그 방법 WO2020130217A1 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2018-0164509 2018-12-18
KR1020180164509A KR102203272B1 (ko) 2018-12-18 2018-12-18 관심 객체 처리 장치 및 그 방법

Publications (1)

Publication Number Publication Date
WO2020130217A1 true WO2020130217A1 (ko) 2020-06-25

Family

ID=71102176

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2018/016817 WO2020130217A1 (ko) 2018-12-18 2018-12-28 관심 객체 처리 장치 및 그 방법

Country Status (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060159357A1 (en) * 2005-01-19 2006-07-20 Megachips Lsi Solutions Inc. Compression encoder, compression encoding method and program
KR100727390B1 (ko) * 2005-12-26 2007-06-12 삼성전자주식회사 적응적인 영상크기 변환장치 및 그의 영상크기 변환방법
US20110235706A1 (en) * 2010-03-25 2011-09-29 Texas Instruments Incorporated Region of interest (roi) video encoding
KR20160012743A (ko) * 2014-07-25 2016-02-03 삼성전자주식회사 촬영 장치 및 그 촬영 방법

Family Cites Families (2)

* 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
EP2319013B1 (en) * 2008-08-28 2018-02-28 Koninklijke Philips N.V. Apparatus for determining a modification of a size of an object

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060159357A1 (en) * 2005-01-19 2006-07-20 Megachips Lsi Solutions Inc. Compression encoder, compression encoding method and program
KR100727390B1 (ko) * 2005-12-26 2007-06-12 삼성전자주식회사 적응적인 영상크기 변환장치 및 그의 영상크기 변환방법
US20110235706A1 (en) * 2010-03-25 2011-09-29 Texas Instruments Incorporated Region of interest (roi) video encoding
KR20160012743A (ko) * 2014-07-25 2016-02-03 삼성전자주식회사 촬영 장치 및 그 촬영 방법

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LAI-KUAN WONG: "Tearable Image Warping for Extreme Image Retargeting", COMPUTER GRAPHICS INTERNATIONAL 2012 (CGI 2012), 15 June 2012 (2012-06-15), pages 1 - 10, XP055720623 *

Also Published As

Publication number Publication date
KR20200075628A (ko) 2020-06-26
KR102203272B1 (ko) 2021-01-15

Similar Documents

Publication Publication Date Title
WO2021096233A1 (en) Electronic apparatus and control method thereof
WO2017175910A1 (ko) 이미지 처리 방법 및 장치
WO2019035582A1 (en) DISPLAY APPARATUS AND SERVER, AND METHODS OF CONTROLLING THE SAME
WO2019139367A1 (en) Display device and method for touch interface
WO2019022509A1 (en) DEVICE AND METHOD FOR PROVIDING CONTENT
WO2022255529A1 (ko) 머신 러닝 기반의 립싱크 영상 생성을 위한 학습 방법 및 이를 수행하기 위한 립싱크 영상 생성 장치
WO2016080653A1 (en) Method and apparatus for image processing
WO2021172921A1 (ko) 의료 영상 장치 및 의료 영상 처리 방법
EP4367628A1 (en) Image processing method and related device
WO2020130217A1 (ko) 관심 객체 처리 장치 및 그 방법
WO2021075758A1 (en) Electronic apparatus and controlling method thereof
WO2021075705A1 (ko) 전자 장치 및 그의 제어 방법
WO2019074185A1 (en) ELECTRONIC APPARATUS AND CONTROL METHOD THEREOF
EP3659073A1 (en) Electronic apparatus and control method thereof
WO2018070793A1 (en) Method, apparatus, and recording medium for processing image
WO2020122513A1 (ko) 2차원 이미지 처리 방법 및 이 방법을 실행하는 디바이스
WO2022182104A1 (ko) 테이블 생성 방법 및 시스템, 그리고 테이블이 포함된 이미지 보정 방법 및 시스템
WO2018199663A1 (ko) 원근법 대응 이미지 보정 방법 및 장치
WO2022245194A1 (ko) 이미지를 처리하기 위한 방법 및 장치
WO2014010812A1 (ko) 비디오 검색을 위한 블록 생성 방법 및 이를 통해 생성된 블록을 기초로 한 질의 처리 방법
WO2023211000A1 (ko) 컨볼루션 뉴럴 네트워크를 이용한 영상 처리 방법, 전자 디바이스, 및 저장매체
WO2014073777A1 (en) Digital device and method for controlling the same
WO2023153553A1 (ko) 발화 합성 영상 생성 장치 및 방법
WO2023153555A1 (ko) 발화 합성 영상 생성 장치 및 방법
WO2022250372A1 (ko) Ai에 기반한 프레임 보간 방법 및 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18943707

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18943707

Country of ref document: EP

Kind code of ref document: A1