CN104850303A - 3D (Three dimensional) switching and browsing method of picture - Google Patents
3D (Three dimensional) switching and browsing method of picture Download PDFInfo
- Publication number
- CN104850303A CN104850303A CN201510186134.1A CN201510186134A CN104850303A CN 104850303 A CN104850303 A CN 104850303A CN 201510186134 A CN201510186134 A CN 201510186134A CN 104850303 A CN104850303 A CN 104850303A
- Authority
- CN
- China
- Prior art keywords
- picture
- focus
- viewing area
- compression
- pictures
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a 3D (Three dimensional) switching and browsing method of a picture, and is used for successively carrying out focus display on the pictures in a picture series according to a 3D switching effect. The 3D switching and browsing method comprises the following steps: an address acquisition unit obtains an address list of local pictures; a dimension collection unit obtains the length and the width of a focus display area; a picture acquisition unit reads picture data into a memory according to a picture address; an image is processed to obtain a new picture to be subjected to focus display; the new picture is independently loaded to the focus display area and a display area of focuses to be obtained; next two pictures of which the focuses may be obtained are read into the memory and are processed; and one piece of picture data which is positioned on the forefront position of a movement direction in a picture display area is released, rest pictures in the picture display area are moved for a position of one picture along the movement direction, the new picture to be subjected to focus display in the memory is loaded to an idle picture position in the picture display area, and the above two steps are repeated. The 3D switching and browsing method has the advantages of being stable in switching speed, attractive in switching effect and good in user experience feeling.
Description
Technical field
The present invention relates to technical field of picture display, specifically refer to a kind of display packing of 3D picture.
Background technology
After internet incorporates people's life gradually, network is browsed or downloads the part that various picture has become a lot of people life.And digital camera and mobile phone photograph is popular, make again also to become an indispensable part in a lot of people life to picture browsing.
Relative to printing in the past and processing, the more convenience that software provides to people and material benefit is checked by various picture, but current existing picture checks that software is only applicable to the switching display of 2D picture, the switching display of 3D picture can not be applied to, therefore cause these pictures check the display of software and switching mode comparatively single, affect Consumer's Experience.
Summary of the invention
Check the experience sensation of picture to improve user, the invention provides a kind of 3D image display method and device, it can solve the technical matters that existing picture shows and changing method is single.For achieving the above object, the present invention adopts following technical scheme:
The 3D of picture switches a browsing method, carrying out focus display successively, comprising the following steps for switching effect to the picture in figure group by 3D:
S1, address acquisition unit obtain the address list of local picture;
S2, size collecting unit obtain length and the width data of focus viewing area;
S3, picture acquiring unit take out the address that is treated the picture that focus shows, and read in internal memory by image data;
S4, by the length of focus viewing area and width, picture processing unit, to treating that compression process cut out by the picture that focus shows in internal memory, obtains compression figure; Copy compression figure, picture processing unit processes it and obtains corresponding inverted image figure; Compression figure and corresponding inverted image figure splicing are synthesized the new picture treating that focus shows;
If S5 treats that new picture that focus shows is first and treats then to be loaded into focus viewing area by the new picture that focus shows;
S6, according to the quantity of focus viewing area to be obtained and a viewing area out of focus and, corresponding number of times ground repeats step S3, S4, treating of the obtaining new picture that focus shows is loaded into the vacant Pictures location of focus viewing area to be obtained;
S7, picture acquiring unit also take out two addresses for the treatment of the picture that focus show in advance, are read by image data in internal memory, repetition step S4, thus obtain the new picture for the treatment of that focus shows;
S8, discharge the image data of the moving direction foremost position of a pictures viewing area, the picture of all the other picture viewing areas is moved a Pictures location along moving direction, to treat in internal memory that new picture that focus shows is loaded into the vacant Pictures location of picture viewing area, repeat step S7, S8, to the last a pictures loads on focus viewing area.
More preferably, picture processing unit also carries out folding to the picture loading on focus viewing area to be obtained.
More preferably, described inverted image figure is cut out by the bottom of the compression figure copied and from top to bottom Vitrification management and obtaining gradually.
More preferably, the length of described inverted image figure is 1/6 ~ 1/3 of compression figure.
More preferably, the length of described inverted image figure is 1/5 of compression figure.
More preferably, focus viewing area is positioned at the centre of picture viewing area, and the both sides of focus viewing area are focus viewing area to be obtained.
More preferably, the picture of 2 focus displays to be obtained all can be placed in the focus viewing area to be obtained of both sides, focus viewing area.
Compared with prior art, beneficial effect of the present invention is: carry out switching display with 3D effect to picture, its switch speed is stablized, and switch effect attractive in appearance, Consumer's Experience is experienced.
Accompanying drawing explanation
Fig. 1 is the picture display position schematic diagram of the embodiment of the present invention;
Fig. 2 is steps flow chart schematic diagram of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Shown in Figure 1, be the picture placement location schematic diagram of the present embodiment of the 3D switching browsing method of a kind of picture of the present invention, wherein, focus viewing area is positioned at the centre of picture viewing area, for placing the picture of focus display; The both sides of focus viewing area are focus viewing area to be obtained, for placing the picture of focus to be obtained display.In the present embodiment, the left side of focus viewing area is set to the first focus viewing area to be obtained, the right of focus viewing area is set to the second focus viewing area to be obtained, and the picture of 2 focus displays to be obtained all can be placed in the first focus display to be obtained and the second focus viewing area to be obtained.Certainly, the quantity that picture can be placed in focus viewing area to be obtained can be determined according to the memory size of concrete picture display device and image data amount, the internal memory of such as picture display device enough deposits plurality of pictures, then the picture of 3 or more focuses to be obtained all can be placed in two focus viewing areas to be obtained; For another example the picture that the internal memory of picture display device is less or to be shown is comparatively large, then 1 pictures only can be placed in two focus viewing areas to be obtained.
As shown in Figure 2, the concrete steps of the 3D switching browsing method of picture disclosed by the invention comprise:
Be saved in address list by the picture address in figure group, address acquisition unit obtains the address list of local picture;
Size collecting unit obtains length and the width data of focus viewing area;
From address list, take out the address needing the picture carrying out first focus display in picture viewing area, and according to picture address, the picture that this first is carried out focus display is read in internal memory;
According to length and the width of focus viewing area, picture processing unit, to treating that compression process cut out by picture that focus shows in internal memory, obtains the compression figure of former picture; Copy a compression figure, picture processing unit intercepts bottom about 1/5 width of the compression figure that this copies, by its flip vertical 180 °, and from top to bottom Vitrification management gradually, obtain the inverted image figure corresponding with former compression figure; Compression figure and inverted image figure is spliced by order from top to bottom, synthesizes the new picture treating that focus shows; This new picture is loaded into focus viewing area;
From address list, take out the address needing the picture carrying out second focus display in picture viewing area, and according to picture address, the picture that this second is carried out focus display is read in internal memory;
According to length and the width of focus viewing area, picture processing unit, to treating that compression process cut out by picture that focus shows in internal memory, obtains the compression figure of former picture; Copy a compression figure, picture processing unit intercepts bottom about 1/5 width of the compression figure that this copies, by its flip vertical, and from top to bottom Vitrification management gradually, obtain the inverted image figure corresponding with former compression figure; Compression figure and inverted image figure is spliced by order from top to bottom, synthesizes the new picture treating that focus shows; These two new pictures are loaded on the first Pictures location of the first focus viewing area to be obtained;
From address list, take out the address needing the picture carrying out the 3rd focus display in picture viewing area, and according to picture address, the picture that the 3rd is carried out focus display is read in internal memory;
According to length and the width of focus viewing area, picture processing unit, to treating that compression process cut out by picture that focus shows in internal memory, obtains the compression figure of former picture; Copy a compression figure, picture processing unit intercepts bottom about 1/5 width of the compression figure that this copies, by its flip vertical, and from top to bottom Vitrification management gradually, obtain the inverted image figure corresponding with former compression figure; Compression figure and inverted image figure is spliced by order from top to bottom, synthesizes the new picture treating that focus shows; 3rd new picture is loaded on the second picture position of the second focus viewing area to be obtained;
From address list, take out the address needing the picture carrying out last focus display in picture viewing area, and according to picture address, this last picture carrying out focus display is read in internal memory;
According to length and the width of focus viewing area, picture processing unit, to treating that compression process cut out by picture that focus shows in internal memory, obtains the compression figure of former picture; Copy a compression figure, picture processing unit intercepts bottom about 1/5 width of the compression figure that this copies, by its flip vertical, and from top to bottom Vitrification management gradually, obtain the inverted image figure corresponding with former compression figure; Compression figure and inverted image figure is spliced by order from top to bottom, synthesizes the new picture treating that focus shows; This last new picture is loaded on the first Pictures location of the second focus viewing area to be obtained;
From address list, take out the address needing the picture carrying out the display of penultimate focus in picture viewing area, and read in internal memory according to the picture that this penultimate to be carried out focus display by picture address;
According to length and the width of focus viewing area, picture processing unit, to treating that compression process cut out by picture that focus shows in internal memory, obtains the compression figure of former picture; Copy a compression figure, picture processing unit intercepts bottom about 1/5 width of the compression figure that this copies, by its flip vertical, and from top to bottom Vitrification management gradually, obtain the inverted image figure corresponding with former compression figure; Compression figure and inverted image figure is spliced by order from top to bottom, synthesizes the new picture treating that focus shows; New for this penultimate picture is loaded on the second picture position of the second focus viewing area to be obtained;
The address needing the picture carrying out the 4th focus display in picture viewing area is taken out from address list, and according to picture address, the picture that the 4th is carried out focus display is read in internal memory, and according to the length of focus viewing area and width, picture processing unit, to treating that compression process cut out by picture that focus shows in internal memory, obtains the compression figure of former picture; Copy a compression figure, picture processing unit intercepts bottom about 1/5 width of the compression figure that this copies, by its flip vertical, and from top to bottom Vitrification management gradually, obtain the inverted image figure corresponding with former compression figure; Compression figure and inverted image figure is spliced by order from top to bottom, synthesizes the 4th and treat the new picture that focus shows;
The address needing the picture carrying out third from the bottom focus display in picture viewing area is taken out from address list, and according to picture address, the picture that third from the bottom is carried out focus display is read in internal memory, and according to the length of focus viewing area and width, picture processing unit, to treating that compression process cut out by picture that focus shows in internal memory, obtains the compression figure of former picture; Copy a compression figure, picture processing unit intercepts bottom about 1/5 width of the compression figure that this copies, by its flip vertical, and from top to bottom Vitrification management gradually, obtain the inverted image figure corresponding with former compression figure; Compression figure and inverted image figure is spliced by order from top to bottom, synthesizes third from the bottom and treat the new picture that focus shows;
When the switching moving direction arranging picture is moved to the left, the picture of the second position of release the second focus viewing area to be obtained, the i.e. image data of the pictures second from the bottom of the present embodiment, by the picture of all the other picture viewing areas all along being moved to the left a Pictures location, show as in the present embodiment: discharge pictures second from the bottom, pictures last moves on the second picture position of the second focus viewing area to be obtained, first pictures moves on the first Pictures location of the second focus viewing area to be obtained, second pictures moves to focus viewing area to carry out focus display, 3rd pictures moves on the first Pictures location of the first focus viewing area to be obtained, in internal memory the 4th is treated the picture that focus shows is loaded on the second picture position of the first focus viewing area to be obtained,
When the switching moving direction arranging picture moves right, the picture of the second position of release the first focus viewing area to be obtained, the i.e. image data of the 3rd pictures of the present embodiment, by the picture of all the other picture viewing areas all along the Pictures location that moves right, show as in the present embodiment: release the 3rd pictures, second pictures moves on the second picture position of the first focus viewing area to be obtained, first pictures moves on the first Pictures location of the first focus viewing area to be obtained, pictures last moves to focus viewing area to carry out focus display, pictures second from the bottom moves on the first Pictures location of the second focus viewing area to be obtained, third from the bottom the picture treating that focus shows in internal memory is loaded on the second picture position of the second focus viewing area to be obtained.
The picture of the focus to be obtained handled well in all the other image datas to picture, the picture moving all the other Pictures location on picture viewing area by moving direction and the loading internal memory on the marginal position of the picture in internal memory, in process internal memory, release picture viewing area is read in circulation like this, the switching that picture completes the 3D effect of picture along the moving direction to the left or to the right preset can be completed browse, and the switching effect of 3D is attractive in appearance, Consumer's Experience is experienced.In addition, the picture that the present invention also reads in still not loaded and displayed is in advance in internal memory and carry out, and to make at switch speed sooner, more stable.
In the embodiment above, the length of inverted image figure is tailored to only has 1/5 of compression figure, but in other embodiments, the length of inverted image figure also can according to the actual conditions of picture or self-defined be cut to compression figure 1/6 ~ 1/3 between ratio, also can reach 3D and switch the attractive in appearance of effect.
Further, switch effect for reaching better 3D, picture processing unit also carries out folding to the picture loading on focus viewing area to be obtained, and the picture that focus is shown is more attractive in appearance, and 3D effect is more obvious.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (7)
1. the 3D of picture switches a browsing method, carrying out focus display successively, it is characterized in that for switching effect to the picture in figure group by 3D:
S1, address acquisition unit obtain the address list of local picture;
S2, size collecting unit obtain length and the width data of focus viewing area;
S3, picture acquiring unit take out the address that is treated the picture that focus shows, and read in internal memory by image data;
S4, by the length of focus viewing area and width, picture processing unit, to treating that compression process cut out by the picture that focus shows in internal memory, obtains compression figure; Copy compression figure, picture processing unit processes it and obtains corresponding inverted image figure; Compression figure and corresponding inverted image figure splicing are synthesized the new picture treating that focus shows;
If S5 treats that new picture that focus shows is first and treats then to be loaded into focus viewing area by the new picture that focus shows;
S6, according to the quantity of focus viewing area to be obtained and a viewing area out of focus and, corresponding number of times ground repeats step S3, S4, treating of the obtaining new picture that focus shows is loaded into the vacant Pictures location of focus viewing area to be obtained;
S7, picture acquiring unit also take out two addresses for the treatment of the picture that focus show in advance, are read by image data in internal memory, repetition step S4, thus obtain the new picture for the treatment of that focus shows;
S8, discharge the image data of the moving direction foremost position of a pictures viewing area, the picture of all the other picture viewing areas is moved a Pictures location along moving direction, to treat in internal memory that new picture that focus shows is loaded into the vacant Pictures location of picture viewing area, repeat step S7, S8, to the last a pictures loads on focus viewing area.
2. the 3D of a kind of picture according to claim 1 switches browsing method, it is characterized in that: picture processing unit also carries out folding to the picture loading on focus viewing area to be obtained.
3. the 3D of a kind of picture according to claim 1 switches browsing method, it is characterized in that: described inverted image figure is cut out by the bottom of the compression figure copied and from top to bottom Vitrification management and obtaining gradually.
4. the 3D of a kind of picture according to claim 3 switches browsing method, it is characterized in that: the length of described inverted image figure is 1/6 ~ 1/3 of compression figure.
5. the 3D of a kind of picture according to claim 4 switches browsing method, it is characterized in that: the length of described inverted image figure is 1/5 of compression figure.
6. the 3D of a kind of picture according to claim 1 switches browsing method, and it is characterized in that: focus viewing area is positioned at the centre of picture viewing area, the both sides of focus viewing area are focus viewing area to be obtained.
7. the 3D of a kind of picture according to claim 1 switches browsing method, it is characterized in that: the picture of 2 focus displays to be obtained all can be placed in the focus viewing area to be obtained of both sides, focus viewing area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510186134.1A CN104850303B (en) | 2015-04-20 | 2015-04-20 | A kind of 3D switching browsing method of picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510186134.1A CN104850303B (en) | 2015-04-20 | 2015-04-20 | A kind of 3D switching browsing method of picture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104850303A true CN104850303A (en) | 2015-08-19 |
CN104850303B CN104850303B (en) | 2019-04-09 |
Family
ID=53849983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510186134.1A Expired - Fee Related CN104850303B (en) | 2015-04-20 | 2015-04-20 | A kind of 3D switching browsing method of picture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104850303B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090046037A1 (en) * | 2007-08-17 | 2009-02-19 | The University Of British Columbia | High resolution display of 3d images |
CN102136266A (en) * | 2010-01-26 | 2011-07-27 | 鸿富锦精密工业(深圳)有限公司 | Method for switching display pictures in electronic device |
CN103246673A (en) * | 2012-02-09 | 2013-08-14 | 联想(北京)有限公司 | Picture switching method and electronic device |
CN103870102A (en) * | 2012-12-13 | 2014-06-18 | 腾讯科技(武汉)有限公司 | Method and device for image switching |
CN104063837A (en) * | 2014-06-19 | 2014-09-24 | Tcl通讯(宁波)有限公司 | Image display processing method and system and mobile terminal |
-
2015
- 2015-04-20 CN CN201510186134.1A patent/CN104850303B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090046037A1 (en) * | 2007-08-17 | 2009-02-19 | The University Of British Columbia | High resolution display of 3d images |
CN102136266A (en) * | 2010-01-26 | 2011-07-27 | 鸿富锦精密工业(深圳)有限公司 | Method for switching display pictures in electronic device |
CN103246673A (en) * | 2012-02-09 | 2013-08-14 | 联想(北京)有限公司 | Picture switching method and electronic device |
CN103870102A (en) * | 2012-12-13 | 2014-06-18 | 腾讯科技(武汉)有限公司 | Method and device for image switching |
CN104063837A (en) * | 2014-06-19 | 2014-09-24 | Tcl通讯(宁波)有限公司 | Image display processing method and system and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104850303B (en) | 2019-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103150745B (en) | The method and apparatus of online editing picture | |
CN105630478B (en) | A kind of method and apparatus for realizing page switching | |
CN103186638B (en) | A kind of picture layout method and device | |
CN103365887B (en) | The method and apparatus for generating album cover | |
CN103514241A (en) | Image loading method and system | |
CN106681971A (en) | Form data processing method and device | |
CN106657174A (en) | Data synchronizing and updating methods and data synchronizing and updating devices | |
CN103514581A (en) | Screen picture capturing method, device and terminal equipment | |
CN104793945A (en) | Large-batch picture displaying method for preventing memory overflow and device thereof | |
CN102156716A (en) | Method and device for re-typesetting web page | |
CN107256259A (en) | Page display method, device, electronic equipment and storage medium | |
CN104765539A (en) | Message display method and device | |
CN105824874A (en) | Mobile terminal as well as web page rendering method and device thereof | |
CN101710267A (en) | Method and device for quickly displaying picture for mobile terminal | |
CN103500462A (en) | Method and system for providing image of virtual game scene | |
CN105898523A (en) | Video playing method and video playing device | |
CN105550181A (en) | File classification storage method and apparatus and terminal | |
CN108228121A (en) | A kind of method, device and mobile terminal of browser split screen | |
CN106951493A (en) | Automatic figure methods of exhibiting and device without figure news | |
CN103279902A (en) | Electronic menu display method | |
CN105320662B (en) | Webpage generating method and device | |
CN103116631A (en) | System of looking at batches of pictures quickly on handheld electronic equipment and method | |
CN104881206A (en) | File selecting processing method and device | |
CN105704396A (en) | Picture processing method and device | |
CN104301514A (en) | Automatic taken photo deleting method and terminal based on GPS positioning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190409 Termination date: 20200420 |
|
CF01 | Termination of patent right due to non-payment of annual fee |