CN106649570A - Method and device for determining 360-degree panorama picture - Google Patents

Method and device for determining 360-degree panorama picture Download PDF

Info

Publication number
CN106649570A
CN106649570A CN201611006921.4A CN201611006921A CN106649570A CN 106649570 A CN106649570 A CN 106649570A CN 201611006921 A CN201611006921 A CN 201611006921A CN 106649570 A CN106649570 A CN 106649570A
Authority
CN
China
Prior art keywords
picture
degree
panoramic pictures
width
judged result
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.)
Pending
Application number
CN201611006921.4A
Other languages
Chinese (zh)
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201611006921.4A priority Critical patent/CN106649570A/en
Publication of CN106649570A publication Critical patent/CN106649570A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method and a device for determining a 360-degree panorama picture and relates to the field of virtual reality (VR). The method comprises the steps of acquiring a to-be-selected picture; judging whether the to-be-selected picture is the 360-degree panorama picture according to an attribute of the to-be-selected picture, and generating a judgment result; and processing according to the judgment result. According to the method and the device, the 360-degree panorama picture can be rapidly picked out from common pictures.

Description

A kind of method and apparatus for judging 360 degree of panoramic pictures
Technical field
The present invention relates to Virtual Reality field, more particularly to a kind of method and apparatus for judging 360 degree of panoramic pictures.
Background technology
Android Android mobile phones have been supported to run VR (virtual reality) application program at present, as long as mobile phone is loaded in In the VR boxes of manufacturer's customization, it is possible into VR patterns, start the experience of virtual reality.
When checking picture under VR patterns, current mobile phone and VR equipment are during Loading Image, it is impossible to which is distinguished It is 360 degree of panoramic pictures, which is common 2D pictures.The combination because panoramic pictures are exactly plurality of pictures from for essence exists 2D pictures together, simply when 3d space is illustrated in, it has 360 degree of panoramic effect.Therefore, when user uses The software of panoramic pictures is played in the operation of android mobile phones, or when wearing VR equipment, it is desirable to what is seen is 360 degree of panoramic pictures, experience 3d scenes on the spot in person in virtual reality, but often there are a lot of other pictures in equipment.
What at present manufacturer adopted has two ways:
A kind of mode is:All it is shown to user.This mode causes user quickly to view the picture wanted. And for android mobile phones, user uses the picture that mobile phone shoots, or third party software to share the picture for coming and be stored in hand In machine, therefore there is substantial amounts of common 2D pictures in mobile phone.It is non-when user wants to look up the picture oneself wanted into VR It is often troublesome, it is possible to find for a long time.Meanwhile, it is to expend very much internal memory that excessive picture is loaded in 3d scenes.In VR applications In exploitation, internal memory is very valuable, wastes too many internal memory and equipment is blocked very much, is paused.
Another kind of method is:Picture in the presently commercially available only identification glue file folder for generally adopting.For example, it is desirable to use Family must picture be placed on cellphone directory /sdcard/vr/360photos in.Mobile phone is entered in VR patterns, can only arrive this text Picture file is read in part folder, picture is that panoramic pictures are all shown in the scene user.So, use every time is caused Family obtains or by sharing the panoramic pictures for obtaining on network, manually file will be moved into this catalogue, could be in vr See in scene.Because all pictures are in a file, user cannot carry out taxonomic revision, then, when picture is excessive, It is very troublesome that user wants to look up the picture oneself wanted.And VR scenes user can not be direct as operating handset Slide on screen and search, therefore, the time for causing user effort many goes to search the picture for oneself wanting to see, Consumer's Experience is very Difference.
The content of the invention
A kind of method and apparatus of 360 degree of panoramic pictures of judgement that the present invention is provided, can quickly recognize 360 from picture Degree panoramic pictures.
To reach above-mentioned purpose, the technical scheme is that what is be achieved in that:
A kind of method for judging 360 degree of panoramic pictures, methods described includes:
Obtain picture to be selected;
According to the attribute of the picture to be selected, judge whether the picture to be selected is 360 degree of panoramic pictures, and generation is sentenced Disconnected result;
According to the judged result, processed.
It is described according to the judged result, include the step of processed:
Export the judged result;
When the judged result is:It is described wait select picture be 360 degree of panoramic pictures when, then shown;Or
According to the judged result, 360 degree of panoramic pictures will be judged to described in picture to be selected be divided into a class, Huo Zheyi Move to a file.
The attribute of picture to be selected described in the basis, judges whether the picture to be selected is 360 degree of panoramic pictures Step includes:
According to the width and the ratio of width to height of the picture to be selected, judge whether the picture to be selected is 360 degree of panorama sketch Piece.
The width and the ratio of width to height of picture to be selected described in the basis, judges whether the picture to be selected is 360 degree complete The step of scape picture, includes:
When the width of the picture to be selected is more than or equal to 1000 pixels, and the ratio of width to height of the picture to be selected is big In or equal to 2:1, and the ratio of width to height of the picture to be selected is less than 4:1, then it is judged as that the picture to be selected is 360 degree of panoramas Picture.
A kind of device of 360 degree of panoramic pictures of selection, described device includes:
Acquiring unit, obtains picture to be selected;
Judging unit, according to the attribute of the picture to be selected, judges whether the picture to be selected is 360 degree of panorama sketch Piece, generates judged result;
Processing unit, according to the judged result, is processed.
The processing unit includes:
Subelement is shown, when the judged result is:It is described wait select picture be 360 degree of panoramic pictures when, then shown Show;
Or, the processing unit includes:
Classification subelement, according to the judged result, 360 degree of panoramic pictures will be judged to described in picture to be selected be divided into One class;
Or, the processing unit includes:
Mobile subelement, according to the judged result, will be judged to picture movement to be selected described in 360 degree of panoramic pictures To a file.
The judging unit is specially:
According to the width and the ratio of width to height of the picture to be selected, judge whether the picture to be selected is 360 degree of panorama sketch Piece.
The judging unit is specially:
When the width of the picture to be selected is more than or equal to 1000 pixels, and the ratio of width to height of the picture to be selected is big In or equal to 2:1, and the ratio of width to height of the picture to be selected is less than 4:1, then it is judged as that the picture to be selected is 360 degree of panoramas Picture.
The beneficial effect of the embodiment of the present invention is:
In above-described embodiment, according to the attribute of the picture to be selected, judge whether the picture to be selected is 360 degree complete Scape picture, determination methods are simple, rapid.
Description of the drawings
Fig. 1 is the schematic flow sheet of the method for 360 degree of panoramic pictures of judgement of the present invention;
Fig. 2 is the structural representation of the device of 360 degree of panoramic pictures of judgement of the present invention;
Fig. 3 is the relation schematic diagram of 360 degree of picture shootings of panorama of the present invention and camera lens;
Fig. 4 is the schematic flow sheet of the application scenarios of the method for 360 degree of panoramic pictures of judgement of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
As shown in figure 1, for a kind of method for judging 360 degree of panoramic pictures of the present invention, methods described includes:
Step 11, obtains picture to be selected;
Step 12, according to the attribute of the picture to be selected, judges whether the picture to be selected is 360 degree of panorama sketch Piece, generates judged result;Step 12 is specially:According to the width and the ratio of width to height of the picture to be selected, wait to select described in judgement Whether picture is 360 degree of panoramic pictures.Step 12 is specially:When the width of the picture to be selected is more than 1000 pixels, and The ratio of width to height of the picture to be selected is more than or equal to 2:1, and the ratio of width to height of the picture to be selected is less than 4:1, then it is judged as The picture to be selected is 360 degree of panoramic pictures.
Step 13, according to the judged result, is processed.
Step 13 is specially:
Export the judged result;Or
When the judged result is:It is described wait select picture be 360 degree of panoramic pictures when, then shown;Or
According to the judged result, 360 degree of panoramic pictures will be judged to described in picture to be selected be divided into a class, Huo Zheyi Move to a file.
As shown in Fig. 2 for a kind of device for selecting 360 degree of panoramic pictures of the present invention, described device includes:
Acquiring unit 21, obtains picture to be selected;
Judging unit 22, according to the attribute of the picture to be selected, judges whether the picture to be selected is 360 degree of panoramas Picture, generates judged result;
Processing unit 23, according to the judged result, is processed.
Described device, also includes:
The processing unit 23 includes:
Subelement is shown, when the judged result is:It is described wait select picture be 360 degree of panoramic pictures when, then shown Show;
Or, the processing unit includes:
Classification subelement, according to the judged result, 360 degree of panoramic pictures will be judged to described in picture to be selected be divided into One class;
Or, the processing unit includes:
Mobile subelement, according to the judged result, will be judged to picture movement to be selected described in 360 degree of panoramic pictures To a file.
The judging unit 22 is specially:According to the width and the ratio of width to height of the picture to be selected, wait to select described in judgement Whether picture is 360 degree of panoramic pictures.The judging unit 22 is specially:When the width of the picture to be selected is more than 1000 pictures Vegetarian refreshments, and the ratio of width to height of the picture to be selected is more than or equal to 2:1, and the ratio of width to height of the picture to be selected is less than 4:1, then It is judged as that the picture to be selected is 360 degree of panoramic pictures.
360 degree of panoramic pictures described in the present invention are referred to:The 360 degree of panoramic pictures shot with wide angle camera, not typically " panoramic pictures " that mobile phone shoots, because the camera shooting angle of general mobile phone is very little, it is impossible to which reaching the 3D scenes of VR needs The picture standard wanted.
The application scenarios of the present invention are below described.
The present invention is a kind of method for selecting under VR patterns from android mobile phones and filtering out 360 degree of panoramic pictures, mainly It is applied to the function of browse of 360 degree of panoramic pictures of VR equipment and mobile phone.
In the present invention, the wide high proportion of picture itself is calculated, the ratio of width to height and size within the specific limits, are then entered Row selects to filter.If within certain proportion, and size is within limits, it is believed that it is 360 degree of panoramas Picture, in being indicated in the 3D scenes of VR.
First, 360 degree of panoramic pictures are the captured photos that rotates a circle using wide angle camera, along horizontal direction, institute So that 360 degree of panoramic pictures of standard can be to be fitted in completely on a super large spheroid, and if we stand in spheroid The heart just looks like the visual angle for having returned to photographer originally, there is a kind of sensation on the spot in person.So, the width of 360 degree of panoramic pictures is high Than being 2:1, just as the world map of an expansion, by the correction of algorithm, can be fitted in completely on tellurion.
It is exactly 16 that the ratio of the 2d pictures that we shoot at ordinary times is modal:9 and 4:3, they are respectively less than 2:1.So right For 360 degree of panoramic pictures, 2:1 is a very important parameter.
The picture that pans can typically use bugeye lens (180 degree, similar to the eyes of fish), the camera lens in such as Fig. 3 406.If the camera lens for using is not the camera lens of 180 degree, but during such as 90 degree of camera lens 405, photographer horizontally rotates one week and claps After taking the photograph, the image of camera surface and underface also cannot be just photographed, less shooting angle will lose more pictures, But the picture of this partial loss can cause the height of the picture of last shooting not reach the half of width.That is, using 180 The lens shooting of degree to distant view photograph be exactly pixel be 4000x2000.And 90 degree of lens shootings are adopted, due to upper and lower certain limit Interior picture loss, the picture for finally obtaining is 4000x1000 pixels, and its ratio of width to height is 4:1.Thus the ratio of panoramic pictures Example should be more than or equal to 2:1.
Below description determines that disappearance is how many relatively reasonable on picture height.By real experiences, find when picture ratio is 4000x1000 pixels, i.e., (4:1) when, that is, the picture of more than half is have lost on the height of picture, is browsed in vr During this picture, it is very serious that picture will deform, and this picture is browsed in VR scenes and also just lose original meaning.And And, be also not in such picture, so by 4 in normal photographing or when making 360 degree of panoramic pictures:1 is set as The maximum of ratio.
It is at present most common to the size of 360 degree of panoramic pictures be 4000x2000 pixels, and 1000x500 pixels it Under experience effect it is just poor, pixel is too low, and picture compare and obscures, and user has been experienced less than virtual reality Feel.So, the dimension of picture of 1000*500 is set as to select the threshold value of the filter condition of 360 degree of panoramic pictures sizes.
According to more than the characteristics of the ratio and size of analysis panoramic pictures, 360 degree of panoramic pictures are assert, obtain first The width of picture is high, and panoramic pictures need three primary conditions, 1, width be more than 1000 pixels.2nd, the ratio of width to height is more than or equal to 2: 1.3rd, the ratio of width to height is less than 4:1.
The characteristics of Fig. 4 is with going up 360 degree of panoramic pictures according to this, obtains the flow chart of 360 degree of panoramic pictures of a selection.Bag Include following steps:
Step 501, reads picture;
Step 502, the width for obtaining picture is high;
Whether step 503, judge width more than 1000;
Whether step 504, the ratio of width to height for calculating picture is more than or equal to 2:1;
Whether step 505, the ratio for calculating picture is less than 4:1.
When picture meets step 503,504,505 condition simultaneously, it is 360 degree of panoramic pictures to be considered as it.
The present invention can quickly identify all 360 degree of panoramic pictures included in equipment, and user need not be by picture In being put into fixed catalogue, meanwhile, user can be placed on the panoramic pictures of oneself in different catalogues, in VR patterns to user The file for placing picture is classified, and what user can be faster finds the picture for oneself wanting to check, while will not show Show 2D pictures.
Present invention may apply to the treating method that mobile phone and VR equipment are classified to panoramic pictures, is also applied for VR Integrated machine equipment.
Presently preferred embodiments of the present invention is the foregoing is only, protection scope of the present invention is not intended to limit.It is all Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (8)

