KR20220075686A - Method for detecting mosaic image - Google Patents

Method for detecting mosaic image Download PDF

Info

Publication number
KR20220075686A
KR20220075686A KR1020200164036A KR20200164036A KR20220075686A KR 20220075686 A KR20220075686 A KR 20220075686A KR 1020200164036 A KR1020200164036 A KR 1020200164036A KR 20200164036 A KR20200164036 A KR 20200164036A KR 20220075686 A KR20220075686 A KR 20220075686A
Authority
KR
South Korea
Prior art keywords
image
target object
mosaic
target
anchor point
Prior art date
Application number
KR1020200164036A
Other languages
Korean (ko)
Other versions
KR102525376B1 (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 KR1020200164036A priority Critical patent/KR102525376B1/en
Publication of KR20220075686A publication Critical patent/KR20220075686A/en
Application granted granted Critical
Publication of KR102525376B1 publication Critical patent/KR102525376B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • 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
    • 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
    • G06T3/4038Scaling the whole image or part thereof for image mosaicing, i.e. plane images composed of plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/32Indexing scheme for image data processing or generation, in general involving image mosaicing

Abstract

본 발명의 일 실시예에 따른 모자이크 영상 검출 방법은 모자이크 검출 시스템을 이용하여 영상에서 모자이크를 검출하는 방법으로서, 영상을 구성하는 복수의 이미지 중 적어도 어느 하나인 대상 이미지를 선택하는 단계; 상기 대상 이미지 상에서 기 설정된 대상 객체를 선택하는 단계; 상기 대상 객체를 상기 대상 이미지의 해상도보다 낮은 기 설정된 해상도로 변환하여 대상 변환 이미지를 생성하는 단계; 상기 대상 변환 이미지 상에서 상기 대상 객체의 앵커 포인트(anchor point)를 산출하는 단계; 산출한 상기 대상 객체의 앵커 포인트를 기준으로 상기 대상 객체의 수직 및 수평 에지를 산출하는 단계; 및 산출한 상기 대상 객체의 수평 및 수직 에지를 이용하여 상기 대상 객체가 모자이크인지 여부를 결정하는 단계;를 포함할 수 있다.A mosaic image detection method according to an embodiment of the present invention is a method of detecting a mosaic in an image using a mosaic detection system, the method comprising: selecting a target image that is at least one of a plurality of images constituting the image; selecting a preset target object on the target image; generating a converted target image by converting the target object to a preset resolution lower than the resolution of the target image; calculating an anchor point of the target object on the target transformation image; calculating vertical and horizontal edges of the target object based on the calculated anchor point of the target object; and determining whether the target object is a mosaic by using the calculated horizontal and vertical edges of the target object.

Description

모자이크 영상 검출 방법{METHOD FOR DETECTING MOSAIC IMAGE}Mosaic image detection method

본 발명은 모자이크 영상 검출 방법에 관한 것으로서, 더욱 자세하게는 모자이크 검출 시스템을 이용하여 영상에서 모자이크가 있는지 여부를 검출하는 모자이크 영상 검출 방법에 관한 것이다.The present invention relates to a mosaic image detection method, and more particularly, to a mosaic image detection method for detecting whether there is a mosaic in an image using a mosaic detection system.

최근 들어 불법 영상물이 늘어나고 있다.In recent years, illegal videos have been on the rise.

2019년 8개월간 유튜브에서 적발된 불법복제물 건수가 작년 한 해 치에 맞먹는 9천여건에 달하는 것으로 나타났다.In the eight months of 2019, the number of illegal reproductions detected on YouTube reached 9,000, the same as last year.

한국저작권보호원의 자료에 따르면 주요 웹사이트 모니터링 결과 2019년 초부터 2019년 8월 14일까지 유튜브에서 총 8천833건의 불법복제물이 적발됐다.According to data from the Korea Copyright Protection Agency, as a result of monitoring major websites, a total of 8,833 illegal reproductions were discovered on YouTube from early 2019 to August 14, 2019.

이는 2018년 한 해 적발 건수 8천880건에 육박하는 수준이다This is close to the 8,880 cases detected in 2018.

저작권보호원 저작권보호심의위원회는 불법복제물 등이 전송된 사실을 발견한 경우 심의를 거쳐 온라인서비스 제공자에게 복제·전송자에 대한 경고와 게시물에 대한 삭제 및 전송중단 시정 권고를 하고 있지만 유튜브는 한국 저작권법에 의한 행정조치가 곤란해 시정 권고 조치를 한 사례가 없다.When the Copyright Protection Review Committee of the Korea Copyright Protection Agency finds that illegal reproductions have been transmitted, it goes through deliberation and recommends to the online service provider a warning about the copy/transmitter and the deletion and suspension of transmission of posts, but YouTube does not comply with the Korean Copyright Act. There has been no case of recommending corrective measures due to difficulties in administrative measures.

이에 따라 국내 콘텐츠의 저작권 침해를 방지하기 위해 유튜브 등 해외 사이트에 행정적 조치를 할 수 있는 방안을 마련해야 한다는 지적이 제기된다.Accordingly, it is pointed out that it is necessary to prepare a way to take administrative measures on overseas sites such as YouTube to prevent copyright infringement of domestic content.

한편, 불법 영상물은 모자이크 처리된 영상과 비 모자이크 영상으로 구분될 수 있다.On the other hand, the illegal video material may be divided into a mosaic-processed image and a non-mosaic image.

관리자는 불법 영상물을 판단하는데 있어서, 우선 해당 영상물이 모자이크가 처리된 영상인지 여부를 검토해야 한다.In judging illegal video, the manager must first examine whether the video is a mosaic-processed video.

그러나, 관리자가 일일이 영상을 보고 모자이크가 처리되었는지 여부를 판단해야 하는 번거로움이 있다.However, there is a hassle in that the manager has to check the images one by one and determine whether the mosaic has been processed.

한편, 대한민국 등록특허 제10-1903523호(2018.09.21)에서는 비디오 데이터에서 에지 프로젝션 기반의 모자이크 검출 방법을 개시하고 있다.Meanwhile, Korean Patent Registration No. 10-1903523 (September 21, 2018) discloses a method for detecting a mosaic based on edge projection in video data.

그러나, 입력영상에서 바로 에지를 검출한다는 점에서 입력영상의 화질이 좋지 않은 경우, 모자이크로 판단할 가능성이 농후하다.However, since the edge is detected directly from the input image, if the image quality of the input image is not good, there is a strong possibility of determining it as a mosaic.

본 발명은 상기와 같은 문제를 해결하기 위한 것으로서, 저화질 영상이라도 모자이크 처리가 된 영상을 보다 정확하게 검출할 수 있는 모자이크 영상 검출 방법을 제공하고자 함이다.The present invention is to solve the above problems, and to provide a mosaic image detection method capable of more accurately detecting a mosaic-processed image even in a low-quality image.

본 발명이 해결하고자 하는 과제가 상술한 과제로 제한되는 것은 아니며, 언급되지 아니한 과제들은 본 명세서 및 첨부된 도면으로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The problem to be solved by the present invention is not limited to the above-mentioned problems, and the problems not mentioned will be clearly understood by those of ordinary skill in the art to which the present invention belongs from the present specification and the accompanying drawings. .

본 발명의 일 실시예에 따른 모자이크 영상 검출 방법은 모자이크 검출 시스템을 이용하여 영상에서 모자이크를 검출하는 방법으로서, 영상을 구성하는 복수의 이미지 중 적어도 어느 하나인 대상 이미지를 선택하는 단계; 상기 대상 이미지 상에서 기 설정된 대상 객체를 선택하는 단계; 상기 대상 객체를 상기 대상 이미지의 해상도보다 낮은 기 설정된 해상도로 변환하여 대상 변환 이미지를 생성하는 단계; 상기 대상 변환 이미지 상에서 상기 대상 객체의 앵커 포인트(anchor point)를 산출하는 단계; 산출한 상기 대상 객체의 앵커 포인트를 기준으로 상기 대상 객체의 수직 및 수평 에지를 산출하는 단계; 및 산출한 상기 대상 객체의 수평 및 수직 에지를 이용하여 상기 대상 객체가 모자이크인지 여부를 결정하는 단계;를 포함할 수 있다.A mosaic image detection method according to an embodiment of the present invention is a method of detecting a mosaic in an image using a mosaic detection system, the method comprising: selecting a target image that is at least one of a plurality of images constituting the image; selecting a preset target object on the target image; generating a converted target image by converting the target object to a preset resolution lower than the resolution of the target image; calculating an anchor point of the target object on the target transformation image; calculating vertical and horizontal edges of the target object based on the calculated anchor point of the target object; and determining whether the target object is a mosaic by using the calculated horizontal and vertical edges of the target object.

본 발명의 일 실시예에 따른 모자이크 영상 검출 방법에 의하면, 저화질 영상이라도 모자이크 처리가 된 영상을 보다 정확하게 검출할 수 있는 장점이 있다.According to the method for detecting a mosaic image according to an embodiment of the present invention, there is an advantage that a mosaic-processed image can be more accurately detected even in a low-quality image.

본 발명의 효과가 상술한 효과들로 제한되는 것은 아니며, 언급되지 아니한 효과들은 본 명세서 및 첨부된 도면으로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확히 이해될 수 있을 것이다.Effects of the present invention are not limited to the above-described effects, and effects not mentioned will be clearly understood by those of ordinary skill in the art to which the present invention pertains from the present specification and accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 모자이크 영상 검출 방법을 구현하는 모자이크 영상 검출 시스템의 개략 구성 블록도.
도 2는 본 발명의 일 실시예에 따른 모자이크 영상 검출 방법의 개략 순서도.
도 3은 저화질 영상에서의 모자이크를 설명하지 위한 예시도.
도 4는 내지 도 6은 본 발명의 일 실시예에 따른 모자이크 영상 검출 방법을 설명하지 위한 이미지의 예시도.
1 is a schematic block diagram of a mosaic image detection system implementing a mosaic image detection method according to an embodiment of the present invention;
2 is a schematic flowchart of a mosaic image detection method according to an embodiment of the present invention.
3 is an exemplary diagram for explaining mosaic in a low-resolution image.
4 to 6 are exemplary images for explaining a mosaic image detection method according to an embodiment of the present invention.

이하에서는 도면을 참조하여 본 발명의 구체적인 실시예를 상세하게 설명한다. 다만, 본 발명의 사상은 제시되는 실시예에 제한되지 아니하고, 본 발명의 사상을 이해하는 당업자는 동일한 사상의 범위 내에서 다른 구성요소를 추가, 변경, 삭제 등을 통하여, 퇴보적인 다른 발명이나 본 발명 사상의 범위 내에 포함되는 다른 실시예를 용이하게 제안할 수 있을 것이나, 이 또한 본원 발명 사상 범위 내에 포함된다고 할 것이다. Hereinafter, specific embodiments of the present invention will be described in detail with reference to the drawings. However, the spirit of the present invention is not limited to the presented embodiments, and those skilled in the art who understand the spirit of the present invention may add, change, delete, etc. other elements within the scope of the same spirit, and may use other degenerative inventions or the present invention. Other embodiments included within the scope of the invention may be easily proposed, but this will also be included within the scope of the invention.

본 발명의 일 실시예에 따른 모자이크 영상 검출 방법은 모자이크 검출 시스템을 이용하여 영상에서 모자이크를 검출하는 방법으로서, 영상을 구성하는 복수의 이미지 중 적어도 어느 하나인 대상 이미지를 선택하는 단계; 상기 대상 이미지 상에서 기 설정된 대상 객체를 선택하는 단계; 상기 대상 객체를 상기 대상 이미지의 해상도보다 낮은 기 설정된 해상도로 변환하여 대상 변환 이미지를 생성하는 단계; 상기 대상 변환 이미지 상에서 상기 대상 객체의 앵커 포인트(anchor point)를 산출하는 단계; 산출한 상기 대상 객체의 앵커 포인트를 기준으로 상기 대상 객체의 수직 및 수평 에지를 산출하는 단계; 및 산출한 상기 대상 객체의 수평 및 수직 에지를 이용하여 상기 대상 객체가 모자이크인지 여부를 결정하는 단계;를 포함할 수 있다.A mosaic image detection method according to an embodiment of the present invention is a method of detecting a mosaic in an image using a mosaic detection system, the method comprising: selecting a target image that is at least one of a plurality of images constituting the image; selecting a preset target object on the target image; generating a converted target image by converting the target object to a preset resolution lower than the resolution of the target image; calculating an anchor point of the target object on the target transformation image; calculating vertical and horizontal edges of the target object based on the calculated anchor point of the target object; and determining whether the target object is a mosaic by using the calculated horizontal and vertical edges of the target object.

또, 상기 대상 객체의 앵커 포인트를 산출하는 단계는, 상기 대상 변환 이미지를 상기 대상 이미지의 해상도로 변환하여 상기 대상객체의 앵커 포인트를 산출할 수 있다.In addition, the calculating of the anchor point of the target object may include calculating the anchor point of the target object by converting the target transformed image to a resolution of the target image.

또, 상기 대상 객체의 앵커 포인트를 산출하는 단계는, 상기 대상 변환 이미지 상에서 명암이 기 설정된 기준 이상으로 차이가 있는 경계를 가지는 영역의 중심점으로 상기 대상 객체의 앵커 포인트를 정의할 수 있다.Also, in the calculating of the anchor point of the target object, the anchor point of the target object may be defined as a center point of a region having a boundary in which the contrast is greater than or equal to a preset reference on the target transformation image.

또, 상기 대상 객체의 수직 및 수평 에지를 산출하는 단계는, 상기 대상 객체의 앵커 포인트를 기준으로 명암이 기 설정된 기준 이상으로 차이가 있는 경계를 산출하고, 경계가 상기 대상 객체의 앵커 포인트를 기준으로 기 설정된 거리 이상인 것을 상기 대상 객체의 수직 및 수평 에지로 정의할 수 있다.In addition, the calculating of the vertical and horizontal edges of the target object may include calculating a boundary in which the contrast is different than a preset reference based on the anchor point of the target object, and the boundary is based on the anchor point of the target object A distance greater than or equal to a preset distance may be defined as vertical and horizontal edges of the target object.

또, 상기 대상 객체가 모자이크인지 여부를 결정하는 단계는, 산출한 상기 대상 객체의 수직 및 수평 에지가 기 설정된 개수 이상인 경우 상기 대상 이미지가 모자이크라고 정의할 수 있다.In addition, the determining whether the target object is a mosaic may include defining the target image as a mosaic when the calculated vertical and horizontal edges of the target object are greater than or equal to a preset number.

또, 상기 대상 이미지 상에서 상기 대상 객체가 아닌 비교 영역을 선택하는 단계; 상기 비교 영역을 상기 대상 이미지의 해상도보다 낮은 기 설정된 해상도로 변환하여 비교 변환 이미지를 생성하는 단계; 상기 비교 변환 이미지 상에서 상기 비교 영역의 앵커 포인트(anchor point)를 산출하는 단계; 산출한 상기 비교 영역의 앵커 포인트를 기준으로 상기 비교 영역의 수직 및 수평 에지를 산출하는 단계;를 더 포함하며, 상기 대상 객체가 모자이크인지 여부를 결정하는 단계는, 산출한 상기 비교 영역의 수평 및 수직 에지와 상기 대상 객체의 수평 및 수직 에지를 비교하여 상기 대상 이미지가 모자이크인지 여부를 결정할 수 있다.In addition, selecting a comparison area other than the target object on the target image; generating a comparison conversion image by converting the comparison area to a preset resolution lower than the resolution of the target image; calculating an anchor point of the comparison region on the comparison transformed image; Calculating vertical and horizontal edges of the comparison region based on the calculated anchor point of the comparison region; further comprising, determining whether the target object is a mosaic, the calculated horizontal and horizontal edges of the comparison region Whether the target image is a mosaic may be determined by comparing a vertical edge with horizontal and vertical edges of the target object.

또, 상기 비교 영역을 선택하는 단계는, 상기 대상 이미지 상에서 상기 대상 객체가 차지하는 영역과 동일한 크기의영역을 가지는 상기 비교 영역을 선택할 수 있다.In addition, the selecting of the comparison area may include selecting the comparison area having the same size as an area occupied by the target object on the target image.

또, 상기 비교 영역을 선택하는 단계는, 상기 대상 이미지 상에서 상기 대상 객체가 차지하는 영역을 제외한 영역 중 적어도 일부에 대해 상호 동일한 크기를 가지는 복수개의 분할 영역을 생성하고, 상기 분할 영역을 복수개 선택하여 상기 대상 객체가 차지하는 영역과 동일한 크기의 영역을 가지는 상기 비교 영역을 선택할 수 있다.In addition, the selecting of the comparison region includes generating a plurality of divided regions having the same size with respect to at least a portion of the region excluding the region occupied by the target object on the target image, and selecting a plurality of the divided regions to The comparison area having the same size as the area occupied by the target object may be selected.

각 실시예의 도면에 나타나는 동일한 사상의 범위 내의 기능이 동일한 구성요소는 동일한 참조부호를 사용하여 설명한다.Elements having the same function within the scope of the same idea shown in the drawings of each embodiment will be described using the same reference numerals.

도 1은 본 발명의 일 실시예에 따른 모자이크 영상 검출 방법을 구현하는 모자이크 영상 검출 시스템의 개략 구성 블록도이다.1 is a schematic block diagram of a mosaic image detection system implementing a mosaic image detection method according to an embodiment of the present invention.

도 2는 본 발명의 일 실시예에 따른 모자이크 영상 검출 방법의 개략 순서도이다.2 is a schematic flowchart of a method for detecting a mosaic image according to an embodiment of the present invention.

도 3은 저화질 영상에서의 모자이크를 설명하지 위한 예시도이다.3 is an exemplary diagram for explaining mosaic in a low-quality image.

도 4는 내지 도 6은 본 발명의 일 실시예에 따른 모자이크 영상 검출 방법을 설명하지 위한 이미지의 예시도이다.4 to 6 are exemplary images for explaining a method for detecting a mosaic image according to an embodiment of the present invention.

첨부된 도면은 본 발명의 기술적 사상을 보다 명확하게 표현하기 위하여, 본 발명의 기술적 사상과 관련성이 떨어지거나 당업자로부터 용이하게 도출될 수 있는 부분은 간략화 하거나 생략하였다.In the accompanying drawings, in order to more clearly express the technical spirit of the present invention, parts that are not related to the technical spirit of the present invention or that can be easily derived from those skilled in the art have been simplified or omitted.

도 1 내지 도 6에 도시한 바와 같이, 본 발명의 일 실시예에 따른 모자이크 영상 검출 방법은 모자이크 검출 시스템(10)에 의해 구현되는 것으로서, 영상에 모자이크가 처리되었는지 여부를 검출하는 방법을 의미할 수 있다.1 to 6 , the mosaic image detection method according to an embodiment of the present invention is implemented by the mosaic detection system 10, which means a method of detecting whether a mosaic has been processed in an image. can

통상적으로, 모자이크 검출 방법은 영상을 구성하는 이미지 내에서 수평 및 수직 에지를 검출하여 모자이크인지 여부를 판단하고 있다.In general, a mosaic detection method determines whether a mosaic is a mosaic by detecting horizontal and vertical edges in an image constituting an image.

일반적으로, 모자이크가 처리된 영역은 다음의 특성을 갖는다.In general, the mosaic-treated area has the following characteristics.

첫째, 모자이크 블록 내에 위치한 화소들의 색상은 동일하다. 따라서 모자이크 블록 내부에는 에지가 존재하지 않는다. First, the colors of pixels located in the mosaic block are the same. Therefore, there is no edge inside the mosaic block.

둘째, 모자이크 블록들의 크기는 동일하다. Second, the sizes of the mosaic blocks are the same.

셋째, 모자이크 블록들은 서로 인접해 있으며 군집(cluster)을 형성한다. Third, the mosaic blocks are adjacent to each other and form a cluster.

넷째, 동일한 명암 값을 가진 인접한 모자이크 블록들 사이에는 에지가 존재하지 않는다.Fourth, there is no edge between adjacent mosaic blocks having the same intensity value.

여기서, 도 3(a)는 모자이크 처리된 이미지의 확대도이고, 도 3(b)는 저화질 영상의 이미지이나 모자이크가 처리되지 않는 부분을 확대한 것으로서, 양자를 비교할 때, 모두 수평 및 수직 에지를 갖는다는 점에서, 즉 도3(b)는 실질적으로 모자이크 처리된 이미지가 아니나, 모자이크 처리가 된 것으로 검출될 수 있다는 점에서 문제점이 존재한다.Here, Fig. 3 (a) is an enlarged view of a mosaic-processed image, and Fig. 3 (b) is an enlarged view of an image of a low-quality image or a portion where mosaic is not processed. When comparing both, both horizontal and vertical edges are There is a problem in that it has, that is, FIG. 3(b) is not a substantially mosaic-processed image, but can be detected as a mosaic-processed image.

본 발명은 상기와 같은 문제를 해결하기 위한 것으로서, 상기 모자이크 검출 시스템(10)에 의해 구현될 수 있다.The present invention is intended to solve the above problems, and may be implemented by the mosaic detection system 10 .

도 1은 상기 모자이크 검출 시스템(10)을 구성하는 구성요소들의 개략 블록도이다.1 is a schematic block diagram of components constituting the mosaic detection system 10 .

도 1에 도시한 바와 같이, 상기 모자이크 검출 시스템(10)은 외부 전자장치(P)로부터 판단 대상 영상 등을 수신하는 통신부(300), 모자이크 검출에 필요한 데이터/정보/연산식 등을 저장하는 메모리부(200), 관리자가 모자이크 검출에 필요한 데이터/정보/연산식을 입력할 수 있는 입력부(400), 모자이크 검출 결과 및 모자이크 검출에 필요한 데이터/정보/연산식 등을 표시하는 출력부(500) 및 모자이크 검출을 구현하는 제어부(100)를 포함할 수 있다.As shown in FIG. 1 , the mosaic detection system 10 includes a communication unit 300 that receives an image to be determined from an external electronic device P, and a memory that stores data/information/arithmetic expressions necessary for mosaic detection. Unit 200, an input unit 400 that allows an administrator to input data/information/arithmetic expressions required for mosaic detection, and an output unit 500 that displays mosaic detection results and data/information/arithmetic expressions required for mosaic detection and a control unit 100 that implements mosaic detection.

상기 제어부(100)는 이하에서 설명될 모자이크 검출 방법을 구현하기 위해, 소정의 데이터/정보를 연산하고 모자이크 처리 여부를 판단하는 구성일 수 있다.The control unit 100 may be configured to calculate predetermined data/information and determine whether to perform mosaic processing in order to implement a mosaic detection method to be described below.

즉, 상기 통신부(300)는 판단 대상 영상을 상기 외부 전자장치(P)로부터 획득할 수 있으며, 상기 제어부(100)는 아래에서 설명될 상기 모자이크 검출 방법을 구현할 수 있다.That is, the communication unit 300 may obtain the determination target image from the external electronic device P, and the control unit 100 may implement the mosaic detection method to be described below.

이하에서는, 도 2 내지 도 6을 참조하여, 상기 제어부(100)가 구현하는 본 발명의 일 실시예에 따른 모자이크 검출 방법에 대해 더욱 자세히 설명하겠다.Hereinafter, a mosaic detection method according to an embodiment of the present invention implemented by the controller 100 will be described in more detail with reference to FIGS. 2 to 6 .

상기 모자이크 검출 방법은 판단 대상의 영상을 구성하는 복수의 이미지 중 적어도 어느 하나인 대상 이미지를 선택하는 단계(S10)를 포함할 수 있다.The mosaic detection method may include selecting a target image that is at least one of a plurality of images constituting the image of the judgment target ( S10 ).

상기 대상 이미지를 선택하는 단계(S10)는 상기 통신부(300)를 통해 수신한 영상에서, 영상을 구성하는 복수개의 이미지 중 임의로 모자이크가 처리되었는지 여부를 판단하기 위한 판단 대상인 상기 대상 이미지(A)를 선택할 수 있다.In the step (S10) of selecting the target image, in the image received through the communication unit 300, the target image (A), which is a judgment target for determining whether a mosaic has been arbitrarily processed among a plurality of images constituting the image You can choose.

일례로, 상기 대상 이미지를 선택하는 단계(S10)는 영상을 구성하는 복수의 이미지 중 하나, 또는 적어도 2개 이상을 선택하여 상기 대상 이미지(A)를 생성할 수 있다.For example, in the step of selecting the target image ( S10 ), the target image A may be generated by selecting one or at least two or more from among a plurality of images constituting the image.

여기서, 일례로, 상기 모자이크 검출 방법은 상기 대상 이미지(A) 상에서 기 설정된 대상 객체를 선택하는 단계(S20)를 더 포함할 수 있다.Here, as an example, the mosaic detection method may further include selecting a preset target object on the target image A ( S20 ).

이를 보다 자세히 설명하자면, 상기 대상 객체를 선택하는 단계(S20)는 상기 대상 이미지(A) 전체를 대상으로 연산하여 모자이크 처리가 되었는지 여부를 판단하는 것이 아니라, 상기 대상 이미지(A) 상에서 관리자가 원하는 부분에 모자이크 처리가 되었는지 여부를 판단하기 위해 존재하는 단계일 수 있다.To explain this in more detail, the step (S20) of selecting the target object does not determine whether mosaic processing has been performed by calculating the entire target image (A) as a target, but on the target image (A) as desired by the administrator. It may be a step that exists to determine whether the part has been mosaicized.

예를 들어, 관리자는 상기 대상 이미지(A) 상에 얼굴로 정의되는 부분이 모자이크 처리가 되었는지 여부를 알고 싶은 경우, 얼굴에 대한 부분을 상기 대상 객체(B)로 추출하도록 하는 명령어를 부여할 수 있고, 따라서, 얼굴 부분을 상기 대상 객체(B)로 선택하는 상기 대상 객체를 선택하는 단계(S20)가 구현될 수 있다.For example, if the administrator wants to know whether a part defined as a face on the target image (A) has been mosaicized, a command to extract a part for the face as the target object (B) can be given. Accordingly, the step (S20) of selecting the target object for selecting the face part as the target object (B) may be implemented.

이미지 상에서 얼굴 등 특정 부위에 대한 영역을 추출하는 것은 이미 공지된 기술이라는 점에서 자세한 설명은 생략하겠다.Since extracting a region for a specific part, such as a face, from an image is a known technique, a detailed description will be omitted.

한편, 도 4에 도시한 바와 같이, 상기 대상 객체를 선택하는 단계(S20)는 상기 대상 이미지(A) 상에서 얼굴에 대해 추출하는 기설정 된 명령어에 의해 얼굴 영역에 대한 상기 대상 객체(B)를 추출/선택할 수 있다.On the other hand, as shown in Fig. 4, the step of selecting the target object (S20) is to select the target object (B) for the face region by a preset command to extract the face from the target image (A). You can extract/select.

여기서, 일례로, 상기 모자이크 영상 검출 방법은 상기 대상 객체(B)를 상기 대상 이미지(A)의 해상도보다 낮은 기 설정된 해상도로 변환하여 대상 변환 이미지를 생성하는 단계(S30)를 더 포함할 수 있다.Here, as an example, the method for detecting a mosaic image may further include generating a converted target image by converting the target object B to a preset resolution lower than the resolution of the target image A ( S30 ). .

상기 대상 변환 이미지를 생성하는 단계(S30)는 아래에서 설명될 앵커 포인트(P)를 보다 정확하게 찾기 위해 상기 대상 객체(B)를 전 처리하는 단계를 의미할 수 있다.The step of generating the target transformation image ( S30 ) may refer to a step of pre-processing the target object B in order to more accurately find the anchor point P, which will be described below.

이를 보다 자세히 설명하자면, 도 4에 도시한 바와 같이, 상기 대상 변환 이미지를 생성하는 단계(S30)는 상기 대상 이미지(A)와 동일한 해상도를 가지는 상기 대상 객체(B)의 해상도를 상대적으로 낮은 저해상도로 변환 및/또는 흑백 처리하여 상기 대상 객체(B)에 대한 상기 대상 변환 이미지(C)를 생성할 수 있다.To explain this in more detail, as shown in FIG. 4 , the step of generating the target transformed image ( S30 ) is to reduce the resolution of the target object B having the same resolution as the target image A to a relatively low low resolution. It is possible to generate the target transformed image (C) for the target object (B) by converting and/or black-and-white processing.

그 결과, 상기 대상 변환 이미지(C)는 명암, 색도 등이 단순화될 수 있다.As a result, the object conversion image C may be simplified in contrast, chromaticity, and the like.

여기서, 일례로, 상기 모자이크 영상 검출 방법은 상기 대상 변환 이미지(C) 상에서 상기 대상 객체의 앵커 포인트(anchor point)를 산출하는 단계(S40)를 더 포함할 수 있다.Here, as an example, the method for detecting a mosaic image may further include calculating an anchor point of the target object on the target transformed image C ( S40 ).

상기 앵커 포인트(P)는 모자이크 처리 여부를 판단하는 기준점을 의미할 수 있다.The anchor point P may refer to a reference point for determining whether to perform mosaic processing.

일례로, 상기 앵커 포인트(P)는 아래에서 설명될 대상 객체의 수직 및 수평 에지를 산출하는 단계(S50)에서 수직 및 수평 에지를 찾기 위한 기준점일 수 있다.For example, the anchor point P may be a reference point for finding vertical and horizontal edges in the step S50 of calculating vertical and horizontal edges of a target object, which will be described below.

한편, 도 4에 도시한 바와 같이, 상기 대상 객체의 앵커 포인트를 산출하는 단계(S40)는 상기 변환 이미지 상에서 상대적으로 명도가 낮은(흰색 부분) 부분 상에 상기 앵커 포인트(P)를 생성할 수 있다.On the other hand, as shown in FIG. 4 , in the step of calculating the anchor point of the target object ( S40 ), the anchor point P can be generated on a portion with relatively low brightness (white portion) on the converted image. have.

상기 변환 이미지 상에서 상대적으로 명도가 낮은 부분은 상기 대상 이미지(A) 상에 상대적으로 색도의 변화 큰 경계를 의미하는 것으로서, 상기 대상 객체의 앵커 포인트를 산출하는 단계(S40)는 상기 대상 변환 이미지(C)를 상기 대상 이미지(A)의 해상도로 변환하여 색도의 변화가 큰 경계 상에, 상기 대상 객체(B)의 앵커 포인트(P)를 산출하여, 상기 대상 객체(B) 상에 표시할 수 있다.A portion having a relatively low brightness on the converted image means a boundary with a relatively large change in chromaticity on the target image (A), and the step of calculating the anchor point of the target object (S40) is the target transformed image ( By converting C) to the resolution of the target image (A), the anchor point (P) of the target object (B) is calculated on a boundary with a large change in chromaticity, and displayed on the target object (B) have.

이를 보다 자세히 설명하자면, 도 4에 도시한 바와 같이, 상기 대상 객체의 앵커 포인트를 산출하는 단계(S40)는 상기 대상 변환 이미지(C)를 상기 대상 이미지(A)의 해상도로 다시 변환한 후, 상기 변환 이미지 상에 존재한 명도가 낮은 부분(예들 들어, 상기 대상 변환 이미지(C) 상에서 명암이 기 설정된 기준 이상으로 차이가 있는 경계를 가지는 영역)을 상기 대상 이미지(A)의 해상도로 재 변환된 상기 대상 객체(D) 상에 대응시킴과 동시에, 상기 대상 변환 이미지(C) 상에서 명암이 기 설정된 기준 이상으로 차이가 있는 경계를 가지는 영역(복수의 블록)의 중심점을 재 변환된 상기 대상 객체(D) 상의 대응되는 해당 부분에 표시함으로써 재 변환된 상기 대상 객체(D) 상에 앵커 포인트(P)를 생성할 수 있다.To explain this in more detail, as shown in Fig. 4, the step of calculating the anchor point of the target object (S40) is to convert the target transformed image (C) back to the resolution of the target image (A), Re-converting a portion with low brightness existing on the converted image (eg, a region having a boundary in which the contrast is greater than or equal to a preset standard on the converted target image C) into the resolution of the target image A At the same time as corresponding to the target object D, the target object in which the center point of a region (a plurality of blocks) having a boundary in which the contrast is different than a preset standard on the target transformation image C is re-transformed An anchor point (P) can be created on the re-transformed target object (D) by displaying the corresponding part on (D).

여기서, 일례로, 상기 모자이크 영상 검출 방법은 산출한 상기 대상 객체(B)의 앵커 포인트(P)를 기준으로 상기 대상 객체의 수직 및 수평 에지를 산출하는 단계(S50)를 더 포함할 수 있다.Here, as an example, the method for detecting a mosaic image may further include calculating vertical and horizontal edges of the target object based on the calculated anchor point P of the target object B ( S50 ).

이를 보다 자세히 설명하자면, 도 5는 상기 대상 객체(B) 상에 앵커 포인트(P) 및 상기 앵커 포인트(붉은 점, 푸른 점)를 기준으로 산출된 수직 및 수평 에지(노란 선)가 표시된 것을 도시한 것으로서, 상기 대상 객체의 수직 및 수평 에지를 산출하는 단계(S50)는, 상기 대상 객체(B)의 앵커 포인트(P)를 기준으로 명암 및/또는 색도가 기 설정된 기준 이상으로 차이가 있는 경계를 산출하고, 산출한 경계가 상기 대상 객체(B)의 앵커 포인트(P)를 기준으로 기 설정된 거리 이상인 것을 상기 대상 객체(B)의 수직 및 수평 에지로 정의하여, 상기 대상 객체(B)의 수직 및 수평 에지를 검출할 수 있다.To explain this in more detail, FIG. 5 shows that the vertical and horizontal edges (yellow lines) calculated based on the anchor point P and the anchor point (red point, blue point) are displayed on the target object B. As one thing, the step of calculating the vertical and horizontal edges of the target object (S50) is a boundary in which the contrast and/or chromaticity are different than a preset standard based on the anchor point P of the target object B. , and the calculated boundary is defined as the vertical and horizontal edges of the target object B as the vertical and horizontal edges of the target object B as the vertical and horizontal edges that are greater than or equal to the preset distance based on the anchor point P of the target object B. It can detect vertical and horizontal edges.

이러한, 수직 및 수평 에지를 검출하는 방법에 대해서는 앞서 설명한 모자이크의 특성을 이용하는 이미 다양한 기술이 공지되어 있다는 점에서 자세한 설명은 생략하겠다.A detailed description of the method for detecting such vertical and horizontal edges will be omitted since various techniques using the characteristics of the mosaic described above are already known.

한편, 상기 모자이크 영상 검출 방법은 산출한 상기 대상 객체(B)의 수평 및 수직 에지를 이용하여 상기 대상 객체가 모자이크인지 여부를 결정하는 단계(S60)를 더 포함할 수 있다.Meanwhile, the method for detecting a mosaic image may further include determining whether the target object is a mosaic by using the calculated horizontal and vertical edges of the target object B ( S60 ).

이를 보다 자세히 설명하자면, 상기 상기 대상 객체가 모자이크인지 여부를 결정하는 단계(S60)는 도 5에 도시된 수직 및 수평 에지의 수를 산출할 수 있으며, 산출한 수직 및 수평 에지의 수가 기 설정된 개수 이상인 경우 상기 대상 이미지(A)(상기 대상 객체(B))가 모자이크가 처리된 이미지인 것으로 정의할 수 있고, 따라서, 해당 영상이 모자이크가 처리된 영상임으로 정의할 수 있다.To explain this in more detail, the step of determining whether the target object is a mosaic ( S60 ) may calculate the number of vertical and horizontal edges shown in FIG. 5 , and the calculated number of vertical and horizontal edges is a preset number. In the above case, the target image A (the target object B) may be defined as a mosaic-processed image, and accordingly, the corresponding image may be defined as a mosaic-processed image.

반대로, 상기 상기 대상 객체가 모자이크인지 여부를 결정하는 단계(S60)는 산출한 수직 및 수평 에지의 수가 기 설정된 개수 미만인 경우 상기 대상 이미지(A)(상기 대상 객체(B))가 모자이크가 처리되지 않은 이미지인 것으로 정의할 수 있고, 따라서, 해당 영상이 모자이크가 처리되지 않은 영상임으로 정의할 수 있다.Conversely, in the step S60 of determining whether the target object is a mosaic, if the calculated number of vertical and horizontal edges is less than a preset number, the target image A (the target object B) is not mosaic. It can be defined as a non-mosaic image, and therefore, the corresponding image can be defined as an image without mosaic processing.

한편, 앞서 설명한 단계들에 의해 해당 영상이 모자이크가 처리된 영상인지 여부가 불분명한 경우도 존재한다.Meanwhile, there are cases in which it is unclear whether the corresponding image is a mosaic-processed image due to the above-described steps.

이러한 경우는, 해당 영상이 매우 저 화질일 때 발생될 수 있다.This case may occur when the corresponding image is of very low quality.

따라서, 상기 모자이크 영상 검출 방법은 아래의 단계들을 더 포함할 수 있다.Accordingly, the method for detecting a mosaic image may further include the following steps.

일례로, 상기 모자이크 영상 검출 방법은 상기 대상 이미지(A) 상에서 상기 대상 객체(B)가 아닌 비교 영역을 선택하는 단계(S70), 상기 비교 영역(E)을 상기 대상 이미지(A)의 해상도보다 낮은 기 설정된 해상도로 변환하여 비교 변환 이미지를 생성하는 단계(S80), 상기 비교 변환 이미지 상에서 상기 비교 영역(E)의 앵커 포인트(P)(anchor point)를 산출하는 단계(S90) 및 산출한 상기 비교 영역(E)의 앵커 포인트(P)를 기준으로 상기 비교 영역(E)의 수직 및 수평 에지를 산출하는 단계(S100)를 더 포함할 수 있다.As an example, the mosaic image detection method includes selecting a comparison area other than the target object B on the target image A ( S70 ), and selecting the comparison area E rather than the resolution of the target image A generating a comparison transformed image by converting it to a low preset resolution (S80), calculating an anchor point P (anchor point) of the comparison region E on the comparison transformed image (S90) and the calculated The method may further include calculating vertical and horizontal edges of the comparison area E based on the anchor point P of the comparison area E ( S100 ).

이를 보다 자세히 설명하자면, 도 6에 도시한 바와 같이, 상기 모자이크 영상 검출 방법은 상기 대상 이미지(A) 상에서 상기 대상 객체를 선택하는 단계(S20)에 의해 선택된 상기 대상 객체(B)의 이외의 영역인 상기 비교 영역(E)을 선택한 후, 도 4 및 도 5를 참조하여 앞서 설명한 상기 대상 객체(B)와 동일한 방법으로, 상기 비교 영역(E)에 대해 상기 비교 변환 이미지를 생성하는 단계(S80), 상기 비교 영역(E)의 앵커 포인트(P)를 산출하는 단계(S90) 및 상기 비교 영역(E)의 수직 및 수평 에지를 산출하는 단계(S100)를 구현할 수 있다. To explain this in more detail, as shown in FIG. 6 , in the mosaic image detection method, an area other than the target object B selected by the step S20 of selecting the target object on the target image A After selecting the comparison area E, in the same way as the target object B described above with reference to FIGS. 4 and 5, generating the comparison conversion image for the comparison area E (S80) ), calculating the anchor point P of the comparison area E (S90) and calculating the vertical and horizontal edges of the comparison area E (S100) may be implemented.

