CN104850303B - A kind of 3D switching browsing method of picture - Google Patents

A kind of 3D switching browsing method of picture Download PDF

Info

Publication number
CN104850303B
CN104850303B CN201510186134.1A CN201510186134A CN104850303B CN 104850303 B CN104850303 B CN 104850303B CN 201510186134 A CN201510186134 A CN 201510186134A CN 104850303 B CN104850303 B CN 104850303B
Authority
CN
China
Prior art keywords
picture
focus
viewing area
compression
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510186134.1A
Other languages
Chinese (zh)
Other versions
CN104850303A (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.)
Shenzhen Meibeike Technology Co Ltd
Original Assignee
Shenzhen Meibeike 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 Shenzhen Meibeike Technology Co Ltd filed Critical Shenzhen Meibeike Technology Co Ltd
Priority to CN201510186134.1A priority Critical patent/CN104850303B/en
Publication of CN104850303A publication Critical patent/CN104850303A/en
Application granted granted Critical
Publication of CN104850303B publication Critical patent/CN104850303B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of 3D of picture to switch browsing method, shows for successively carrying out focus by 3D transition effect to the picture in figure group, comprising the following steps: address acquisition unit obtains the address list of local picture;The length and width of size acquisition unit acquisition focus display area;Image data is read into memory by picture acquiring unit according to picture address;Processing image obtains the new picture shown to focus;New picture is loaded into focus viewing area and focus viewing area to be obtained respectively;Next possible two pictures for obtaining focus are read into memory, and are handled;A picture viewing area is discharged in the image data of moving direction foremost position, remaining picture of picture viewing area is moved into a Pictures location along moving direction, the new picture shown in memory to focus is loaded on to the vacant Pictures location of picture viewing area, and repeats previous step and the step.Switch speed of the present invention is stablized, and transition effect is beautiful, and user experience is experienced.

Description

