CN102111640B - Effective image area detection method and system - Google Patents

Effective image area detection method and system Download PDF

Info

Publication number
CN102111640B
CN102111640B CN201010565841A CN201010565841A CN102111640B CN 102111640 B CN102111640 B CN 102111640B CN 201010565841 A CN201010565841 A CN 201010565841A CN 201010565841 A CN201010565841 A CN 201010565841A CN 102111640 B CN102111640 B CN 102111640B
Authority
CN
China
Prior art keywords
coordinate
row
effective
pixel points
effective pixel
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.)
Expired - Fee Related
Application number
CN201010565841A
Other languages
Chinese (zh)
Other versions
CN102111640A (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.)
Vtron Group Co Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201010565841A priority Critical patent/CN102111640B/en
Publication of CN102111640A publication Critical patent/CN102111640A/en
Application granted granted Critical
Publication of CN102111640B publication Critical patent/CN102111640B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an effective image area detection method and an effective image area detection system. By the method and the system, the aims of automatically identifying the effective area of an analogue signal and regulating an optimal display position are fulfilled, and the problem of blackedging in the display of the analogue image signal is effectively solved. The method comprises the following steps of: detecting whether image data corresponding to each pixel clock belongs to an effective image or not, and recording coordinate values of the image data; taking counted minimum row and column coordinates as starting coordinates of the effective image area, and taking counted maximum row and column coordinates as the ending coordinates of the effective image area; and finally making a range judgment on a detection result, and outputting an effective signal if a range is legal.

Description