즉, 상기 비교 변환 이미지를 생성하는 단계(S80)는 상기 대상 변환 이미지를 생성하는 단계(S30)와 대응되며, 상기 비교 영역(E)의 앵커 포인트(P)를 산출하는 단계(S90)는 상기 대상 객체의 앵커 포인트를 산출하는 단계(S40)과 대응되고, 상기 비교 영역(E)의 수직 및 수평 에지를 산출하는 단계(S100)는 상기 대상 객체의 수직 및 수평 에지를 산출하는 단계(S50)과 대응될 수 있다.That is, the step (S80) of generating the comparison transformed image corresponds to the step (S30) of generating the target transformed image, and the step (S90) of calculating the anchor point P of the comparison area (E) is the Corresponding to the step (S40) of calculating the anchor point of the target object, the step of calculating the vertical and horizontal edges of the comparison area (E) (S100) is a step of calculating the vertical and horizontal edges of the target object (S50) can be matched with

여기서, 상기 대상 객체가 모자이크인지 여부를 결정하는 단계(S60)는, 산출한 상기 비교 영역(E)의 수평 및 수직 에지와 상기 대상 객체(B)의 수평 및 수직 에지를 비교하여 상기 대상 이미지(A)가 모자이크 처리가 된 이미지인지 여부를 결정할 수 있다.Here, the step (S60) of determining whether the target object is a mosaic comprises comparing the calculated horizontal and vertical edges of the comparison area (E) with the horizontal and vertical edges of the target object (B) to obtain the target image ( It can be determined whether A) is a mosaic-processed image.

