CN103475822B - image processing method, device and terminal device - Google Patents

image processing method, device and terminal device Download PDF

Info

Publication number
CN103475822B
CN103475822B CN201310381874.1A CN201310381874A CN103475822B CN 103475822 B CN103475822 B CN 103475822B CN 201310381874 A CN201310381874 A CN 201310381874A CN 103475822 B CN103475822 B CN 103475822B
Authority
CN
China
Prior art keywords
image
output
overscanning
adjustment
percentage
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
Application number
CN201310381874.1A
Other languages
Chinese (zh)
Other versions
CN103475822A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310381874.1A priority Critical patent/CN103475822B/en
Publication of CN103475822A publication Critical patent/CN103475822A/en
Application granted granted Critical
Publication of CN103475822B publication Critical patent/CN103475822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a kind of image processing method, device and terminal device, belong to multimedia technology field.Methods described includes:Overscanning percentage is obtained, the overscanning percentage is the ratio that display interface is accounted for by the image display area after overscanning;Adjustment image output parameter so that the ratio that the output image after adjustment accounts for the display interface is the overscanning percentage;According to the image output parameter after the adjustment, output image.The device includes:Acquisition module 301, adjusting module 302 and output module 303.The present invention helps user to obtain overscanning percentage manually by terminal device, the ratio of display interface is accounted for by the image display area after overscanning, and according to the overscanning percentage, adjustment image output parameter, so that the output image size after adjustment is identical with the image display area, then the image display area can complete display output image, it is ensured that the integrality of display picture.

Description

