CN102567940A - Picture processing method and picture displaying method and device for embedded terminal - Google Patents

Picture processing method and picture displaying method and device for embedded terminal Download PDF

Info

Publication number
CN102567940A
CN102567940A CN2011104295728A CN201110429572A CN102567940A CN 102567940 A CN102567940 A CN 102567940A CN 2011104295728 A CN2011104295728 A CN 2011104295728A CN 201110429572 A CN201110429572 A CN 201110429572A CN 102567940 A CN102567940 A CN 102567940A
Authority
CN
China
Prior art keywords
picture
section
image data
data bag
filled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104295728A
Other languages
Chinese (zh)
Other versions
CN102567940B (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.)
GUANGZHOU YUEQIAN COMMUNICATION TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU YUEQIAN COMMUNICATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGZHOU YUEQIAN COMMUNICATION TECHNOLOGY Co Ltd filed Critical GUANGZHOU YUEQIAN COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN201110429572.8A priority Critical patent/CN102567940B/en
Publication of CN102567940A publication Critical patent/CN102567940A/en
Application granted granted Critical
Publication of CN102567940B publication Critical patent/CN102567940B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a picture processing method and a picture displaying method and a picture displaying device for an embedded terminal. The picture processing method comprises the following steps of: analyzing a display effect of a picture and thus acquiring the characteristic value of the picture; judging whether the picture meets the requirements of the specified display contents or not according to the characteristic value of the picture; splicing the picture which meets the requirements of the specified display contents and removing redundancy information from the picture; and packaging the picture to generate a picture data packet according to the sliced picture contents and related information which are acquired, wherein the picture data packet comprises the selected spliced picture contents and header information. By splicing and packaging the picture which meets the requirements of the specified display contents by the method, the redundancy information is eliminated from the picture, storage space occupied by the picture is greatly reduced, and the method adapts to the occasion that flash and memory resources in an embedded system are limited and can be widely applied to the field of embedded systems.

Description

