CN117596371B - Method and device for judging phase alternating identification - Google Patents
Method and device for judging phase alternating identification Download PDFInfo
- Publication number
- CN117596371B CN117596371B CN202410075496.2A CN202410075496A CN117596371B CN 117596371 B CN117596371 B CN 117596371B CN 202410075496 A CN202410075496 A CN 202410075496A CN 117596371 B CN117596371 B CN 117596371B
- Authority
- CN
- China
- Prior art keywords
- component
- phase
- signal
- value
- identification
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000004590 computer program Methods 0.000 claims description 9
- 238000005070 sampling Methods 0.000 claims description 6
- 238000001914 filtration Methods 0.000 claims description 4
- 239000002131 composite material Substances 0.000 abstract description 3
- 238000004364 calculation method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000009825 accumulation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000002075 inversion recovery Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/68—Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/65—Circuits for processing colour signals for synchronous modulators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/66—Circuits for processing colour signals for synchronous demodulators
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
The application discloses a judging method and a device of phase alternating identification, which relate to the technical field of signal processing and comprise the following steps: demodulating the chrominance signals according to a quadrature amplitude modulation demodulation principle to obtain a first UV component signal and a second UV component signal respectively, and calculating a UV component first level value of the current line color burst signal according to the second UV component signal; calculating the phase between the color sub-carrier and the local color sub-carrier in the input chroma signal, and determining a chroma phase locking mark according to the phase; acquiring respective UV component first level values of the color burst signals of the two adjacent front rows of the current row, and determining phase alternating identification according to the first level values; and carrying out phase inversion processing on the first UV component signal according to the phase alternating identification to obtain a correct UV signal. The application can accurately and rapidly analyze the phase-alternating identification from the composite video signal of phase-alternating line, so that the color of the restored image is normal.
Description
Technical Field
The application relates to the technical field of signal processing, in particular to a method and a device for judging phase alternating identification.
Background
The identification of the phase-alternating line identifier is an important link in phase-alternating line signal processing, and aims to identify the phase-alternating line identifier in a signal so as to accurately process the whole signal.
Disclosure of Invention
The application provides a judgment method of a phase alternating identification, which aims to solve the problem of inaccurate identification result of the phase alternating identification caused by signal noise interference or other factors in the prior art.
In order to achieve the above purpose, the present application adopts the following technical scheme:
The application discloses a judging method of phase alternating identification, which comprises the following steps:
Demodulating the chrominance signals according to a quadrature amplitude modulation demodulation principle to obtain a first UV component signal and a second UV component signal respectively, and calculating a UV component first level value of a current line color burst signal according to the second UV component signal;
Calculating the phase between a color subcarrier and a local color subcarrier in the chrominance signal according to the initial value of the phase alternating identification and the first level value of the UV component of the current line color burst signal, and determining a chrominance phase locking identification according to the phase;
Acquiring respective UV component first level values of the color burst signals of the adjacent first two rows of the current row, and determining phase inversion identification of the line by line according to the chroma phase locking identification, the UV component first level values of the color burst signals of the current row and the respective UV component first level values of the color burst signals of the adjacent first two rows of the current row;
And carrying out phase inversion processing on the first UV component signal according to the phase alternating identification to obtain a correct UV signal.
Preferably, the demodulating the chrominance signal according to the quadrature amplitude modulation and demodulation principle to obtain the first UV component signal and the second UV component signal respectively includes:
And multiplying the chrominance signals with local color subcarriers sin and cos respectively, inputting the obtained results into a low-pass filter and a mean filter respectively for high-frequency harmonic filtering to obtain a first UV component signal and a second UV component signal, wherein the first UV component signal is output by the low-pass filter, and the second UV component signal is output by the mean filter.
Preferably, the calculating the first level value of the UV component of the current line burst signal according to the second UV component signal includes:
And continuously taking and accumulating second UV component signals of N sampling points from the positions of M sampling points at the falling edge of the line synchronization, and taking the accumulated value as a first level value of the UV component of the current line color synchronizing signal, wherein M, N is an integer larger than 1.
Preferably, the determining the chroma phase-locked mark according to the phase includes:
Setting a counter, configuring an initial value of the counter for use, updating the counter value according to a chroma phase locking threshold value and the phase, and generating a chroma phase locking mark according to the updated counter value.
Preferably, the generating the chroma phase-locked flag according to the updated counter value includes:
If the updated counter value is greater than or equal to 0, the chroma phase lock flag is1, otherwise, the chroma phase lock flag is 0.
Preferably, the determining the phase alternating line identifier according to the chroma phase locking identifier, the first level value of the UV component of the current line color burst signal and the first level value of the UV component of each of the adjacent first two line color burst signals includes:
Respectively adding the UV component first level value of the current line color burst signal and the corresponding component level value in the UV component first level value of the previous line color burst signal, calculating an average value, and taking the average value as the UV component second level value of the current line color burst signal;
calculating the difference between the second level value of the UV component of the current line color burst signal and the corresponding component level value in the first level value of the UV component of the previous line color burst signal to obtain a U component difference value and a V component difference value;
And calculating the sum of the U component difference value and the V component difference value, and determining the phase-alternating line identification according to the chroma phase locking identification and the sum of the U component difference value and the V component difference value.
Preferably, the determining the phase-alternating line identifier according to the chroma phase-locked identifier and the sum of the U component difference value and the V component difference value includes:
And if the chroma phase locking mark is 1, calculating the phase-alternating line mark of the current line according to the sum of the U component difference value and the V component difference value, otherwise, the phase-alternating line mark of the current line is the inverse of the phase-alternating line mark of the previous line.
A judging device of phase alternating identification comprises:
the demodulation module is used for demodulating the chrominance signals according to the quadrature amplitude modulation and demodulation principle to respectively obtain a first UV component signal and a second UV component signal, and calculating a UV component first level value of the current line color burst signal according to the second UV component signal;
The computing module is used for computing the phase between the color subcarrier and the local color subcarrier in the chrominance signal according to the initial value of the phase alternating identification and the first level value of the UV component of the current line color burst signal, and determining a chrominance phase locking identification according to the phase;
the judging module is used for acquiring the respective UV component first level value of the color synchronizing signals of the adjacent first two rows of the current row and determining phase-alternating line identification according to the chroma phase locking identification, the UV component first level value of the color synchronizing signals of the current row and the respective UV component first level value of the color synchronizing signals of the adjacent first two rows of the current row;
And the processing module is used for carrying out phase inversion processing on the first UV component signal according to the phase-alternating identification to obtain a correct UV signal.
An electronic device comprising a memory and a processor, the memory configured to store one or more computer instructions, wherein the one or more computer instructions are executable by the processor to implement a method of determining a phase alternating line identification as claimed in any one of the preceding claims.
A computer-readable storage medium storing a computer program which, when executed by a computer, implements a method of determining a phase alternating line identification as claimed in any one of the preceding claims.
The invention has the following beneficial effects:
The application uses two filters to process the chrominance signal, which not only maintains the high frequency detail part of the chrominance, but also gives consideration to the stability of the system, and meanwhile, the application can accurately and rapidly analyze the phase-alternating identification from the phase-alternating composite video signal, so that the color of the restored image is normal.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the application, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a flow chart of a method for determining phase alternating line identification according to the present application;
Fig. 2 is a diagram of a chrominance signal demodulation structure in the present application;
FIG. 3 is a schematic diagram of image waveform recovery in the present application;
FIG. 4 is a schematic diagram of a device for determining phase alternating line identification according to the present application;
fig. 5 is a schematic diagram of an electronic device for implementing a method for determining a phase alternating line identifier according to the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms "first," "second," and the like in the claims and the description of the application, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order, and it is to be understood that the terms so used may be interchanged, if appropriate, merely to describe the manner in which objects of the same nature are distinguished in the embodiments of the application by the description, and furthermore, the terms "comprise" and "have" and any variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of elements is not necessarily limited to those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
As shown in fig. 1, the embodiment provides a method for determining a phase alternating line identifier, which includes the following steps:
s110, demodulating the chrominance signals according to a quadrature amplitude modulation and demodulation principle to respectively obtain a first UV component signal and a second UV component signal, and calculating a UV component first level value of a current line color burst signal according to the second UV component signal;
S120, calculating the phase between a color subcarrier and a local color subcarrier input into the chrominance signal according to the initial value of the phase alternating identification and the first level value of the UV component of the current line color burst signal, and determining a chrominance phase locking identification according to the phase;
S130, acquiring respective UV component first level values of the color burst signals of the adjacent first two rows of the current row, and determining phase-change phase alternating identification according to the chroma phase locking identification, the UV component first level values of the color burst signals of the current row and the respective UV component first level values of the color burst signals of the adjacent first two rows of the current row;
And S140, carrying out phase inversion processing on the first UV component signal according to the phase-alternating identification to obtain a correct UV signal.
In embodiment 1, the chrominance signal C is obtained by modulating the chrominance component signals U and V of the image according to the quadrature amplitude modulation and demodulation principle, specifically, as shown in fig. 2, the chrominance signal C is first multiplied by the local color subcarrier sin and cos, i.e., the U component in the chrominance signal is multiplied by the local color subcarrier sin, the V component is multiplied by the local color subcarrier cos, the obtained results are subjected to high-frequency harmonic filtering by a low-pass filter and an average filter, finally, a first UV component signal is obtained by the low-pass filter and is marked as U and V, respectively, and a second UV component signal is obtained by the average filter and is marked as U 0 and V 0, respectively.
Then, the second UV component signals of N samples are continuously taken from the positions of M samples along the falling edge of the line synchronization for accumulation, and then the accumulated value is taken as the UV component first level value of the current line color burst signal, and is respectively marked as val_u and val_v, wherein M, N is an integer greater than 1, in this embodiment, M is replaced by csyn _st, the values of csyn _st and N can be adjusted according to the actual requirement, but the value of csyn _st needs to make the interval [ csyn _st, csyn _st+n-1] correspond to the color burst signal interval of the signal, so as to ensure that the obtained val_u and val_v are the correct color burst level, wherein the accumulation formula is as follows:
Where i is a signal row count coordinate, its value is reset to zero at the row sync falling edge, and U 0 (i) and V 0 (i) represent signal values corresponding to U 0 and V 0 when the row coordinate is i.
Further, a counter is set, an initial value thereof is configured and used, the counter value is updated according to the chroma phase-lock threshold and the phase, and a chroma phase-lock flag is generated according to the updated counter value.
Because the phase alternating line mark has a default initial state before the chromaticity is unlocked, the phase between the color subcarrier and the local color subcarrier in the input chromaticity signal can be calculated according to the initial value of the phase alternating line mark PAL_key and the first level value of the UV component of the color burst signal, and is recorded as phiC, and the calculation method is as follows:
At the same time, a counter is used to set its initial value to-cnt limit, the counter value is then noted as cnt, and cnt is updated according to the phase phiC in the following manner:
Wherein cnt prev is the value of the cnt in the previous row, err_th is the chroma phase-lock threshold, and can be configured according to the requirement.
Then, a chroma phase locking mark is generated according to the updated cnt value and is marked as chroma_lck, if the updated cnt value is greater than or equal to 0, the chroma phase locking mark is set to 1, otherwise, the chroma phase locking mark is set to 0, when the chroma phase locking mark is 1, the phase of a color subcarrier in an input chroma signal is close to a local color subcarrier, wherein the chroma phase locking mark expression is as follows:
further, the UV component first level value of the current line color burst signal and the corresponding component level value in the UV component first level value of the previous line color burst signal are respectively added and an average value is calculated, and the average value is used as the UV component second level value of the current line color burst signal;
calculating the difference between the second level value of the UV component of the current line color burst signal and the corresponding component level value in the first level value of the UV component of the previous line color burst signal to obtain a U component difference value and a V component difference value;
And calculating the sum of the U component difference value and the V component difference value, and determining the phase-alternating line identification according to the chroma phase locking identification and the sum of the U component difference value and the V component difference value.
The method comprises the steps of obtaining first level values of UV components of color burst signals of two adjacent front rows of a current row, namely obtaining first level values val_U d0 and val_U d0 of the UV components of the color burst signals of the front row of the current row, and first level values val_U d1 and val_V d1 of the UV components of the color burst signals of an interval row in front of the first level values val_U and val_V of the current row, respectively adding the first level values val_U d1 and val_V d1 of the UV components of the color burst signals of the interval row in front of the first level values val_U and val_V 3562 of the UV components of the color burst signals of the current row, calculating average values, and taking the average values as second level values val_U 0 and val_V 0 of the UV components of the color burst signals of the current row, wherein the calculation formulas are as follows:
Where round () means rounding the content in brackets.
Next, the difference between the second level value of the UV component of the current line burst signal and the first level values val_u d0 and val_u d0 of the UV component of the previous line burst signal is calculated to obtain sub_u and sub_v, and the calculation formula is as follows:
and adding the sub_u and the sub_v to obtain Csyn _lvl, namely Csyn _lvl=sub_u+sub_v.
Then, determining a Phase Alternating Line (PAL) key according to the chroma phase locking mark and Csyn _lvl, specifically, when the chroma phase locking mark is 1, determining whether the absolute value of Csyn _lvl is smaller than a set threshold th c, if so, determining that the Phase Alternating Line (PAL) mark of the current line is the inverse of the phase alternating line mark of the previous line; otherwise, if Csyn _lvl is greater than 0, the phase alternating line of the current line is marked as 0, otherwise, the phase alternating line is marked as 1; when the chroma phase locking mark is 0, the phase alternating mark of the current line is the phase alternating mark of the previous line, because the phase alternating mark is only 1bit, the effect that the value is changed from 1 to 0 and the value is changed from 0 to 1 is achieved only by 0 and 1, 1-the previous line mark, namely, the phase alternating mark is the inverse, and the PAL_key expression is as follows:
Wherein pal_key prev represents the phase alternating line identification value of the previous line.
Finally, the correct UV signals U out and V out can be obtained by performing phase inversion recovery on the first UV component signal according to the phase alternating line identification, and since the common phase alternating line signal only changes the chrominance component signal V, the chrominance component signal U is unchanged, and when the phase alternating line identification is 1, the chrominance component signal V is subjected to phase inversion processing, thereby obtaining the correct V signal, as shown in fig. 3, the expression is as follows:
In this embodiment, two filters are used to process the chrominance signals respectively, so that not only the high-frequency detail part of the chrominance is maintained, but also the stability of the system is considered, and meanwhile, the phase-alternating identification can be accurately and rapidly analyzed from the composite video signal of phase-alternating by line by judging whether the chrominance is phase-locked or not and then judging the phase-alternating identification by the color burst level, so that the color of the restored image is normal.
Example 2
As shown in fig. 4, the present embodiment provides a device for determining a phase alternating line identifier, including:
the demodulation module 10 is configured to demodulate the chrominance signal according to a quadrature amplitude modulation and demodulation principle to obtain a first UV component signal and a second UV component signal, and calculate a first level value of a UV component of the current line color burst signal according to the second UV component signal;
A calculation module 20, configured to calculate a phase between a color subcarrier and a local color subcarrier input into the chrominance signal according to an initial value of the phase alternating line identifier and a first level value of a UV component of a current line color burst signal, and determine a chrominance phase locking identifier according to the phase;
The judging module 30 is configured to obtain respective UV component first level values of the color burst signals of the first two adjacent lines of the current line, and determine a phase alternating line identifier according to the chroma phase locking identifier, the UV component first level value of the color burst signal of the current line, and the UV component first level values of the respective UV component first level values of the color burst signals of the first two adjacent lines of the current line;
And the processing module 40 is configured to perform phase inversion processing on the first UV component signal according to the phase alternating line identifier, so as to obtain a correct UV signal.
One embodiment of the above device may be: the demodulation module 10 demodulates the chrominance signals according to the quadrature amplitude modulation and demodulation principle to respectively obtain a first UV component signal and a second UV component signal, and calculates a UV component first level value of the current line color burst signal according to the second UV component signal; the calculation module 20 calculates the phase between the color subcarrier and the local color subcarrier in the chrominance signal according to the initial value of the phase alternating line identifier and the first level value of the UV component of the current line color burst signal, and determines the chrominance phase locking identifier according to the phase; the judging module 30 obtains the respective first level value of the UV component of the color burst signal of the first two adjacent lines of the current line, and determines the phase-alternating line identification according to the chroma phase locking identification, the first level value of the UV component of the color burst signal of the current line and the respective first level value of the UV component of the color burst signal of the first two adjacent lines of the current line; the processing module 40 performs phase inversion processing on the first UV component signal according to the phase alternating line identifier, so as to obtain a correct UV signal.
Example 3
As shown in fig. 5, the present embodiment provides an electronic device, which includes a memory 501 and a processor 502, where the memory 501 is configured to store one or more computer instructions, and the one or more computer instructions are executed by the processor 502 to implement a method for determining a phase alternating line identifier.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the electronic device described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The present embodiment also provides a computer-readable storage medium storing a computer program which causes a computer to implement a method of determining a phase alternating line identification as described above when executed.
By way of example, a computer program may be divided into one or more modules/units stored in the memory 501 and executed by the processor 502 and completed by the input interface 505 and the output interface 506 for data I/O interface transmission to complete the present invention, and one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions for describing the execution of the computer program in a computer device.
The computer device may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The computer device may include, but is not limited to, a memory 501, a processor 502, it will be understood by those skilled in the art that the present embodiment is merely an example of a computer device and is not limiting of a computer device, may include more or fewer components, or may combine certain components, or different components, e.g., a computer device may also include an input 507, a network access device, a bus, etc.
The Processor 502 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors 502, digital signal processors 502 (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor 502 may be a microprocessor 502 or the processor 502 may be any conventional processor 502 or the like.
Memory 501 may be an internal storage unit of a computer device, such as a hard disk or memory of a computer device. The memory 501 may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, and further, the memory 501 may also include an internal storage unit of the computer device and an external storage device, the memory 501 may be used to store a computer program and other programs and data required by the computer device, and the memory 501 may also be used to temporarily store the computer program and other programs and data required by the computer device in the output 508, where the foregoing storage media include a U disk, a removable hard disk, a read-only memory ROM503, a random access memory RAM504, a disk or an optical disk and other various media that can store program codes.
The foregoing is merely illustrative of specific embodiments of the present invention, and the scope of the present invention is not limited thereto, but any changes or substitutions within the technical scope of the present invention should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (6)
1. The method for judging the phase alternating identification is characterized by comprising the following steps of:
Multiplying the chrominance signals with local color subcarriers sin and cos respectively, and then inputting the obtained results into a low-pass filter and an average filter respectively for high-frequency harmonic filtering to obtain a first UV component signal and a second UV component signal, wherein the first UV component signal is output by the low-pass filter, and the second UV component signal is output by the average filter;
Continuously taking and accumulating second UV component signals of N sampling points from the positions of M sampling points at the falling edge of the line synchronization, and taking the accumulated value as a first level value of the UV component of the current line color synchronizing signal, wherein M, N is an integer larger than 1;
Calculating the phase between a color subcarrier and a local color subcarrier in the chrominance signal according to the initial value of the phase alternating identification and the first level value of the UV component of the current line color burst signal, and determining a chrominance phase locking identification according to the phase;
Acquiring respective UV component first level values of two adjacent front lines of color burst signals of a current line, respectively adding the UV component first level values of the color burst signals of the current line and corresponding component level values in the UV component first level values of the color burst signals of the previous line, calculating an average value, and taking the average value as a UV component second level value of the color burst signals of the current line;
calculating the difference between the second level value of the UV component of the current line color burst signal and the corresponding component level value in the first level value of the UV component of the previous line color burst signal to obtain a U component difference value and a V component difference value;
Calculating the sum of the U component difference value and the V component difference value, if the chroma phase locking mark is 1, calculating the phase-change identification of the current line according to the sum of the U component difference value and the V component difference value, otherwise, the phase-change identification of the current line is the inverse of the phase-change identification of the previous line;
And carrying out phase inversion processing on the first UV component signal according to the phase alternating identification to obtain a correct UV signal.
2. The method for determining a phase-alternating line identifier according to claim 1, wherein determining a chroma phase-locked identifier according to the phase comprises:
Setting a counter, configuring an initial value of the counter for use, updating the counter value according to a chroma phase locking threshold value and the phase, and generating a chroma phase locking mark according to the updated counter value.
3. The method according to claim 1, wherein generating the chroma phase lock flag according to the updated counter value comprises:
If the updated counter value is greater than or equal to 0, the chroma phase lock flag is1, otherwise, the chroma phase lock flag is 0.
4. A device for determining a phase alternating identification, comprising:
the demodulation module is used for multiplying the chrominance signals by local color subcarriers sin and cos respectively, and then inputting the obtained results into the low-pass filter and the average filter respectively for high-frequency harmonic filtering to obtain a first UV component signal and a second UV component signal, wherein the first UV component signal is output by the low-pass filter, and the second UV component signal is output by the average filter;
Continuously taking and accumulating second UV component signals of N sampling points from the positions of M sampling points at the falling edge of the line synchronization, and taking the accumulated value as a first level value of the UV component of the current line color synchronizing signal, wherein M, N is an integer larger than 1;
The computing module is used for computing the phase between the color subcarrier and the local color subcarrier in the chrominance signal according to the initial value of the phase alternating identification and the first level value of the UV component of the current line color burst signal, and determining a chrominance phase locking identification according to the phase;
the judging module is used for acquiring respective UV component level values of the color burst signals of the first two adjacent rows of the current row, respectively adding the UV component first level value of the color burst signal of the current row and the corresponding component level value in the UV component first level value of the color burst signal of the row in front of the current row, calculating an average value, and taking the average value as a UV component second level value of the color burst signal of the current row;
calculating the difference between the second level value of the UV component of the current line color burst signal and the corresponding component level value in the first level value of the UV component of the previous line color burst signal to obtain a U component difference value and a V component difference value;
Calculating the sum of the U component difference value and the V component difference value, if the chroma phase locking mark is 1, calculating the phase-change identification of the current line according to the sum of the U component difference value and the V component difference value, otherwise, the phase-change identification of the current line is the inverse of the phase-change identification of the previous line;
And the processing module is used for carrying out phase inversion processing on the first UV component signal according to the phase-alternating identification to obtain a correct UV signal.
5. An electronic device comprising a memory and a processor, the memory configured to store one or more computer instructions, wherein the one or more computer instructions are executable by the processor to implement a method of determining a phase alternating line identification as claimed in any one of claims 1 to 3.
6. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute a method for determining a phase alternating line identification according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410075496.2A CN117596371B (en) | 2024-01-18 | 2024-01-18 | Method and device for judging phase alternating identification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410075496.2A CN117596371B (en) | 2024-01-18 | 2024-01-18 | Method and device for judging phase alternating identification |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117596371A CN117596371A (en) | 2024-02-23 |
CN117596371B true CN117596371B (en) | 2024-04-30 |
Family
ID=89920512
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410075496.2A Active CN117596371B (en) | 2024-01-18 | 2024-01-18 | Method and device for judging phase alternating identification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117596371B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4266241A (en) * | 1977-02-07 | 1981-05-05 | Basf Aktiengesellschaft | Color signal encoding methods and apparatus for video recording and playback |
KR950012831U (en) * | 1993-10-23 | 1995-05-17 | 삼성전자주식회사 | Chroma trap selection circuit of video decoder |
CN101090507A (en) * | 2007-07-18 | 2007-12-19 | 北京中星微电子有限公司 | Detection method and device of SECAM video signal subcarrier type |
CN101272509A (en) * | 2008-04-01 | 2008-09-24 | 西安交通大学 | Video signal decoder based on 3D self-adapting comb filtering |
US7538823B1 (en) * | 2005-09-23 | 2009-05-26 | Cirrus Logic, Inc. | Luminance/chrominance video data separation circuits and methods and video systems utilizing the same |
CN102055990A (en) * | 2009-11-03 | 2011-05-11 | 无锡华润矽科微电子有限公司 | Method and device for detecting PAL type video signal subcarrier phase conversion |
CN102387397A (en) * | 2010-08-30 | 2012-03-21 | 深圳艾科创新微电子有限公司 | Method and device for detecting color sub-carrier frequency in video signal |
CN102595183A (en) * | 2011-01-12 | 2012-07-18 | 深圳艾科创新微电子有限公司 | Method and system for system detection under weak signal |
CN102740086A (en) * | 2012-06-26 | 2012-10-17 | 上海屹芯微电子有限公司 | Automatic identification method and device of composite video broadcast signal system |
CN104253986A (en) * | 2013-06-28 | 2014-12-31 | 成都国腾电子技术股份有限公司 | Self-adaption chroma comb filtering method and device |
CN107959815A (en) * | 2016-10-14 | 2018-04-24 | 南京理工大学 | A kind of pal video encodes IP kernel |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9635144B2 (en) * | 2011-12-22 | 2017-04-25 | Intel Corporation | Implementing an inter-pal pass-through |
-
2024
- 2024-01-18 CN CN202410075496.2A patent/CN117596371B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4266241A (en) * | 1977-02-07 | 1981-05-05 | Basf Aktiengesellschaft | Color signal encoding methods and apparatus for video recording and playback |
KR950012831U (en) * | 1993-10-23 | 1995-05-17 | 삼성전자주식회사 | Chroma trap selection circuit of video decoder |
US7538823B1 (en) * | 2005-09-23 | 2009-05-26 | Cirrus Logic, Inc. | Luminance/chrominance video data separation circuits and methods and video systems utilizing the same |
CN101090507A (en) * | 2007-07-18 | 2007-12-19 | 北京中星微电子有限公司 | Detection method and device of SECAM video signal subcarrier type |
CN101272509A (en) * | 2008-04-01 | 2008-09-24 | 西安交通大学 | Video signal decoder based on 3D self-adapting comb filtering |
CN102055990A (en) * | 2009-11-03 | 2011-05-11 | 无锡华润矽科微电子有限公司 | Method and device for detecting PAL type video signal subcarrier phase conversion |
CN102387397A (en) * | 2010-08-30 | 2012-03-21 | 深圳艾科创新微电子有限公司 | Method and device for detecting color sub-carrier frequency in video signal |
CN102595183A (en) * | 2011-01-12 | 2012-07-18 | 深圳艾科创新微电子有限公司 | Method and system for system detection under weak signal |
CN102740086A (en) * | 2012-06-26 | 2012-10-17 | 上海屹芯微电子有限公司 | Automatic identification method and device of composite video broadcast signal system |
CN104253986A (en) * | 2013-06-28 | 2014-12-31 | 成都国腾电子技术股份有限公司 | Self-adaption chroma comb filtering method and device |
CN107959815A (en) * | 2016-10-14 | 2018-04-24 | 南京理工大学 | A kind of pal video encodes IP kernel |
Non-Patent Citations (1)
Title |
---|
用最小二乘法恢复逐行倒相副载波;孔壮, 刘巨昌, 刘爱琴;电视技术;19970917(第09期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN117596371A (en) | 2024-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5444416A (en) | Digital FM demodulation apparatus demodulating sampled digital FM modulated wave | |
DE60128036T2 (en) | Vehicle recovery in a multi-carrier receiver | |
CN109862545B (en) | Frequency offset compensation method and device of Bluetooth signal, computer equipment and storage medium | |
US4918709A (en) | Data demodulator baud clock phase locking | |
CN107786479B (en) | A kind of big frequency deviation compensation system of QPSK carrier auxiliary and method | |
CN106603454A (en) | GFSK digital double-channel demodulation method | |
CN104363194A (en) | PSK (phase shift keying) modulation recognition method based on wave form transformation | |
CN117596371B (en) | Method and device for judging phase alternating identification | |
CN110646766A (en) | S-mode interrogation signal detection method, storage medium and detection device | |
JP2006229374A (en) | Frequency difference detection apparatus and method, frequency discrimination apparatus and method, and frequency synthesizer and method | |
JP2001094531A (en) | Method for generating synchronizing pulses representing symbol border of ofdm signal and method for receiving ofdm signal | |
EP3833011A1 (en) | Method and system for the extraction of electric network frequency signals from digital videos | |
DE69919666T2 (en) | Synchronization of symbols in multi-carrier transmission | |
CN112637095B (en) | 5G combined channel estimation method and system | |
DE102013217141B4 (en) | Frequency error detector and detection method, as well as receiver | |
EP0903884B1 (en) | Phase estimating circuit and demodulating circuit | |
CN113132076A (en) | Frame synchronization method, device, electronic equipment and storage medium | |
Mezher | Digital image processing filtering with LABVIEW | |
JP3449281B2 (en) | Synchronous circuit for multicarrier receiver and multicarrier receiver | |
JP2008271298A (en) | Demodulation apparatus, receiver, demodulation method and demodulation program | |
Swaminathan | Application of Spatial Domain Filters on Noisy Images using MATLAB | |
CN117517755B (en) | Method for rapidly determining alternating current component in electric quantity and protection measurement and control safety device | |
CN113726706B (en) | Method, device and storage medium for improving demodulation precision of D8PSK signal | |
CN111986096A (en) | Cartoon generation method and cartoon generation device based on edge extraction | |
US20100283918A1 (en) | Apparatus and method for estimating carrier frequency error |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |