CN105872840A - Satellite television station caption identification method and device - Google Patents
Satellite television station caption identification method and device Download PDFInfo
- Publication number
- CN105872840A CN105872840A CN201510824183.3A CN201510824183A CN105872840A CN 105872840 A CN105872840 A CN 105872840A CN 201510824183 A CN201510824183 A CN 201510824183A CN 105872840 A CN105872840 A CN 105872840A
- Authority
- CN
- China
- Prior art keywords
- station symbol
- matching rate
- identified
- standard
- highest
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
- H04N21/4823—End-user interface for program selection using a channel name
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
Abstract
The invention discloses a satellite television station caption identification method and device, and relates to the technical field of information identification. According to the method and the device, global station caption identification is eliminated; features of satellite television station captions are taken into full consideration; station caption areas containing to-be-identified station captions are obtained; when the to-be-identified station captions are not China Central Television station captions, matching rates of the edges of the station caption areas and standard station captions are calculated; when the differences of the maximum matching rates and the secondary matching rates are greater than a first preset difference value, the standard station captions corresponding to the maximum matching rates are taken as the identification results of the to-be-identified station captions. The time complexity is reduced, and the satellite television station captions can be identified rapidly.
Description
Technical field
The present invention relates to information discriminating technology field, particularly to a kind of satellite TV TV station symbol recognition method
And device.
Background technology
Intelligent television just complies with " high Qinghua ", " networking ", the trend of " intelligent " is sent out rapidly
Exhibition, possess from the Internet, the multiple channel such as video equipment, computer obtains programme content, logical
Cross the merit that the content that consumer needs most by the mode of information fusion clearly represents on giant-screen
Energy.Compared with traditional tv, intelligent television has provided the user more quick, intelligence, human nature
The application service changed.
Intelligent television comprises a large amount of order video, programme televised live, and most of TV programme are protected
Stay the station symbol of program product side.Station symbol is to discriminate between the important symbol of television station, contains TV
The important semantic informations such as platform platform name, programming source, program orientation, be realize video analysis,
Understand and the important semantic source of retrieval.The realization of TV station symbol recognition technology, will effectively realize programme
Function, and to understanding that user preferences, input value-added service tool are of great significance.
In prior art when station symbol is identified, generally employing following two scheme:
The first scheme: TV station symbol recognition scheme based on single-frame images.This kind of method with edge away from
From transformation matrix as feature, all use the mode of template matching, (sliding including overall situation edge matching
Dynamic window travels through whole station symbol region), divided-fit surface (using manual type to filter non-edge),
Color form fit (CF feature is mated simultaneously, carries out classification and ordination for program searching)
Deng.
First scheme: TV station symbol recognition method based on multiple image.This kind of scheme generally can be adopted
By following three kinds of methods: one, utilize sensitizing range (the i.e. station symbol of continuous multiple frames sequence of frames of video
Region) the eigenvalue change of pixel splits image, and carries out rim detection, uses and slide
Window and method of partition carry out match cognization.Two, comprehensive utilization CF feature, according to
Spatio-temporal invariant splits station symbol in frame sequence, utilizes spatial distribution rectangular histogram to combine HSV color
Feature is effectively described by Color Histogram, finally utilizes SUV to complete TV station symbol recognition.Method
Three: calculate the change of consecutive frame image, extract station symbol and Hu not bending moment thereof, and according to candidate
Set and pre-set criteria are identified result etc..
But in prior art, the mode such as template matching all uses station symbol global recognition, the most fully examines
Considering the feature of satellite TV's station symbol, time complexity is higher, it is difficult to ensure the quick identification of satellite TV's station symbol.
Summary of the invention
The embodiment of the present invention provides a kind of satellite TV TV station symbol recognition method and device, existing in order to solve
In technology, time complexity is higher, it is difficult to ensure the defect quickly identified of satellite TV's station symbol.
The embodiment of the present invention provides the recognition methods of a kind of satellite TV station symbol, and described method includes:
Obtain the station symbol region including station symbol to be identified;
When described station symbol to be identified is non-CCTV's station symbol, calculate the edge in described station symbol region with
Each standard unit target matching rate;
When the difference of the highest matching rate with second highest matching rate is more than the first preset difference value, by the highest
Join standard unit corresponding to rate and be denoted as the recognition result into described station symbol to be identified.
The embodiment of the present invention provides a kind of satellite TV TV station symbol recognition device, and described device includes:
Area acquisition unit, for obtaining the station symbol region including station symbol to be identified;
Matching rate computing unit, for when described station symbol to be identified is non-CCTV's station symbol, calculates
The edge in described station symbol region and each standard unit target matching rate;
Result acquiring unit, for pre-more than first in the highest matching rate and the difference of second highest matching rate
If during difference, standard unit corresponding for the highest matching rate is denoted as the identification into described station symbol to be identified
Result.
The present invention no longer uses station symbol global recognition, but takes into full account the feature of satellite TV's station symbol,
Obtain the station symbol region including station symbol to be identified, be non-CCTV station symbol at described station symbol to be identified
Time, calculate the edge in described station symbol region and each standard unit target matching rate, at the highest matching rate
When being more than the first preset difference value with the difference of second highest matching rate, by standard unit corresponding for the highest matching rate
It is denoted as the recognition result for described station symbol to be identified, thus reduces time complexity, it is possible to be right
Satellite TV's station symbol quickly identifies.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below
By the accompanying drawing used required in embodiment or description of the prior art is briefly described, aobvious
And easy insight, the accompanying drawing in describing below is some embodiments of the present invention, general for this area
From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to attached according to these
Figure obtains other accompanying drawing.
Fig. 1 is the flow chart of satellite TV's TV station symbol recognition method of one embodiment of the present invention;
Fig. 2 is the flow chart of satellite TV's TV station symbol recognition method of one embodiment of the present invention;
Fig. 3 is the edge graph of Dragon TV;
The edge graph of Tu4Shi Jiangsu satellite TV;
The edge graph of Tu5Shi Heilungkiang satellite TV;
The edge graph of Tu6Shi Sichuan satellite TV;
The edge graph of Tu7Shi Xinjiang satellite TV;
The edge graph of Tu8Shi Inner Mongol satellite TV;
Fig. 9 is the flow chart of satellite TV's TV station symbol recognition method of one embodiment of the present invention;
Figure 10 is the structured flowchart of satellite TV's TV station symbol recognition device of one embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings and embodiment, the detailed description of the invention of the present invention is made the most in detail
Describe.Following example are used for illustrating the present invention, but are not limited to the scope of the present invention.
Fig. 1 is the flow chart of satellite TV's TV station symbol recognition method of one embodiment of the present invention;Reference
Fig. 1, described method includes:
S101: obtain the station symbol region including station symbol to be identified;
It should be noted that described station symbol region is only includes to be identified target area.
It will be appreciated that described station symbol region can be extracted in several ways, in order to prevent
The impact on TV station symbol recognition of the noise such as random noise, picture noise, in present embodiment, passes through
Following steps obtain and include the station symbol region of station symbol to be identified:
(1) in the predeterminable area of the video including station symbol to be identified, video frame images sequence is obtained
Row;
According to priori, the substantially all upper left corner being positioned at video frame images of television station's station symbol
(certainly, if being in other positions, it is possible to carry out accommodation as required), because of
During the detection of this station symbol, only need to extract fixing upper left corner area (i.e. predeterminable area) as station symbol
Detection region.Existing TV station symbol recognition method is generally according to optimal region rule (GSR)
Obtaining station symbol region, present embodiment is with existing TV station symbol recognition method difference: (1)
Calculate the proportional positions that all station symbols effectively identify in each video frame images;(2) calculating is all
The maximum magnitude of proportional positions is as the region of station symbol region segmentation.Video with 1920*1080
As a example by, station symbol cut zone is row starting position 80 (1/24), arranges starting position 40
(1/27), line width 450 (15/64), col width 180 (1/6), region segmentation effect such as Fig. 2
Shown in Fig. 3, certainly, described proportional positions can the most suitably adjust, this enforcement
This is not any limitation as by mode.
For information unrelated in elimination image, recover or strengthen useful relevant information, improve spy
The detectability levied, simplifies data to greatest extent, to guarantee the reliability identified, this enforcement
In mode, each video frame images can carry out pretreatment, described pretreatment includes: region segmentation,
At least one in gray processing and image enhaucament, certainly, may also include other processing procedures, this
This is not any limitation as by embodiment.
Described pretreatment can use formula Gray=0.33R+0.59G+0.11B to carry out gray processing,
Certainly, it is possible to substituted by modes such as triple channel mean value method or triple channel maximum value process, wherein,
Gray is the gray value of pixel, and R is the red component of pixel, and G is the green component of pixel,
B is the blue component of pixel.
The purpose of described image enhaucament is prominent station symbol region effective information, as icon, word,
Numerals etc., image enhaucament uses the gray scale stretching of 0~255 gray levels, it is also possible to rectangular histogram converts
Method substitutes.
(2) each video frame images is carried out edge extracting;
It will be appreciated that the edge violent part that is variation of image grayscale, edge extracting is station identification
Other key, the integrated degree at edge directly affects TV station symbol recognition result, certainly, edge extracting
Method have a lot, such as Canny, LOG, Sobel, Laplace operator method etc..Comprehensively
Consider the requirements such as denoising, edge integrity, edge precision, present embodiment uses
Canny edge detection method.
In implementing, the parameter of Canny edge detection method is set to: weak edge threshold
50, strong edge threshold 200, certainly, it is possible to the most suitably float, such as, threshold
Value is floated in the range of ± 10.
(3) edge of each video frame images is synthesized;
In implementing, presetting of correspondence can be determined according to the quantity of described video frame images
Whether image threshold, be less than described pre-further according to described each marginal point in the quantity of video frame images
If image threshold judges whether to retain this marginal point.
It is to say, pre-build between the quantity of video frame images and pre-set image threshold value is right
Should be related to, search corresponding relation according to the quantity of described video frame images, to determine the pre-of correspondence
If image threshold, there is each marginal point quantity at video frame images less than described pre-set image
During threshold value, do not retain this marginal point, be optionally greater than in the quantity of video frame images at each marginal point
During described pre-set image threshold value, retain this marginal point.
Illustrate to close the edge of each video frame images with a specific embodiment below
Become, but do not limit protection scope of the present invention: setting the N quantity as video frame images, X is
Pre-set image threshold value.
As N=6, correspondingly, X=4, say, that only marginal point (bag more than 4
Include 4) video frame images in the presence of just retain, if marginal point (includes 3) below 3
Video frame images in the presence of then give up;
When 6 > N > 3 time, correspondingly, X=3, say, that only marginal point is more than 3
Just retain in the presence of in the video frame images of (including 3), if marginal point (bag below 2
Include 2) video frame images in the presence of then give up;
When N≤3, correspondingly, X=N, say, that only marginal point is at all videos
Just retaining in the presence of in two field picture, other situations are all given up.
Certainly, the parameter in described corresponding relation can be adjusted according to the resolution of image, this
This is not any limitation as by embodiment.
All recognition accuracy can be caused shadow due to edge noise, black surround and inessential word etc.
Ringing, for improving recognition accuracy further, the edge that can synthesize is optimized process, this enforcement
In mode, described optimization processes and includes: edge noise is deleted, black surround is removed and inessential word
At least one in deletion.
(4) the minimum external matrix at the edge of synthesis is obtained;
(5) respectively each video frame images is split according to described minimum external matrix, and
The image being partitioned into is synthesized by average weighted mode, includes to be identified to obtain
Target station symbol region.
S102: when described station symbol to be identified is non-CCTV's station symbol, calculate described station symbol region
Edge and each standard unit target matching rate;
For ease of calculating edge and each standard unit target matching rate, this enforcement in described station symbol region
In mode, the edge in described station symbol region is entered with standard station symbol by spatial distribution rectangular histogram
Row coupling, to calculate the edge in described station symbol region and each standard unit target matching rate.
S103: when the difference of the highest matching rate with second highest matching rate is more than the first preset difference value, will
The standard unit that the highest matching rate is corresponding is denoted as the recognition result into described station symbol to be identified.
Present embodiment no longer uses station symbol global recognition, but takes into full account the spy of satellite TV's station symbol
Point, obtains the station symbol region including station symbol to be identified, is non-CCTV platform at described station symbol to be identified
Timestamp, calculates the edge in described station symbol region and each standard unit target matching rate, in the highest coupling
When the difference of rate and second highest matching rate is more than the first preset difference value, by standard corresponding for the highest matching rate
Station symbol is as the recognition result of described station symbol to be identified, thus reduces time complexity, it is possible to
Satellite TV's station symbol is quickly identified.
Fig. 2 is the flow chart of satellite TV's TV station symbol recognition method of one embodiment of the present invention;Reference
Fig. 2, described method includes:
S201: obtain the station symbol region including station symbol to be identified;
Step S201 is identical with step S101 of the embodiment shown in Fig. 1, the most superfluous at this
State.
S202: judge treating in station symbol region according to length-width ratio, gray scale and the color in station symbol region
Identify whether station symbol is CCTV's station symbol;
Will be understood that, it is judged that when whether the station symbol to be identified in station symbol region is CCTV's station symbol,
Various ways can be used, for ensureing the accuracy rate judged, in present embodiment, according to station symbol district
The length-width ratio in territory, gray scale and color judge whether the station symbol to be identified in station symbol region is CCTV's platform
Mark.
Research finds, CCTV's station symbol finds relative to satellite TV's station symbol, local broadcasting stations' target feature and difference:
(1) length-width ratio difference, the length-width ratio of CCTV's station symbol is (long: vertical direction length;Wide: water
Square to width) generally it is significantly less than other station symbols;(2) cromogram of CCTV's station symbol has extensively
White pixel feature, especially show left side 2/3 at;(3) gray-scale map of CCTV's station symbol divides
After block, meet the related constraint that gray scale is close between sub-block, such as average, variance etc..
So, can be come institute by the difference of length-width ratio, gray scale and the color in described station symbol region
State station symbol region to classify.
Owing to length-width ratio is one of the most direct feature of station symbol.So, can be first to described station symbol district
Territory is tentatively judged by length-width ratio, say, that first calculate the length-width ratio in each station symbol region,
The method calculating length-width ratio is: calculate length H and width W, the length-width ratio in station symbol region
Ratio=W/H.
The ratio of CCTV's station symbol generally below 0.3, so, the preliminary Rule of judgment that can build
For: ratio < 0.3.But, satellite TV's platform such as Inner Mongol satellite TV, Chongqing satellite TV, BTV (bag
Include the local broadcasting stations of these satellite TVs) ratio of station symbol all below 0.3, so, length and width can be passed through
After screening, more again screened by gray scale and color.
When again being screened by gray scale and color, can carry out point according to following Rule of judgment
Class, say, that the following condition for determining whether is set:
(1) red component in first preset range in the upper left corner, described station symbol region and described
The average of the red component in second preset range in the lower right corner, station symbol region is less than presetting redness
Component.
It is to say, can be divided into 5*3 sub-block (certainly, it is possible to logical by row * row in station symbol region
Cross the modes such as 6*3 or 4*3 and carry out piecemeal), extract first sub-block area1 in the upper left corner (i.e.
First preset range) and first sub-block area2 (the i.e. second preset range) in the lower right corner.Centre
The red distribution in the two region such as television stations mark and Chongqing satellite TV station symbol, BTV's station symbol cuts
The most different.
Integrated interference station symbol and the color characteristic of CCTV's station symbol, can build condition 1 (i.e.
Condition1) the red average of area1 and area2 is less than 150.
(2) on the left of described station symbol region, the gray average in the 3rd preset range is grey less than presetting
Angle value.
Consider fault-tolerance and the translucent feature of CCTV's station symbol of Condition1, take sub-block
area3.Station symbol region can be taken the most left with 50 pixels of width in station symbol region as standard
8 row pixels (the widest 4/25) constitute area3 (the i.e. the 3rd preset range).
Analysis interference station symbol and CCTV's station symbol, at the gray difference of area3, build condition 2
(Condition2) gray average of area3 is less than 100.
It will be appreciated that triple channel classics synthetic method Gray=0.33R+0.59G+0.11B can be passed through
Obtain gray level image, it is possible to by triple channel maximum value process, triple channel mean value method etc., this
This is not any limitation as by embodiment.
(3) it is at least 4 parts by described station symbol region segmentation, the predetermined fraction after segmentation
Between pixel average absolute difference less than preset absolute difference;
Owing to Condition1 and Condition2 contains only the self information of each sub-block, need by
Constraint expansion is to the relation between sub-block.Analyze and find, the word in station symbol region, digital pixel
It is predominantly located at rear 1/3 row in station symbol region.To this end, station symbol region is divided into 2*3 according to row * row
Sub-block (certainly, it is possible to carry out piecemeal by modes such as 3*3), takes front 2*2 sub-block and (i.e. divides
Predetermined fraction after cutting) it is expressed as area4, area5, area6 and area7.
Multisample strictly calculates discovery, and CCTV's station symbol is substantially following condition at these 4 sub-blocks:
The average of condition 3 (Condition3) area4, area5, area6 and area7 it
Absolute difference is less than 100.
(4) variance of the pixel average between the predetermined fraction after segmentation is less than presetting variance.
It is to say, the variance of the pixel average of above 4 sub-blocks all has difference, so, centre
Television stations is marked at these 4 sub-blocks and meets following condition:
The average sequence of condition 4 (Condition4) area4, area5, area6 and area7
The variance of row is less than 1600.
When certain station symbol sample meets above Condition1~Condition4 simultaneously, can be judged
For CCTV's station symbol, otherwise it is judged as non-CCTV station symbol.When above-mentioned condition judges simultaneously, accuracy rate
The highest, it is demonstrated experimentally that lack any one condition all can improve the error rate of multisample classification.
S203: when described station symbol to be identified is non-CCTV's station symbol, calculate described station symbol region
Edge and each standard unit target matching rate;
It will be appreciated that owing to non-CCTV station symbol generally includes: satellite TV's station symbol and local station symbol,
In present embodiment, it is contemplated that the feature of satellite TV's station symbol and difference, can be divided into without word station symbol (as
Dragon TV), (such as southeast satellite TV, the most above-mentioned is " inessential separable word station symbol
Word ") and have and can not be kept completely separate word station symbol (such as Hebei satellite TV, the most above-mentioned " must
Want word "), so, phase will be carried out according to three kinds of different satellite TVs platform station symbol types in java standard library
Answer the structure of type standard station symbol.
Owing to the station symbols such as Jiangsu satellite TV, Dragon TV are only left station symbol (such circular, oval
Station symbol is defined as short station symbol), length and width are smaller, the television station such as Inner Mongol satellite TV, Xinjiang satellite TV
The length-width ratio of station symbol (this kind of station symbol is defined as long station symbol) is significantly greater than the length of these satellite TV's station symbols
Wide ratio.So, can be using length-width ratio as class condition.Long table target ratio more than 1.5,
Identification layer length-width ratio comparison condition of taking second place is: ratio >=1.5, the edge graph of short station symbol can refer to
Shown in Fig. 3~5, long table target edge graph can refer to shown in Fig. 6~8, after sorting, carries out
Timing, then can directly mate according to the standard station symbol of identical aspect ratio type, and without with
All standard station symbols all mate, and further shorten coupling duration.
In present embodiment, the edge Edge in station symbol region is divided into the sub-block that quantity is identical
A1, A2, A3 ... Am, wherein m is the number of sub-block.To each sub-block, statistics is wherein
Marginal point probability, i.e. obtain spatial distribution rectangular histogram.Such as: the Edge of short station symbol is divided into
5*5 sub-block, i.e. 25 sub-blocks;Long table target Edge is divided into 5*10 (row * row) height
Block, i.e. 50 sub-blocks.Each standard station symbol in standard gallery is also according to short, progress row space
Distribution histogram calculates, and the spatial distribution rectangular histogram in described station symbol region and standard station symbol are by sub-block
Mate.The sub-block number of meter coupling is n (initial value is 0), and total sub-block number is N, if certain
The probability of sub-block is sufficiently close to (such as: probability difference < 0.05), then n=n+1;Coupling terminates,
Calculating matching rate is p=n/N.Thus obtain traveling through all standard unit target matching rate arrays P.
Parameter, Δ p is used for judging whether to need to carry out Pixel Information coupling.Δ p is defined as:
Δ p=pmax-psecond, wherein, pmaxFor the maximum (the highest matching rate) of matching rate array P,
psecondFor second largest value (the most second highest matching rate) in addition to maximum in matching rate array P.
S204: when the difference of the highest matching rate with second highest matching rate is more than the first preset difference value, will
The standard unit that the highest matching rate is corresponding is denoted as the recognition result into described station symbol to be identified.
There is certain fault-tolerance in view of match cognization, set Rule of judgment Δ p >=0.25 (i.e. the
One preset difference value, certainly, can be also other values), if it is determined that condition Δ p >=0.25 is set up,
Then by pmaxCorresponding standard unit is designated as the recognition result as described station symbol to be identified.
Fig. 9 is the flow chart of satellite TV's TV station symbol recognition method of one embodiment of the present invention;Reference
Fig. 9, described method includes:
S901: obtain the station symbol region including station symbol to be identified;
S902: judge treating in station symbol region according to length-width ratio, gray scale and the color in station symbol region
Identify whether station symbol is CCTV's station symbol;
S903: when described station symbol to be identified is non-CCTV's station symbol, calculate described station symbol region
Edge and each standard unit target matching rate;
S904: when the difference of the highest matching rate with second highest matching rate is more than the first preset difference value, will
The standard unit that the highest matching rate is corresponding is denoted as the recognition result into described station symbol to be identified;
Step S201~the S204 of the embodiment shown in step S901~S904 with Fig. 2 are identical,
Do not repeat them here.
S905: preset less than or equal to first in the described difference at the highest matching rate with second highest matching rate
During difference, it is judged that whether the highest described matching rate or standard station symbol corresponding to second highest matching rate belong to
Local station symbol;If the highest described matching rate or standard station symbol corresponding to second highest matching rate are not admitted to
Local station symbol, then be denoted as standard unit corresponding with second highest matching rate for the highest described matching rate as treating
Coupling standard station symbol, enters the colour information in described station symbol region with described standard station symbol to be matched
Row coupling, to update described standard unit target matching rate to be matched, treats higher for matching rate
Join the standard recognition result as described station symbol to be identified.
Owing to the highest described matching rate or standard station symbol corresponding to second highest matching rate are not admitted to ground
Fang Taibiao, so, described station symbol to be identified also will not belong to local station symbol, belongs to satellite TV's station symbol
Probability the highest.
In present embodiment, by the colour information in station symbol region and described standard station symbol to be matched
Mate, to update described standard unit target matching rate to be matched, following steps can be passed through:
(1) station symbol region RGB color triple channel gray matrix M is extractedR、MG、MB。
(2) triple channel gray areas matrix M in described station symbol region is extracted0.5R、M0.5G、
M0.5B, the width of three, high respectively MR、MG、MBHalf, the pixel initial point of three
Shown in coordinate such as formula (1).Wherein, gray represents R, G, B respectively, and x is row-coordinate, y
For row coordinate, H is matrix line number (i.e. height), and W is matrix columns (i.e. width).
The purpose extracting the high region of half-breadth half is, eliminates the background color at corner, station symbol region and does
Disturb, in order to subsequent match.
(3) partitioning of matrix.By M0.5R、M0.5G、M0.5BCarry out piecemeal respectively.Due to district
Domain sizes reduces, thus segment partition scheme is modified to: the Edge of short station symbol is divided into 3*3 sub-block,
I.e. 9 regions;Long table target Edge is divided into 3*6 (row * row) individual sub-block, Ji18Ge district
Territory.
(4) RGB triple channel spatial distribution rectangular histogram builds.Piecemeal side by step (3)
Case, calculates the average red gray value m in each sub-block regionRi, average green gray value mGi、
Average blue gray value mBi, the standard station symbol in java standard library carries out piecemeal mean value computation in like manner,
And carry out triple channel mean match.The number of regions of meter coupling is nrgb, overall area numerical digit Nrgb,
If the coupling of three passages is poor, (in same sub-block region, sample gray average and standard grayscale are equal
The difference of value) both less than 50, then nrgb=nrgb+1.Coupling terminates, and calculates matching rate and is
prgb=nrgb/Nrgb.Thus obtain traveling through all standard unit target RGB matching rate arrays Prgb,
The matching rate of the most close station symbol is prgb, the matching rate of non-close station symbol is 0.
(5) matching rate updates.Comprehensive matching rate array P and PrgbResult, update coupling
Rate array Pnew=P+Prgb。
Through Monte Carlo experiment, by the knowledge to typical case satellite TV station symbol of the method for above-mentioned embodiment
Other result is as shown in table 1, and table 1 gives the recognition time of each satellite TV station symbol, all left at 2s
Right.Table 1 demonstrates the method for above-mentioned embodiment and has high accuracy, quick and stability.
The recognition result of table 1 satellite TV station symbol
Typical case's satellite TV channel | Correct recognition rata | Recognition failures rate | Recognition time (s) |
Dragon TV | 100% | 0% | 1.78 |
Jiangsu satellite TV | 98.0% | 2.0% | 2.12 |
Heilungkiang satellite TV | 95.6% | 4.4% | 2.08 |
Sichuan satellite TV | 96.2% | 3.8% | 1.84 |
Xinjiang satellite TV | 95.8% | 4.2% | 1.92 |
Inner Mongol satellite TV | 97.2% | 2.8% | 1.99 |
For embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of action
Combination, but those skilled in the art should know, and the embodiment of the present invention is not by described
The restriction of sequence of movement, because according to the embodiment of the present invention, some step can use other suitable
Sequence or simultaneously carry out.Secondly, those skilled in the art also should know, is retouched in description
The embodiment stated belongs to preferred embodiment, and the involved action not necessarily present invention implements
Necessary to example.
Figure 10 is the structured flowchart of satellite TV's TV station symbol recognition device of one embodiment of the present invention;Ginseng
According to Figure 10, described device includes:
Area acquisition unit 1001, for obtaining the station symbol region including station symbol to be identified;
Matching rate computing unit 1002, is used for when described station symbol to be identified is non-CCTV's station symbol,
Calculate the edge in described station symbol region and each standard unit target matching rate;
Result acquiring unit 1003, is more than for the difference at the highest matching rate with second highest matching rate
During the first preset difference value, standard unit corresponding for the highest matching rate is denoted as into described station symbol to be identified
Recognition result.
In a kind of alternative embodiment of the present invention, described matching rate computing unit, use further
In the edge in described station symbol region is carried out by spatial distribution rectangular histogram and standard station symbol
Join, to calculate the edge in described station symbol region and each standard unit target matching rate.
In a kind of alternative embodiment of the present invention, described result acquiring unit, it is additionally operable in institute
State when the difference of the highest matching rate with second highest matching rate is less than or equal to the first preset difference value, it is judged that institute
State the highest matching rate or whether standard station symbol corresponding to second highest matching rate belongs to local station symbol;If institute
State the highest matching rate or standard station symbol corresponding to second highest matching rate is not admitted to local station symbol, then will
The standard unit that the highest described matching rate is corresponding with second highest matching rate is denoted as standard station symbol to be matched,
The colour information in described station symbol region is mated with described standard station symbol to be matched, to update
Described standard unit target matching rate to be matched, using standard to be matched higher for matching rate as described
The recognition result of station symbol to be identified.
In a kind of alternative embodiment of the present invention, described area acquisition unit, it is further used for
Video frame images sequence is obtained, to respectively regarding in the predeterminable area of the video including station symbol to be identified
Frequently two field picture carries out edge extracting, is synthesized at the edge of each video frame images, obtains synthesis
The minimum external matrix at edge, according to described minimum external matrix respectively to each video frame images
Split, and the image being partitioned into is synthesized by average weighted mode, to obtain
Station symbol region including station symbol to be identified.
In a kind of alternative embodiment of the present invention, described device also includes:
Station symbol judging unit, for judging platform according to length-width ratio, gray scale and the color in station symbol region
Whether the station symbol to be identified in mark region is CCTV's station symbol.
For system embodiment, due to itself and embodiment of the method basic simlarity, so describing
Fairly simple, relevant part sees the part of embodiment of the method and illustrates.
It should be noted that, in all parts of the system of the present invention, to be realized according to it
Function and parts therein have been carried out logical partitioning, but, the present invention is not only restricted to this, can
As required all parts repartitioned or to combine, for example, it is possible to by some portions
Part is combined as single parts, or some parts can be further broken into more sub-portion
Part.
The all parts embodiment of the present invention can realize with hardware, or with at one or many
The software module run on individual processor realizes, or realizes with combinations thereof.This area
It will be appreciated by the skilled person that microprocessor or digital signal processor can be used in practice
(DSP) one of some or all parts in system according to embodiments of the present invention is realized
A little or repertoire.The present invention is also implemented as performing method as described herein
Part or all equipment or device program (such as, computer program and computer journey
Sequence product).The program of such present invention of realization can store on a computer-readable medium,
Or can be to have the form of one or more signal.Such signal can be from the Internet net
Upper download of standing obtains, or provides on carrier signal, or provides with any other form.
The present invention will be described rather than enters the present invention to it should be noted above-described embodiment
Row limits, and those skilled in the art are without departing from the scope of the appended claims
Alternative embodiment can be designed.In the claims, any ginseng between bracket should not will be located in
Examine symbol construction and become limitations on claims.Word " comprises " and does not excludes the presence of the power of not being listed in
Element in profit requirement or step.Word "a" or "an" before being positioned at element is not arranged
Except there is multiple such element.The present invention can be by means of including the hard of some different elements
Part and realizing by means of properly programmed computer.If weighing at the unit listing equipment for drying
During profit requires, several in these devices can be to carry out concrete body by same hardware branch
Existing.Word first, second and third use do not indicate that any order.Can be by these
Word explanation is title.
Above example is only suitable to illustrate the present invention, and not limitation of the present invention, relevant skill
The those of ordinary skill in art field, without departing from the spirit and scope of the present invention, also
Can make a variety of changes and modification, the technical scheme of the most all equivalents falls within the present invention's
Category, the scope of patent protection of the present invention should be defined by the claims.
Claims (10)
1. satellite TV's TV station symbol recognition method, it is characterised in that described method includes:
Obtain the station symbol region including station symbol to be identified;
When described station symbol to be identified is non-CCTV's station symbol, calculate the edge in described station symbol region with
Each standard unit target matching rate;
When the difference of the highest matching rate with second highest matching rate is more than the first preset difference value, by the highest
Join standard unit corresponding to rate and be denoted as the recognition result into described station symbol to be identified.
2. the method for claim 1, it is characterised in that the described station symbol of described calculating
The edge in region and each standard unit target matching rate, farther include:
Edge in described station symbol region is carried out with standard station symbol by spatial distribution rectangular histogram
Coupling, to calculate the edge in described station symbol region and each standard unit target matching rate.
3. the method for claim 1, it is characterised in that described in the highest coupling
When the difference of rate and second highest matching rate is less than or equal to the first preset difference value, it is judged that the highest described matching rate
Or whether standard station symbol corresponding to second highest matching rate belongs to local station symbol;
If the highest described matching rate or standard station symbol corresponding to second highest matching rate are not admitted to place
Station symbol, then be denoted as standard unit corresponding with second highest matching rate for the highest described matching rate as to be matched
Standard station symbol, is carried out the colour information in described station symbol region and described standard station symbol to be matched
Join, to update described standard unit target matching rate to be matched, by mark to be matched higher for matching rate
The accurate recognition result as described station symbol to be identified.
4. the method as according to any one of claims 1 to 3, it is characterised in that described in obtain
Take the station symbol region including station symbol to be identified, farther include:
Video frame images sequence is obtained in the predeterminable area of the video including station symbol to be identified, right
Each video frame images carries out edge extracting, is synthesized at the edge of each video frame images, obtains
The minimum external matrix at the edge of synthesis, according to described minimum external matrix respectively to each frame of video
Image is split, and is synthesized by average weighted mode by the image being partitioned into, with
Obtain the station symbol region including station symbol to be identified.
5. the method as according to any one of claims 1 to 3, it is characterised in that described
When described station symbol to be identified is non-CCTV's station symbol, the edge calculated in described station symbol region is passed through
Before spatial distribution rectangular histogram and each standard unit target carry out matching rate, described method also includes:
Length-width ratio, gray scale and color according to station symbol region judges to be identified in station symbol region
Whether mark is CCTV's station symbol.
6. satellite TV's TV station symbol recognition device, it is characterised in that described device includes:
Area acquisition unit, for obtaining the station symbol region including station symbol to be identified;
Matching rate computing unit, for when described station symbol to be identified is non-CCTV's station symbol, calculates
The edge in described station symbol region and each standard unit target matching rate;
Result acquiring unit, for pre-more than first in the highest matching rate and the difference of second highest matching rate
If during difference, standard unit corresponding for the highest matching rate is denoted as the identification into described station symbol to be identified
Result.
7. device as claimed in claim 6, it is characterised in that described matching rate calculates single
Unit, is further used for the edge in described station symbol region by spatial distribution rectangular histogram and standard
Station symbol mates, to calculate the edge in described station symbol region and each standard unit target matching rate.
8. device as claimed in claim 6, it is characterised in that described result acquiring unit,
It is additionally operable to described default poor less than or equal to first with the difference of second highest matching rate at the highest matching rate
During value, it is judged that whether the highest described matching rate or standard station symbol corresponding to second highest matching rate belong to ground
Fang Taibiao;If the highest described matching rate or standard station symbol corresponding to second highest matching rate are not admitted to ground
Fang Taibiao, then be denoted as standard unit corresponding with second highest matching rate for the highest described matching rate as treating
Join standard station symbol, the colour information in described station symbol region is carried out with described standard station symbol to be matched
Coupling, to update described standard unit target matching rate to be matched, by higher for matching rate to be matched
Standard is as the recognition result of described station symbol to be identified.
9. the device as according to any one of claim 6~8, it is characterised in that described district
Territory acquiring unit, is further used in the predeterminable area of the video including station symbol to be identified obtaining
Video frame images sequence, carries out edge extracting to each video frame images, by each video frame images
Edge synthesizes, and obtains the minimum external matrix at the edge of synthesis, external according to described minimum
Each video frame images is split by matrix respectively, and the image being partitioned into is passed through weighted average
Mode synthesize, include the station symbol region of station symbol to be identified to obtain.
10. the device as according to any one of claim 6~8, it is characterised in that described dress
Put and also include:
Station symbol judging unit, for judging platform according to length-width ratio, gray scale and the color in station symbol region
Whether the station symbol to be identified in mark region is CCTV's station symbol.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510824183.3A CN105872840A (en) | 2015-11-24 | 2015-11-24 | Satellite television station caption identification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510824183.3A CN105872840A (en) | 2015-11-24 | 2015-11-24 | Satellite television station caption identification method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105872840A true CN105872840A (en) | 2016-08-17 |
Family
ID=56623828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510824183.3A Pending CN105872840A (en) | 2015-11-24 | 2015-11-24 | Satellite television station caption identification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105872840A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851397A (en) * | 2017-02-28 | 2017-06-13 | 青岛海信电器股份有限公司 | A kind of station symbol replacing options and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103020650A (en) * | 2012-11-23 | 2013-04-03 | Tcl集团股份有限公司 | Station caption identifying method and device |
CN103336954A (en) * | 2013-07-08 | 2013-10-02 | 北京捷成世纪科技股份有限公司 | Identification method and device of station caption in video |
CN103714314A (en) * | 2013-12-06 | 2014-04-09 | 安徽大学 | Television video station caption identification method combining edge and color information |
US20150242698A1 (en) * | 2013-03-15 | 2015-08-27 | Arris Technology, Inc. | Logo presence detection based on blending characteristics |
CN104915633A (en) * | 2014-03-14 | 2015-09-16 | 欧姆龙株式会社 | Image processing device, image processing method, and image processing program |
-
2015
- 2015-11-24 CN CN201510824183.3A patent/CN105872840A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103020650A (en) * | 2012-11-23 | 2013-04-03 | Tcl集团股份有限公司 | Station caption identifying method and device |
US20150242698A1 (en) * | 2013-03-15 | 2015-08-27 | Arris Technology, Inc. | Logo presence detection based on blending characteristics |
CN103336954A (en) * | 2013-07-08 | 2013-10-02 | 北京捷成世纪科技股份有限公司 | Identification method and device of station caption in video |
CN103714314A (en) * | 2013-12-06 | 2014-04-09 | 安徽大学 | Television video station caption identification method combining edge and color information |
CN104915633A (en) * | 2014-03-14 | 2015-09-16 | 欧姆龙株式会社 | Image processing device, image processing method, and image processing program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851397A (en) * | 2017-02-28 | 2017-06-13 | 青岛海信电器股份有限公司 | A kind of station symbol replacing options and device |
CN106851397B (en) * | 2017-02-28 | 2020-03-10 | 青岛海信电器股份有限公司 | Station caption replacing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110738125B (en) | Method, device and storage medium for selecting detection frame by Mask R-CNN | |
JP3740065B2 (en) | Object extraction device and method based on region feature value matching of region-divided video | |
CN110363134B (en) | Human face shielding area positioning method based on semantic segmentation | |
CN104966085B (en) | A kind of remote sensing images region of interest area detecting method based on the fusion of more notable features | |
CN105868683A (en) | Channel logo identification method and apparatus | |
CN103632361B (en) | An image segmentation method and a system | |
CN104766076B (en) | A kind of detection method and device of video image character | |
CN106548160A (en) | A kind of face smile detection method | |
CN104657980A (en) | Improved multi-channel image partitioning algorithm based on Meanshift | |
CN104331450B (en) | Video copying detection method based on multi-mode feature and tensor resolution | |
CN104268590B (en) | The blind image quality evaluating method returned based on complementary combination feature and multiphase | |
CN101520894A (en) | Method for extracting significant object based on region significance | |
CN112884791B (en) | Method for constructing large-scale remote sensing image semantic segmentation model training sample set | |
CN104462381A (en) | Trademark image retrieval method | |
CN102509118A (en) | Method for monitoring video retrieval | |
Yang et al. | A vehicle license plate recognition system based on fixed color collocation | |
CN113221881B (en) | Multi-level smart phone screen defect detection method | |
CN111291826A (en) | Multi-source remote sensing image pixel-by-pixel classification method based on correlation fusion network | |
CN110728640A (en) | Double-channel single-image fine rain removing method | |
CN110599453A (en) | Panel defect detection method and device based on image fusion and equipment terminal | |
CN108492288B (en) | Random forest based multi-scale layered sampling high-resolution satellite image change detection method | |
Alvarado-Robles et al. | An approach for shadow detection in aerial images based on multi-channel statistics | |
CN106331746A (en) | Method and device for identifying position of watermark in video file | |
CN109660814B (en) | Method for detecting deletion tampering of video foreground | |
CN104637060A (en) | Image partition method based on neighbor-hood PCA (Principal Component Analysis)-Laplace |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160817 |
|
WD01 | Invention patent application deemed withdrawn after publication |