A kind of image processing method and built-in terminal image display method and device
Technical field
The present invention relates to picture treatment technology and embedded system picture display technique, especially a kind of image processing method of conserve memory resource and the image display method of embedded system and device.
Background technology
Along with rapid development of multimedia, graphics has been widely used in every field such as animation, visualization in scientific computing, CAD/CAM, video display amusement.Because flash resource and memory source are limited in the embedded product, and the storage of picture is had higher requirement.
In built-in field, with reference to Fig. 1, traditional image processing method is: need the picture of demonstration through picture editor (like photoshop etc.) instrument mapping generations; Be placed on this picture among the flash then and assigned catalogue and figure title; When needs show this image content, be loaded into picture in the internal memory and carry out picture decoding, the image content that generation can be used to fill; In the time of need being filled on the screen, be filled into decoded picture on the screen.But there are following shortcomings and deficiencies in conventional solution:
1. the picture full content all need be placed among the flash, comprises the bulk redundancy information that the picture inside of specific display effect comprises, and causes the waste of flash resource like this;
2. when the picture of specific display effect is decoded, need decode the picture full content that comprises bulk redundancy information, efficient is lower;
3. in the picture of specific display effect when decoding, need be loaded into the picture full content that comprises bulk redundancy information in the internal memory and decode, and decoded content also need all store in the internal memory, bigger waste valuable memory source;
4. in the picture filling process, if the scope that picture size and picture are filled is inconsistent, need the stretching picture, drawing effect and picture original effect there are differences, and influence display effect, phenomenons such as color range particularly can occur;
5. each picture is only supported a kind of picture format; Because the different-format picture is different according to the content of picture; Compression factor is different with effect, and the displaying contents of zones of different possibly more meet the requirement of different format pictures in the picture, but can only select a kind of picture format to use;
6. be placed in the product picture and can be seen that fully can arbitrarily be replaced or revise, image content does not have disguise by other people;
7. during if desired through network upgrade or update software picture resource,, can waste Internet resources, and update time is longer because picture is bigger.
Above-mentioned technological deficiency has hindered the lifting of innovation of built-in field picture Treatment Technology and user experience.
Summary of the invention
The technical matters that the present invention will solve is: provide a kind of remarkable saving picture to take the image processing method of storage resources.
The built-in terminal image display method that the present invention also provides a kind of and decodes fast, display effect is good.
The present invention also provides a kind of built-in terminal image display apparatus of saving storage resources.
In order to solve the problems of the technologies described above, the technical scheme that the present invention adopted is:
A kind of image processing method may further comprise the steps:
A. analyze the display effect of picture, obtain the eigenwert of this picture;
B. according to the eigenwert of picture, judge whether this picture meets the specific display requirement;
C. the picture that meets the specific display requirement is carried out slicing treatment, remove the redundant information in the picture;
D. according to the picture that obtains after slicing treatment section content and relevant information, to picture processings of packing, generate the image data bag, said image data bag comprises the picture of choosing cut into slices content and header packet information.
Further as preferred embodiment, said eigenwert is the picture colouring information repeated and redundant value that meets minimum appointed area on the picture, and it is that said eigenwert is more than or equal to predetermined threshold that said specific display requires.
Further as preferred embodiment, the said header packet information of step D comprises the picture format of section pattern, slice numbers, each picture section, the content-length of each picture section.
Further as preferred embodiment, the plurality of picture form is supported in the picture section after the slicing treatment, comprises JPG, PNG, GIF picture format.
A kind of built-in terminal image display method may further comprise the steps:
The header packet information of the image data bag that F. image processing method of the present invention is generated is resolved, and obtains the relevant information of each picture section, said relevant information comprise the length of picture section, highly, width and picture format;
G. read the section of each picture successively and load and decode, in zone to be filled, fill successively;
H. judge whether zone to be filled also exists remaining area, if also there is remaining area, the section of control picture is expanded filling with the mode of tiling, with the former image content of complete demonstration.
Further, before execution in step F, also comprise as improving:
E. judge the image data bag whether pending picture generates for image processing method of the present invention, if " being " execution in step F then,, picture is decoded and filled if " deny " then pressed conventional processing.
A kind of built-in terminal image display apparatus comprises:
Resolution unit is resolved the image data bag that image processing method of the present invention generates, obtaining the relevant information of each picture section, said relevant information comprise the length of picture section, highly, width and picture format;
Load decoding unit, cutting into slices perhaps to each picture in the image data bag successively, conventional picture loads and decodes;
Filler cells is filled picture section or conventional picture that above-mentioned decoding obtains in zone to be filled successively;
The tiling unit is not when the fill area is filled up, through the complete filling of tiling picture section with the completion fill area.
Further as improving, this built-in terminal image display apparatus also comprises:
The picture/mb-type judging unit; Image data bag to pending is judged; If the image data bag that the said method of claim 1 generates then drives resolution unit the image data bag is resolved, then drive if not and load the decoding unit loading and the pending picture of decoding.
The invention has the beneficial effects as follows: the processing of image processing method of the present invention through the picture that meets the specific display requirement is cut into slices, packed; Deleted the redundant information in the picture; Greatly reduce the storage space that picture takies, adapted to flash and the limited scene of memory source in the embedded system.
Another beneficial effect of the present invention is: built-in terminal image display method of the present invention, after the parsing of image data bag, only need the picture section of choosing be loaded and decode, and saved memory source, improved the speed that built-in terminal Shows Picture; And under picture fill area and the inconsistent situation of former picture size, compare,, greatly improved image display effect through tiling picture section expansion fill area with traditional drawing effect; The plurality of picture form is also supported in the picture section, has overcome the defective that an existing pictures is only supported a kind of picture format, can support different picture formats to the zones of different of picture.
Another beneficial effect of the present invention is: built-in terminal image display apparatus of the present invention; Through resolution unit the image data bag after handling through section, packing is resolved, obtaining the relevant information of each picture section, and to each picture section load and decoding after; Fill successively; With the compared with techniques that tradition is decoded and filled whole picture, improved the efficient of picture decoding, and saved the memory source of built-in terminal.
Description of drawings
Be described further below in conjunction with the accompanying drawing specific embodiments of the invention:
Fig. 1 is traditional image processing method;
Fig. 2 is the flow chart of steps of image processing method of the present invention;
Fig. 3 is the flow chart of steps of built-in terminal image display method embodiment one of the present invention;
Fig. 4 is the flow chart of steps of built-in terminal image display method embodiment two of the present invention;
Fig. 5 is that picture of the present invention is handled the flow chart of steps that reaches the preferred embodiment that on built-in terminal, Shows Picture;
Fig. 6 is the functional-block diagram of built-in terminal image display apparatus embodiment one of the present invention;
Fig. 7 is the functional-block diagram of built-in terminal image display apparatus embodiment two of the present invention.
Embodiment
Image processing method of the present invention is through extracting the picture colouring information repeated and redundant value on the picture and judging; With the processing of cutting into slices, pack of satisfactory picture; To save the storage space of picture; Improve the loading velocity of picture,, save the memory consumption of the limited built-in terminal system of storage resources to accelerate picture treatment effeciency in the built-in terminal picture disposal system.
With reference to Fig. 2, a kind of image processing method may further comprise the steps:
A. analyze the display effect of picture, obtain the eigenwert of this picture, said eigenwert is meant the picture colouring information repeated and redundant value that meets minimum appointed area on the picture, and minimum appointed area can preestablish, and for example is 2.5 μ mx2.5 μ m, 5 μ mx5 μ m etc.;
B. according to the eigenwert of picture, whether the eigenwert (being picture colouring information repeated and redundant value) of judging this picture extraction is more than or equal to predetermined threshold, to satisfy the specific display requirement;
C. the picture that meets the specific display requirement is carried out slicing treatment, remove the redundant information in the picture;
D. according to the picture that obtains after slicing treatment section content and relevant information, to picture processings of packing, generate the image data bag, said image data bag comprises the picture of choosing cut into slices content and header packet information.
Slicing treatment described in the step C; Be meant that from the image content with repeated and redundant characteristic, choosing a characteristic slice according to the colouring information repeated and redundant value of extracting in the picture preserves; Like typical level three sections (two sections about horizontal direction, middle select a vertical features section), vertical three sections (vertical direction two sections up and down, middle select a horizontal properties section), level nine sections (four pin of rectangle, four sections up and down, middle select a horizontal properties section), vertical nine sections (four pin of rectangle, four sections, centre vertical features of selection are cut into slices up and down); Carry out to obtain after the slicing treatment length, width and the height etc. of each picture section content, each picture section; The plurality of picture form is also supported in said picture section, comprises JPG, PNG, GIF picture format.
The said header packet information of step D comprises the picture format of section pattern, slice numbers, each picture section, the content-length of each picture section.
The concrete form such as the following table of image data bag:
Fig. 3 is the flow chart of steps of built-in terminal image display method embodiment one of the present invention, and with reference to Fig. 3, a kind of built-in terminal image display method may further comprise the steps:
F. the header packet information of handling the image data bag that generates through section, packing is resolved; Obtain the relevant information of each picture section; Said relevant information comprise the length of picture section, highly, width, picture format, section pattern, slice numbers etc.; Said picture slice width comprises slice width and this partial width of former picture, and the picture slice height comprises slice height and this part height of former picture;
G. read the section of each picture successively and load and decode, in zone to be filled, fill successively;
H. judge whether zone to be filled also exists remaining area, if also there is remaining area, the section of control picture is expanded filling with the mode of tiling, with the former image content of complete demonstration.
Fig. 4 is the flow chart of steps of built-in terminal image display method embodiment two of the present invention, before execution in step F, also comprises:
E. judge that whether pending picture is to handle the image data bag that generates through section, packing, if " being " execution in step F then,, picture is decoded and filled if " deny " then pressed conventional processing.
Fig. 5 is that picture of the present invention is handled the flow chart of steps that reaches the preferred embodiment that on built-in terminal, Shows Picture, and with reference to Fig. 5, idiographic flow is following:
S1. analyzing image display effect, extract the picture colouring information repeated and redundant value that meets minimum appointed area on this picture, for example is 2.5 μ mx2.5 μ m;
S2. judge whether picture meets the specific display requirement, if " being ", then execution in step S3; " if denying ", then execution in step S6;
Concrete operations do; Whether the picture colouring information repeated and redundant value of judging this picture extraction for example, supposes predetermined threshold be 10 more than or equal to predetermined threshold; Then this picture colouring information repeated and redundant value is greater than 10 o'clock, by the inventive method to the processing of cutting into slices, pack of this picture.
S3. if picture meets specific display requirement, then select section, packing manner that picture is handled;
S4. picture is carried out slicing treatment, the redundant information in the deletion picture;
For example, the mode of employing level three sections is selected a section respectively at the horizontal direction high order end and the low order end of this picture, in the middle of picture, selects a vertical features section.
S5. to the picture after slicing treatment section processings of packing, with generation image data bag;
S6. picture or image data bag are placed among the flash;
S7. judge whether to be the image data bag, if " being ", then execution in step S8; " if denying ", then execution in step S11;
S8. the header packet information of image data bag is resolved, obtains the relevant information of each picture section, said relevant information comprise the length of picture section, highly, width and picture format;
S9. read the section of each picture successively and load and decode, in zone to be filled, fill successively;
S10. judge whether zone to be filled also exists remaining area; If also there is remaining area; The section of control picture is expanded filling with the mode of tiling, and with the former image content of complete demonstration, fill with the tiling mode through the picture section subregion in the picture like this;
S11. picture is loaded and decode;
S12. decoded picture is filled.
Fig. 6 is the functional-block diagram of built-in terminal image display apparatus embodiment one of the present invention, and with reference to Fig. 6, a kind of built-in terminal image display apparatus comprises:
Resolution unit is resolved the image data bag that handle to generate through section, packing, obtaining the relevant information of each picture section, said relevant information comprise the length of picture section, highly, width and picture format;
Load decoding unit, cutting into slices perhaps to each picture in the image data bag successively, conventional picture loads and decodes;
Filler cells is filled picture section or conventional picture that above-mentioned decoding obtains in zone to be filled successively;
The tiling unit is not when the fill area is filled up, through the complete filling of tiling picture section with the completion fill area.
Fig. 7 is the functional-block diagram of built-in terminal image display apparatus embodiment two of the present invention, with reference to Fig. 7, and a kind of built-in terminal image display apparatus, this built-in terminal image display apparatus also comprises:
The picture/mb-type judging unit; Image data bag to pending is judged, if handle the image data bag that generates through section, packing, then drives resolution unit the image data bag is resolved; If " denying " then drives and loads the decoding unit loading and the pending picture of decoding.
More than be that preferable enforcement of the present invention is specified; But the invention is not limited to said embodiment; Those of ordinary skill in the art can also make all equivalent variations or replacement under the prerequisite of spirit of the present invention, distortion that these are equal to or replacement all are included in the application's claim institute restricted portion.