1. it is a kind of judge 360 degree of panoramic pictures method, it is characterised in that methods described includes:
Obtain picture to be selected;
According to the attribute of the picture to be selected, judge whether the picture to be selected is 360 degree of panoramic pictures, generates and judges knot Really;
According to the judged result, processed.
2. method according to claim 1, it is characterised in that described according to the judged result, the step of process Including:
Export the judged result;Or
When the judged result is:It is described wait select picture be 360 degree of panoramic pictures when, then shown;Or
According to the judged result, 360 degree of panoramic pictures will be judged to described in picture to be selected be divided into a class, or move to One file.
3. method according to claim 1, it is characterised in that the attribute of picture to be selected described in the basis, judges institute Stating the step of whether picture to be selected is 360 degree of panoramic pictures includes:
According to the width and the ratio of width to height of the picture to be selected, judge whether the picture to be selected is 360 degree of panoramic pictures.
4. method according to claim 3, it is characterised in that the width of picture to be selected described in the basis and width are high Than judging that the step of whether picture to be selected is 360 degree of panoramic pictures includes:
When the picture to be selected width be more than or equal to 1000 pixels, and the ratio of width to height of the picture to be selected more than or Equal to 2:1, and the ratio of width to height of the picture to be selected is less than 4:1, then it is judged as that the picture to be selected is 360 degree of panorama sketch Piece.
5. it is a kind of select 360 degree of panoramic pictures device, it is characterised in that described device includes:
Acquiring unit, obtains picture to be selected;
Judging unit, according to the attribute of the picture to be selected, judges whether the picture to be selected is 360 degree of panoramic pictures, Generate judged result;
Processing unit, according to the judged result, is processed.
6. device according to claim 5, it is characterised in that
The processing unit includes:
Subelement is shown, when the judged result is:It is described wait select picture be 360 degree of panoramic pictures when, then shown;
Or, the processing unit includes:
Classification subelement, according to the judged result, 360 degree of panoramic pictures will be judged to described in picture to be selected be divided into one Class;
Or, the processing unit includes:
Mobile subelement, according to the judged result, 360 degree of panoramic pictures will be judged to described in picture to be selected move to one File.
7. device according to claim 6, it is characterised in that the judging unit is specially:
According to the width and the ratio of width to height of the picture to be selected, judge whether the picture to be selected is 360 degree of panoramic pictures.
8. device according to claim 7, it is characterised in that the judging unit is specially:
When the picture to be selected width be more than or equal to 1000 pixels, and the ratio of width to height of the picture to be selected more than or Equal to 2:1, and the ratio of width to height of the picture to be selected is less than 4:1, then it is judged as that the picture to be selected is 360 degree of panorama sketch Piece.
CN201611006921.4A 2016-11-15 2016-11-15 Method and device for determining 360-degree panorama picture Pending CN106649570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611006921.4A CN106649570A (en) 2016-11-15 2016-11-15 Method and device for determining 360-degree panorama picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611006921.4A CN106649570A (en) 2016-11-15 2016-11-15 Method and device for determining 360-degree panorama picture