Image processing method, device and terminal device
Technical field
The present invention relates to multimedia technology field, more particularly to a kind of image processing method, device and terminal device.
Background technology
Overscan technique is a kind of CRT (Cathode Ray Tube, electron ray tube) television technologies.The technology can be by Image augmentation, causes image edge part to extend to outside television screen, and television screen is only shown by paracentral portion Point, display picture is imperfect, and in reasons such as compatibility considerations, plasma of today, LCD TV still employ overscanning Technology.
To solve, because of the incomplete problem of television set display picture caused by overscanning, can generally to use closing television The display of television set, i.e., be set to full screen display by the method that machine over-scans function.
At least there is problems with the method for the overscanning function of above-mentioned closing television machine:(1) most of television sets are not propped up Hold full screen display, it is impossible to the display of television set be set to full screen display, i.e., cannot closing television overscanning function;(2) it is most User does not know that television set has overscanning function, and also not knowing can manually set the overscanning work(of closing television machine Energy.
The content of the invention
In order to solve the above problems, a kind of image processing method, device and terminal device are the embodiment of the invention provides.Should Technical scheme is as follows:
On the one hand, there is provided a kind of image processing method, the method includes:
Overscanning percentage is obtained, the overscanning percentage is to account for display circle by the image display area after overscanning The ratio in face;
Adjustment image output parameter so that the ratio that the output image after adjustment accounts for the display interface is the overscanning percentage Than;
According to the image output parameter after the adjustment, output image.
On the other hand, there is provided a kind of image processing apparatus, the device includes:
Acquisition module, for obtaining overscanning percentage, the overscanning percentage is to show by the image after overscanning Show that region accounts for the ratio of display interface;
Adjusting module, for adjusting image output parameter so that the output image after adjustment accounts for the ratio of the display interface It is the overscanning percentage;
Output module, for according to the image output parameter after the adjustment, output image.
Another aspect, additionally provides a kind of terminal device, and the terminal device includes transceiver, processor and memory, And one or more than one program, one of them or more than one program storage in the memory, and by this Reason device performs one or more than one program bag containing the instruction for carrying out following operation:Overscanning percentage is obtained, The overscanning percentage is the ratio that display interface is accounted for by the image display area after overscanning;Adjustment image output ginseng Number so that the ratio that the output image after adjustment accounts for the display interface is the overscanning percentage;After the adjustment Image output parameter, output image.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Method provided in an embodiment of the present invention, helps user to obtain overscanning percentage manually by terminal device, that is, pass through Image display area after overscanning accounts for the ratio of display interface, and according to the overscanning percentage, adjustment image output Parameter so that the output image size after adjustment is identical with the image display area, then the image display area can completely show Show output image, it is ensured that the integrality of display picture.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is image processing method flow chart provided in an embodiment of the present invention;
Fig. 2 is image processing method flow chart provided in an embodiment of the present invention;
Fig. 3 is image processing apparatus structural representation provided in an embodiment of the present invention;
Fig. 4 is image processing apparatus structural representation provided in an embodiment of the present invention;
Fig. 5 is the structural representation of the terminal device involved by the embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is a kind of flow chart of image processing method provided in an embodiment of the present invention.The executive agent of the embodiment is Terminal device, referring to Fig. 1, the method includes:
101st, overscanning percentage is obtained, the overscanning percentage is to account for aobvious by the image display area after overscanning Show the ratio at interface;
102nd, image output parameter is adjusted so that the ratio that the output image after adjustment accounts for the display interface is the overscanning Percentage;
103rd, according to the image output parameter after the adjustment, output image.
Method provided in an embodiment of the present invention, helps user to obtain overscanning percentage manually by terminal device, that is, pass through Image display area after overscanning accounts for the ratio of display interface, and according to the overscanning percentage, adjustment image output Parameter so that the output image size after adjustment is identical with the image display area, then the image display area can completely show Show output image, it is ensured that the integrality of display picture.
It is preferred that obtain overscanning percentage including:
Detect the first adjustment operation on the display interface;
The region that the first adjustment operation determines is retrieved as image display area;
According to the image display area and the display interface, overscanning percentage is obtained.
It is preferred that adjustment image output parameter so that the ratio that the output image after adjustment accounts for the display interface is the mistake Scanning percentage includes:
When the second adjustment operation to output image is detected, according to the image size that the second adjustment operation determines, Adjust the image output parameter.
It is preferred that the second adjustment operation is to the drag operation at the output image edge or for exporting the output image Application Program Interface drag operation.
It is preferred that the image output parameter include image coding and decoding parameter, output image resolution ratio, output image size, At least one in output image length-width ratio.
Fig. 2 is the flow chart of another image processing method provided in an embodiment of the present invention.The executive agent of the embodiment It is terminal device, referring to Fig. 2, the method includes:
201st, the first adjustment operation on terminal device detection display interface;
In embodiments of the present invention, after by overscanning, shown image is not output image on display interface Whole, and the only core including output image, in order to determine current image display area, terminal device provides one Planting can be by the manually implemented determination mode of user.Specifically, display interface shows a rectangular area, when detecting to the square During the first adjustment operation in shape region, according to the operation for detecting, the rectangular area is processed accordingly, when detecting use When operation (such as double click operation or the clicking operation to acknowledgement key) of adjustment is terminated, step 202 is performed.Wherein, this first Adjustment operation can be the operation for adjusting scope included by rectangular area such as drag operation or zoom operations, and the present invention is implemented Example is not especially limited to this.
202nd, the region that the first adjustment operation determines is retrieved as image display area by terminal device;
Specifically, in the step 202, the region that the first adjustment operation determines is retrieved as into image display area includes: Record the original position and final position of the first adjustment operation;Obtain with the original position and line of the final position as end points The cornerwise rectangular areas of Duan Zuowei;The rectangular area is defined as image display area.
203rd, terminal device obtains overscanning percentage, overscanning hundred according to the image display area and the display interface Divide than being the ratio that display interface is accounted for by the image display area after overscanning;
Specifically, according to the image display area and the display interface, obtaining overscanning percentage includes:According to what is obtained Image display area, calculates the size of the image display area after process overscanning, calculates by after overscanning Image display area size and display interface size ratio, that is, over-scan percentage.
It is preferred that according to the image display area and the display interface, obtaining overscanning percentage can also be:According to this Image display area and display interface, can know that pixel number that the image display area includes and display interface are included Pixel number, calculate the pixel number that the pixel number that the image display area includes is included with display interface Ratio, then the ratio be overscanning percentage.
It should be noted that step 201-203 is the process for obtaining overscanning percentage, figure is chosen manually by by user As viewing area, to obtain image display area, and the size of image display area is calculated, so as to calculate overscanning percentage Than.It is such as automatic by scanning form by terminal device and in actual applications, the acquisition can also be realized by other means Obtain, the embodiment of the present invention is not limited this.
204th, terminal device adjustment image output parameter so that the ratio that the output image after adjustment accounts for the display interface is The overscanning percentage;
Wherein, the image output parameter includes image coding and decoding parameter, output image resolution ratio, output image size, defeated Go out at least one in image length-width ratio.
In the step 204, image output parameter is adjusted so that the ratio that the output image after adjustment accounts for the display interface is The overscanning percentage can include following any one mode:(1) adjust image coding and decoding relevant parameter, such as decoding process, regard Frequency output format, maximum video code check and image resolution ratio etc., change the size of the output image generated by codec so that The ratio that the output image accounts for the display interface is the overscanning percentage, by display device by this by the defeated of codec generation Go out picture original to show;(2) when the second adjustment operation to output image is detected, determined according to the second adjustment operation Image size, adjust the image output parameter.Wherein, the second adjustment operation is the drag operation to the output image edge Or for exporting the drag operation of the Application Program Interface of the output image.Operated when the second adjustment to output image is detected When, according to the image size that the second adjustment operation determines, adjusting the image output parameter includes:When detecting to output image The second adjustment operation be drag operation to the output image edge, or for exporting the Application Program Interface of the output image Drag operation when, the position at the end of the drag operation is recorded, according to the position at the end of the drag operation, it is determined that after adjustment Image display area, according to the size of image display area after adjustment, adjusts image output parameter so that the output figure after adjustment As identical with the size of image display area.(2) the kind adjustment refers to not change image coding and decoding relevant parameter, i.e., by compiling The size of the output image of decoder generation does not change, and adjusts the relevant parameter of application program when showing, e.g., shows video model Enclose (1/4,1/2 and 1 etc.), output image size, (length-width ratio is 16 to output image length-width ratio:9 or 4:3 etc.) the image output ginseng such as Number, the output image compression display that will be generated by codec so that the ratio that the output image of display accounts for the display interface is The overscanning percentage;Such as, the displaying ratio of window is adjusted, output image is reduced into and is accounted for original ratio for the overscanning hundred Divide than display.
205th, terminal device is according to the image output parameter after the adjustment, output image.
Due to the image display area that the basis for adjusting image output parameter is determination, therefore, according to the figure after the adjustment As output parameter export image just can it is determined that image display area completely show.
Above-mentioned terminal device can be the terminal device for being processed vision signal, such as Set Top Box, television set Processor etc..
Method provided in an embodiment of the present invention, helps user to obtain overscanning percentage manually by terminal device, that is, pass through Image display area after overscanning accounts for the ratio of display interface, and according to the overscanning percentage, adjustment image output Parameter so that the output image size after adjustment is identical with the image display area, then the image display area can completely show Show output image, it is ensured that the integrality of display picture.
Fig. 3 is a kind of structural representation of image processing apparatus provided in an embodiment of the present invention.Referring to Fig. 3, the device bag Include:Acquisition module 301, adjusting module 302 and output module 303;Wherein, acquisition module 301 is used to obtain overscanning percentage, The overscanning percentage is the ratio that display interface is accounted for by the image display area after overscanning;Acquisition module 301 and tune Mould preparation block 302 is connected, and adjusting module 302 is used to adjust image output parameter so that the output image after adjustment accounts for display circle The ratio in face is the overscanning percentage;Adjusting module 302 is connected with output module 303, and output module 303 is used for according to the tune Image output parameter after whole, output image.
It is preferred that Fig. 4 is the structural representation of another image processing apparatus provided in an embodiment of the present invention.Referring to Fig. 4, On the basis of Fig. 3 shown device structures, the acquisition module 301 includes:Detection unit 3011, first acquisition unit 3012 and Two acquiring units 3013;Wherein, the first adjustment operation that detection unit 3011 is used to detect on the display interface;Detection unit 3011 are connected with first acquisition unit 3012, and first acquisition unit 3012 is used to obtain in the region that the first adjustment operation determines It is image display area;First acquisition unit 3012 is connected with second acquisition unit 3013, and second acquisition unit 3013 is used for root According to the image display area and the display interface, overscanning percentage is obtained.
It is preferred that the adjusting module 302 is additionally operable to when detecting to the second of output image the adjustment operation, according to this The image size that two adjustment operations determine, adjusts the image output parameter.
It is preferred that the second adjustment operation is to the drag operation at the output image edge or for exporting the output image Application Program Interface drag operation.
It is preferred that the image output parameter include image coding and decoding parameter, output image resolution ratio, output image size, At least one in output image length-width ratio.
It should be noted that:The image processing apparatus that above-described embodiment is provided when image procossing is carried out, only with above-mentioned each The division of functional module is carried out for example, in practical application, as needed can distribute by different work(above-mentioned functions Can module complete, will the internal structure of equipment be divided into different functional modules, to complete whole described above or portion Divide function.In addition, the image processing apparatus that above-described embodiment is provided belong to same design with image processing method embodiment, its tool Body implementation process refers to embodiment of the method, repeats no more here.
Fig. 5 is a kind of terminal device structural representation provided in an embodiment of the present invention.Referring to Fig. 5, the terminal device can be with For the image processing method for implementing to be provided in above-described embodiment.Specifically:Terminal device includes transceiver 501, treatment Device 502 and memory 503, and one or more than one program, one of them or more than one program storage is in this In memory, and it is configured to by one or more than one computing device this or more than one program bag containing being used for Carry out the instruction of following operation:Overscanning percentage is obtained, the overscanning percentage is to be shown by the image after overscanning Region accounts for the ratio of display interface;Adjustment image output parameter so that the output image after adjustment accounts for the ratio of the display interface It is the overscanning percentage;According to the image output parameter after the adjustment, output image.
It is preferred that the memory is also stored with performs the instruction of following operation:
Detect the first adjustment operation on the display interface;
The region that the first adjustment operation determines is retrieved as image display area;
According to the image display area and the display interface, overscanning percentage is obtained.
It is preferred that the memory is also stored with performs the instruction of following operation:
When the second adjustment operation to output image is detected, according to the image size that the second adjustment operation determines, Adjust the image output parameter.
It is preferred that the second adjustment operation is to the drag operation at the output image edge or for exporting the output image Application Program Interface drag operation.
It is preferred that the image output parameter include image coding and decoding parameter, output image resolution ratio, output image size, At least one in output image length-width ratio.
Above-mentioned all optional technical schemes, can form alternative embodiment of the invention, herein no longer using any combination Repeat one by one.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, it is also possible to instruct the hardware of correlation to complete by program, the program being somebody's turn to do can be stored in a kind of computer-readable and deposit In storage media, storage medium mentioned above can be read-only storage, disk or CD etc..
Should be only above presently preferred embodiments of the present invention, be not intended to limit the invention, it is all in spirit of the invention and former Within then, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (5)

1. a kind of image processing method, it is characterised in that methods described includes:
The first adjustment operation on detection display interface, the first adjustment operation is drag operation or zoom operations;
The original position and final position of the first adjustment operation are recorded, is obtained with the original position and the final position It is the line segment of end points as cornerwise rectangular area;The rectangular area is defined as image display area;
According to described image viewing area and the display interface, obtain overscanning percentage, the overscanning percentage be through Image display area after overscanning accounts for the ratio of display interface;
When the second adjustment operation to output image is detected, according to the image size that the described second adjustment operation determines, adjust Whole described image output parameter so that the ratio that the output image after adjustment accounts for the display interface is the overscanning percentage Than;Wherein, the second adjustment operation is the drag operation to the Application Program Interface for exporting the output image;
According to the image output parameter after the adjustment, output image, size and the described image viewing area of described image Size is identical.
2. method according to claim 1, it is characterised in that described image output parameter include image coding and decoding parameter, At least one in output image resolution ratio, output image size, output image length-width ratio.
3. a kind of image processing apparatus, it is characterised in that described device includes:
Acquisition module, for obtaining overscanning percentage, the overscanning percentage is to be shown by the image after overscanning Region accounts for the ratio of display interface;
Adjusting module, for adjusting image output parameter so that the ratio that the output image after adjustment accounts for the display interface is The overscanning percentage;
Output module, for according to the image output parameter after the adjustment, output image, the size of described image and the figure As the size of viewing area is identical;
Wherein, the acquisition module includes:
Detection unit, for detecting the first adjustment operation on the display interface, the first adjustment operation is drag operation Or zoom operations;
First acquisition unit, original position and final position for recording the first adjustment operation, obtains with the starting Position and the final position are the line segment of end points as cornerwise rectangular area;The rectangular area is defined as into image to show Show region;
Second acquisition unit, for according to described image viewing area and the display interface, obtaining overscanning percentage;
Wherein, the adjusting module is additionally operable to, when the second adjustment operation to output image is detected, be adjusted according to described second The image size that whole operation determines, adjusts described image output parameter, wherein, the second adjustment operation is to for exporting State the drag operation of the Application Program Interface of output image.
4. device according to claim 3, it is characterised in that described image output parameter include image coding and decoding parameter, At least one in output image resolution ratio, output image size, output image length-width ratio.
5. a kind of terminal device, it is characterised in that the terminal device includes transceiver, processor and memory, Yi Jiyi Individual or more than one program, one of them or more than one program storage in the memory, and by the processor One or more than one program bag is performed containing the instruction for carrying out following operation:The first tune on detection display interface Whole operation, the first adjustment operation is drag operation or zoom operations;The region that described first adjustment operation determines is obtained It is image display area;According to described image viewing area and the display interface, overscanning percentage, the overscanning are obtained Percentage is the ratio that display interface is accounted for by the image display area after overscanning;When detecting to output image second During adjustment operation, according to the image size that the described second adjustment operation determines, described image output parameter is adjusted, wherein, it is described Second adjustment operation is the drag operation to the Application Program Interface for exporting the output image so that the output after adjustment The ratio that image accounts for the display interface is the overscanning percentage;According to the image output parameter after the adjustment, output Image, the size of described image is identical with the size of described image viewing area.
CN201310381874.1A 2013-08-28 2013-08-28 image processing method, device and terminal device Active CN103475822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310381874.1A CN103475822B (en) 2013-08-28 2013-08-28 image processing method, device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310381874.1A CN103475822B (en) 2013-08-28 2013-08-28 image processing method, device and terminal device

Publications (2)

Publication Number Publication Date
CN103475822A CN103475822A (en) 2013-12-25
CN103475822B true CN103475822B (en) 2017-06-16

Family

ID=49800504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310381874.1A Active CN103475822B (en) 2013-08-28 2013-08-28 image processing method, device and terminal device

Country Status (1)

Country Link
CN (1) CN103475822B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578223A (en) * 2014-10-09 2016-05-11 乐视致新电子科技(天津)有限公司 Method and system for setting over-scanning parameters of television
CN109873922B (en) * 2019-02-20 2021-01-19 广州视源电子科技股份有限公司 Method and device for adjusting overscan parameters, display equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263723A (en) * 2005-06-30 2008-09-10 惠普开发有限公司 Methods and apparatus for detecting and adjusting over-scanned images

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050157171A1 (en) * 2004-01-15 2005-07-21 Bowser Todd S. Reducing burn-in associated with mismatched video image/display aspect ratios
KR101321435B1 (en) * 2006-11-10 2013-10-25 삼성전자주식회사 Computer system and control method thereof
CN102137241B (en) * 2010-01-27 2014-03-12 联想(北京)有限公司 Display device and display method thereof
CN102543043B (en) * 2012-02-03 2014-06-18 深圳创维-Rgb电子有限公司 Overscanning automatic adjustment method and system of display equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263723A (en) * 2005-06-30 2008-09-10 惠普开发有限公司 Methods and apparatus for detecting and adjusting over-scanned images

Also Published As

Publication number Publication date
CN103475822A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN103384995B (en) Method and device for user input back channel of wireless displays
CN105260153B (en) Image output device and image output method
DE112015000959T5 (en) Adaptive video processing
CN105511712B (en) A kind of image presentation method and device
TWI382755B (en) Image processing circuit and method thereof
CN107371062B (en) Method for automatically zooming video picture
CN101060593A (en) An image processing system and method
CN103248797A (en) Video resolution enhancing method and module based on FPGA (field programmable gate array)
CN104869372B (en) Projection method and electronic equipment
CN103176339A (en) System and method for automatically adjusting projection brightness
WO2021104394A1 (en) Image processing method and apparatus, electronic device, and storage medium
US11532075B2 (en) Display apparatus for restoring high-frequency component of input image and image processing method thereof
CN103475822B (en) image processing method, device and terminal device
WO2012171452A1 (en) Method, device and system for adapting video image processing
TWI389569B (en) Video conferencing signal processing system
CN107818006A (en) A kind of method of video played in full screen
CN105701809A (en) Flat-field correction method based on line-scan digital camera scanning
CN103369205A (en) Mobile terminal and video image processing method
CN102769732B (en) A kind of conversion method for realizing video field
WO2018010549A1 (en) Method and device for video local zooming
WO2022111717A1 (en) Image processing method and apparatus, and electronic device
CN106851262A (en) The method and apparatus that FPGA detects video signal transmission failure in laser television
CN104185000A (en) Automatic calibration method for cross screen interactions
WO2023237095A1 (en) Video synthesis method based on surround angle of view, and controller and storage medium
CN109089113B (en) A kind of method of the automatic carry out reproduction ratio adjustment of flat panel TV

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant