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
shown
Prior art date
Application number
CN201510186134.1A
Other languages
Chinese (zh)
Other versions
CN104850303A (en
Inventor
张涢
王会
Original Assignee
深圳市美贝壳科技有限公司
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 深圳市美贝壳科技有限公司 filed Critical 深圳市美贝壳科技有限公司
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

Links

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 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 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
CN104156409B (en) Providing method, system and the device of news
US9026938B2 (en) Dynamic detail-in-context user interface for application access and content access on electronic displays
CN1245035C (en) Image display device and method of displaying thumbnail based on three-D image data
US20160253073A1 (en) Method and apparatus for adding icon to interface of android system, and mobile terminal
RU2626090C2 (en) Method, device and terminal device for processing image
AT465599T (en) Method and device for carrying out a stereoscopic image display based on color-elective filters
AU2015337185B2 (en) Electronic device and method for processing image
RU2011151556A (en) Displays of the integrating digital book interface and scale change
TW200618610A (en) Method and apparatus for motion vector processing
EP2784723A3 (en) Method, system and computer program for comparing images
EP1564601A3 (en) Image forming apparatus, terminal apparatus, information processing method, information processing program and computer readable recording medium
KR101648614B1 (en) Apparatus and method for representing a level of interest in an available item
AT499624T (en) Process and device for picture zooming
JP2004326189A5 (en)
EP1528484A3 (en) System and server for providing information, user terminal device, contents display device and method, and corresponding computer program
RU2007145218A (en) Improved graphic user interface for mobile terminal
CN105100615A (en) Image preview method, apparatus and terminal
CN104375737A (en) Method for processing information and electronic equipment
EP1458176A8 (en) Image forming apparatus and function key assignment method
DE602005026698D1 (en) Method for processing pictures using automatically georeferencing images derived from two pictures collected in the same focal size
US20190278471A1 (en) Selectively emphasizing digital content
CN104333700A (en) Image blurring method and image blurring device
BRPI0509830A (en) device and method for zooming in on an editable surface
CN103337086A (en) Picture editing method and device for mobile terminal, and mobile terminal
CN101500328A (en) Apparatus and method for implementing three-dimension interaction on mobile phone

Legal Events

Date Code Title Description
C06 Publication
EXSB Decision made by sipo to initiate substantive examination
GR01 Patent grant