Claims (8)

1. an image processing method is characterized in that, may further comprise the steps:
A. analyze the display effect of picture, obtain the eigenwert of this picture;
B. according to the eigenwert of picture, judge whether this picture meets the specific display requirement;
C. the picture that meets the specific display requirement is carried out slicing treatment, remove the redundant information in the picture;
D. according to the picture that obtains after slicing treatment section content and relevant information, to picture processings of packing, generate the image data bag, said image data bag comprises the picture of choosing cut into slices content and header packet information.
2. a kind of image processing method according to claim 1 is characterized in that: said eigenwert is the picture colouring information repeated and redundant value that meets minimum appointed area on the picture, and it is that said eigenwert is more than or equal to predetermined threshold that said specific display requires.
3. according to claim 1 or 2 described a kind of image processing methods, it is characterized in that: the said header packet information of step D comprises the picture format of section pattern, slice numbers, each picture section, the content-length of each picture section.
4. a kind of image processing method according to claim 3 is characterized in that: the plurality of picture form is supported in the picture section after the slicing treatment, comprises JPG, PNG, GIF picture format.
5. a built-in terminal image display method is characterized in that, may further comprise the steps:
The header packet information of the image data bag that F. the said method of claim 1 is generated is resolved, and obtains the relevant information of each picture section, said relevant information comprise the length of picture section, highly, width and picture format;
G. read the section of each picture successively and load and decode, in zone to be filled, fill successively;
H. judge whether zone to be filled also exists remaining area, if also there is remaining area, the section of control picture is expanded filling with the mode of tiling, with the former image content of complete demonstration.
6. a kind of built-in terminal image display method according to claim 5 is characterized in that: before execution in step F, also comprise:
E. judge that whether pending picture is the image data bag that the said method of claim 1 generates, if " being " execution in step F then,, picture is decoded and filled if " deny " then pressed conventional processing.
7. a built-in terminal image display apparatus is characterized in that, comprising:
Resolution unit is resolved the image data bag that the said method of claim 1 generates, obtaining the relevant information of each picture section, said relevant information comprise the length of picture section, highly, width and picture format;
Load decoding unit, cutting into slices perhaps to each picture in the image data bag successively, conventional picture loads and decodes;
Filler cells is filled picture section or conventional picture that above-mentioned decoding obtains in zone to be filled successively;
The tiling unit is not when the fill area is filled up, through the complete filling of tiling picture section with the completion fill area.
8. according to the said a kind of built-in terminal image display apparatus of claim 7, it is characterized in that, also comprise:
The picture/mb-type judging unit; Image data bag to pending is judged; If the image data bag that the said method of claim 1 generates then drives resolution unit the image data bag is resolved, then drive if not and load the decoding unit loading and the pending picture of decoding.
CN201110429572.8A 2011-12-20 2011-12-20 Picture processing method and picture displaying method and device for embedded terminal Expired - Fee Related CN102567940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110429572.8A CN102567940B (en) 2011-12-20 2011-12-20 Picture processing method and picture displaying method and device for embedded terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110429572.8A CN102567940B (en) 2011-12-20 2011-12-20 Picture processing method and picture displaying method and device for embedded terminal