즉, 상기 대상 객체가 모자이크인지 여부를 결정하는 단계(S60)는 앞서 설명한 바와 같이, 산출한 상기 대상 객체(B) 상의 수평 및 수직 에지의 수, 나아가 산출한 상기 비교 영역(E) 상의 수평 및 수직 에지의 수를 상호 비교하여, 산출한 상기 대상 객체(B) 상의 수평 및 수직 에지의 수가 산출한 상기 비교 영역(E) 상의 수평 및 수직 에지의 수보다 기 설정된 값 이상인 경우 상기 대상 이미지(A)가 모자이크가 처리된 이미지임으로 결정할 수 있고, 반대로 산출한 상기 대상 객체(B) 상의 수평 및 수직 에지의 수가 산출한 상기 비교 영역(E) 상의 수평 및 수직 에지의 수보다 기 설정된 값 미만인 경우 상기 대상 이미지(A)가 모자이크가 처리되지 않은 이미지임으로 결정할 수 있다.That is, in the step S60 of determining whether the target object is a mosaic, as described above, the calculated number of horizontal and vertical edges on the target object B, furthermore, the calculated horizontal and vertical edges on the comparison area E When the number of horizontal and vertical edges on the target object B calculated by comparing the number of vertical edges with each other is greater than or equal to a preset value, the target image A ) can be determined as a mosaic-processed image, and conversely, when the calculated number of horizontal and vertical edges on the target object B is less than a preset value than the calculated number of horizontal and vertical edges on the comparison area E, the It may be determined that the target image A is an image in which the mosaic is not processed.

따라서, 상기 대상 이미지(A) 자체가 저화질 인 경우에도 정확히 모자이크가 처리되었는지 여부를 판단할 수 있다.Accordingly, it can be determined whether the mosaic has been accurately processed even when the target image A itself is of low quality.

한편, 상기 비교 영역을 선택하는 단계(S70)는, 상기 대상 이미지(A) 상에서 상기 대상 객체(B)가 차지하는 영역과 동일한 크기의 영역을 가지는 상기 비교 영역(E)을 선택할 수 있다.Meanwhile, in the selecting of the comparison area ( S70 ), the comparison area E having the same size as the area occupied by the target object B on the target image A may be selected.

이를 구현하기 위해, 상기 비교 영역을 선택하는 단계(S70)는 상기 대상 이미지(A) 상에서 상기 대상 객체(B)가 차지하는 영역을 제외한 영역 중 적어도 일부에 대해 상호 동일한 크기를 가지는 복수개의 분할 영역(붉은 색 박스)을 생성하고, 상기 분할 영역을 복수개 선택하여 상기 대상 객체(B)가 차지하는 영역과 동일한 크기의 영역을 가지는 상기 비교 영역(E)을 선택할 수 있다.To implement this, the step of selecting the comparison area (S70) includes a plurality of divided areas having the same size with respect to at least a portion of the area excluding the area occupied by the target object B on the target image A ( a red box) and selecting a plurality of the divided areas to select the comparison area E having the same size as the area occupied by the target object B.

