CN1652568A - Detector for detecting bad editing of image signal - Google Patents

Detector for detecting bad editing of image signal Download PDF

Info

Publication number
CN1652568A
CN1652568A CN 200410004034 CN200410004034A CN1652568A CN 1652568 A CN1652568 A CN 1652568A CN 200410004034 CN200410004034 CN 200410004034 CN 200410004034 A CN200410004034 A CN 200410004034A CN 1652568 A CN1652568 A CN 1652568A
Authority
CN
China
Prior art keywords
field
picture frame
counter
order
detection device
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.)
Granted
Application number
CN 200410004034
Other languages
Chinese (zh)
Other versions
CN100372359C (en
Inventor
吕志明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sunplus Technology Co Ltd
Original Assignee
Sunplus Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sunplus Technology Co Ltd filed Critical Sunplus Technology Co Ltd
Priority to CNB2004100040344A priority Critical patent/CN100372359C/en
Publication of CN1652568A publication Critical patent/CN1652568A/en
Application granted granted Critical
Publication of CN100372359C publication Critical patent/CN100372359C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The device is in use for sensing TV image signal. When it is detected that source of TV image is from movie signal and not from video signal, deinterleaving process can be carried out for signal in movie mode by line multiplier directly in order to increase vertical resolution of TV image signal so that saw-toothed TV image caused by poor edited image signal will not create. The invention can detect poor edited image signal before it is played so as to prevent saw-toothed image created.

Description

But the bad editing arrangement for detecting of detecting image signal
Technical field
The invention relates to a kind of circuit for detecting, refer to especially whether a kind of detecting image signal that is applicable to has bad editing arrangement for detecting.
Background technology
Owing to propagate the restriction of frequency range, the propagation of television image at present is to adopt the mutual mode of propagating in strange/bigraph field.As shown in Figure 1, wherein, strange figure field 10 and 12 only has the odd-numbered line image data, and even display field 11 and 13 then only has the even number line image data.A new generation's TV is owing to the raising of vertical direction resolution, so TV inside needs line frequency multiplier (line doubler) to carry out process of frequency multiplication, to improve the resolution of vertical direction.Wherein, the simplest process of frequency multiplication is directly to merge adjacent strange figure field and bigraph field, to become a P-SCAN picture frame (progressive scan frame).Yet, because adjacent strange figure field and the bigraph field difference on free, will make object image generation sawtooth in moving with the P-SCAN picture frame that produces so directly merge strange figure and bigraph field.
For avoiding foregoing problems, preferable line frequency multiplier is provided with mobile detection device (motion detector) to detect the object image in moving, and to the poor processing that interlocks that removes of mending (inter-fieldinterpolation) between static image employing field, and mobile image is adopted handling except that interlocking of an interpolation benefit (intra-fieldinterpolation).
Another kind of frequency multiplication mode is by differentiating whether the image source is that film is reached, because being the mode that adopts per second to take 24 picture frames, known film comes recording image, therefore, if the film signal will be shown on the TV of NTSC specification, then 24 picture frames of per second must be changeed and clap into 60 figure of per second, as shown in Figure 2, this changes the bat technology and is commonly referred to as " 3: 2 drop-down " (3: 2 pull down), promptly, with two film picture frames continuous in time change respectively clap into 3 figure and 2 figure, for example, figure field 18 (Qi Tuchang) is clapped in picture frame 14 commentaries on classics, figure 19 (bigraph field) and figure 20 (Qi Tuchang), and picture frame 15 changeed clap into a figure field 21 (bigraph field) and figure 22 (Qi Tuchang), below analogize.So, in this kind frequency multiplication mode, be the film signal if judge the image source, then as long as will belong to the strange figure field and the bigraph occasion of same picture frame originally and just can obtain perfect frequency multiplication output, not only image can not produce sawtooth, and the image that moves also can be possessed the highest vertical direction resolution.
And be to want the detecting image source, known is to move the mobile data of data or figure field with picture frame to judge whether the image source is the film signal, the data that provides picture frame to move with picture frame mobile detection device 31 (framemotion detector) is provided the example of Fig. 3, as shown in the figure, each picture frame mobile detection device 31 is in order to detect two continuous strange figure fields or whether two continuous bigraph fields are identical, as identical then output ' 0 ', otherwise output ' 1 '.Therefore, if television image is one section static picture, then no matter whether image source is the film signal, picture frame mobile detection device 31 all exports ' 00000,00000 ... ' sequence; If television image is one section mobile USB PC Video Camera signal, then picture frame mobile detection device 31 outputs ' 11111,11111 ... ' sequence; And if one section mobile film signal, then picture frame mobile detection device 31 outputs ' 01111,01111 ... ' sequence.
Output with aforementioned picture frame mobile detection device 31, via judging once as shown in Figure 4 film detection state transfer figure whether the input image is the film of 3: 2 pull down, wherein, the state A-F of this film detection state transfer figure is USB PC Video Camera mode state (video modestates), and state G-K is film mode state (film mode states).As shown in the figure, the initial state of film detection state transfer figure is A, when importing ' 01111 ', state will be passed to E, and increase progressively a counter 41, and when the value of counter 41 surpasses a critical value, state is passed to G by E, that is, enter the film mode state by the television image mode state.
And as previously mentioned, when the input image is the film of 3: 2 pull down, picture frame mobile detection device can be exported ' 01111 ' or ' 0000 ' sequence, therefore, after ' 01111 ' sequence of picture frame mobile detection device output some, film detection state transfer figure just is passed to the film mode state by the USB PC Video Camera mode state, and under the film mode state, as long as be input as ' 0XXXX ', film detection state transfer figure all maintains the film mode state.
Though with aforementioned manner effectively detecting image source whether be that the film signal is realized perfect frequency multiplication output, yet, the bad editing of motion picture data but can cause the destruction of 3: 2 pull down ratios and cause image zigzag to occur, figure field 1-8 as shown in Figure 5 is from vidclip A, and a figure 9-16 is from vidclip B, because the bad editing of vidclip B, cause after figure field 9, just no longer meeting the ratio of 3: 2 pull down, and please refer to Fig. 4, because need just judging in the figure field, film detection state transfer figure need jump out of film mode at 11 o'clock, therefore, when Yi Tuchang 9 is basis generation output picture frame, with figure field 9 and figure 10 synthetic picture frames of originally not belonging to same picture frame, this will cause television image sawtooth to occur.
For solving foregoing problems, United States Patent (USP) 6201577 (title: Film source video detection) provide a bad editing method of detecting, it is to get on to detect bad editing at present image output, with when finding bad editing is arranged, notice film detection device is jumped out film mode, become the problem of a picture frame with the figure occasion of avoiding not belong to same picture frame, yet, because bad editing detecting is to carry out on present image output, therefore, when having detected bad editing, the line multiplier has been exported a serrate picture frame, and can't avoid image to produce sawtooth fully.
Summary of the invention
Main purpose of the present invention is to provide a kind of arrangement for detecting, the bad editing of energy detecting image signal.
Another object of the present invention is to provide a kind of arrangement for detecting, the bad editing of detecting image signal produces sawtooth to avoid television image in advance.
For achieving the above object, the arrangement for detecting of detecting the bad editing image signal provided by the invention comprises:
First to fourth buffer, in order to the first figure field that stores the input image respectively, the second figure field, the 3rd figure field, and the 4th figure field, wherein, the second figure field is the foundation drawing field of exporting picture frame at present in order to generation, and the 4th, the 3rd and first figure field is respectively two Tu Chang, a back figure afterwards of this second figure field, reaches previous figure field;
One picture frame mobile detection device, whether identical in order to judge this first figure field and the 3rd figure field, in this way, output 0, otherwise, output 1;
One first counter, it is exported at this picture frame mobile detection device and was made zero in 0 o'clock, and exports at this picture frame mobile detection device and to be increased progressively in 1 o'clock; And
One bad editing detector, its value at first counter be 0,1 or judged whether bad editing according to the 3rd figure field and the 4th figure field at 3 o'clock, and first Counter Value be 2 or 4 o'clock foundation the 3rd figure fields and the second figure field judged whether bad editing.
Described arrangement for detecting, wherein this bad editing detector comprises:
One first subtracts the calculation device, in order to the 3rd figure field and the first or the 4th figure field are subtracted each other, to obtain first luminance difference between the 3rd figure field and the first or the 4th figure field;
One line buffer is in order to cushion the line in the 3rd figure field;
One second subtracts the calculation device, in order to the 3rd figure field after the 3rd figure field and the line buffering is subtracted each other, to obtain second luminance difference between the 3rd figure field after the 3rd figure field and line cushion;
One second counter; And
One comparator, in order to relatively this first luminance difference and second luminance difference, with when comparing first luminance difference less than second luminance difference, this second counter of resetting, otherwise, increase progressively this second counter;
Wherein, when this second Counter Value during greater than a critical value, judging has bad editing.
Described arrangement for detecting also comprises a film detection device, and it judges that according to the output of this picture frame mobile detection device the input image is static images, mobile film signal or the USB PC Video Camera signal that moves.
Described arrangement for detecting, also comprise a line frequency multiplier, it is in order to merge into a picture frame with two figure fields and to export, wherein, when this film detection device detecting input image is the mobile film signal, be 0,1 or 3 o'clock as first Counter Value, the line frequency multiplier is merged into a picture frame with the second figure field and the 3rd figure field and is exported, and as first Counter Value be 2 or 4 o'clock, the line frequency multiplier is merged into a picture frame with the second figure field and the first figure field and is exported.
Description of drawings
Fig. 1 is the schematic diagram of the displayed map field boundary of USB PC Video Camera signal.
Fig. 2 claps into the schematic diagram of figure field for the film signal changes.
Fig. 3 is the schematic diagram of the data that picture frame is provided with picture frame mobile detection device moves.
Fig. 4 is for being a film detection state transfer figure.
Fig. 5 is the schematic diagram of bad editing film signal.
Fig. 6 is the calcspar of arrangement for detecting of the present invention.
Fig. 7 is the calcspar of bad editing detector.
Embodiment
Fig. 6 shows that the present invention can detect bad editing arrangement for detecting preferred embodiment, and it comprises following elements: figure field buffer 61,62,63 and 64, picture frame mobile detection device 65, film detection device 66, bad editing detector (bad edit detector) 67, line frequency multiplier 68, multiplexer 691 and 692 and counter 693.Figure field buffer 61,62,63 and 64 is in order to be temporarily stored in strange, the bigraph field of input continuous in time, wherein, buffer 62 is to store the figure field f1 in order to export at present, figure field buffer 64,63, and 61 go up in order to storage time respectively and to be back two figure f3, a back figure f2, and previous figure field f0, and line multiplier 68 will serve as that picture frame is exported to produce one in the basis scheme a f1.
Whether the earlier figures moving detector 65 of frameing shift is identical with a figure f2 in order to comparison diagram field f0, that is, detect two continuous strange figure fields or whether two continuous bigraph fields are identical, then export ' 0 ' as identical, otherwise export ' 1 '.
Aforementioned film detector 66 according to earlier figures frame shift moving detector 65 output and judge whether the input image is derived from the film signal, it can be as shown in Figure 4, judge with a film detection state transfer figure and judge that the input image is film signal or television signal.
Aforementioned counter 693 is output as at 0 o'clock at picture frame mobile detection device 65 and is made zero, then increased progressively its value being output as at 1 o'clock at picture frame mobile detection device 65, therefore, when the input image is the mobile film signal, because picture frame mobile detection device 65 will export ' 0111,0111, ... ' sequence, so the value of counter 693 will be 0,1,2,3,4,0,1,2,3,4, ..., and the value of this counter 693 just can belong to identical picture frame in order to the figure field f1 that exports with former field f0 or back one figure field f2 for judging at present.
When film detection device 66 judges that the input image is the film signal that moves, multiplexer 691 be will control and a figure field f0 or a figure f2 selected, to scheme f1 by line frequency multiplier 68 merges into a picture frame with a figure f0 or a figure f2 and exports, wherein, be 0 (presentation graphs field f1 with a figure field f2 belong to identical picture frame) thereafter as the value of counter 693, multiplexer 691 is selected a figure f2, merges into a picture frame with a figure field f2 and exports will scheme a f1; Be 1 (presentation graphs field f1 with a figure field f2 belong to identical picture frame) thereafter as the value of counter 693, multiplexer 691 is selected a figure f2, merges into a picture frame with a figure field f2 and exports will scheme a f1; Value as counter 693 was 2 (presentation graphs field f1 belongs to identical picture frame with its former field f0), and multiplexer 691 is selected a figure f0, merged into a picture frame with a figure field f0 and exported will scheme a f1; Be 3 (presentation graphs field f1 with a figure field f2 belong to identical picture frame) thereafter as the value of counter 693, multiplexer 691 is selection figure field f2, merges into a picture frame with a figure f2 and exports will scheme a f1; Value as counter 693 was 4 (presentation graphs field f1 belongs to identical picture frame with its former field f0), and multiplexer 691 is selected a figure f0, merged into a picture frame with a figure field f0 and exported will scheme a f1.In view of the above, present figure field f1 in order to output can be merged with the figure field f0/f2 that belongs to same picture frame.
Aforementioned bad editing detector 67 is in order to have judged whether bad editing according to a figure f2 and a figure f1 or f3, wherein, the selection of a figure f1 or f3 is to be reached by film detection device 66 control multiplexer 692 when judging that the input image is the film signal that moves, wherein, value as counter 693 is 0, multiplexer 692 is selection figure field f3, to have judged whether bad editing by bad editing detector 67 according to a figure f2 and a figure f3; Value as counter 693 is 1, and multiplexer 692 is selected a figure f3, to have judged whether bad editing by bad editing detector 67 according to a figure f2 and a figure f3; Value as counter 693 is 2, and multiplexer 692 is selected a figure f1, to have judged whether bad editing by bad editing detector 67 according to a figure f2 and a figure C; Value as counter 693 is 3, and multiplexer 692 is selected a figure f3, to have judged whether bad editing by bad editing detector 67 according to a figure f2 and a figure f3; Value as counter 693 is 4, and multiplexer 692 is selected a figure f1, to have judged whether bad editing according to a figure f2 with figure door by bad editing detector 67.
Fig. 7 shows the structure of aforementioned bad editing detector 67, it mainly comprises line buffer 671, subtract and calculate device 672 and 673, comparator 678 and counter 679, wherein, (its pixel is with f2 (I for a figure f2, j) represent) (its pixel is with f1/f3 (I with a figure f1/f3, j) expression) subtract each other by subtracting calculation device 673, to obtain the luminance difference between a figure field f2 and a figure f1/f3, and because a figure f2 is respectively strange with a figure f1/f3, the bigraph field, so f2 (i, j) (i j) has the gap of a pixel on the upright position, and earlier figures field f2 and the luminance difference between the f1/f3 of figure field are called the picture frame vertical energy (frame vertical energy) of figure field f2 with f1/f3.
Line buffer 671 is in order to a buffering figure line of f2 (line), therefore, pixel f2 (the x of a figure f2, y) behind line buffer 671, become f2 (i-1, j), figure field f2 ' after this line buffering and a figure f2 subtract each other by subtracting calculation device 672, to obtain the luminance difference between a figure field f2 ' gn figure f2, (I-1 i) is f2 (I owing to f2, j) through the line buffering, therefore, (I-1 is j) with f2 (I for f2, j) gap of two pixels is arranged on the upright position, and the luminance difference between an earlier figures field f2 ' and a figure f2 be called figure field f2 figure field vertical energy (fieldvertical energy).
The picture frame vertical energy of earlier figures field f2 is compared via a comparator 678 with a figure vertical energy, and because a figure f2 should be less than the distance (gap that two pixels upright position on arranged) of a line buffering figure f2 ' with a figure f2 with the distance (gap that a pixel is arranged on the upright position) of a figure f1/f3, so aforementioned picture frame vertical energy should be able to be less than a figure vertical energy, so when comparator 678 compares between picture frame vertical energy greater than figure vertical energy, bad editing has expressed possibility, so count-up counter 679, up to counter 679 during greater than a critical value, export bad editing signal, jump out film mode to notify this film detection device 66, otherwise, when comparator 678 compared the picture frame vertical energy less than figure vertical energy, then counter reset 679.
By above explanation as can be known, of the present inventionly detect bad editing arrangement for detecting and detect bad editing in a present back figure f2 in order to the figure field f1 of output, so can learn bad editing in advance, and then can before producing sawtooth as yet, the output picture frame promptly not jump out film mode, and change with the reciprocal cross fault of USB PC Video Camera pattern reason to produce next picture frame, therefore can exempt image output fully because of sawtooth that bad editing produced.
The foregoing description only is to give an example for convenience of description, and the interest field that the present invention advocated should be as the criterion so that claim is described certainly, but not only limits to the foregoing description.

Claims (4)

1. the arrangement for detecting that can detect the bad editing image signal comprises:
First to fourth buffer, in order to the first figure field that stores the input image respectively, the second figure field, the 3rd figure field, and the 4th figure field, wherein, the second figure field is the foundation drawing field of exporting picture frame at present in order to generation, and the 4th, the 3rd and first figure field is respectively two Tu Chang, a back figure afterwards of this second figure field, reaches previous figure field;
One picture frame mobile detection device, whether identical in order to judge this first figure field and the 3rd figure field, in this way, output 0, otherwise, output 1;
One first counter, it is exported at this picture frame mobile detection device and was made zero in 0 o'clock, and exports at this picture frame mobile detection device and to be increased progressively in 1 o'clock; And
One bad editing detector, its value at first counter be 0,1 or judged whether bad editing according to the 3rd figure field and the 4th figure field at 3 o'clock, and first Counter Value be 2 or 4 o'clock foundation the 3rd figure fields and the second figure field judged whether bad editing.
2. arrangement for detecting as claimed in claim 1 is characterized in that, wherein this bad editing detector comprises:
One first subtracts the calculation device, in order to the 3rd figure field and the first or the 4th figure field are subtracted each other, to obtain first luminance difference between the 3rd figure field and the first or the 4th figure field;
One line buffer is in order to cushion the line in the 3rd figure field;
One second subtracts the calculation device, in order to the 3rd figure field after the 3rd figure field and the line buffering is subtracted each other, to obtain second luminance difference between the 3rd figure field after the 3rd figure field and line cushion;
One second counter; And
One comparator, in order to relatively this first luminance difference and second luminance difference, with when comparing first luminance difference less than second luminance difference, this second counter of resetting, otherwise, increase progressively this second counter;
Wherein, when this second Counter Value during greater than a critical value, judging has bad editing.
3. arrangement for detecting as claimed in claim 2 is characterized in that, also comprises a film detection device, and it judges that according to the output of this picture frame mobile detection device the input image is static images, mobile film signal or the USB PC Video Camera signal that moves.
4. arrangement for detecting as claimed in claim 3, it is characterized in that, it also comprises a line frequency multiplier, it is in order to merge into a picture frame with two figure fields and to export, wherein, and when this film detection device detecting input image is the mobile film signal, as first Counter Value is 0,1 or 3 o'clock, the line frequency multiplier is merged into a picture frame with the second figure field and the 3rd figure field and is exported, and as first Counter Value be 2 or 4 o'clock, the line frequency multiplier is merged into a picture frame with the second figure field and the first figure field and is exported.
CNB2004100040344A 2004-02-04 2004-02-04 Detector for detecting bad editing of image signal Expired - Fee Related CN100372359C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100040344A CN100372359C (en) 2004-02-04 2004-02-04 Detector for detecting bad editing of image signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100040344A CN100372359C (en) 2004-02-04 2004-02-04 Detector for detecting bad editing of image signal

Publications (2)

Publication Number Publication Date
CN1652568A true CN1652568A (en) 2005-08-10
CN100372359C CN100372359C (en) 2008-02-27

Family

ID=34867610

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100040344A Expired - Fee Related CN100372359C (en) 2004-02-04 2004-02-04 Detector for detecting bad editing of image signal

Country Status (1)

Country Link
CN (1) CN100372359C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242547B (en) * 2007-02-05 2011-07-20 凌阳科技股份有限公司 System for detecting bad editing of video signals

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2993464B2 (en) * 1997-05-14 1999-12-20 日本電気株式会社 Image recording device
KR100495260B1 (en) * 1999-05-12 2005-06-14 마쯔시다덴기산교 가부시키가이샤 Telecine video signal detecting device
US7202907B2 (en) * 2002-04-09 2007-04-10 Zoran Corporation 2:2 and 3:2 pull-down detection techniques

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242547B (en) * 2007-02-05 2011-07-20 凌阳科技股份有限公司 System for detecting bad editing of video signals

Also Published As

Publication number Publication date
CN100372359C (en) 2008-02-27

Similar Documents

Publication Publication Date Title
CN1278551C (en) Adaptive interleaving-removing method and equipment for dynamic image
KR20050086876A (en) Motion sequence pattern detection
US8023041B2 (en) Detection of moving interlaced text for film mode decision
CN1577877A (en) CMOS image sensor using high frame rate with frame addition and movement compensation
US7391468B2 (en) Telecine conversion detection for progressive scan playback
US6897903B1 (en) Apparatus for detecting mixed interlaced and progressive original sources in a video sequence
JP2006195525A (en) Apparatus and program for adding video object locus
CN1879078A (en) Information processing device and method, and program
CN1758743A (en) Use the image processing equipment and the method thereof of shake mapping
TWI228929B (en) Apparatus and method for de-interlacing video signals
TWI225365B (en) Detecting apparatus capable of detecting bad edition of image signal
KR100313713B1 (en) Visual rate dynamic generation method using pixel sampling
CN1265634C (en) Image format converting device and method
US9218782B2 (en) Video window detection
CN1894957A (en) Image format conversion
CN1652568A (en) Detector for detecting bad editing of image signal
CN1278553C (en) Multi-window multi-threshold method for picture element static detection
CN100407764C (en) Method of processing video fields and related fields similarity detection apparatus
CN101076104A (en) Method for inspecting film mode
CN1925593A (en) Allowable data signal processing device for interactive digital video system interface
WO2017101348A1 (en) Method and device for deinterlacing interlaced videos
CN1741592A (en) Can detect wrong editor's film mode detection apparatus and method thereof
KR20050085567A (en) Recognizing film and video occurring in parallel in television fields
CN1317893C (en) Deinterlace method and deinterlace algorithm generating method
CN101242547B (en) System for detecting bad editing of video signals

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080227

Termination date: 20170204