Publications (2)

Publication Number Publication Date
CN102567940A true CN102567940A (en) 2012-07-11
CN102567940B CN102567940B (en) 2014-11-19

Family

ID=46413295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110429572.8A Expired - Fee Related CN102567940B (en) 2011-12-20 2011-12-20 Picture processing method and picture displaying method and device for embedded terminal

Country Status (1)

Country Link
CN (1) CN102567940B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847345A (en) * 2016-03-21 2016-08-10 深圳市茁壮网络股份有限公司 Picture merging display method and device
CN107506489A (en) * 2017-09-22 2017-12-22 广西灵图信息科技有限公司 A kind of method that Large Copacity JPG pictures are checked in Android and apple system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1001604A2 (en) * 1998-11-10 2000-05-17 Canon Kabushiki Kaisha Information processing apparatus and method
CN1406054A (en) * 2002-11-06 2003-03-26 中山大学 Distortion-less data concealing method for pseudo-color format picture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1001604A2 (en) * 1998-11-10 2000-05-17 Canon Kabushiki Kaisha Information processing apparatus and method
CN1406054A (en) * 2002-11-06 2003-03-26 中山大学 Distortion-less data concealing method for pseudo-color format picture

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
岳晓冬,苗夺谦,钟才明: "《基于粗糙性度量的彩色图像分割方法》", 《自动化学报》, vol. 36, no. 6, 30 June 2010 (2010-06-30), pages 807 - 816 *
王辅之: "《动态阈值分割在图像特征提取中的应用》", 《福建电脑》, no. 6, 31 December 2008 (2008-12-31) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847345A (en) * 2016-03-21 2016-08-10 深圳市茁壮网络股份有限公司 Picture merging display method and device
CN105847345B (en) * 2016-03-21 2019-01-22 深圳市茁壮网络股份有限公司 A kind of picture merges display methods and device
CN107506489A (en) * 2017-09-22 2017-12-22 广西灵图信息科技有限公司 A kind of method that Large Copacity JPG pictures are checked in Android and apple system
CN107506489B (en) * 2017-09-22 2021-01-12 广西灵图信息科技有限公司 Method for checking large-capacity JPG (Java native page) pictures on android and apple systems