이를 보다 자세히 설명하자면, 도 6에 도시한 바와 같이, 일례로, 상기 대상 객체(B)가 차지하는 영역의 크기가 128x128인 경우, 상기 비교 영역을 선택하는 단계(S70)는 상기 대상 객체(B)의 영역을 제외한 영역에 대해서, 8x8의 크기를 가지는 상기 분할 영역을 복수개 생성하고, 상기 분할 영역을 16개 선택하여 상기 대상 객체(B)가 차지하는 영역의 크기와 동일한 상기 비교 영역(E)을 선택/정의할 수 있다.To explain this in more detail, as shown in FIG. 6 , for example, when the size of the area occupied by the target object B is 128x128, the step of selecting the comparison area (S70) is the target object B. For an area excluding the area of , a plurality of divided areas having a size of 8x8 are generated, and 16 divided areas are selected to select the comparison area E equal to the size of the area occupied by the target object B /can be defined

이 후, 상기 모자이크 영상 검출 방법은 선택된 상기 비교 영역(E)에 대해 앞서 설명한 방법을 통해 수평 및 수직 에지를 검출하여 해당 영상이 모자이크가 처리된 영상인지 여부를 판단할 수 있다. Thereafter, the mosaic image detection method may determine whether the corresponding image is a mosaic-processed image by detecting horizontal and vertical edges through the method described above for the selected comparison region E. FIG.