A kind of image effective coverage detection method and system
Technical field
The present invention relates to image and show field, particularly a kind of image effective coverage detection method and system.
Technical background
Transmission of analog picture signal (ARGB and CVBS etc.) at present and reduction all are not to be with image effective index signal (DE), thus display terminal when showing this analog signal, all be based on a kind of predefined (empirical value) effectively the mode of viewing area or the effective viewing area of manual setting carry out.Do not have the zone that a kind of unique standard is stipulated effective analog picture signal under the various resolution for existing various on the market signal source equipments (like computer video card and DVD etc.); When so different simulation signal generators shows at same display terminal; The display position of image all maybe be different, and the most significantly performance is exactly to have black surround to exist around the image.
Summary of the invention
First goal of the invention of the present invention is to provide a kind of image effective coverage detection method, reaches the purpose of effective coverage with the adjustment best image position of automatic identification analog signal.
In order to realize first goal of the invention, adopt following technical scheme:
A kind of image effective coverage detection method may further comprise the steps:
For each picture frame, carry out operation as follows:
(1) the effective threshold value of computed image color;
(2) the ranks coordinate is counted, write down the ranks coordinate figure of each pixel;
(3) color parameter and the effective threshold value of color of each pixel of comparison; If the color parameter of pixel satisfies the effective threshold value of color; Then pixel is an effective pixel points; Write down the ranks coordinate figure of all effective pixel points, calculate the origin coordinates and the end coordinate of effective viewing area according to the ranks coordinate figure of all effective pixel points;
(4) output useful signal and origin coordinates and end coordinate.
As a kind of preferred version, the effective threshold value of said color is the effective threshold value of RGB, and said color parameter is a rgb value, if rgb value, judges then that color parameter satisfies the effective threshold value of color more than or equal to the effective threshold value of RGB, pixel is an effective pixel points.
As a kind of preferred version, said step (3) comprising:
Said origin coordinates is row-coordinate minimum value and a row coordinate minimum value in all effective pixel points, and said end coordinate is row-coordinate maximum and a row coordinate maximum in all effective pixel points.
As a kind of preferred version, said step (3) comprising:
Said origin coordinates is row-coordinate and a row coordinate minimum in all effective pixel points;
According to the resolution of image, calculate the length and width of effective viewing area;
According to the length and width of initial ranks coordinate, calculate the end coordinate of effective viewing area with effective viewing area.
As a kind of preferred version, said step (3) comprising:
(51) whether on each pixel clock, detect corresponding color parameter greater than the effective threshold value of color; Produce the threshold decision consequential signal; If color parameter is more than or equal to the effective threshold value of color, then pixel is an effective pixel points, and the threshold decision consequential signal is a high level; Otherwise pixel is the inactive pixels point, and the threshold decision consequential signal is a low level;
(52) at the rising edge of each threshold decision consequential signal, carry out the minimum value compare operation to the row coordinate of effective pixel points and row coordinate minimum value Sx_min, carry out the minimum value compare operation to the row-coordinate value of effective pixel points and row-coordinate minimum value Sy_min;
Said minimum value compare operation is following:
If compare first, then Sx_min is the row coordinate of effective pixel points, and Sy_min is the row-coordinate of effective pixel points, otherwise;
If the row coordinate of effective pixel points is less than Sx_min, then the row coordinate with effective pixel points covers Sx_min, if the row-coordinate of effective pixel points is less than Sy_min, then with the row-coordinate covering Sy_min of effective pixel points;
(53) at the trailing edge of each threshold decision consequential signal, carry out the maximum compare operation to the row coordinate of effective pixel points and row coordinate maximum Ex_max, carry out the maximum compare operation to the row-coordinate value of effective pixel points and row-coordinate maximum Ey_max;
Said maximum compare operation is following:
If compare first, then Ex_max is the row coordinate of effective pixel points, and Ey_max is the row-coordinate of effective pixel points, otherwise;
If the row coordinate of effective pixel points is greater than Ex_max, then the row coordinate with effective pixel points covers Ex_max, if the row-coordinate of effective pixel points is greater than Ey_max, then with the row-coordinate covering Ey_max of effective pixel points;
(54) after present frame finished, Sx_min and Sy_min were the initial row coordinate Sx and the row-coordinate Sy of effective viewing area, and Ex_max and Ey_max are the end column coordinate Ex and the row-coordinate Ey of effective viewing area.
As a kind of preferred version, said step (52) also comprises:
Row coordinate and row-coordinate to effective pixel points carry out the judgement of minimum value legitimacy; If effective pixel points satisfies the requirement of minimum value legitimacy; Then carry out the minimum value compare operation to the row coordinate of effective pixel points and row coordinate minimum value Sx_min, carry out the minimum value compare operation to the row-coordinate value of effective pixel points and row-coordinate minimum value Sy_min;
Said step (53) also comprises:
Row coordinate and row-coordinate to effective pixel points carry out the judgement of maximum legitimacy; If effective pixel points satisfies the requirement of maximum legitimacy; Then carry out the maximum compare operation to the row coordinate of effective pixel points and row coordinate maximum Ex_max, carry out the maximum compare operation to the row-coordinate value of effective pixel points and row-coordinate maximum Ey_max.
As a kind of preferred version, said minimum value legitimacy is judged as follows:
If effective initial row coordinate minimum value the row coordinate of effective pixel points effective initial row coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of minimum value row coordinate legitimacy;
If effective initial row coordinate minimum value the row-coordinate of effective pixel points effective initial row coordinate maximum, then the row-coordinate of effective pixel points satisfies the requirement of minimum value row-coordinate legitimacy;
Minimum value row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of minimum value row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of minimum value legitimacy;
Preferably, effective initial row coordinate minimum value is the row unit synchronous head width, and effective initial row coordinate maximum is the total pixel of every row/2;
Effectively initial row coordinate minimum value is the field synchronization head width, and effectively initial row coordinate maximum is row-coordinate < the total line number of every frame/>2 of effective pixel points;
Said maximum legitimacy is judged as follows:
If effective end column coordinate minimum value the row coordinate of effective pixel points effective end column coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of maximum row coordinate legitimacy;
If effective end line coordinate minimum value the row-coordinate of effective pixel points effective end line coordinate maximum, then the row-coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy;
Maximum row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of maximum legitimacy;
Preferably, effectively end column coordinate minimum value is the total pixel of every row/2, and effectively end column coordinate maximum is the total pixel of every row;
Effectively end line coordinate minimum value is the total line number of every frame/2, and effectively end line coordinate maximum is the total line number of every frame.
Second goal of the invention of the present invention is to provide a kind of image effective coverage detection system, to use the detection method that first goal of the invention of the present invention is provided.
In order to realize second goal of the invention, adopt following technical scheme:
A kind of image effective coverage detection system; Comprise blanking level computing module, line count module, data judge module and image effective index signal generation module; The blanking level computing module is connected with the data judge module respectively with the line count module, and the data judge module is connected with image effective index signal generation module again:
The blanking level computing module is used for the effective threshold value of computed image color;
The line count module is used for the ranks coordinate is counted, and writes down the ranks coordinate figure of each pixel;
The data judge module is used for the color parameter and the effective threshold value of color of each pixel of comparison; If the color parameter of pixel satisfies the effective threshold value of color; Then pixel is an effective pixel points; Write down the ranks coordinate figure of all effective pixel points, calculate the origin coordinates and the end coordinate of effective viewing area according to the ranks coordinate figure of all effective pixel points;
Image effective index signal generation module is used to export useful signal and origin coordinates and end coordinate.
As a kind of preferred version, the effective threshold value of said color is the effective threshold value of RGB, and said color parameter is a rgb value, if rgb value, judges then that color parameter satisfies the effective threshold value of color more than or equal to the effective threshold value of RGB, pixel is an effective pixel points.
As a kind of preferred version, said data judge module also comprises interconnective effective pixel points judgement submodule, legitimacy judgement submodule and effective viewing area coordinate Calculation submodule;
Effective pixel points judges that submodule is used to judge whether pixel is effective pixel points, if the color parameter of pixel satisfies the effective threshold value of color, judges that then pixel is an effective pixel points;
Legitimacy judges that submodule judges according to minimum value legitimacy judgment rule whether the row coordinate of effective pixel points and row-coordinate satisfy the requirement of minimum value legitimacy, judges according to maximum legitimacy judgment rule whether the row coordinate of effective pixel points and row-coordinate satisfy the requirement of maximum legitimacy;
Effectively viewing area coordinate Calculation submodule satisfies from all and selects row-coordinate minimum value and row coordinate minimum value as the effective origin coordinates of viewing area the effective pixel points that the minimum value legitimacy requires, and satisfies selection row-coordinate maximum and row coordinate maximum the effective pixel points that the maximum legitimacy requires from all;
If effective initial row coordinate minimum value the row coordinate of effective pixel points effective initial row coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of minimum value row coordinate legitimacy;
If effective initial row coordinate minimum value the row-coordinate of effective pixel points effective initial row coordinate maximum, then the row-coordinate of effective pixel points satisfies the requirement of minimum value row-coordinate legitimacy;
Minimum value row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of minimum value row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of minimum value legitimacy;
Preferably, effective initial row coordinate minimum value is the row unit synchronous head width, and effective initial row coordinate maximum is the total pixel of every row/2;
Effectively initial row coordinate minimum value is the field synchronization head width, and effectively initial row coordinate maximum is row-coordinate < the total line number of every frame/>2 of effective pixel points;
Said maximum legitimacy is judged as follows:
If effective end column coordinate minimum value the row coordinate of effective pixel points effective end column coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of maximum row coordinate legitimacy;
If effective end line coordinate minimum value the row-coordinate of effective pixel points effective end line coordinate maximum, then the row-coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy;
Maximum row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of maximum legitimacy;
Preferably, effectively end column coordinate minimum value is the total pixel of every row/2, and effectively end column coordinate maximum is the total pixel of every row;
Effectively end line coordinate minimum value is the total line number of every frame/2, and effectively end line coordinate maximum is the total line number of every frame.
Maximum row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of maximum legitimacy.
Compared with prior art, the invention has the beneficial effects as follows: the purpose of effective coverage of having realized automatic identification analog signal and adjustment best image position has solved there is black surround in analog picture signal when showing problem.
Description of drawings
Fig. 1 is a method flow diagram of the present invention;
Fig. 2 is a system configuration sketch map of the present invention;
Fig. 3 is an image of the present invention effective coverage sketch map.
Embodiment
Below in conjunction with accompanying drawing the present invention is done further description.
Said origin coordinates is row-coordinate and a row coordinate minimum in all effective pixel points;
According to the resolution of image, calculate the length and width of effective viewing area;
According to the length and width of initial ranks coordinate, calculate the end coordinate of effective viewing area with effective viewing area.The image effective coverage is as shown in Figure 3.
The method flow of the embodiment of the invention is as shown in Figure 1, and the image color parameter is a rgb value among the embodiment, and the effective threshold value of color is the effective threshold value of RGB, may further comprise the steps:
For each picture frame, carry out operation as follows:
Step 1, the effective threshold value of computed image RGB;
1) at first calculate the blanking level average, the blanking level average is a blanking level average (RGB average) during row field sync signal (HS and VS), as a judgement of system level noise, is used to eliminate the level DC biasing of some ARGB signal sources.The noise size of this analog signal has been reflected in this average side;
2) calculate the effective threshold value of RGB=blanking level average (RGB average)+practical application experience value.The practical application experience value can be according to blanking level average (RGB average) size, correspondingly does the size adjustment.When blanking level average (RGB average) was big, the also corresponding choosing of practical application experience value was big; Blanking level average (RGB average) hour, the practical application experience value can be selected smaller.
Step 2 is counted the ranks coordinate, writes down the ranks coordinate figure of each pixel;
Whether step 3 detects corresponding color parameter greater than the effective threshold value of color on each pixel clock, produce the threshold decision consequential signal; If color parameter is more than or equal to the effective threshold value of color; Then pixel is an effective pixel points, and the threshold decision consequential signal is a high level, otherwise pixel is the inactive pixels point; The threshold decision consequential signal is low level, and is as shown in Figure 4;
Step 4 at the rising edge of each threshold decision consequential signal, is carried out the minimum value compare operation to the row coordinate of effective pixel points and row coordinate minimum value Sx_min, carries out the minimum value compare operation to the row-coordinate value of effective pixel points and row-coordinate minimum value Sy_min;
Said minimum value compare operation is following:
If compare first, then Sx_min is the row coordinate of effective pixel points, and Sy_min is the row-coordinate of effective pixel points, otherwise;
If the row coordinate of effective pixel points is less than Sx_min, then the row coordinate with effective pixel points covers Sx_min, if the row-coordinate of effective pixel points is less than Sy_min, then with the row-coordinate covering Sy_min of effective pixel points;
Step 5 at the trailing edge of each threshold decision consequential signal, is carried out the maximum compare operation to the row coordinate of effective pixel points and row coordinate maximum Ex_max, carries out the maximum compare operation to the row-coordinate value of effective pixel points and row-coordinate maximum Ey_max;
Said maximum compare operation is following:
If compare first, then Ex_max is the row coordinate of effective pixel points, and Ey_max is the row-coordinate of effective pixel points, otherwise;
If the row coordinate of effective pixel points is greater than Ex_max, then the row coordinate with effective pixel points covers Ex_max, if the row-coordinate of effective pixel points is greater than Ey_max, then with the row-coordinate covering Ey_max of effective pixel points;
Step 6, after present frame finished, Sx_min and Sy_min were the initial row coordinate Sx and the row-coordinate Sy of effective viewing area, and Ex_max and Ey_max are the end column coordinate Ex and the row-coordinate Ey of effective viewing area.
Step 7 is exported useful signal and origin coordinates and end coordinate at last.
Said step 4 also comprises the legitimacy judgement:
Row coordinate and row-coordinate to effective pixel points carry out the judgement of minimum value legitimacy; If effective pixel points satisfies the requirement of minimum value legitimacy; Then carry out the minimum value compare operation to the row coordinate of effective pixel points and row coordinate minimum value Sx_min, carry out the minimum value compare operation to the row-coordinate value of effective pixel points and row-coordinate minimum value Sy_min;
Said step 5 also comprises the legitimacy judgement:
Row coordinate and row-coordinate to effective pixel points carry out the judgement of maximum legitimacy; If effective pixel points satisfies the requirement of maximum legitimacy; Then carry out the maximum compare operation to the row coordinate of effective pixel points and row coordinate maximum Ex_max, carry out the maximum compare operation to the row-coordinate value of effective pixel points and row-coordinate maximum Ey_max.
If effective initial row coordinate minimum value the row coordinate of effective pixel points effective initial row coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of minimum value row coordinate legitimacy;
If effective initial row coordinate minimum value the row-coordinate of effective pixel points effective initial row coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of minimum value row-coordinate legitimacy;
Minimum value row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of minimum value row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of minimum value legitimacy;
Preferably, effective initial row coordinate minimum value is the row unit synchronous head width, and effective initial row coordinate maximum is the total pixel of every row/2;
Effectively initial row coordinate minimum value is the field synchronization head width, and effectively initial row coordinate maximum is row-coordinate < the total line number of every frame/>2 of effective pixel points;
Said maximum legitimacy is judged as follows:
If effective end column coordinate minimum value the row coordinate of effective pixel points effective end column coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of maximum row coordinate legitimacy;
If effective end line coordinate minimum value the row-coordinate of effective pixel points effective end line coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy;
Maximum row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of maximum legitimacy;
Preferably, effectively end column coordinate minimum value is the total pixel of every row/2, and effectively end column coordinate maximum is the total pixel of every row;
Effectively end line coordinate minimum value is the total line number of every frame/2, and effectively end line coordinate maximum is the total line number of every frame.
Maximum row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of maximum legitimacy.
For the input signal of various resolution, the width of image effective coverage and highly all fixing.The original position of the effective viewing area of image is but not necessarily fixing, all has difference for the original position of the effective viewing area of image of same resolution different signal sources.So second embodiment of the present invention; Execution in step 1~step 4 at first; Draw the corresponding effective viewing area of the image length and width of its resolution through detecting the capable field frequencies range information of input signal, tabling look-up then, draw the origin coordinates of the effective viewing area of input signal image again according to step 4; Calculate the end coordinate of the effective viewing area of image then, thus execution in step 7 output useful signal and origin coordinates and end coordinate.
System configuration of the present invention is as shown in Figure 2; Comprise blanking level computing module, line count module, data judge module and image effective index signal generation module; The blanking level computing module is connected with the data judge module respectively with the line count module, and the data judge module is connected with image effective index signal generation module again:
The blanking level computing module is used for the effective threshold value of computed image color;
The line count module is used for the ranks coordinate is counted, and writes down the ranks coordinate figure of each pixel;
The data judge module is used for the color parameter and the effective threshold value of color of each pixel of comparison; If the color parameter of pixel satisfies the effective threshold value of color; Then pixel is an effective pixel points; Write down the ranks coordinate figure of all effective pixel points, calculate the origin coordinates and the end coordinate of effective viewing area according to the ranks coordinate figure of all effective pixel points;
Image effective index signal generation module is used to export useful signal and origin coordinates and end coordinate.
As stated, can realize preferably that just the present invention, the foregoing description are merely preferred embodiment of the present invention, be not to be used for limiting practical range of the present invention; Be that all equalizations of doing according to content of the present invention change and modification, all contained by claim of the present invention scope required for protection.