Also Published As

Publication number Publication date
CN102567940B (en) 2014-11-19

Similar Documents

Publication Publication Date Title
CN108810622B (en) Video frame extraction method and device, computer readable medium and electronic equipment
CN104346322B (en) Document format processing unit and document format processing method
CN104540000B (en) The generation method and terminal of a kind of dynamic thumbnail
CN106383880B (en) GIF file playing method and system
EP2464093B1 (en) Image file generation device, image processing device, image file generation method, and image processing method
CN111899322B (en) Video processing method, animation rendering SDK, equipment and computer storage medium
CN101465953A (en) Method for displaying picture and system for browsing digital television picture as well as television set-top box
CN104252444B (en) A kind of composition method, module and the system of magazine application
CN103514241A (en) Image loading method and system
CN105678680A (en) Image processing method and device
CN108492342B (en) Method, device, processor, storage medium and terminal for merging broken graphs
CN109840879B (en) Image rendering method and device, computer storage medium and terminal
CN105069060B (en) HTML document paging typesetting method
CN1138214C (en) Method and device for priority transmission and display of key areas of image data
US11335049B2 (en) Component-based digital image synchronization
CN106327453A (en) Method for splicing picture resources and picture resource splicing device
CN113423010A (en) Video conversion method, device and equipment based on document and storage medium
CN112000908A (en) Picture loading method, device and system, electronic equipment and readable storage medium
CN102567940B (en) Picture processing method and picture displaying method and device for embedded terminal
CN102377972A (en) Image processing equipment and method
CN111968200A (en) GIF file generation method based on hand-drawn video
CN1852403A (en) Film converting edition apparatus and method
WO2022033354A1 (en) Hand-drawn draft loading method
US9424624B2 (en) System and method for graphics upscaling
CN105653665B (en) Method and device for realizing efficient note access

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

Granted publication date: 20141119

Termination date: 20161220

CF01 Termination of patent right due to non-payment of annual fee