상기에서는 본 발명에 따른 실시예를 기준으로 본 발명의 구성과 특징을 설명하였으나 본 발명은 이에 한정되지 않으며, 본 발명의 사상과 범위 내에서 다양하게 변경 또는 변형할 수 있음은 본 발명이 속하는 기술분야의 당업자에게 명백한 것이며, 따라서 이와 같은 변경 또는 변형은 첨부된 특허청구범위에 속함을 밝혀둔다.In the above, the configuration and features of the present invention have been described based on the embodiments according to the present invention, but the present invention is not limited thereto, and it is understood that various changes or modifications can be made within the spirit and scope of the present invention. It is intended that such changes or modifications will be apparent to those skilled in the art, and therefore fall within the scope of the appended claims.

100: 제어부
200: 메모리부
300: 통신부
400: 입력부
500: 출력부
100: control unit
200: memory unit
300: communication department
400: input unit
500: output unit

Claims (8)

모자이크 검출 시스템을 이용하여 영상에서 모자이크를 검출하는 모자이크 영상 검출 방법에 있어서,
영상을 구성하는 복수의 이미지 중 적어도 어느 하나인 대상 이미지를 선택하는 단계;
상기 대상 이미지 상에서 기 설정된 대상 객체를 선택하는 단계;
상기 대상 객체를 상기 대상 이미지의 해상도보다 낮은 기 설정된 해상도로 변환하여 대상 변환 이미지를 생성하는 단계;
상기 대상 변환 이미지 상에서 상기 대상 객체의 앵커 포인트(anchor point)를 산출하는 단계;
산출한 상기 대상 객체의 앵커 포인트를 기준으로 상기 대상 객체의 수직 및 수평 에지를 산출하는 단계; 및
산출한 상기 대상 객체의 수평 및 수직 에지를 이용하여 상기 대상 객체가 모자이크인지 여부를 결정하는 단계;를 포함하는,
모자이크 영상 검출 방법.
A mosaic image detection method for detecting a mosaic in an image using a mosaic detection system, the method comprising:
selecting a target image, which is at least one of a plurality of images constituting an image;
selecting a preset target object on the target image;
generating a converted target image by converting the target object to a preset resolution lower than the resolution of the target image;
calculating an anchor point of the target object on the target transformation image;
calculating vertical and horizontal edges of the target object based on the calculated anchor point of the target object; and
Determining whether the target object is a mosaic using the calculated horizontal and vertical edges of the target object;
Mosaic image detection method.
제1항에 있어서,
상기 대상 객체의 앵커 포인트를 산출하는 단계는,
상기 대상 변환 이미지를 상기 대상 이미지의 해상도로 변환하여 상기 대상객체의 앵커 포인트를 산출하는,
모자이크 영상 검출 방법.
According to claim 1,
Calculating the anchor point of the target object comprises:
Converting the target conversion image to the resolution of the target image to calculate the anchor point of the target object,
Mosaic image detection method.
제2항에 있어서,
상기 대상 객체의 앵커 포인트를 산출하는 단계는,
상기 대상 변환 이미지 상에서 명암이 기 설정된 기준 이상으로 차이가 있는 경계를 가지는 영역의 중심점으로 상기 대상 객체의 앵커 포인트를 정의하는,
모자이크 영상 검출 방법.
3. The method of claim 2,
Calculating the anchor point of the target object comprises:
defining an anchor point of the target object as a center point of a region having a boundary in which contrast is different than a preset reference on the target transformation image,
Mosaic image detection method.
제3항에 있어서,
상기 대상 객체의 수직 및 수평 에지를 산출하는 단계는,
상기 대상 객체의 앵커 포인트를 기준으로 명암이 기 설정된 기준 이상으로 차이가 있는 경계를 산출하고, 경계가 상기 대상 객체의 앵커 포인트를 기준으로 기 설정된 거리 이상인 것을 상기 대상 객체의 수직 및 수평 에지로 정의하는,
모자이크 영상 검출 방법.
4. The method of claim 3,
Calculating vertical and horizontal edges of the target object includes:
A boundary having a difference of greater than or equal to a preset standard is calculated based on the anchor point of the target object, and vertical and horizontal edges of the target object are defined when the boundary is greater than or equal to a preset distance based on the anchor point of the target object. doing,
Mosaic image detection method.
제4항에 있어서,
상기 대상 객체가 모자이크인지 여부를 결정하는 단계는,
산출한 상기 대상 객체의 수직 및 수평 에지가 기 설정된 개수 이상인 경우 상기 대상 이미지가 모자이크라고 정의하는,
모자이크 영상 검출 방법.
5. The method of claim 4,
Determining whether the target object is a mosaic comprises:
When the calculated vertical and horizontal edges of the target object are greater than or equal to a preset number, the target image is defined as a mosaic,
Mosaic image detection method.
제5항에 있어서,
상기 대상 이미지 상에서 상기 대상 객체가 아닌 비교 영역을 선택하는 단계;
상기 비교 영역을 상기 대상 이미지의 해상도보다 낮은 기 설정된 해상도로 변환하여 비교 변환 이미지를 생성하는 단계;
상기 비교 변환 이미지 상에서 상기 비교 영역의 앵커 포인트(anchor point)를 산출하는 단계;
산출한 상기 비교 영역의 앵커 포인트를 기준으로 상기 비교 영역의 수직 및 수평 에지를 산출하는 단계;를 더 포함하며,
상기 대상 객체가 모자이크인지 여부를 결정하는 단계는,
산출한 상기 비교 영역의 수평 및 수직 에지와 상기 대상 객체의 수평 및 수직 에지를 비교하여 상기 대상 이미지가 모자이크인지 여부를 결정하는,
모자이크 영상 검출 방법.
6. The method of claim 5,
selecting a comparison area other than the target object on the target image;
generating a comparison conversion image by converting the comparison area to a preset resolution lower than the resolution of the target image;
calculating an anchor point of the comparison region on the comparison transformed image;
Calculating vertical and horizontal edges of the comparison region based on the calculated anchor point of the comparison region; further comprising,
Determining whether the target object is a mosaic comprises:
Comparing the calculated horizontal and vertical edges of the comparison area with horizontal and vertical edges of the target object to determine whether the target image is a mosaic,
Mosaic image detection method.
제6항에 있어서,
상기 비교 영역을 선택하는 단계는,
상기 대상 이미지 상에서 상기 대상 객체가 차지하는 영역과 동일한 크기의영역을 가지는 상기 비교 영역을 선택하는,
모자이크 영상 검출 방법.
7. The method of claim 6,
The step of selecting the comparison area comprises:
selecting the comparison area having the same size as the area occupied by the target object on the target image;
Mosaic image detection method.
제7항에 있어서,
상기 비교 영역을 선택하는 단계는,
상기 대상 이미지 상에서 상기 대상 객체가 차지하는 영역을 제외한 영역 중 적어도 일부에 대해 상호 동일한 크기를 가지는 복수개의 분할 영역을 생성하고, 상기 분할 영역을 복수개 선택하여 상기 대상 객체가 차지하는 영역과 동일한 크기의 영역을 가지는 상기 비교 영역을 선택하는,
모자이크 영상 검출 방법.
8. The method of claim 7,
The step of selecting the comparison area comprises:
A plurality of divided regions having the same size are generated for at least a portion of the region excluding the region occupied by the target object on the target image, and an area having the same size as the region occupied by the target object by selecting a plurality of the divided regions branch to select the comparison area,
Mosaic image detection method.
KR1020200164036A 2020-11-30 2020-11-30 Method for detecting mosaic image KR102525376B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200164036A KR102525376B1 (en) 2020-11-30 2020-11-30 Method for detecting mosaic image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200164036A KR102525376B1 (en) 2020-11-30 2020-11-30 Method for detecting mosaic image