A kind of 3D switching browsing method of picture
Technical field
The present invention relates to technical field of picture display, in particular to a kind of display methods of 3D picture.
Background technique
After internet incorporates people's life gradually, various pictures are browsed or downloaded on network and have become many life A part living.And the prevalence of digital camera and mobile phone photograph, and also to become picture browsing can not in many people's lives The a part lacked.
Relative to previous printing and processing, by various pictures check software to provide more convenient of people and Material benefit, but existing picture checks that software is only applicable to the switching of 2D picture and shows at present, may not apply to the switching of 3D picture It has been shown that, therefore these pictures is caused to check that the display of software and switching mode are more single, influence user experience.
Summary of the invention
Check that the experience of picture feels that the present invention provides a kind of 3D image display method and device to improve user, It can solve existing picture to show and the single technical problem of switching method.To achieve the above object, the present invention is using as follows Technical solution:
A kind of 3D switching browsing method of picture, it is aobvious for successively carrying out focus by 3D transition effect to the picture in figure group Show, comprising the following steps:
S1, address acquisition unit obtain the address list of local picture;
S2, size acquisition unit obtain the length and width data of focus viewing area;
S3, picture acquiring unit take out the address of a picture shown to focus, and image data is read memory In;
S4, by the length and width of focus viewing area, picture processing unit to the picture shown to focus in memory into Row cuts out compression processing, obtains compression figure;Duplication compression figure, picture processing unit handle it to obtain corresponding inverted image Figure;Compression figure and the splicing of corresponding inverted image figure are synthesized into the new picture shown to focus;
If S5, the new picture shown to focus are first new picture shown to focus, it is aobvious to be loaded into focus Show area;
S6, according to the quantity of focus viewing area to be obtained and out of focus viewing area and, repeat to corresponding number step S3, The obtained new picture shown to focus is loaded into the vacant Pictures location of focus viewing area to be obtained by S4;
S7, picture acquiring unit also prefetch the address for the picture that two show to focus, image data are read interior In depositing, step S4 is repeated, to obtain the new picture shown to focus;
S8, discharge a picture viewing area moving direction foremost position image data, by remaining picture viewing area Picture move a Pictures location along moving direction, the new picture shown in memory to focus is loaded into picture viewing area Vacant Pictures location repeats step S7, S8, and to the last a picture loads on focus viewing area.
More preferably, picture processing unit also carries out folding to the picture for loading on focus viewing area to be obtained.
More preferably, the inverted image figure is to be cut out by the bottom of the compression figure replicated and from top to bottom gradually transparency process And it obtains.
More preferably, the length of the inverted image figure is compress figure 1/6~1/3.
More preferably, the length of the inverted image figure is compress figure 1/5.
More preferably, focus viewing area is located at the centre of picture viewing area, and the two sides of focus viewing area are focus to be obtained Viewing area.
More preferably, the focus viewing area to be obtained of focus viewing area two sides can place the picture that 2 focuses to be obtained are shown.
Compared with prior art, the invention has the benefit that switching over display, switching speed to picture with 3D effect Degree is stablized, and transition effect is beautiful, and user experience is experienced.
Detailed description of the invention
Fig. 1 is the picture display position schematic diagram of the embodiment of the present invention;
Fig. 2 is step flow diagram of the invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
It is shown in Figure 1, it is a kind of picture placement location of the present embodiment of the 3D switching browsing method of picture of the present invention Schematic diagram, wherein focus viewing area is located at the centre of picture viewing area, the picture shown for placing focus;Focus viewing area Two sides be focus viewing area to be obtained, the picture shown for placing focus to be obtained.In the present embodiment, focus viewing area The left side be set as the first focus viewing area to be obtained, be set as the second focus viewing area to be obtained on the right of focus viewing area, and first to Obtain focus show and the second focus viewing area to be obtained can place the picture that 2 focuses to be obtained are shown.Certainly, focus to be obtained is shown The quantity that area can place picture can be depending on the memory size of specific picture display device and image data amount, such as schemes Piece shows that the memory of equipment stores plurality of pictures enough, then two focus viewing areas to be obtained can place 3 or more wait obtain The picture of focus;For another example the smaller or to be shown picture of the memory of picture display device is larger, then two focus viewing areas to be obtained 1 picture can only be placed.
As shown in Fig. 2, the specific steps of the 3D switching browsing method of picture disclosed by the invention include:
Picture address in figure group is saved in address list, address acquisition unit obtains the address column of local picture Table;
The length and width data of size acquisition unit acquisition focus viewing area;
The address for the picture that taking-up needs to show in picture viewing area first focus of progress from address list, and according to The picture that this first progress focus is shown is read into memory by picture address;
According to the length and width of focus viewing area, picture processing unit carries out the picture shown to focus in memory Compression processing is cut out, the compression figure of original picture is obtained;A compression figure of duplication, picture processing unit intercept the compression figure of the duplication About 1/5 width of bottom obtain corresponding with former compression figure by 180 ° of its flip vertical, and from top to bottom gradually transparency process Inverted image figure;Compression figure and inverted image figure are spliced by sequence from top to bottom, synthesize the new picture shown to focus;It will The new picture is loaded into focus viewing area;
It is taken out from address list and needs to carry out the address for the picture that second focus is shown in picture display area, and pressed The picture that this second progress focus is shown is read into memory by photograph and picture address;
According to the length and width of focus viewing area, picture processing unit carries out the picture shown to focus in memory Compression processing is cut out, the compression figure of original picture is obtained;A compression figure of duplication, picture processing unit intercept the compression figure of the duplication About 1/5 width of bottom, by its flip vertical, and from top to bottom gradually transparency process, obtain it is corresponding with former compression figure fall Shadow figure;Compression figure and inverted image figure are spliced by sequence from top to bottom, synthesize the new picture shown to focus;By this two A new picture is loaded on the first Pictures location of the first focus viewing area to be obtained;
It is taken out from address list and needs to carry out the address for the picture that third focus is shown in picture display area, and pressed The picture that the third progress focus is shown is read into memory by photograph and picture address;
According to the length and width of focus viewing area, picture processing unit carries out the picture shown to focus in memory Compression processing is cut out, the compression figure of original picture is obtained;A compression figure of duplication, picture processing unit intercept the compression figure of the duplication About 1/5 width of bottom, by its flip vertical, and from top to bottom gradually transparency process, obtain it is corresponding with former compression figure fall Shadow figure;Compression figure and inverted image figure are spliced by sequence from top to bottom, synthesize the new picture shown to focus;By this Three new pictures are loaded on the second picture position of the second focus viewing area to be obtained;
It is taken out from address list and needs to carry out the address for the picture that a focus last is shown in picture display area, And the picture that focus is shown is carried out by this last according to picture address and is read into memory;
According to the length and width of focus viewing area, picture processing unit carries out the picture shown to focus in memory Compression processing is cut out, the compression figure of original picture is obtained;A compression figure of duplication, picture processing unit intercept the compression figure of the duplication About 1/5 width of bottom, by its flip vertical, and from top to bottom gradually transparency process, obtain it is corresponding with former compression figure fall Shadow figure;Compression figure and inverted image figure are spliced by sequence from top to bottom, synthesize the new picture shown to focus;This is fallen Number first new picture is loaded on the first Pictures location of the second focus viewing area to be obtained;
It is taken out from address list and needs to carry out the address for the picture that penultimate focus is shown in picture display area, And the picture that penultimate progress focus is shown is read into memory according to picture address;
According to the length and width of focus viewing area, picture processing unit carries out the picture shown to focus in memory Compression processing is cut out, the compression figure of original picture is obtained;A compression figure of duplication, picture processing unit intercept the compression figure of the duplication About 1/5 width of bottom, by its flip vertical, and from top to bottom gradually transparency process, obtain it is corresponding with former compression figure fall Shadow figure;Compression figure and inverted image figure are spliced by sequence from top to bottom, synthesize the new picture shown to focus;This is fallen Number second new picture is loaded on the second picture position of the second focus viewing area to be obtained;
It is taken out from address list and needs to carry out the address for the picture that the 4th focus is shown in picture display area, and pressed The picture that 4th progress focus is shown is read into memory by photograph and picture address, and according to the length and width of focus viewing area Degree, picture processing unit are cut out compression processing to the picture shown to focus in memory, obtain the compression figure of original picture; A compression figure of duplication, picture processing unit intercepts about 1/5 width of bottom of the compression figure of the duplication, by its flip vertical, and From top to bottom gradually transparency process obtains inverted image figure corresponding with former compression figure;By compression figure and inverted image figure by from top to bottom Sequence spliced, synthesize the 4th new picture shown to focus;
It is taken out from address list and needs to carry out the address for the picture that third last focus is shown in picture display area, And the picture that third last progress focus is shown is read into memory according to picture address, and according to the length of focus viewing area Degree and width, picture processing unit are cut out compression processing to the picture shown to focus in memory, obtain original picture Compression figure;A compression figure of duplication, picture processing unit intercepts about 1/5 width of bottom of the compression figure of the duplication, it is vertical Overturning, and from top to bottom gradually transparency process obtain inverted image figure corresponding with former compression figure;Will compression figure and inverted image figure press by Sequence under above is spliced, and is synthesized third last and is waited for the new picture that focus is shown;
When the switching moving direction that picture is arranged is moved to the left, the second place of the second focus viewing area to be obtained is discharged Picture, i.e. the image data of the picture second from the bottom of the present embodiment, by the picture of remaining picture viewing area along Xiang Zuoyi A Pictures location is moved, shows themselves in that release picture second from the bottom, picture last are moved to second in the present embodiment On the second picture position of focus viewing area to be obtained, the first picture is moved to the first picture position of the second focus viewing area to be obtained It sets, the second picture is moved to focus viewing area and is shown with carrying out focus, and it is aobvious that third picture is moved to the first focus to be obtained Show on first Pictures location in area, the 4th picture shown to focus in memory is loaded into the first focus viewing area to be obtained Second picture position on;
When the switching moving direction that picture is arranged moves right, the second place of the first focus viewing area to be obtained is discharged Picture, i.e. the image data of the third picture of the present embodiment, by the picture of remaining picture viewing area along moving right one A Pictures location shows themselves in that release third picture, the second picture are moved to the first focus to be obtained and show in the present embodiment On the second picture position in area, the first picture is moved on the first Pictures location of the first focus viewing area to be obtained, and reciprocal the One picture is moved to focus viewing area and is shown with carrying out focus, and picture second from the bottom is moved to the second focus viewing area to be obtained The first Pictures location on, the third from the bottom picture shown to focus in memory is loaded into the second focus viewing area to be obtained Second picture position on.
So recycle the picture read remaining image data into memory, in processing memory, the side for discharging picture viewing area Picture on edge position, in picture and load memory by remaining Pictures location on the mobile picture viewing area of moving direction The 3D that picture completes picture along preset leftward or rightward moving direction can be completed in the picture for the focus to be obtained managed The switching of effect browses, and the transition effect of 3D is beautiful, and user experience is experienced.In addition, the present invention is also read still not in advance The picture of loaded and displayed in memory and carries out so that switch speed faster, it is more stable.
In the embodiment above, the length of inverted image figure is tailored to the 1/5 of only compression figure, but in other embodiments, The length of inverted image figure can also according to the actual conditions of picture or it is customized be cut to compression figure 1/6~1/3 between ratio, It can reach the beauty of 3D transition effect.
Further, to reach better 3D transition effect, picture processing unit is also to loading on focus viewing area to be obtained Picture carry out folding so that the picture that focus is shown is more beautiful, 3D effect is become apparent from.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by anyone skilled in the art, It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of protection of the claims Subject to.