Publications (1)

Publication Number Publication Date
CN106649570A true CN106649570A (en) 2017-05-10

Family

ID=58807045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611006921.4A Pending CN106649570A (en) 2016-11-15 2016-11-15 Method and device for determining 360-degree panorama picture

Country Status (1)

Country Link
CN (1) CN106649570A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108805804A (en) * 2018-06-15 2018-11-13 冠捷显示科技(厦门)有限公司 Method for processing panoramic picture in liquid crystal display television

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108239A (en) * 2013-02-25 2013-05-15 四川金网通电子科技有限公司 Method and device of automatic transferring of video aspect ratio
CN105376500A (en) * 2014-08-18 2016-03-02 三星电子株式会社 Video processing apparatus for generating paranomic video and method thereof
CN105787980A (en) * 2016-03-17 2016-07-20 北京牡丹视源电子有限责任公司 Method and system for detecting field angle of virtual reality display device
CN106101743A (en) * 2016-08-23 2016-11-09 广东欧珀移动通信有限公司 Panoramic video recognition methods and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108239A (en) * 2013-02-25 2013-05-15 四川金网通电子科技有限公司 Method and device of automatic transferring of video aspect ratio
CN105376500A (en) * 2014-08-18 2016-03-02 三星电子株式会社 Video processing apparatus for generating paranomic video and method thereof
CN105787980A (en) * 2016-03-17 2016-07-20 北京牡丹视源电子有限责任公司 Method and system for detecting field angle of virtual reality display device
CN106101743A (en) * 2016-08-23 2016-11-09 广东欧珀移动通信有限公司 Panoramic video recognition methods and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108805804A (en) * 2018-06-15 2018-11-13 冠捷显示科技(厦门)有限公司 Method for processing panoramic picture in liquid crystal display television
CN108805804B (en) * 2018-06-15 2022-05-13 冠捷显示科技(厦门)有限公司 Method for processing panoramic picture in liquid crystal display television

Similar Documents

Publication Publication Date Title
CN108377334B (en) Short video shooting method and device and electronic terminal
CN106331508B (en) Method and device for shooting composition
JP5567235B2 (en) Image processing apparatus, photographing apparatus, program, and image processing method
CN104767933B (en) A method of having the portable digital equipment and screening photo of camera function
US9325899B1 (en) Image capturing device and digital zooming method thereof
JP5719967B2 (en) Imaging device with projector and control method thereof
CN103152489B (en) A kind of exhibiting method of image of autodyning and device
CN106161939B (en) Photo shooting method and terminal
CN104486552B (en) A kind of method and electronic equipment obtaining image
CN110650241B (en) Method for presenting panoramic photo in mobile terminal and mobile terminal
CN109040474B (en) Photo display method, device, terminal and storage medium
TWI640199B (en) Image capturing apparatus and photo composition method thereof
CN108055459B (en) Shooting method based on rotary camera and related product
TWI508001B (en) Method, apparatus and computer program product for passerby detection
CN108174082B (en) Image shooting method and mobile terminal
CN105847694A (en) Multiple exposure shooting method and system based on picture synthesis
CN106791390B (en) Wide-angle self-timer real-time preview method and user terminal
WO2014193377A1 (en) Image refocusing
CN110740260A (en) shooting method, device and computer readable storage medium
CN106488108A (en) The method and device of imaging
CN103079033A (en) Photographing method and device
CN105556957B (en) A kind of image processing method, computer storage media, device and terminal
CN109791703B (en) Generating three-dimensional user experience based on two-dimensional media content
CN109089045A (en) A kind of image capture method and equipment and its terminal based on multiple photographic devices
WO2015196681A1 (en) Picture processing method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510