Publications (2)

Publication Number Publication Date
KR20220075686A true KR20220075686A (en) 2022-06-08
KR102525376B1 KR102525376B1 (en) 2023-04-26

Family

ID=81981345

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200164036A KR102525376B1 (en) 2020-11-30 2020-11-30 Method for detecting mosaic image

Country Status (1)

Country Link
KR (1) KR102525376B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090103669A (en) * 2008-03-28 2009-10-01 세이코 엡슨 가부시키가이샤 Image processing apparatus, image processing method, and program for attaining image processing
KR101146171B1 (en) * 2010-11-19 2012-05-24 에스케이하이닉스 주식회사 Image processing apparatus and system
JP2015226112A (en) * 2014-05-26 2015-12-14 キヤノン株式会社 Image processing system, image processing method, and program
KR101693247B1 (en) * 2015-09-25 2017-01-05 안양대학교 산학협력단 A Method for Extracting Mosaic Blocks Using Boundary Features
KR20180079793A (en) * 2017-01-02 2018-07-11 안양대학교 산학협력단 A Mosaic Detection Method Based on Edge Projection in Digital Video

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090103669A (en) * 2008-03-28 2009-10-01 세이코 엡슨 가부시키가이샤 Image processing apparatus, image processing method, and program for attaining image processing
KR101146171B1 (en) * 2010-11-19 2012-05-24 에스케이하이닉스 주식회사 Image processing apparatus and system
JP2015226112A (en) * 2014-05-26 2015-12-14 キヤノン株式会社 Image processing system, image processing method, and program
KR101693247B1 (en) * 2015-09-25 2017-01-05 안양대학교 산학협력단 A Method for Extracting Mosaic Blocks Using Boundary Features
KR20180079793A (en) * 2017-01-02 2018-07-11 안양대학교 산학협력단 A Mosaic Detection Method Based on Edge Projection in Digital Video