Claims (7)

1. a kind of 3D of picture switches browsing method, aobvious for successively carrying out focus by 3D transition effect to the picture in figure group Show, it is characterised in that:
S1, address acquisition unit obtain the address list of local picture;
S2, size acquisition unit obtain the length and width data of focus viewing area;
S3, picture acquiring unit take out the address of a picture shown to focus, and image data is read into memory;
S4, by the length and width of focus viewing area, picture processing unit cuts the picture shown to focus in memory Compression processing is cut out, compression figure is obtained;Duplication compression figure, picture processing unit handle it to obtain corresponding inverted image figure;It will Compression figure and the splicing of corresponding inverted image figure synthesize the new picture shown to focus;
If S5, the new picture shown to focus are first new picture shown to focus, it is loaded into focus viewing area;
S6, according to the quantity of focus viewing area to be obtained and out of focus viewing area and, repeat step S3, S4 to corresponding number, The obtained new picture shown to focus is loaded into the vacant Pictures location of focus viewing area to be obtained;
S7, picture acquiring unit also prefetch the address for the picture that two show to focus, and image data is read into memory, Step S4 is repeated, to obtain the new picture shown to focus;
S8, discharge a picture viewing area moving direction foremost position image data, by the figure of remaining picture viewing area Piece moves a Pictures location along moving direction, and the new picture shown in memory to focus is loaded into the vacant of picture viewing area Pictures location repeats step S7, S8, and to the last a picture loads on focus viewing area.
2. a kind of 3D of picture according to claim 1 switches browsing method, it is characterised in that: picture processing unit is also right The picture for loading on focus viewing area to be obtained carries out folding.
3. a kind of 3D of picture according to claim 1 switches browsing method, it is characterised in that: the inverted image figure is by multiple The bottom of the compression figure of system cut out and from top to bottom gradually transparency process and obtain.
4. a kind of 3D of picture according to claim 3 switches browsing method, it is characterised in that: the length of the inverted image figure It is the 1/6~1/3 of compression figure.
5. a kind of 3D of picture according to claim 4 switches browsing method, it is characterised in that: the length of the inverted image figure It is the 1/5 of compression figure.
6. a kind of 3D of picture according to claim 1 switches browsing method, it is characterised in that: focus viewing area is located at figure The centre of piece viewing area, the two sides of focus viewing area are focus viewing area to be obtained.
7. a kind of 3D of picture according to claim 1 switches browsing method, it is characterised in that: focus viewing area two sides Focus viewing area to be obtained can place the picture that 2 focuses to be obtained are shown.
CN201510186134.1A 2015-04-20 2015-04-20 A kind of 3D switching browsing method of picture Expired - Fee Related CN104850303B (en)

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 CN104850303A (en) 2015-08-19
CN104850303B true 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104850303A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
CN104333700B (en) Image blurring method and image blurring device
CN103150745B (en) The method and apparatus of online editing picture
CN107870716A (en) The method and apparatus for calling background application
EP2887191A1 (en) Picture display processing method and device
CN103092833A (en) Method, apparatus and mobile device for viewing pictures in mobile browser
CN105898523A (en) Video playing method and video playing device
CN102546933A (en) Method for setting cell phone wallpaper rapidly
CN106657757B (en) Image preview method and device for camera application and camera application system
CN104102421B (en) Replace the method and system of content of shooting using screenshotss content
CN103413353B (en) A kind of resource exhibition method, device and terminal
CN104793945A (en) Large-batch picture displaying method for preventing memory overflow and device thereof
CN103186638A (en) Method and device for arranging pictures
CN106339983A (en) Blurring animation realization method through Gaussian blurring and blurring animation realization device thereof
CN104104995A (en) Image display method and device
CN104320590A (en) Split-screen image processing method and device and client terminal
CN104615400B (en) Show the method and apparatus of visual information
CN103500462A (en) Method and system for providing image of virtual game scene
CN103116631A (en) System of looking at batches of pictures quickly on handheld electronic equipment and method
CN106990962A (en) Dynamic screen locking wallpaper switching method and device and terminal
CN107133981B (en) Image processing method and device
CN104850303B (en) A kind of 3D switching browsing method of picture
CN104361559B (en) A kind of image enlargement processing method and system based on small image memory
CN111562869B (en) Screenshot method and device, storage medium and electronic device
CN106201779A (en) Picture processing method and device and mobile terminal
CN105975169A (en) Method and apparatus for displaying text in 3D space

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190409

Termination date: 20200420