Claims (7)

1. image effective coverage detection method is characterized in that may further comprise the steps:
For each picture frame, carry out operation as follows:
(1) the effective threshold value of computed image color;
(2) the ranks coordinate is counted, write down the ranks coordinate figure of each pixel;
(3) color parameter and the effective threshold value of color of each pixel of comparison; If the color parameter of pixel satisfies the effective threshold value of color; Then pixel is an effective pixel points; Write down the ranks coordinate figure of all effective pixel points, calculate the origin coordinates and the end coordinate of effective viewing area according to the ranks coordinate figure of all effective pixel points;
(4) output useful signal and origin coordinates and end coordinate;
Said step (3) comprising:
(51) whether on each pixel clock, detect corresponding color parameter greater than the effective threshold value of color; Produce the threshold decision consequential signal; If color parameter is more than or equal to the effective threshold value of color, then pixel is an effective pixel points, and the threshold decision consequential signal is a high level; Otherwise pixel is the inactive pixels point, and the threshold decision consequential signal is a low level;
(52) at the rising edge of each threshold decision consequential signal, carry out the minimum value compare operation to the row coordinate of effective pixel points and row coordinate minimum value Sx_min, carry out the minimum value compare operation to the row-coordinate value of effective pixel points and row-coordinate minimum value Sy_min;
Said minimum value compare operation is following:
If compare first, then Sx_min is the row coordinate of effective pixel points, and Sy_min is the row-coordinate of effective pixel points, otherwise;
If the row coordinate of effective pixel points is less than Sx_min, then the row coordinate with effective pixel points covers Sx_min, if the row-coordinate of effective pixel points is less than Sy_min, then with the row-coordinate covering Sy_min of effective pixel points;
(53) at the trailing edge of each threshold decision consequential signal, carry out the maximum compare operation to the row coordinate of effective pixel points and row coordinate maximum Ex_max, carry out the maximum compare operation to the row-coordinate value of effective pixel points and row-coordinate maximum Ey_max;
Said maximum compare operation is following:
If compare first, then Ex_max is the row coordinate of effective pixel points, and Ey_max is the row-coordinate of effective pixel points, otherwise;
If the row coordinate of effective pixel points is greater than Ex_max, then the row coordinate with effective pixel points covers Ex_max, if the row-coordinate of effective pixel points is greater than Ey_max, then with the row-coordinate covering Ey_max of effective pixel points;
(54) after present frame finished, Sx_min and Sy_min were the initial row coordinate Sx and the row-coordinate Sy of effective viewing area, and Ex_max and Ey_max are the end column coordinate Ex and the row-coordinate Ey of effective viewing area;
Said step (52) also comprises:
Row coordinate and row-coordinate to effective pixel points carry out the judgement of minimum value legitimacy; If effective pixel points satisfies the requirement of minimum value legitimacy; Then carry out the minimum value compare operation to the row coordinate of effective pixel points and row coordinate minimum value Sx_min, carry out the minimum value compare operation to the row-coordinate value of effective pixel points and row-coordinate minimum value Sy_min;
Said step (53) also comprises:
Row coordinate and row-coordinate to effective pixel points carry out the judgement of maximum legitimacy; If effective pixel points satisfies the requirement of maximum legitimacy; Then carry out the maximum compare operation to the row coordinate of effective pixel points and row coordinate maximum Ex_max, carry out the maximum compare operation to the row-coordinate value of effective pixel points and row-coordinate maximum Ey_max.
2. detection method according to claim 1 is characterized in that, the effective threshold value of said color is the effective threshold value of RGB; Said color parameter is a rgb value; If rgb value, judges then that color parameter satisfies the effective threshold value of color more than or equal to the effective threshold value of RGB, pixel is an effective pixel points.
3. detection method according to claim 1 and 2 is characterized in that, said step (3) comprising:
Said origin coordinates is row-coordinate minimum value and a row coordinate minimum value in all effective pixel points, and said end coordinate is row-coordinate maximum and a row coordinate maximum in all effective pixel points.
4. detection method according to claim 1 and 2 is characterized in that, said step (3) comprising:
Said origin coordinates is row-coordinate and a row coordinate minimum in all effective pixel points;
According to the resolution of image, calculate the length and width of effective viewing area;
According to the length and width of initial ranks coordinate, calculate the end coordinate of effective viewing area with effective viewing area.
5. detection method according to claim 1 is characterized in that:
Said minimum value legitimacy is judged as follows:
If effective initial row coordinate minimum value the row coordinate of effective pixel points effective initial row coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of minimum value row coordinate legitimacy;
If effective initial row coordinate minimum value the row-coordinate of effective pixel points effective initial row coordinate maximum, then the row-coordinate of effective pixel points satisfies the requirement of minimum value row-coordinate legitimacy;
Minimum value row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of minimum value row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of minimum value legitimacy;
Said maximum legitimacy is judged as follows:
If effective end column coordinate minimum value the row coordinate of effective pixel points effective end column coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of maximum row coordinate legitimacy;
If effective end line coordinate minimum value the row-coordinate of effective pixel points effective end line coordinate maximum, then the row-coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy;
Maximum row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of maximum legitimacy.
6. image effective coverage detection system; It is characterized in that; Said system comprises blanking level computing module, line count module, data judge module and image effective index signal generation module; The blanking level computing module is connected with the data judge module respectively with the line count module, and the data judge module is connected with image effective index signal generation module again:
The blanking level computing module is used for the effective threshold value of computed image color;
The line count module is used for the ranks coordinate is counted, and writes down the ranks coordinate figure of each pixel;
The data judge module is used for the color parameter and the effective threshold value of color of each pixel of comparison; If the color parameter of pixel satisfies the effective threshold value of color; Then pixel is an effective pixel points; Write down the ranks coordinate figure of all effective pixel points, calculate the origin coordinates and the end coordinate of effective viewing area according to the ranks coordinate figure of all effective pixel points;
Image effective index signal generation module is used to export useful signal and origin coordinates and end coordinate;
Said data judge module also comprises interconnective effective pixel points judgement submodule, legitimacy judgement submodule and effective viewing area coordinate Calculation submodule;
Effective pixel points judges that submodule is used to judge whether pixel is effective pixel points, if the color parameter of pixel satisfies the effective threshold value of color, judges that then pixel is an effective pixel points;
Legitimacy judges that submodule judges according to minimum value legitimacy judgment rule whether the row coordinate of effective pixel points and row-coordinate satisfy the requirement of minimum value legitimacy, judges according to maximum legitimacy judgment rule whether the row coordinate of effective pixel points and row-coordinate satisfy the requirement of maximum legitimacy;
Effectively viewing area coordinate Calculation submodule satisfies from all and selects row-coordinate minimum value and row coordinate minimum value as the effective origin coordinates of viewing area the effective pixel points that the minimum value legitimacy requires, and satisfies the end coordinate of selecting row-coordinate maximum and the effective viewing area of row coordinate maximum conduct the effective pixel points that the maximum legitimacy requires from all;
Said minimum value legitimacy requires:
If effective initial row coordinate minimum value the row coordinate of effective pixel points effective initial row coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of minimum value row coordinate legitimacy;
If effective initial row coordinate minimum value the row-coordinate of effective pixel points effective initial row coordinate maximum, then the row-coordinate of effective pixel points satisfies the requirement of minimum value row-coordinate legitimacy;
Minimum value row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of minimum value row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of minimum value legitimacy;
Said maximum legitimacy requires:
If effective end column coordinate minimum value the row coordinate of effective pixel points effective end column coordinate maximum, then the row coordinate of effective pixel points satisfies the requirement of maximum row coordinate legitimacy;
If effective end line coordinate minimum value the row-coordinate of effective pixel points effective end line coordinate maximum, then the row-coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy;
Maximum row coordinate legitimacy requires and the row-coordinate of effective pixel points satisfies the requirement of maximum row-coordinate legitimacy if the row coordinate of effective pixel points satisfies, and then effective pixel points satisfies the requirement of maximum legitimacy.
7. detection system according to claim 6 is characterized in that, the effective threshold value of said color is the effective threshold value of RGB; Said color parameter is a rgb value; If rgb value, judges then that color parameter satisfies the effective threshold value of color more than or equal to the effective threshold value of RGB, pixel is an effective pixel points.
CN201010565841A 2010-11-30 2010-11-30 Effective image area detection method and system Expired - Fee Related CN102111640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010565841A CN102111640B (en) 2010-11-30 2010-11-30 Effective image area detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010565841A CN102111640B (en) 2010-11-30 2010-11-30 Effective image area detection method and system