Also Published As

Publication number Publication date
KR102525376B1 (en) 2023-04-26

Similar Documents

Publication Publication Date Title
US6377711B1 (en) Methods and systems for detecting the edges of objects in raster images using diagonal edge detection
US10515453B2 (en) Image processing apparatus, image processing method, and storage medium for performing an edge correction processing based on color variations
US20080056565A1 (en) Device and Method for Image Color Determination
KR20080006112A (en) Halftoning method and apparatus to improve sharpness in boundary region
US20080253661A1 (en) Image processing apparatus and control method thereof
JP2005192001A (en) Electronic watermark embedding method and electronic watermark embedding device
JPH10302061A (en) Digital processing method combining color cast removal and contrast emphasis of digital color image
JP2010245948A (en) Image display apparatus and method, program, and recording medium
US8054509B2 (en) Image processing apparatus, image processing method, and image processing program
JP4775598B2 (en) Image processing apparatus and image processing program
KR20220075686A (en) Method for detecting mosaic image
EP0477956B1 (en) Method of and apparatus for processing linework image
KR101664185B1 (en) Image processing apparatus, image processing method, and computer-readable recording medium
TWI420418B (en) Method for generating a non-graphical digital image from an original digital image
JP4771087B2 (en) Image processing apparatus and image processing program
JP5506588B2 (en) Image processing method and image processing apparatus using digital watermark
WO2002056252A2 (en) Apparatus and method for boundary detection in vector sequences and edge detection in color image signals
US10621459B2 (en) Image processing apparatus and method for binarization of image data according to adjusted histogram threshold index values
JP6447955B2 (en) Image processing apparatus and program
JP4165599B2 (en) Image processing device
JP2009033448A (en) Image processing system and program
US20240078720A1 (en) Image processing apparatus, image processing method, and non-transitory computer readable storage medium
KR940010474B1 (en) Picture improvement for fax
JP2010178084A (en) Image processing apparatus and method, program for executing the method, and recording medium
US20110096984A1 (en) Image processing device, method for image processing, and image forming apparatus

Legal Events

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