TWI697871B - Inspection system for image containing mosaic and method thereof - Google Patents
Inspection system for image containing mosaic and method thereof Download PDFInfo
- Publication number
- TWI697871B TWI697871B TW108111517A TW108111517A TWI697871B TW I697871 B TWI697871 B TW I697871B TW 108111517 A TW108111517 A TW 108111517A TW 108111517 A TW108111517 A TW 108111517A TW I697871 B TWI697871 B TW I697871B
- Authority
- TW
- Taiwan
- Prior art keywords
- mosaic
- picture
- image
- feature
- intersection
- Prior art date
Links
Images
Landscapes
- Image Analysis (AREA)
Abstract
Description
本發明係關於一種馬賽克檢查技術,特別是指一種影像中含有馬賽克之檢查系統及其方法。 The present invention relates to a mosaic inspection technology, in particular to an inspection system and method for an image containing mosaics.
馬賽克出現在影片中常會造成觀賞者不悅,並影響影視服務的品質,亦降低影片的品質。又,影片檢查人員通常用人眼主觀方式尋找影像中是否含有馬賽克,導致耗費大量人力與工作時間。同時,因應影片分級,影片檢查人員需過濾含有馬賽克的影片,以避免暴力、色情影片與一般影片不當混淆,從而在影片上架前多一道審查影片是否符合設定的觀賞級別。 The presence of mosaics in movies often causes viewers to be unhappy, and affects the quality of film and television services, and also reduces the quality of the film. In addition, film inspectors usually use the subjective method of the human eye to find whether the image contains mosaics, which consumes a lot of manpower and working time. At the same time, in response to the video classification, video inspectors need to filter videos that contain mosaics to avoid inappropriate confusion between violent, pornographic videos and general videos, so as to check whether the video meets the set viewing level before the video is released.
另外,現有技術提出一種視頻馬賽克(video mosaic)影像檢測方法,先將待檢測影像轉換為灰階圖,以進行坎尼邊緣檢測(cannae edge detection),獲得只具有輪廓資訊的影像;繼之,利用四個範本對輪廓影像進行範本匹配,獲得四個匹配影像;接著,對四個匹配影像進行二值化(thresholding)處理,獲得只保留相匹配的點的影像;然後,利用滑動視窗馬賽克檢測演算法檢測影像是否具有馬賽克。惟,此現有技術無法在馬賽 克範圍邊界不明顯時(與周遭顏色相近)找出有馬賽克,亦無法分辨出網狀物體、文字與真正的馬賽克之差別,也無法找出紅綠藍(RGB)某一層含有馬賽克。 In addition, the prior art proposes a video mosaic image detection method, which first converts the image to be detected into a grayscale image to perform cannae edge detection to obtain an image with only contour information; then, Use four templates to perform template matching on the contour image to obtain four matching images; then, perform thresholding processing on the four matching images to obtain an image with only matching points; then, use sliding window mosaic detection The algorithm detects whether the image has mosaics. However, this existing technology cannot be used in Marseille When the boundary of the gram range is not obvious (similar to the surrounding color), it is found that there is a mosaic, and the difference between the mesh object, the text and the real mosaic cannot be distinguished, and the red, green and blue (RGB) layer can not be found to contain the mosaic.
因此,如何提供一種新穎或創新之影像中含有馬賽克之檢查系統及其方法,實已成為本領域技術人員之一大研究課題。 Therefore, how to provide a novel or innovative inspection system and method for mosaics in images has become a major research topic for those skilled in the art.
本發明提供一種新穎或創新之影像中含有馬賽克之檢查系統及其方法,能解決影片檢查人員用人眼主觀方式尋找圖片或影片是否含有馬賽克而耗費大量人力與工作時間的問題,從而降低影片檢查的負擔及提升影片的品質。 The present invention provides a novel or innovative inspection system and method for images containing mosaics, which can solve the problem that film inspectors use human eyes to subjectively find whether pictures or films contain mosaics and consume a lot of manpower and working time, thereby reducing film inspection Burden and improve the quality of the video.
本發明之影像中含有馬賽克之檢查系統包括:一圖片前處理模組,係從已知含有馬賽克圖片集中取出至少一圖片,以將圖片轉換成灰階圖及保留圖片之原彩圖,其中,圖片用於機器學習之馬賽克辨識訓練;一邊線與交點特徵提取模組,係具有一灰階邊線交點提取單元與一MB(巨集區塊)邊線交點提取單元,其中,灰階邊線交點提取單元對圖片前處理模組所轉換之灰階圖分別提取灰階圖之水平邊線、垂直邊線、水平邊線與垂直邊線之交點、及交點可合併範圍的特徵資訊,且MB邊線交點提取單元對圖片前處理模組所保留之原彩圖之紅綠藍(RGB)三顏色分別進行MB平滑角與線特徵提取,以得到原彩圖之紅綠藍(RGB)三顏色之水平邊線、垂直邊線、水平邊線與垂直邊線之交點、及交點可合併範圍的特徵資訊;以及一馬賽克特徵分析模組,係依據灰階邊線交點提取單元所提取之灰階圖 之特徵資訊分析出灰階圖之馬賽克特徵,並依據MB邊線交點提取單元所提取之原彩圖之紅綠藍(RGB)三顏色之特徵資訊分析出原彩圖之紅綠藍(RGB)三顏色之馬賽克特徵。 The inspection system for images containing mosaics of the present invention includes: a picture pre-processing module, which extracts at least one picture from a set of known mosaic-containing pictures to convert the picture into a grayscale picture and retain the original color picture of the picture, wherein: The picture is used for the mosaic recognition training of machine learning; the edge line and intersection feature extraction module has a gray-scale edge-line intersection extraction unit and an MB (macro block) edge-line intersection extraction unit, where the gray-scale edge line intersection extraction unit The grayscale image converted by the image pre-processing module is extracted from the horizontal edge, vertical edge, intersection of horizontal edge and vertical edge of the grayscale image, and feature information of the mergeable range of the intersection, and the MB edgeline intersection extraction unit performs The red, green, and blue (RGB) colors of the original color image retained by the processing module are respectively extracted by MB smoothing angle and line features to obtain the horizontal, vertical, and horizontal edges of the red, green, and blue (RGB) colors of the original color image The intersection of the edge and the vertical edge, and the feature information of the mergeable range of the intersection; and a mosaic feature analysis module based on the grayscale map extracted by the grayscale edgeline intersection extraction unit Analyze the mosaic features of the grayscale image from the feature information, and analyze the red, green, and blue (RGB) three colors of the original color image based on the feature information of the original color image extracted by the MB edge line intersection extraction unit Mosaic features of color.
本發明之影像中含有馬賽克之檢查方法包括:由一圖片前處理模組從已知含有馬賽克圖片集中取出至少一圖片,以將圖片轉換成灰階圖及保留圖片之原彩圖,其中,圖片用於機器學習之馬賽克辨識訓練;由一灰階邊線交點提取單元對圖片前處理模組所轉換之灰階圖分別提取灰階圖之水平邊線、垂直邊線、水平邊線與垂直邊線之交點、及交點可合併範圍的特徵資訊;由一MB(巨集區塊)邊線交點提取單元對圖片前處理模組所保留之原彩圖之紅綠藍(RGB)三顏色分別進行MB平滑角與線特徵提取,以得到原彩圖之紅綠藍(RGB)三顏色之水平邊線、垂直邊線、水平邊線與垂直邊線之交點、及交點可合併範圍的特徵資訊;以及由一馬賽克特徵分析模組依據灰階邊線交點提取單元所提取之灰階圖之特徵資訊分析出灰階圖之馬賽克特徵,並依據MB邊線交點提取單元所提取之原彩圖之紅綠藍(RGB)三顏色之特徵資訊分析出原彩圖之紅綠藍(RGB)三顏色之馬賽克特徵。 The method for checking mosaics in an image of the present invention includes: extracting at least one picture from a set of known mosaic-containing pictures by a picture pre-processing module to convert the picture into a grayscale picture and retain the original color picture of the picture. The picture Mosaic recognition training for machine learning; the grayscale image converted by the image preprocessing module by a grayscale edgeline intersection extraction unit extracts the horizontal edgeline, vertical edgeline, intersection of horizontal edgeline and vertical edgeline, and The intersection can merge the feature information of the range; an MB (macro block) edge intersection extraction unit performs MB smoothing of the red, green, and blue (RGB) colors of the original color image retained by the image preprocessing module respectively. Extract to obtain the original color image of the red, green and blue (RGB) three colors of the horizontal edge, vertical edge, intersection of horizontal and vertical edges, and feature information of the mergeable range of the intersection; and a mosaic feature analysis module based on gray The feature information of the grayscale map extracted by the edge line intersection extraction unit analyzes the mosaic feature of the grayscale map, and the red, green, and blue (RGB) three-color feature information of the original color image extracted by the MB edge line intersection extraction unit is analyzed The original color picture is a mosaic of red, green and blue (RGB) colors.
為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明。在以下描述內容中將部分闡述本發明之額外特徵及優點,且此等特徵及優點將部分自所述描述內容可得而知,或可藉由對本發明之實踐習得。本發明之特徵及優點借助於在申請專利範圍中特別指出的元件及組合來認識到並達到。應理解,前文一般描述與以下詳細描述兩者均僅為例示性及解釋性的,且不欲約束本發明所欲主張之範 圍。 In order to make the above-mentioned features and advantages of the present invention more comprehensible, embodiments are specifically described below in conjunction with the accompanying drawings. In the following description, the additional features and advantages of the present invention will be partially described, and these features and advantages will be partly known from the description, or can be learned by practicing the present invention. The features and advantages of the present invention are realized and achieved by means of the elements and combinations specifically pointed out in the scope of the patent application. It should be understood that the foregoing general description and the following detailed description are both exemplary and explanatory, and are not intended to limit the scope of the present invention. Surrounding.
1‧‧‧影像中含有馬賽克之檢查系統 1‧‧‧ Inspection system for mosaic in images
10‧‧‧檢測圖片擷取模組 10‧‧‧Detection image capture module
11‧‧‧待測圖片片名單元 11‧‧‧Picture title unit to be tested
12‧‧‧圖片擷取單元 12‧‧‧Picture Capture Unit
20‧‧‧圖片前處理模組 20‧‧‧Picture preprocessing module
21‧‧‧RGB2Y單元 21‧‧‧RGB2Y unit
22‧‧‧馬賽克範圍粗估單元 22‧‧‧Mosaic range rough estimation unit
30‧‧‧邊線與交點特徵提取模組 30‧‧‧Edge and intersection feature extraction module
31‧‧‧灰階邊線交點提取單元 31‧‧‧Gray scale edge line intersection extraction unit
32‧‧‧MB邊線交點提取單元 32‧‧‧MB Edge Intersection Extraction Unit
40‧‧‧馬賽克特徵分析模組 40‧‧‧Mosaic feature analysis module
41‧‧‧灰階馬賽克特徵分析單元 41‧‧‧Grayscale mosaic feature analysis unit
42‧‧‧MB馬賽克特徵分析單元 42‧‧‧MB mosaic feature analysis unit
50‧‧‧特徵參數模組 50‧‧‧Characteristic parameter module
51‧‧‧灰階交點與線特徵參數單元 51‧‧‧Gray scale intersection and line feature parameter unit
52‧‧‧MB平滑交點與線特徵參數單元 52‧‧‧MB Smooth intersection and line feature parameter unit
60‧‧‧圖片馬賽克評估模組 60‧‧‧Picture Mosaic Evaluation Module
61‧‧‧特徵加權參數調整單元 61‧‧‧Feature weighting parameter adjustment unit
62‧‧‧馬賽克評估單元 62‧‧‧Mosaic Evaluation Unit
63‧‧‧馬賽克準確率參數單元 63‧‧‧Mosaic accuracy rate parameter unit
64‧‧‧非馬賽克準確率參數單元 64‧‧‧Non-mosaic accuracy rate parameter unit
70‧‧‧待檢測圖片集 70‧‧‧Pictures to be detected
80‧‧‧已知含有馬賽克圖片集 80‧‧‧A collection of known mosaic pictures
90‧‧‧影片檔案 90‧‧‧Video File
100‧‧‧特徵加權參數組 100‧‧‧Feature weighting parameter group
P‧‧‧角點 P‧‧‧corner point
A01至A12、B01至B09、C01至C04‧‧‧步驟 A01 to A12, B01 to B09, C01 to C04‧‧‧Steps
第1圖為本發明之影像中含有馬賽克之檢查系統的架構示意圖;第2圖為本發明之影像中含有馬賽克之檢查方法於訓練模式時的流程示意圖;第3A圖至第3D圖分別為本發明之馬賽克特徵之四種直角形態的示意圖;第4圖為本發明之影像中含有馬賽克之檢查方法於檢查模式時的流程示意圖;第5A圖至第5D圖分別為本發明之影像中含有馬賽克的灰階圖、影像中含有馬賽克的直向邊線特徵、影像中含有馬賽克的橫向邊線特徵、影像中含有馬賽克的MB邊線與交點特徵;以及第6圖為本發明之影像中含有馬賽克之檢查方法於圖片擷取模式時的流程示意圖。 Figure 1 is a schematic diagram of the architecture of the inspection system for mosaics in images of the present invention; Figure 2 is a schematic flow diagram of the inspection method for mosaics in images of the present invention in training mode; Figures 3A to 3D are respectively A schematic diagram of the four right-angle forms of the mosaic features of the invention; Figure 4 is a schematic flow diagram of the inspection method of the present invention for an image containing mosaic in the inspection mode; Figures 5A to 5D are respectively an image containing mosaics in the present invention The grayscale map of the image, the vertical edge feature of the mosaic in the image, the horizontal edge feature of the mosaic in the image, the MB edge and intersection feature of the mosaic in the image; and Figure 6 is the inspection method for the mosaic in the image of the present invention Schematic diagram of the process in picture capture mode.
以下藉由特定的具體實施形態說明本發明之實施方式,熟悉此技術之人士可由本說明書所揭示之內容了解本發明之其他優點與功效,亦可因而藉由其他不同的具體等同實施形態加以施行或應用。 The following describes the implementation of the present invention with specific specific embodiments. Those familiar with this technology can understand the other advantages and effects of the present invention from the contents disclosed in this specification, and can also implement other different specific equivalent embodiments. Or apply.
本發明提供一種影像中含有馬賽克之檢查系統及其方法,可 運用機器學習以尋找圖片或影片(待檢測圖片集)中是否含有馬賽克畫面,並提供馬賽克畫面所在的位置及相對片頭的播放時間,能解決檢查人員用人眼主觀方式尋找影片是否含有非人為馬賽克的存在,導致耗費大量人力與工作時間的問題,藉此降低影片檢查的負擔,以確保影片的品質。 The present invention provides an inspection system and method for mosaics in images, which can Use machine learning to find out whether the picture or video (picture set to be detected) contains a mosaic, and provide the location of the mosaic and the playback time relative to the beginning of the film, which can solve the problem of the examiner using the subjective method of human eyes to find whether the video contains non-artificial mosaics Existence, resulting in the problem of consuming a lot of manpower and working time, thereby reducing the burden of film inspection to ensure the quality of the film.
又,本發明能找出因為原始圖片或影片已經損壞或轉檔時資訊的不完全所引起含有馬賽克的畫面,預先從這類已知含有馬賽克畫面的影片中搜集到一些已知含有馬賽克畫面的圖片,並運用機器學習之馬賽克辨識訓練後,獲得一個可找出目前搜尋到的馬賽克畫面之特徵加權參數組,再利用特徵加權參數組進行影像中含有馬賽克畫面的檢查,以找出含有馬賽克畫面的位置及相對片頭的播放時間。 In addition, the present invention can find out pictures or videos that contain mosaics caused by damaged or incomplete information during transcoding, and collect some known mosaics from such videos that are known to contain mosaics. After the mosaic recognition training of machine learning is used, a feature weighting parameter group that can find the currently searched mosaic image is obtained, and then the feature weighting parameter group is used to check the mosaic image in the image to find the mosaic image. The position and relative playing time of the movie title.
同時,本發明能在馬賽克畫面的範圍邊界不明顯時(與周遭顏色相近)找出有馬賽克的存在範圍,亦能分辨出網狀物體、文字與真正的馬賽克範圍之差別,從而解決現有技術之問題。 At the same time, the present invention can find out the existence range of mosaic when the boundary of the mosaic image is not obvious (close to the surrounding color), and can also distinguish the difference between mesh objects, text and the real mosaic range, thereby solving the problem of the prior art problem.
第1圖為本發明之影像中含有馬賽克之檢查系統1的架構示意圖,且其主要技術內容如下,其餘技術內容如同第2圖至第6圖之詳細說明,於此不再重覆敘述。 Fig. 1 is a schematic diagram of the structure of the inspection system 1 with mosaics in images of the present invention, and its main technical content is as follows, and the rest of the technical content is the same as the detailed description of Figs. 2 to 6, which will not be repeated here.
如第1圖所示,本發明之影像中含有馬賽克之檢查系統1可包括一檢測圖片擷取模組10、一圖片前處理模組20、一邊線與交點特徵提取模組30、一馬賽克特徵分析模組40、一特徵參數模組50、一圖片馬賽克評估模組60、一待檢測圖片集70、一已知含有馬賽克圖片集80(存放已知含有馬賽克畫面的圖片)、一影片檔案90以及一特徵加權參數組100。而且,檢測圖片擷取模組10可具有一待測圖片片名單元11及一圖片擷取
單元12,圖片前處理模組20可具有一RGB2Y(紅綠藍轉灰階)單元21及一馬賽克範圍粗估單元22,邊線與交點特徵提取模組30可具有一灰階邊線交點提取單元31及一MB(Macroblock;巨集區塊)邊線交點提取單元32,馬賽克特徵分析模組40可具有一灰階馬賽克特徵分析單元41及一MB馬賽克特徵分析單元42,特徵參數模組50可具有一灰階交點與線特徵參數單元51及一MB平滑交點與線特徵參數單元52,圖片馬賽克評估模組60可具有一特徵加權參數調整單元61、一馬賽克評估單元62、一馬賽克準確率參數單元63及一非馬賽克準確率參數單元64。
As shown in Fig. 1, the inspection system 1 for detecting mosaics in images of the present invention may include a detection
簡言之,本發明之影像中含有馬賽克之檢查系統1及其方法主要包括:由圖片前處理模組20從已知含有馬賽克圖片集80中取出至少一圖片,以將圖片轉換成灰階圖及保留圖片之原彩圖,其中,圖片用於機器學習之馬賽克辨識訓練;由邊線與交點特徵提取模組30之灰階邊線交點提取單元31對圖片前處理模組20所轉換之灰階圖分別提取灰階圖之水平邊線、垂直邊線、水平邊線與垂直邊線之交點、及交點可合併範圍的特徵資訊,並由邊線與交點特徵提取模組30之MB邊線交點提取單元32對圖片前處理模組20所保留之原彩圖之紅綠藍(RGB)三顏色分別進行MB平滑角與線特徵提取,以得到原彩圖之紅綠藍(RGB)三顏色之水平邊線、垂直邊線、水平邊線與垂直邊線之交點、及交點可合併範圍的特徵資訊;以及由馬賽克特徵分析模組40依據灰階邊線交點提取單元31所提取之灰階圖之特徵資訊分析出灰階圖之馬賽克特徵,並依據MB邊線交點提取單元32所提取之原彩圖之紅綠藍(RGB)三顏色之特徵資訊分析出原彩圖之紅綠藍(RGB)三顏色之馬賽克特徵。
In short, the inspection system 1 and method for detecting mosaics in images of the present invention mainly includes: taking at least one picture from the known mosaic picture set 80 by the picture preprocessing
另外,在影片中搜尋或檢查馬賽克前,本發明能預先從已知含有馬賽克畫面的影片中,搜集已知含有馬賽克畫面的圖片以存放於已知含有馬賽克圖片集80中,再將機器設為下列第2圖所示之訓練模式以進行機器學習如何辨識馬賽克的訓練。
In addition, before searching for or checking mosaics in a movie, the present invention can collect pictures known to contain mosaic pictures from movies known to contain mosaic pictures in advance to store them in the known
第2圖為本發明之影像中含有馬賽克之檢查方法於訓練模式時的流程示意圖,其可包括下列步驟A01至步驟A12;第3A圖至第3D圖分別為本發明之馬賽克特徵之四種直角形態的示意圖(請一併參閱第1圖)。 Figure 2 is a flow diagram of the method for checking mosaics in images of the present invention in training mode. It can include the following steps A01 to A12; Figures 3A to 3D are the four right angles of the mosaic features of the present invention. Schematic diagram of the shape (please refer to Figure 1 together).
在第2圖之步驟A01中,先查詢第1圖所示已知含有馬賽克圖片集80內的圖片是否皆完成檢測(完成馬賽克辨識訓練)?
In step A01 of Figure 2, first query whether all the pictures in the set of known
若是(代表完成馬賽克辨識訓練),則進行第2圖之步驟A02,由第1圖所示圖片馬賽克評估模組60將特徵加權參數組100的值儲存起來稱為訓練後特徵加權參數組。反之,若否(代表未完成馬賽克辨識訓練),則進行第2圖之步驟A03,由第1圖所示圖片前處理模組20從已知含有馬賽克圖片集80中取出一張尚未辨識訓練的圖片,再由圖片前處理模組20之RGB2Y(紅綠藍轉灰階)單元21將圖片轉換成灰階圖,前述RGB2Y單元21中,RGB分別表示原彩圖之紅(Red)/綠(Green)/藍(Blue)三顏色,Y表示灰階或明亮度。例如,在第2圖之步驟A03中,由圖片前處理模組20從第1圖所示已知含有馬賽克圖片集80中取出一張尚未辨識訓練的圖片,再由RGB2Y單元21將圖片作YUV(明亮度/色度/濃度)轉換以保留Y的灰階圖及原彩圖。
If it is (representing the completion of the mosaic recognition training), proceed to step A02 in FIG. 2, and the image
在第2圖之步驟A04中,由第1圖所示邊線與交點特徵提
取模組30之灰階邊線交點提取單元31對灰階圖分別提取其水平邊線、垂直邊線、水平邊線與垂直邊線之交點、及交點可合併範圍等特徵資訊,並將灰階圖之特徵資訊或相關資訊記錄或存放於第1圖所示特徵參數模組50之灰階交點與線特徵參數單元51。
In step A04 in Figure 2, extract the feature from the edge and intersection shown in Figure 1.
Take the gray-scale edge line intersection extraction unit 31 of the
在第2圖之步驟A05中,由第1圖所示邊線與交點特徵提取模組30之MB(巨集區塊)邊線交點提取單元32對原彩圖之紅綠藍(RGB)三顏色分別進行MB(巨集區塊)平滑角與線特徵提取以得到其水平邊線、垂直邊線、水平邊線與垂直邊線之交點、及交點可合併範圍等特徵資訊,並將原彩圖之紅綠藍(RGB)三顏色之特徵資訊存放於第1圖所示特徵參數模組50之MB平滑交點與線特徵參數單元52。
In step A05 in Figure 2, the edge line and the MB (macro block) edge line
在第2圖之步驟A06中,由第1圖所示馬賽克特徵分析模組40之灰階馬賽克特徵分析單元41分析特徵參數模組50之灰階交點與線特徵參數單元51所記錄之灰階圖之特徵資訊是否有馬賽克特徵之四種直角形態(見第3A圖至第3D圖),並將這些特徵資訊之參數依據有角特徵範圍之內外(以第3A圖至第3D圖所示16個點的範圍為例)對應於灰階圖之各點像素值當成分數,再將獲得之各組參數之分數與範圍之資訊記錄在灰階圖品質記分表。
In step A06 of Figure 2, the gray-scale mosaic feature analysis unit 41 of the mosaic
同樣地,在第2圖之步驟A07中,由第1圖所示馬賽克特徵分析模組40之MB馬賽克特徵分析單元42分析特徵參數模組50之MB平滑交點與線特徵參數單元52所記錄之原彩圖之紅綠藍(RGB)三顏色的特徵資訊是否有馬賽克特徵,並依據第3A圖至第3D圖所示之四種直角形態沿直角6個點相鄰兩旁的各點範圍像素值當成分數,再將獲得之各組參數
之分數與範圍之資訊記錄在MB(巨集區塊)品質記分表。
Similarly, in step A07 in Figure 2, the MB mosaic feature analysis unit 42 of the mosaic
在第2圖之步驟A08中,由第1圖所示馬賽克特徵分析模組40之灰階馬賽克特徵分析單元41將灰階圖品質記分表中的數值乘以相關參數加權值,並由馬賽克特徵分析模組40之MB馬賽克特徵分析單元42將MB品質記分表中的數值乘以特徵加權參數組的相關加權值,再將前述相乘後的數值累進存放於圖片有馬賽克的準確率及圖片無馬賽克的準確率兩者的變數中。例如,由灰階馬賽克特徵分析單元41依據灰階圖品質記分表與相關灰階加權參數值分別計算圖片有馬賽克及圖片無馬賽克兩者的灰階準確率,以將兩者的灰階準確率分別存放於灰階準確率參數與灰階非準確率參數中。同時,由MB馬賽克特徵分析單元42依據MB品質記分表與相關MB加權參數值分別計算圖片有馬賽克及圖片無馬賽克兩者的MB準確率,以將兩者的MB準確率分別存放於MB準確率參數與MB非準確率參數中。
In step A08 in Figure 2, the gray-scale mosaic feature analysis unit 41 of the mosaic
然後,由第1圖所示圖片馬賽克評估模組60依據灰階準確率參數、灰階非準確率參數、MB準確率參數、MB非準確率參數與相關加權參數值分別計算馬賽克準確率與非馬賽克準確率,以將馬賽克準確率與非馬賽克準確率分別記錄於圖片馬賽克評估模組60之馬賽克準確率參數單元63與非馬賽克準確率參數單元64。
Then, the picture
在第2圖之步驟A09中,由第1圖所示圖片馬賽克評估模組60之馬賽克評估單元62比較圖片無馬賽克的準確率與圖片有馬賽克的準確率的大小。
In step A09 in Fig. 2, the
若圖片無馬賽克的準確率較大,則進行第2圖之步驟A10,
由圖片馬賽克評估模組60依序調整特徵加權參數組100內的一個加權值,並記錄特徵加權參數組100變動過,再依據灰階準確率參數、灰階非準確率參數、MB準確率參數、MB非準確率參數與相關加權參數值重新計算馬賽克準確率與非馬賽克準確率。反之,若圖片有馬賽克的準確率較大或等於圖片無馬賽克的準確率(代表圖片有馬賽克),則進行第2圖之步驟A11,由圖片馬賽克評估模組60判斷特徵加權參數組100是否變動。若特徵加權參數組100有變動過,則由圖片馬賽克評估模組60之特徵加權參數調整單元61先清除特徵加權參數組100變動過的標記,並清除已分析過的標記(設定從第一張開始重作圖片中含有馬賽克的檢查分析),再返回第2圖之步驟A01所示已知含有馬賽克圖片集80是否皆完成檢測之處,以判斷是否完成訓練還是進行下一圖片之馬賽克辨識訓練。或者,若特徵加權參數組100無變動過,則直接返回第2圖之步驟A01,繼續執行下一張馬賽克圖片。當完成馬賽克辨識訓練後,由圖片馬賽克評估模組60將特徵加權參數組100的值儲存起來稱為訓練後特徵加權參數組。
If the accuracy of the picture without mosaic is greater, proceed to step A10 in Figure 2.
The image
第4圖為本發明之影像中含有馬賽克之檢查方法於檢查模式時的流程示意圖(請一併參閱第1圖)。 Figure 4 is a schematic diagram of the flow of the inspection method for the image containing mosaics in the inspection mode of the present invention (please refer to Figure 1 together).
簡言之,在第4圖之檢查模式中,可從第1圖所示待檢測圖片集70中取出至少一圖片,並由圖片前處理模組20之RGB2Y(紅綠藍轉灰階)單元21將圖片作YUV(明亮度/色度/濃度)轉換成灰階圖以進行檢查,其餘程序類似於第2圖所示之訓練模式,但不再變動訓練後特徵加權參數組的值。同時,當圖片有馬賽克的準確率較大或等於圖片無馬賽克的準確率時,由圖片馬賽克評估模組60將待檢測圖片集70之一圖片中含有馬賽
克畫面的位置及相對片頭的播放時間記錄下來以繼續待檢測圖片集70之下一圖片之檢測,直到將待檢測圖片集70之內容檢查完成。
In short, in the inspection mode of Fig. 4, at least one picture can be taken from the picture set 70 to be inspected shown in Fig. 1 and used by the RGB2Y (red-green-blue-to-gray scale) unit of the
舉例而言,在第4圖之步驟B01中,先查詢第1圖所示待檢測圖片集70內的圖片是否皆完成檢測? For example, in step B01 in Fig. 4, first query whether the pictures in the picture set 70 to be inspected shown in Fig. 1 have all been inspected?
若是(已完成檢測),則結束。反之,若否(未完成檢測),則進行第4圖之步驟B02,由第1圖所示檢測圖片擷取模組10之待測圖片片名單元11向待檢測圖片集70取出一張未檢測的圖片作YUV轉換以保留Y的灰階圖及原彩圖。
If it is (the detection has been completed), end. On the contrary, if not (the detection has not been completed), proceed to step B02 in Fig. 4, and take out an untested picture from the test
在第4圖之步驟B03中(如同第2圖之步驟A04),由第1圖所示邊線與交點特徵提取模組30之灰階邊線交點提取單元31對灰階圖分別提取水平邊線、垂直邊線、水平邊線與垂直邊線之交點、及交點可合併範圍等特徵資訊,並將特徵資訊或相關資訊記錄或存放於第1圖所示特徵參數模組50之灰階交點與線特徵參數單元51。
In step B03 in Figure 4 (similar to step A04 in Figure 2), the gray-scale edge-line intersection extraction unit 31 of the edge and intersection
在第4圖之步驟B04中(如同第2圖之步驟A05),由第1圖所示MB(巨集區塊)邊線交點提取單元32對原彩圖之紅綠藍(RGB)三顏色分別進行MB(巨集區塊)平滑角與線特徵提取以得到水平邊線、垂直邊線、水平邊線與垂直邊線之交點、及交點可合併範圍等特徵資訊,並將特徵資訊存放於第1圖所示特徵參數模組50之MB平滑交點與線特徵參數單元52。
In step B04 in Fig. 4 (similar to step A05 in Fig. 2), the MB (macro block) edge
在第4圖之步驟B05中,由第1圖所示馬賽克特徵分析模組40之灰階馬賽克特徵分析單元41分析灰階交點與線特徵參數單元51在灰階圖之一範圍內是否有成對的四個以上的角點P(見第3A圖至第3D圖)與
四條線以上、範圍內的像素是否有相同值、及範圍的邊線是否與框外有相同值以得到複數參數,並對複數參數依據馬賽克特徵及非馬賽克特徵分別給與分數以得到各組參數之分數,再將各組參數之分數與範圍之資訊記錄在灰階圖品質記分表。
In step B05 in Figure 4, the gray-scale mosaic feature analysis unit 41 of the mosaic
在第4圖之步驟B06中,由第1圖所示馬賽克特徵分析模組40之MB馬賽克特徵分析單元42分析MB平滑交點與線特徵參數單元52在原彩圖之紅綠藍(RGB)三顏色之一範圍內是否有成對的四個以上的角點P(見第3A圖至第3D圖)與四條線以上、範圍內的像素是否有相同值、及範圍的邊線是否與框外有相同值等參數,並將第3A圖至第3D圖所示之四種直角形態沿直角6個點相鄰兩旁的值分別結合特徵加權參數組100得到的分數記錄在MB品質記分表。
In step B06 in Figure 4, the MB mosaic feature analysis unit 42 of the mosaic
在第4圖之步驟B07中(如同第2圖之步驟A08),由第1圖所示馬賽克特徵分析模組40之灰階馬賽克特徵分析單元41將灰階圖品質記分表中的數值乘以相關參數加權值,並由馬賽克特徵分析模組40之MB馬賽克特徵分析單元42將MB品質記分表中的數值乘以特徵加權參數組的相關加權值,再將前述相乘後的數值累進存放於圖片有馬賽克的準確率及圖片無馬賽克的準確率兩者的變數中。
In step B07 in Figure 4 (similar to step A08 in Figure 2), the gray-scale mosaic feature analysis unit 41 of the mosaic
在第4圖之步驟B08中,由第1圖所示圖片馬賽克評估模組60之馬賽克評估單元62比較圖片無馬賽克的準確率與圖片有馬賽克的準確率的大小。
In step B08 in Fig. 4, the
若圖片無馬賽克的準確率較大,則進行第4圖之步驟B09,由圖片馬賽克評估模組60記錄含有馬賽克畫面的位置及相對片頭的播放
時間,再返回步驟B01。反之,若圖片有馬賽克的準確率較大或等於圖片無馬賽克的準確率,則直接返回第4圖之步驟B01。
If the accuracy of the picture without mosaic is greater, proceed to step B09 in Fig. 4, and the picture
[第一實施例:訓練模式] [First embodiment: training mode]
請參閱第1圖至第2圖與第5A圖至第5D圖,其中,第5A圖至第5D圖分別為本發明之影像中含有馬賽克的灰階圖、影像中含有馬賽克的直向邊線特徵、影像中含有馬賽克的橫向邊線特徵、影像中含有馬賽克的MB邊線與交點特徵。 Please refer to Figures 1 to 2 and Figures 5A to 5D. Figures 5A to 5D are respectively the grayscale map with mosaic in the image and the vertical edge feature of the image with mosaic in the image of the present invention. , The image contains the horizontal edge feature of the mosaic, and the image contains the MB edge and intersection feature of the mosaic.
舉例而言,如第2圖所示影像中含有馬賽克之檢查方法於訓練模式時的流程示意圖,在第2圖之步驟A01中,先查詢在第1圖所示已知含有馬賽克圖片集80內的圖片是否皆完成檢測? For example, as shown in Figure 2 the image contains mosaic inspection method in the training mode of the flow diagram, in step A01 of Figure 2, first query the known mosaic picture set 80 shown in Figure 1 Are all of the pictures tested?
若是(代表完成馬賽克辨識訓練),則進行第2圖之步驟A02,由第1圖所示圖片馬賽克評估模組60將特徵加權參數組100的值儲存起來稱為訓練後特徵加權參數組。反之,若否(代表未完成馬賽克辨識訓練),則進行第2圖之步驟A03,由第1圖所示圖片前處理模組20從已知含有馬賽克圖片集80中取出一張尚未辨識訓練的圖片,再由圖片前處理模組20之RGB2Y(紅綠藍轉灰階)單元21將圖片轉換成第5A圖所示含有馬賽克的灰階圖。
If it is (representing the completion of the mosaic recognition training), proceed to step A02 in FIG. 2, and the image
在第2圖之步驟A04中,由第1圖所示邊線與交點特徵提取模組30之灰階邊線交點提取單元31對第5A圖所示灰階圖分別進行3*3矩陣之直線卷積核與橫線卷積核之每次移動一點的邊緣檢測,以分別產生第5B圖至第5C圖所示直線與橫線的邊線4個點為一組資訊、及將直線與橫線有交集的點(交點)之直線上與橫線上各4個點之邊角特徵資訊,再分
別將水平邊線、垂直邊線、水平邊線與垂直邊線之交點、及交點可合併範圍等特徵資訊或相關資訊記錄或存放於第1圖所示特徵參數模組50之灰階交點與線特徵參數單元51。
In step A04 in Figure 2, the gray-scale edge-line intersection extraction unit 31 of the edge and intersection
在第2圖之步驟A05中,由第1圖所示邊線與交點特徵提取模組30之MB(巨集區塊)邊線交點提取單元32依照下列程序P1至程序P3對圖片(原彩圖)的紅綠藍(RGB)分開進行MB(巨集區塊)平滑角與線特徵提取。
In step A05 in Fig. 2, the MB (macro block) edge line
在程序P1中,由MB(巨集區塊)邊線交點提取單元32分別將圖片之x方向的第(4*n)線的像素值與第(4*n-1)線的像素值相減取絕對值(n=1)以獲得(圖片寬度/4)條水平方向的圖片資訊,並分別將圖片之y方向的第(4*n)線的像素值與第(4*n-1)線的像素值相減取絕對值(n=1)以取得y方向(圖片高度/4)條垂直方向的圖片資訊,其中n為正整數。前述選擇4*n的原因在於h264的最小MB(巨集區塊)為4x4、8*8、16*16,且高效率視訊編碼(High Efficiency Video Coding;HEVC)的最小編碼樹單元(Coding Tree Block;CTU)為8*8、64*64,故取最小值為4。
In the procedure P1, the MB (macro block) edge line
在程序P2中,由MB(巨集區塊)邊線交點提取單元32分別對水平方向的圖片資訊與垂直方向的圖片資訊找出同一條圖片資訊有相同的邊線或差值區間(可設門檻值比對),再從邊線中找出交點(角),以得到第5D圖所示影像中含有馬賽克的MB邊線與交點特徵的結果。
In procedure P2, the MB (macro block) edge
在程序P3中,由MB(巨集區塊)邊線交點提取單元32對上述第5D圖所示影像中含有馬賽克的MB邊線與交點特徵的結果進行顏色分群確認,包括:(i)沿邊線上一列或左一行的像素是否與邊線像素可成為
兩個不同群的值,如果是標示為邊界,則將資訊存放於MB邊線與交點特徵參數;以及(ii)交點之周圍可成為兩個灰階不同群,第3A圖至第3D圖所示之四種直角形態的角點P(粗黑圈為角點P),再將資訊存放於第1圖所示特徵參數模組50之MB平滑交點與線特徵參數單元52。
In the procedure P3, the MB (macro block) edge
在第2圖之步驟A06中,由第1圖所示馬賽克特徵分析模組40之灰階馬賽克特徵分析單元41分析特徵參數模組50之灰階交點與線特徵參數單元51所記錄之灰階圖之特徵資訊是否有馬賽克特徵之四種直角形態(見第3A圖至第3D圖),並將這些特徵資訊之參數依據有角特徵範圍之內外(以第3A圖至第3D圖所示16個點的範圍為例)對應於灰階圖之各點像素值當成分數,再將獲得之各組參數之分數與範圍之資訊記錄在灰階圖品質記分表。
In step A06 of Figure 2, the gray-scale mosaic feature analysis unit 41 of the mosaic
同樣地,在第2圖之步驟A07中,由第1圖所示馬賽克特徵分析模組40之MB馬賽克特徵分析單元42分析特徵參數模組50之MB平滑交點與線特徵參數單元52的資訊是否有馬賽克特徵,並依據第3A圖至第3D圖所示之四種直角形態沿直角6個點相鄰兩旁的各點範圍像素值當成分數,再將獲得之各組參數之分數與範圍之資訊記錄在MB(巨集區塊)品質記分表。
Similarly, in step A07 of Figure 2, the MB mosaic feature analysis unit 42 of the mosaic
在第2圖之步驟A08中,由第1圖所示馬賽克特徵分析模組40之灰階馬賽克特徵分析單元41將灰階圖品質記分表中的數值乘以相關參數加權值,並將相乘後的數值分別累進圖片有馬賽克的準確率及圖片無馬賽克的準確率以各自存放於圖片馬賽克評估模組60之馬賽克準確率參數單元63的灰階準確率參數與灰階非準確率參數中。同時,由第1圖所
示馬賽克特徵分析模組40之MB馬賽克特徵分析單元42將MB品質記分表中的數值乘以相關參數加權值,並將相乘後的數值分別累進圖片有馬賽克的準確率及圖片無馬賽克的準確率以各自存放於圖片馬賽克評估模組60之馬賽克準確率參數單元63的MB準確率參數與MB非準確率參數中。
In step A08 in Figure 2, the gray-scale mosaic feature analysis unit 41 of the mosaic
然後,由第1圖所示圖片馬賽克評估模組60之馬賽克準確率參數單元63將「灰階準確率參數乘以灰階準確率加權值」加上「MB準確率參數乘以MB準確率加權值」以產生馬賽克準確率,並由第1圖所示圖片馬賽克評估模組60之非馬賽克準確率參數單元64將「灰階非準確率參數乘以灰階非準確率加權值」加上「MB非準確率參數乘以MB非準確率加權值」以產生非馬賽克準確率。
Then, the mosaic
在第2圖之步驟A09中,由第1圖所示圖片馬賽克評估模組60之馬賽克評估單元62比較圖片無馬賽克的準確率與圖片有馬賽克的準確率的大小。
In step A09 in Fig. 2, the
若圖片無馬賽克的準確率較大,則進行第2圖之步驟A10,由圖片馬賽克評估模組60依序調整特徵加權參數組100內的一個加權值,並記錄特徵加權參數組100變動過,再依據灰階準確率參數、灰階非準確率參數、MB準確率參數、MB非準確率參數與相關加權參數值重新計算馬賽克準確率與非馬賽克準確率。反之,若圖片有馬賽克的準確率較大或等於圖片無馬賽克的準確率(代表圖片有馬賽克),則進行第2圖之步驟A11,由圖片馬賽克評估模組60判斷特徵加權參數組100是否變動。若特徵加權參數組100有變動過,則由圖片馬賽克評估模組60之特徵加權參數調整單元61先清除特徵加權參數組100變動過的標記,並清除已分析過的標記(設
定從第一張開始重作圖片中含有馬賽克的檢查分析),再返回第2圖之步驟A01所示已知含有馬賽克圖片集80是否皆完成檢測之處,以判斷是否完成訓練還是進行下一圖片之馬賽克辨識訓練。反之,若特徵加權參數組100無變動過,則直接返回第2圖之步驟A01,繼續執行下一張馬賽克圖片。當完成馬賽克辨識訓練後,由圖片馬賽克評估模組60將特徵加權參數組100的值儲存起來稱為訓練後特徵加權參數組。
If the accuracy of the picture without mosaic is high, proceed to step A10 in Figure 2, and the picture
[第二實施例:影像中含有馬賽克之檢查] [Second Example: Inspection of Mosaic in Image]
請參閱第1圖、第4圖與第6圖,其中,第6圖為本發明之影像中含有馬賽克之檢查方法於圖片擷取模式時的流程示意圖,且第6圖可包括下列步驟C01至步驟C04。 Please refer to Fig. 1, Fig. 4 and Fig. 6. Fig. 6 is a flowchart of the method for checking mosaics in images of the present invention in the image capture mode, and Fig. 6 can include the following steps C01 to Step C04.
簡言之,在第6圖中,可由第1圖所示圖片擷取單元12對影片進行圖片擷取,並將圖片存放於待檢測圖片集70中,直到將影片完成擷取後,再由圖片擷取單元12通知圖片前處理模組20已全部擷取完畢。當擷取好第一張圖片時,由圖片擷取單元12通知圖片前處理模組20啟動執行影像中含有馬賽克之檢查。
In short, in Figure 6, the image can be captured by the
舉例而言,在第6圖之步驟C01中,由第1圖所示檢測圖片擷取模組10之圖片擷取單元12對影片檔案進行圖片之擷取及處理。在第6圖之步驟C02中,由圖片擷取單元12將影片每t分鐘(t為可調整數值,且t之初值設為1)取出最近的I-frame(幀)轉為1張圖片存放於待檢測圖片集70,並將各圖片之片名依序存放於待測圖片片名單元11,當產生第一張圖片時,由圖片擷取單元12通知圖片前處理模組20啟動執行。在第6圖之步驟C03中,由圖片擷取單元12判斷影片是否結束(即影片完成擷取)?
For example, in step C01 in FIG. 6, the
若否(影片未結束),則返回步驟C02。反之,若是(影片已結束),則進行步驟C03,由圖片擷取單元12通知圖片前處理模組20已將影片之圖片全部擷取完畢。
If not (the movie is not over), return to step C02. On the contrary, if it is (the movie has ended), proceed to step C03, and the
然後,如第4圖所示影像中含有馬賽克之檢查方法於檢查模式時的流程圖,從第1圖所示待檢測圖片集70中取出至少一圖片,並由圖片前處理模組20之RGB2Y單元21(紅綠藍轉灰階)將圖片作YUV(明亮度/色度/濃度)轉換成灰階圖以進行檢查,其餘程序類似於第2圖所示之訓練模式,但不再變動訓練後特徵加權參數組的值。同時,當圖片有馬賽克的準確率較大或等於圖片無馬賽克的準確率時,由圖片馬賽克評估模組60將待檢測圖片集70中含有馬賽克畫面的位置及相對片頭的播放時間記錄下來以繼續待檢測圖片集70之下一圖片之檢測,直到將待檢測圖片集70之內容檢查完成。關於檢查模式之詳細技術內容,請參閱上述第4圖之步驟B01至步驟B09之完整說明,於此不再重覆敘述。
Then, as shown in the flowchart of the inspection method of the image containing mosaic in the inspection mode as shown in Fig. 4, at least one picture is taken from the to-be-detected picture set 70 shown in Fig. 1, and the RGB2Y of the
綜上,本發明之影像中含有馬賽克之檢查系統及其方法可至少具有下列特色、優點或技術功效。 In summary, the inspection system and method for detecting mosaics in images of the present invention can at least have the following features, advantages or technical effects.
一、本發明乃運用機器學習之馬賽克辨識訓練以及MB(巨集區塊)平滑邊線與交點RGB(紅綠藍)特徵提取,能在馬賽克畫面的範圍邊界不明顯時(與周遭顏色相近)找出有馬賽克的存在範圍,亦能分辨出網狀物體、文字與真正的馬賽克範圍之差別,也能找出紅綠藍(RGB)某一層有馬賽克之差別。 1. The present invention uses machine learning for mosaic recognition training and MB (macro block) smooth edge and intersection RGB (red, green, and blue) feature extraction, which can find when the boundary of the mosaic image is not obvious (similar to the surrounding color) It can also distinguish the difference between the mesh object, text and the real mosaic range, and also find the difference between the red, green and blue (RGB) layer of the mosaic.
二、本發明可運用機器學習以尋找圖片或影片(待檢測圖片集)中是否含有馬賽克畫面的位置或相對片頭的播放時間,能解決影片檢查 人員用人眼主觀方式尋找影片是否含有馬賽克而耗費大量人力與工作時間的問題,從而降低影片檢查的負擔及提升影片的品質。 2. The present invention can use machine learning to find whether a picture or movie (picture set to be detected) contains the position of the mosaic picture or the playing time relative to the title, which can solve the movie check Personnel use the subjective method of human eyes to find whether the film contains mosaics, which consumes a lot of manpower and working time, thereby reducing the burden of film inspection and improving the quality of the film.
三、本發明能找出因為原始圖片或影片已經損壞或轉檔時資訊的不完全所引起含有馬賽克的畫面,預先從這類已知含有馬賽克畫面的影片中搜集到一些已知含有馬賽克畫面的圖片,並運用機器學習之馬賽克辨識訓練後,獲得一個可找出目前搜尋到的馬賽克畫面之特徵加權參數組,再利用特徵加權參數組進行影像中含有馬賽克畫面的檢查,以找出含有馬賽克畫面的位置及相對片頭的播放時間。 3. The present invention can find out that the original picture or video has been damaged or the information is incomplete during the conversion. It can collect some known mosaic pictures from such videos that are known to contain mosaic pictures. After the mosaic recognition training of machine learning is used, a feature weighting parameter group that can find the currently searched mosaic image is obtained, and then the feature weighting parameter group is used to check the mosaic image in the image to find the mosaic image. The position and relative playing time of the movie title.
四、本發明為因應影片分級,能用於過濾含有(人為)馬賽克畫面的影片以避免暴力、色情影片或一般影片不當混淆,亦能用於影片上架前多一道審查影片是否符合設定的觀賞級別,從而確保影片上片的品質或分級審查。 4. The present invention is in response to the classification of videos and can be used to filter videos containing (artificial) mosaic images to avoid violent, pornographic videos or improper confusion of general videos. It can also be used to check whether the videos meet the set viewing level before the videos are put on the shelves. , So as to ensure the quality of the film on the film or classification review.
五、本發明能完成影片上片前的影片品質檢查或觀賞級別檢查。例如,針對MOD(隨選視訊的多媒體平台)、OTT(通過網際網路向用戶提供影音內容)等各種平台,執行影片上片前的影片品質檢查或觀賞級別檢查。 5. The present invention can complete the film quality check or viewing level check before the film is filmed. For example, for various platforms such as MOD (multimedia platform for video on demand), OTT (providing audio and video content to users through the Internet) and other platforms, perform a video quality check or a viewing level check before the film is released.
上述實施形態僅例示性說明本發明之原理、特點及其功效,並非用以限制本發明之可實施範疇,任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施形態進行修飾與改變。任何運用本發明所揭示內容而完成之等效改變及修飾,均仍應為申請專利範圍所涵蓋。因此,本發明之權利保護範圍,應如申請專利範圍所列。 The above embodiments are only illustrative of the principles, features and effects of the present invention, and are not intended to limit the scope of implementation of the present invention. Anyone who is familiar with the art can comment on the above without departing from the spirit and scope of the present invention. Modifications and changes to the implementation form. Any equivalent changes and modifications made by using the contents disclosed in the present invention should still be covered by the scope of the patent application. Therefore, the protection scope of the present invention should be as listed in the scope of patent application.
1‧‧‧影像中含有馬賽克之檢查系統 1‧‧‧ Inspection system for mosaic in images
10‧‧‧檢測圖片擷取模組 10‧‧‧Detection image capture module
11‧‧‧待測圖片片名單元 11‧‧‧Picture title unit to be tested
12‧‧‧圖片擷取單元 12‧‧‧Picture Capture Unit
20‧‧‧圖片前處理模組 20‧‧‧Picture preprocessing module
21‧‧‧RGB2Y單元 21‧‧‧RGB2Y unit
22‧‧‧馬賽克範圍粗估單元 22‧‧‧Mosaic range rough estimation unit
30‧‧‧邊線與交點特徵提取模組 30‧‧‧Edge and intersection feature extraction module
31‧‧‧灰階邊線交點提取單元 31‧‧‧Gray scale edge line intersection extraction unit
32‧‧‧MB邊線交點提取單元 32‧‧‧MB Edge Intersection Extraction Unit
40‧‧‧馬賽克特徵分析模組 40‧‧‧Mosaic feature analysis module
41‧‧‧灰階馬賽克特徵分析單元 41‧‧‧Grayscale mosaic feature analysis unit
42‧‧‧MB馬賽克特徵分析單元 42‧‧‧MB mosaic feature analysis unit
50‧‧‧特徵參數模組 50‧‧‧Characteristic parameter module
51‧‧‧灰階交點與線特徵參數單元 51‧‧‧Gray scale intersection and line feature parameter unit
52‧‧‧MB平滑交點與線特徵參數單元 52‧‧‧MB Smooth intersection and line feature parameter unit
60‧‧‧圖片馬賽克評估模組 60‧‧‧Picture Mosaic Evaluation Module
61‧‧‧特徵加權參數調整單元 61‧‧‧Feature weighting parameter adjustment unit
62‧‧‧馬賽克評估單元 62‧‧‧Mosaic Evaluation Unit
63‧‧‧馬賽克準確率參數單元 63‧‧‧Mosaic accuracy rate parameter unit
64‧‧‧非馬賽克準確率參數單元 64‧‧‧Non-mosaic accuracy rate parameter unit
70‧‧‧待檢測圖片集 70‧‧‧Pictures to be detected
80‧‧‧已知含有馬賽克圖片集 80‧‧‧A collection of known mosaic pictures
90‧‧‧影片檔案 90‧‧‧Video File
100‧‧‧特徵加權參數組 100‧‧‧Feature weighting parameter group
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108111517A TWI697871B (en) | 2019-04-01 | 2019-04-01 | Inspection system for image containing mosaic and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108111517A TWI697871B (en) | 2019-04-01 | 2019-04-01 | Inspection system for image containing mosaic and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI697871B true TWI697871B (en) | 2020-07-01 |
TW202038194A TW202038194A (en) | 2020-10-16 |
Family
ID=72602020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108111517A TWI697871B (en) | 2019-04-01 | 2019-04-01 | Inspection system for image containing mosaic and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI697871B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101551900A (en) * | 2008-03-31 | 2009-10-07 | 新奥特(北京)视频技术有限公司 | Detection method for video mosaic images |
CN102542282A (en) * | 2010-12-16 | 2012-07-04 | 北京大学 | Mosaic detection method and mosaic detection device for passive images |
US20140286441A1 (en) * | 2011-11-24 | 2014-09-25 | Fan Zhang | Video quality measurement |
CN104079929A (en) * | 2014-06-17 | 2014-10-01 | 深圳市同洲电子股份有限公司 | Mosaic detection method and device |
US20140301649A1 (en) * | 2011-11-29 | 2014-10-09 | Thomson Licensing | Texture masking for video quality measurement |
TWI543589B (en) * | 2015-11-12 | 2016-07-21 | 楊念真 | Image Processing Method for an Original Mosaic |
CN106372584A (en) * | 2016-08-26 | 2017-02-01 | 浙江银江研究院有限公司 | Video image mosaic detection method |
CN106447660A (en) * | 2016-09-27 | 2017-02-22 | 百度在线网络技术(北京)有限公司 | Image detection method and device |
CN106610969A (en) * | 2015-10-21 | 2017-05-03 | 上海文广互动电视有限公司 | Multimodal information-based video content auditing system and method |
CN106971399A (en) * | 2017-03-29 | 2017-07-21 | 北京数码视讯科技股份有限公司 | Image-mosaics detection method and device |
CN107818568A (en) * | 2017-09-29 | 2018-03-20 | 昆明理工大学 | A kind of video mosaic detection method |
CN108364282A (en) * | 2018-01-15 | 2018-08-03 | 北京华兴宏视技术发展有限公司 | Image-mosaics detection method, image-mosaics detecting system |
CN108805884A (en) * | 2018-06-13 | 2018-11-13 | 北京搜狐新媒体信息技术有限公司 | A kind of mosaic area's detection method, device and equipment |
-
2019
- 2019-04-01 TW TW108111517A patent/TWI697871B/en active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101551900A (en) * | 2008-03-31 | 2009-10-07 | 新奥特(北京)视频技术有限公司 | Detection method for video mosaic images |
CN102542282A (en) * | 2010-12-16 | 2012-07-04 | 北京大学 | Mosaic detection method and mosaic detection device for passive images |
US20140286441A1 (en) * | 2011-11-24 | 2014-09-25 | Fan Zhang | Video quality measurement |
US20140301649A1 (en) * | 2011-11-29 | 2014-10-09 | Thomson Licensing | Texture masking for video quality measurement |
CN104079929A (en) * | 2014-06-17 | 2014-10-01 | 深圳市同洲电子股份有限公司 | Mosaic detection method and device |
CN106610969A (en) * | 2015-10-21 | 2017-05-03 | 上海文广互动电视有限公司 | Multimodal information-based video content auditing system and method |
TWI543589B (en) * | 2015-11-12 | 2016-07-21 | 楊念真 | Image Processing Method for an Original Mosaic |
CN106372584A (en) * | 2016-08-26 | 2017-02-01 | 浙江银江研究院有限公司 | Video image mosaic detection method |
CN106447660A (en) * | 2016-09-27 | 2017-02-22 | 百度在线网络技术(北京)有限公司 | Image detection method and device |
CN106971399A (en) * | 2017-03-29 | 2017-07-21 | 北京数码视讯科技股份有限公司 | Image-mosaics detection method and device |
CN107818568A (en) * | 2017-09-29 | 2018-03-20 | 昆明理工大学 | A kind of video mosaic detection method |
CN108364282A (en) * | 2018-01-15 | 2018-08-03 | 北京华兴宏视技术发展有限公司 | Image-mosaics detection method, image-mosaics detecting system |
CN108805884A (en) * | 2018-06-13 | 2018-11-13 | 北京搜狐新媒体信息技术有限公司 | A kind of mosaic area's detection method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
TW202038194A (en) | 2020-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106778676B (en) | Attention assessment method based on face recognition and image processing | |
US7426296B2 (en) | Human skin tone detection in YCbCr space | |
CN104243973B (en) | Video perceived quality non-reference objective evaluation method based on areas of interest | |
WO2020249054A1 (en) | Living body detection method and system for human face by using two long-baseline cameras | |
CN106096603A (en) | A kind of dynamic flame detection method merging multiple features and device | |
US11315360B2 (en) | Live facial recognition system and method | |
CN106097366A (en) | A kind of image processing method based on the Codebook foreground detection improved | |
CN108564057A (en) | Method for establishing human similarity system based on opencv | |
CN112560734A (en) | Method, system, device and medium for detecting reacquired video based on deep learning | |
KR101215666B1 (en) | Method, system and computer program product for object color correction | |
CN114422720B (en) | Video concentration method, system, device and storage medium | |
TWI697871B (en) | Inspection system for image containing mosaic and method thereof | |
Sharma et al. | A review of passive forensic techniques for detection of copy-move attacks on digital videos | |
CN113365103A (en) | Automatic bad frame detection method, device, equipment, storage medium and program product | |
CN109168082B (en) | Mosaic detection implementation method based on fixed video | |
CN109413413B (en) | Video quality evaluation method and device | |
Fonseca et al. | Face detection in the compressed domain | |
Manu et al. | Visual artifacts based image splicing detection in uncompressed images | |
CN109978834A (en) | A kind of screen picture quality evaluating method based on color and textural characteristics | |
CN112601080B (en) | Method for judging television monochromatic field signal | |
US7065248B2 (en) | Content-based multimedia searching system using color distortion data | |
CN108462878A (en) | Instructional video compression algorithm based on key frame and indicator motion model | |
Pathak et al. | Video forgery detection based on variance in luminance and signal to noise ratio using LESH features and bispectral analysis | |
CN111402189B (en) | Video image color cast detection device and method | |
Wan et al. | A video forensic technique for detecting frame integrity using human visual system-inspired measure |