Publications (2)

Publication Number Publication Date
CN102111640A CN102111640A (en) 2011-06-29
CN102111640B true CN102111640B (en) 2012-10-03

Family

ID=44175643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010565841A Expired - Fee Related CN102111640B (en) 2010-11-30 2010-11-30 Effective image area detection method and system

Country Status (1)

Country Link
CN (1) CN102111640B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497488A (en) * 2011-11-30 2012-06-13 广东威创视讯科技股份有限公司 Method and device for removing image black margins
CN103369205B (en) * 2012-03-26 2016-11-16 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method of video image processing
CN102984437A (en) * 2012-12-17 2013-03-20 广东威创视讯科技股份有限公司 Removal method and device for analog video signal letter box based on FPGA
CN105488821B (en) * 2015-11-20 2022-02-01 厦门雅迅网络股份有限公司 Method and device for correcting image center point
CN105450908A (en) * 2015-12-02 2016-03-30 厦门雅迅网络股份有限公司 Method and device for removing black edge from video image
CN106204588B (en) * 2016-07-08 2020-03-17 腾讯科技(深圳)有限公司 Image processing method and device
CN108696710B (en) * 2017-04-11 2020-09-04 杭州海康威视数字技术股份有限公司 Image display method and device
CN109974387B (en) * 2019-03-07 2020-11-20 青岛海尔电冰箱有限公司 Illumination control method for refrigerator compartment and refrigerator
CN111417007B (en) * 2020-03-25 2022-07-12 Oppo广东移动通信有限公司 Image transmission method, device, terminal and storage medium
CN114071209A (en) * 2020-08-05 2022-02-18 晶晨半导体(上海)股份有限公司 Method and device for detecting video image display area in real time and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0964577A2 (en) * 1998-06-10 1999-12-15 Sony Corporation Video signal processing apparatus and composite image adjustment method
CN1496135A (en) * 2002-09-05 2004-05-12 ���µ�����ҵ��ʽ���� Camera with monitor
CN1588424A (en) * 2004-07-02 2005-03-02 清华大学 Finger print identifying method based on broken fingerprint detection
CN101765025A (en) * 2008-12-23 2010-06-30 北京中星微电子有限公司 System for abnormal detection of surveillance camera and method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5549667B2 (en) * 2009-03-30 2014-07-16 日本電気株式会社 Multi-projection display system and screen forming method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0964577A2 (en) * 1998-06-10 1999-12-15 Sony Corporation Video signal processing apparatus and composite image adjustment method
CN1496135A (en) * 2002-09-05 2004-05-12 ���µ�����ҵ��ʽ���� Camera with monitor
CN1588424A (en) * 2004-07-02 2005-03-02 清华大学 Finger print identifying method based on broken fingerprint detection
CN101765025A (en) * 2008-12-23 2010-06-30 北京中星微电子有限公司 System for abnormal detection of surveillance camera and method thereof

