CN101609662B - Digital terminal and method for matching input image with display screen - Google Patents
Digital terminal and method for matching input image with display screen Download PDFInfo
- Publication number
- CN101609662B CN101609662B CN2009101074213A CN200910107421A CN101609662B CN 101609662 B CN101609662 B CN 101609662B CN 2009101074213 A CN2009101074213 A CN 2009101074213A CN 200910107421 A CN200910107421 A CN 200910107421A CN 101609662 B CN101609662 B CN 101609662B
- Authority
- CN
- China
- Prior art keywords
- resolution
- image
- pixel
- terminal
- input
- 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
Links
Images
Landscapes
- Image Processing (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention relates to a method for matching an input image of a digital terminal with a display screen thereof. The method comprises the following steps: (A) acquiring data and resolution of the input image; (B) acquiring the maximum resolution displayed by the terminal; (C) processing the data of the input image to convert the resolution thereof to the maximum resolution displayed by the terminal; and (D) displaying and storing the processed image data. The invention also provides a digital terminal for achieving the method. The digital terminal and the method for matching the input image with the display screen thereof help process part of details which can not be displayed by the display screen in the input image while inputting the image, thus allowing input files to meet display requirements with a small data size and resulting in a higher utilization rate of a memory space of the terminal.
Description
[technical field]
The present invention relates to a kind of graphic display terminal and image processing method, more particularly, relate to a kind of digital terminal and make its input picture and the method for its display screen coupling.
[background technology]
Portable digital terminal, DPF for example is because its volume.The restriction of cost, the resolution of display screen usually can be too not high, and its inner memory capacity is because the restriction of its volume, cost is also not too large usually.And the resolution of present many view data is much higher than its exploration on display resolution ratio, and this is owing to development of technology, increasing image capturing device, and for example the output resolution ratio of digital camera is higher.The data volume of these high-resolution pictures is to be directly proportional with the height of its resolution naturally, and resolution is high more, and its data volume is also just big more.Under other environment, the target that the higher people of being of resolution pursue, but in some occasions, high resolution can be brought some negative results, for example, in DPF, its exploration on display resolution ratio has determined high again image resolution ratio also will be controlled by its exploration on display resolution ratio, the image that is higher than its monitor resolution also can only show with exploration on display resolution ratio on display, the details that exceeds is actually useless, can take finite storage space in the DPF owing to its data volume is bigger on the contrary, cause in the DPF finite storage space, can not putting into more picture material.
[summary of the invention]
The technical problem to be solved in the present invention is, obtain the resolution of picture and the display resolution of described digital terminal does not match at prior art above-mentioned, thereby the data that cause can not showing in its picture material occupied this terminal storage space.Thereby make the defective that the service efficiency of memory space of this terminal reduces, a kind of resolution of picture and display resolution coupling of described digital terminal of obtaining is provided, make the picture effect that shows keep the same with former picture quality as much as possible, the data that can not cause can not showing in its picture material have occupied this terminal storage space.Thereby make portable digital terminal that the service efficiency of memory space of this terminal improves and the method for handling image therein.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of method that makes digital terminal input picture and its display screen coupling, comprise the steps:
A) obtain input image data and resolution thereof;
B) obtain the ultimate resolution that described terminal shows;
C) handle described input image data, making its conversion of resolution is the ultimate resolution that described terminal shows;
D) show and store view data after the described processing.
In method of the present invention, the ultimate resolution that described input image data resolution shows greater than described terminal.
In method of the present invention, described step C) further comprise:
C1) ultimate resolution that shows of more described input picture resolution and described terminal needing to obtain the pixel value that compresses in described input picture;
C2) access described input picture, obtain having the image that described terminal shows ultimate resolution behind the pixel value that deletion needs to compress.
In method of the present invention, described step C2) further comprise:
C21) data of the ordered series of numbers in the number row in the described input picture are called in buffer memory;
C22) the described data in buffer of calling in of scanning is selected its pure color or the purest pixel of tone;
C23) determine with the described pixel of selecting in level or the adjacent row or column of vertical direction, in described total pixel value, this image data amount and the described ratio of calling in the data in buffer amount that needs compression, need to determine the row or column position that compress;
C24) judge whether to finish the processing of a two field picture, in this way execution in step D); As not being to return step C21) call in other parts of this view data.。
In method of the present invention, described step C21) calls in the ratio decision that shows the vertical direction of ultimate resolution into line number by described input picture and described terminal at every turn; Described step C21) columns of calling in of each every row shows that by described input picture and described terminal the ratio of the horizontal direction of ultimate resolution determines in.
The invention still further relates to a kind of digital terminal of realizing said method, comprise the display and the input interface that is used for being connected that are used to store memory of data, are used for the display storing image data, also comprise with this portable digital exterior of terminal memory or equipment:
View data acquisition device: be used for obtaining view data and being temporary in described memory by described memory or input interface;
Resolution acquisition device: be used to obtain described temporary image resolution ratio, this digital terminal exploration on display resolution ratio;
Image processing apparatus: being used to handle the described view data that obtains, is described digital terminal exploration on display resolution ratio with described register map as resolution conversion.
In digital terminal of the present invention, described resolution acquisition device comprises:
Temporary image resolution ratio obtains the unit: be used for obtaining resolution described input, that be temporarily stored in described memory view data;
Monitor resolution is obtained the unit: be used to obtain described digital terminal exploration on display resolution ratio;
Resolution computing unit: be used for calculating difference therebetween according to the described temporary image resolution ratio that obtains and the monitor resolution of described terminal;
Packed pixel computing unit: be used for result, needing obtain the pixel number of compression according to described resolution computing unit.
In digital terminal of the present invention, described image processing apparatus comprises:
Input line number computing unit: be used for according to the resolution of described image and describedly need obtain the image pixel line number of the each input-buffer of described image processing apparatus at the pixel number of every row or the deletion of every row;
Input columns computing unit: be used for according to the resolution of described image and describedly need obtain the image pixel columns of the each input-buffer of described image processing apparatus at the pixel number of every row or the deletion of every row.
In digital terminal of the present invention, described image processing apparatus also comprises:
Pixel is searched the unit: be used for the image pixel at a described input-buffer, search pure color or the highest pixel of tone purity;
Pixel delete cells: be used for the pixel numeral of pressing the needs deletion that described packed pixel calculation element calculates with the highest pixel level of described pure color or tone purity or upright position adjacent pixels is deleted symmetrically.
In digital terminal of the present invention, also comprise:
Image memory device: be used for described treated image is stored in described memory;
Image display device: be used to determine and described pure color or the highest pixel level or the upright position row or column position adjacent, that needs are deleted symmetrically of tone purity.
Implement digital terminal of the present invention and make its input picture and the method for its display screen coupling, have following beneficial effect: since input picture be just with this input picture in the display screen part treatment of details that can not show, so the file of its input satisfies its display requirement and data volume is less, the utilization rate of its memory space is higher.
[description of drawings]
Fig. 1 is digital terminal of the present invention and makes its input picture and the method flow diagram of the method embodiment of its display screen coupling;
Fig. 2 is the logic diagram of digital terminal among the described embodiment.
[embodiment]
Embodiments of the present invention is further illustrated below in conjunction with accompanying drawing.
As shown in Figure 1, digital terminal of the present invention and make its input picture and the embodiment of its display screen coupling in, its method comprises the steps:
S11 obtains input image data and resolution thereof: in this step, data are read in place by image data storage or generation, at this moment, what read in is the data of a two field picture, be in order to obtain the parameter of image comprehensively on the one hand, the parameters such as sum that comprise resolution, pixel also can temporarily leave this frame image data in the memory on the other hand, and convenient follow-up handling procedure calls.Above-mentioned image comprises by the memory device stores in the external world image in this digital terminal.
S12 obtains terminal display resolution: in this digital terminal, comprised a display screen that is used for display image, this display screen has a resolution, and this monitor resolution is the demonstration bottleneck of whole digital middle-end.Usually, be exactly the display resolution that this monitor resolution has determined whole terminal.For this terminal, as long as it is just passable that the resolution of view data of input is not less than aforementioned display device resolution, too high-resolution image can not demonstrate its details equally on above-mentioned display screen, on the contrary, its a large amount of details has increased its file content, take the memory space of this terminal, make this terminal in identical memory space, can only store less picture, make that the utilization rate of its memory space is lower.Therefore, as long as the image resolution ratio of input is not less than aforementioned display device resolution, aforementioned display device resolution can be used as the standard of the resolution of above-mentioned terminal input picture.In this step, be exactly to obtain aforementioned display device resolution by central controller.
The resolution of the more above-mentioned input image data of S13 and the resolution of terminal display, needing to obtain the number of pixels of compression: pass through above-mentioned steps, obtain the resolution and the terminal display resolution of input image data, in this step, more above-mentioned two resolution, the concrete number of pixels that draws total number of pixels of needing compression and need compress specific to every row in every frame and every row, for example, the resolution of the image of input is 3000 * 1000, and monitor resolution is 800 * 600, just can draw altogether what pixels needs compress according to these two data, wherein, comprise needing how many row of compression and how many row altogether.
S14 calls in buffer memory simultaneously with the pixel of same position in several capable pixels in the input picture: in this step, the data of same number of columns in the several line data in the view data of above-mentioned input are called in buffer storage, prepare to begin to handle (compression) these data.Owing to needing altogether in above-mentioned steps, to have obtained the pixel, row and the columns that compress, and a part that is actually in the two field picture of calling in this step (is actually image is divided into limited piece, access one handles at every turn soon, there is a proportionate relationship between piece and the integral image), therefore, can obtain the concrete quantity of input image data need compress in this step pixel, row and columns by the parameter correspondence that entire image need be compressed.In the present embodiment, when calling in above-mentioned view data, obtain above-mentioned pixel, row and columns.
S15 scans these pixels, finds out wherein pure color or the highest pixel of tone purity: for the data of calling in, scan wherein each pixel, in these pixels, analyze and find the wherein pixel or the purest point of its colourity of pure color.Because the diversity of image, thus may be in the pixel of the view data of input, may there be pure color, at this moment, the target of searching is exactly the purest pixel of colourity.
S16 decision is current to need the deletion amount of pixels and with the horizontal or vertical adjacent pixels point symmetry deletion of described demarcation pixel: with the above-mentioned pixel that finds be the center, according to above-mentioned line number and the columns that needing to obtain compression, delete the row or column adjacent symmetrically with this pure color pixel, if so-called symmetry has been deleted a row pixel on the left side of this pure color pixel horizontal level in fact exactly, then also require at its right deletion one row; If deleted a row pixel, then also require at its following deletion one row in the top of this pure color pixel upright position.
Does S17 handle a two field picture? judge whether to finish the processing of a two field picture, as finishing, execution in step S18, as not finishing the processing of a two field picture, jump to step S14, call in the another part (piece) in the input picture, the adjacent part (piece) of normally above-mentioned processing section (piece) begins it is carried out the processing of step S14 to S17.
View data after S18 will handle is kept in the memory, and on display, show: in this step, an above-mentioned two field picture is finished dealing with according to exploration on display resolution ratio, obtain meeting the image file of aforementioned display device resolution, this file both can make full use of display, and its data volume is also less, helps preserving in the finite storage space of this digital terminal picture file as much as possible.In this step, above-mentioned file is kept in the memory, simultaneously, on the display screen of this terminal, shows this document.
Fig. 2 is a logical construction block diagram of realizing the digital terminal of said method, as shown in Figure 2, this digital terminal comprises: central controller 1, be connected memory 3 and display 2 on the above-mentioned central controller 1, in addition, also comprise image capturing device 5, temporary image resolution ratio obtains unit 59, monitor resolution is obtained unit 60, resolution computing unit 61, packed pixel computing unit 62, input line number computing unit 71, input columns computing unit 72, image Input Control Element 73, pixel is searched unit 74, pixel delete cells 75, image memory device 8 and image display device 9.Wherein, temporary image resolution ratio obtains unit 59, monitor resolution acquisition device 60, resolution calculation element 61 and packed pixel computing unit 62 and constitutes the display resolution acquisition device, be used to obtain this digital terminal exploration on display resolution ratio, monitor resolution according to described image resolution ratio that obtains and described digital terminal, the calculating difference therebetween and the result of the described resolution calculation element of foundation, it is embodied as need be at the pixel number of every row or the deletion of every row.In addition, above-mentioned input line number computing unit 71, input columns computing unit 72, image-input device 73, pixel is searched unit 74 and pixel delete cells 75 composing images processing unit, wherein, input line number computing unit 71 is used for according to the resolution of described image and describedly need obtains the image pixel line number of the each input-buffer of described image processing apparatus in the pixel of every row or the deletion of every row; Input columns computing unit 72 is used for according to the resolution of described image and describedly need obtains the image pixel columns of the each input-buffer of described image processing apparatus in the pixel of every row or the deletion of every row; Pixel is searched unit 74 and is used for image pixel at a described input-buffer, searches pure color or the highest pixel of tone purity; Pixel delete cells 75 is used to determine and described pure color or the highest pixel level or the upright position row or column position adjacent, that needs are deleted symmetrically of tone purity, and these information is sent back central controller 1.In above-mentioned digital terminal, also comprise being used for that described treated image is stored in the image memory device 8 of described memory and being used for described treated image is presented at image display device 9 on the display of described terminal.
In Fig. 2, the annexation of each part mentioned above is as follows: display 2 and memory 3 are connected on the central controller 1; Image capturing device 5 is connected on the above-mentioned central controller 1, will be temporarily stored in the memory 3 that is connected with central controller 1 by the image of input interface input; Temporary image resolution ratio obtains unit 59 and is connected by above-mentioned central controller, obtains the resolution that is temporarily stored in the input picture in the memory 3, and sends it to resolution computing unit 61; Monitor resolution acquisition device 60 is obtained the resolution of display screen and is outputed to resolution computing unit 61 by above-mentioned central controller 1; Resolution computing unit 61 calculates its difference, this input image pixels and the included number of pixels of the every two field picture of this display screen by above-mentioned two resolution, and it is outputed to packed pixel computing unit 62; Packed pixel computing unit 62 calculates in current input image, the number of pixels that every row or every row need compress.Packed pixel computing unit 62 is transported to input columns computing unit 72, image-input device 73 and pixel delete cells 75 respectively with its result calculated.After input columns computing unit 72, image-input device 73 calculate the line number and columns of each input respectively, be sent to image Input Control Element 73, this image Input Control Element 73 will meet the transmission of data blocks that is divided out in the input image data of line number that aforementioned calculation comes out and the columns buffer memory in the central controller 1 successively by central processing unit 1; Simultaneously, pixel is searched unit 74 and is searched view data in the buffer memory, find out its pure color or the highest pixel of tone purity, and its position is sent in the pixel delete cells 75, the data of pixel delete cells 75 comprehensive its inputs, make the position of the row or column of closing on that needs the highest pixel of symmetry deletion and above-mentioned pure color or tone purity, and send it to above-mentioned central processing unit 1, the feasible view data that can utilize in these result treatment buffer memorys.In the present embodiment, above-mentioned terminal also comprises and is connected on the central controller 1 and is stored in the image after the above-mentioned processing in the above-mentioned memory 3 and is presented at image memory device 8 and image display device 9 on the display 2.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (6)
1. a method that makes digital terminal input picture and its display screen coupling is characterized in that, comprises the steps:
A) obtain input image data and resolution thereof;
B) obtain the ultimate resolution that described terminal shows;
C) handle described input image data, making its conversion of resolution is the ultimate resolution that described terminal shows;
D) show and store view data after the described processing;
Wherein, described step C) further comprise:
C1) ultimate resolution that shows of more described input picture resolution and described terminal needing to obtain the pixel value that compresses in described input picture;
C2) access described input picture, obtain having the image that described terminal shows ultimate resolution behind the pixel value that deletion needs to compress;
Described step C2) further comprise:
C21) data of the ordered series of numbers in the number row in the described input picture are called in buffer memory;
C22) the described data in buffer of calling in of scanning is selected its pure color or the purest pixel of tone;
C23) determine with the described pixel of selecting in level or the adjacent row or column of vertical direction, in described total pixel value, this image data amount and the described ratio of calling in the data in buffer amount that needs compression, need to determine the row or column position that compress;
C24) judge whether to finish the processing of a two field picture, in this way execution in step D); As not being to return step C21) call in other parts of this view data.
2. method according to claim 1 is characterized in that, the ultimate resolution that described input image data resolution shows greater than described terminal.
3. method according to claim 2 is characterized in that, described step C21) in call in the ratio decision that shows the vertical direction of ultimate resolution into line number by described input picture and described terminal at every turn; Described step C21) columns of calling in of each every row shows that by described input picture and described terminal the ratio of the horizontal direction of ultimate resolution determines in.
4. a portable digital terminal comprises the display and the input interface that is used for being connected with this portable digital exterior of terminal memory or equipment that are used to store memory of data, are used for the display storing image data, it is characterized in that, also comprises:
View data acquisition device: be used for obtaining view data and being temporary in described memory by described memory or input interface;
Resolution acquisition device: be used to obtain described temporary image resolution ratio, this digital terminal exploration on display resolution ratio;
Image processing apparatus: being used to handle the described view data that obtains, is described digital terminal exploration on display resolution ratio with described register map as resolution conversion;
Wherein, described image processing apparatus also comprises:
Input line number computing unit: be used for according to the resolution of described image and describedly need obtain the image pixel line number of the each input-buffer of described image processing apparatus at the pixel number of every row or the deletion of every row;
Input columns computing unit: be used for according to the resolution of described image and describedly need obtain the image pixel columns of the each input-buffer of described image processing apparatus at the pixel number of every row or the deletion of every row;
Pixel is searched the unit: be used for the image pixel at a described input-buffer, search pure color or the highest pixel of tone purity;
Pixel delete cells: be used to determine and described pure color or the highest pixel level or the upright position row or column position adjacent, that needs are deleted symmetrically of tone purity.
5. portable digital terminal according to claim 4 is characterized in that, described resolution acquisition device comprises:
Temporary image resolution ratio obtains the unit: be used for obtaining resolution described input, that be temporarily stored in described memory view data;
Monitor resolution is obtained the unit: be used to obtain described digital terminal exploration on display resolution ratio;
Resolution computing unit: be used for calculating difference therebetween according to the described temporary image resolution ratio that obtains and the monitor resolution of described terminal;
Packed pixel computing unit: be used for result, needing obtain the pixel number of compression according to described resolution computing unit.
6. the portable digital terminal any according to claim 4-5 is characterized in that, also comprises:
Image memory device: be used for described treated image is stored in described memory;
Image display device: the display that is used for described treated image is presented at described terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101074213A CN101609662B (en) | 2009-05-15 | 2009-05-15 | Digital terminal and method for matching input image with display screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101074213A CN101609662B (en) | 2009-05-15 | 2009-05-15 | Digital terminal and method for matching input image with display screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101609662A CN101609662A (en) | 2009-12-23 |
CN101609662B true CN101609662B (en) | 2011-05-25 |
Family
ID=41483387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101074213A Expired - Fee Related CN101609662B (en) | 2009-05-15 | 2009-05-15 | Digital terminal and method for matching input image with display screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101609662B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103871349B (en) * | 2014-03-31 | 2017-06-23 | 信利半导体有限公司 | A kind of data processing method and device for being applied to display |
CN105959727B (en) * | 2016-05-24 | 2019-12-17 | 深圳Tcl数字技术有限公司 | Video processing method and device |
CN106847228B (en) * | 2017-04-25 | 2020-03-17 | 京东方科技集团股份有限公司 | Display panel driving method, display panel driving device and display panel |
CN108924628A (en) * | 2018-08-27 | 2018-11-30 | 深圳艺达文化传媒有限公司 | The Hardware match playback method and Related product of promotion video |
CN112492250B (en) * | 2020-11-27 | 2023-07-21 | 西安万像电子科技有限公司 | Method and device for adapting resolution of transmitting and receiving ends of image transmission system |
CN115188349B (en) * | 2022-07-15 | 2023-03-07 | 浙江欧菲克斯交通科技有限公司 | Method and system for editing user-defined content of mobile variable traffic information board |
-
2009
- 2009-05-15 CN CN2009101074213A patent/CN101609662B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101609662A (en) | 2009-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101609662B (en) | Digital terminal and method for matching input image with display screen | |
KR20100105351A (en) | Banana codec | |
US7760967B2 (en) | Image processing apparatus capable of carrying out magnification change process of image | |
US7433544B2 (en) | Apparatus and method for producing thumbnail images and for improving image quality of re-sized images | |
CN109120869A (en) | Double light image integration methods, integration equipment and unmanned plane | |
CN1863266A (en) | Method for resizing image in wireless terminal and wireless terminal adapted for resizing | |
US5710572A (en) | Image display apparatus and method | |
CN201417597Y (en) | Device for automatically adjusting input image resolution | |
CN113242392A (en) | Short video production method | |
CN101719985B (en) | Method and device for collecting and processing images | |
US20130314444A1 (en) | Image data transmitting device, image data receiving device, image data transmitting system, image data transmitting method, image data receiving method, transmission image data, and computer product | |
US9020044B2 (en) | Method and apparatus for writing video data in raster order and reading video data in macroblock order | |
US20100091132A1 (en) | Image capturing device and image preprocessing method thereof | |
TW563343B (en) | Image frame scaling method | |
CN101483036A (en) | Apparatus for image reduction and method thereof | |
CN101729884B (en) | Image acquiring device and image preprocessing method | |
CN101710938B (en) | Image signal processor, image processing system and image processing method | |
JP2022100342A (en) | Worker terminal, moving image processing method, and moving image processing program | |
CN1447283A (en) | Method for compressing image by using color classification | |
CN113965687A (en) | Shooting method and device and electronic equipment | |
JP3450472B2 (en) | Color image processing method | |
US20070008325A1 (en) | Method and apparatus providing for high efficiency data capture for compression encoding | |
US7893942B2 (en) | Three-dimensional graphic processing system and method capable of utilizing camera preview images | |
JP2001197479A (en) | Method and device for processing differential image | |
CN101630499A (en) | Video signal processing system and video signal processing method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110525 Termination date: 20170515 |