Also Published As

Publication number Publication date
CN102111640A (en) 2011-06-29

Similar Documents

Publication Publication Date Title
CN102111640B (en) Effective image area detection method and system
CN108810649B (en) Image quality adjusting method, intelligent television and storage medium
CN109783178B (en) Color adjusting method, device, equipment and medium for interface component
CN102957934B (en) Display processing method, device and display device
US10554942B2 (en) Display apparatus and recording medium
US9542615B2 (en) Image processing apparatus and image processing method
WO2007108475A1 (en) Display device, image data supply device, display system, control method, control program, and computer-readable recording medium containing the program
JP2015111238A (en) Display device, control method of display device, and program
KR102379601B1 (en) Method and apparatus for controling video data
US20110234910A1 (en) Resolution changing device, resolution changing method, and resolution changing program
CN102663985B (en) Contrast and brightness linkage adjustment method and device
US8165421B2 (en) Method and apparatus for image processing by using stored image
JP6304971B2 (en) Projection apparatus and control method thereof
CN203243440U (en) Video signal conversion apparatus for converting HDMI to VGA
CN104954627A (en) Information processing method and electronic equipment
JP2008112133A (en) Electronic equipment
CN101834979A (en) Video signal windowing response method and device thereof and video display system
CN104618662A (en) Video playback system and method
CN107846588B (en) Method and device for acquiring serial port record information in television
US20100135593A1 (en) Information processing apparatus and resolution enhancement processing control program
CN105761267A (en) Image processing method and device
JP5188272B2 (en) Video processing apparatus and video display apparatus
CN107845373B (en) Method and device for adjusting refresh rate
JP2007221415A (en) Video processing device and its method, program and recording medium
CN111819618B (en) Pixel contrast control system and method

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670

Patentee after: Wei Chong group Limited by Share Ltd

Address before: 510663 No. 6, color road, hi tech Industrial Development Zone, Guangdong, Guangzhou, China

Patentee before: Guangdong Weichuangshixun Science and Technology Co., Ltd.

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: 20121003

Termination date: 20191130