CN108062772A - A kind of image reading method, device and virtual reality device - Google Patents

A kind of image reading method, device and virtual reality device Download PDF

Info

Publication number
CN108062772A
CN108062772A CN201711271017.0A CN201711271017A CN108062772A CN 108062772 A CN108062772 A CN 108062772A CN 201711271017 A CN201711271017 A CN 201711271017A CN 108062772 A CN108062772 A CN 108062772A
Authority
CN
China
Prior art keywords
image
buffering area
side images
stored
read
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
CN201711271017.0A
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.)
Beijing Pico Technology Co Ltd
Original Assignee
Beijing Pico 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 Beijing Pico Technology Co Ltd filed Critical Beijing Pico Technology Co Ltd
Priority to CN201711271017.0A priority Critical patent/CN108062772A/en
Publication of CN108062772A publication Critical patent/CN108062772A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a kind of image reading method, device and virtual reality device, which includes:First image right of the first left-side images of the first camera acquisition and second camera acquisition is stored in first buffering area;Judge the first synchronous left-side images and the first image right whether are stored in first buffering area, if so, then reading the image of first buffering area memory storage;Second image right of the second left-side images of the first camera acquisition and second camera acquisition is stored in second buffering area;Judge the second synchronous left-side images and the second image right whether are stored in second buffering area, if so, then reading the image of second buffering area memory storage.Pass through the image reading method of the present invention, it is possible to ensure the problem of every a pair of of image that application program is read all is synchronous acquisition, avoids the occurrence of caused Wrong localization asynchronous due to image.

Description

A kind of image reading method, device and virtual reality device
Technical field
The present invention relates to the image reading technical field of binocular camera, more particularly it relates to which a kind of image is read Take method, apparatus and virtual reality device.
Background technology
Virtual reality (Virtual Reality, abbreviation VR) is the new and high technology occurred in recent years.Virtual reality technology will It is that support one is qualitative and be quantitatively combined, the pass for the comprehensive integration Multi information space that perceptual knowledge and rational knowledge are combined Key technology.With the promotion of the speed of network, an Internet era based on virtual reality technology just quietly comes up, it is by pole The earth changes production and the life style of people.
Existing virtual reality device is more diversified for body feeling interaction, and the space of dual camera simulation eyes can be used to determine Position method determines the location information of the luminescent device set on handle either head-mounted display in three dimensions.It is virtual existing Real equipment collects the image of left and right two (the respectively acquisition one of the camera of left and right two) by dual camera every time, and synchronization obtains Two images got are one group, and application program needs to obtain image in groups to determine the position of luminescent device.
, it is necessary to do left and right two when the space orientation algorithm of application layer is calculated using two camera the image collected The synchronization of a image evidence.If occurring frame losing during reporting causes that two picture frequencies in left and right are inconsistent, and application layer is doing sky Between position when be present with mistake.
The content of the invention
It is uploaded it is an object of the present invention to provide a kind of image synchronization that can ensure the acquisition of two cameras new Technical solution.
According to the first aspect of the invention, a kind of image reading method is provided, including:
First image right of the first left-side images of the first camera acquisition and second camera acquisition is stored in In first buffering area;
Judge the first synchronous left-side images and the first image right whether are stored in the first buffering area, if so, Then:
Read the image of the first buffering area memory storage;
By the second left-side images of first camera acquisition and the second image right of second camera acquisition It is stored in second buffering area;
Judge the second synchronous left-side images and the second image right whether are stored in the second buffering area, if so, Then:
Read the image of the second buffering area memory storage.
Optionally, it is described to judge the first synchronous left-side images and first right side whether are stored in the first buffering area The step of side image, includes:
Judge whether the time difference between first left-side images and the acquisition moment of first image right is less than Preset first threshold, if so, then judging that first left-side images are synchronous with first image right.
Optionally, it is described to judge the second synchronous left-side images and second right side whether are stored in the second buffering area The step of side image, includes:
Judge whether the time difference between second left-side images and the acquisition moment of second image right is less than Preset second threshold, if so, then judging that second left-side images are synchronous with second image right.
Optionally, described image read method further includes:
It is further included before the image for reading the first buffering area memory storage:It deletes different in the first buffering area The first left-side images and the first image right of step;
It is further included before the image for reading the second buffering area memory storage:It deletes different in the second buffering area The second left-side images and the second image right of step.
According to the second aspect of the invention, a kind of image read-out is provided, including:
First storage module, for the first camera is gathered the of the acquisition of the first left-side images and second camera One image right is stored in first buffering area;
First judgment module, for judging whether to be stored with the first synchronous left-side images and in the first buffering area One image right;
First read module, in the case of being, reading described the in the judging result of first judgment module The image of one buffering area memory storage;
Second storage module, for the second left-side images for gathering first camera and the second camera Second image right of acquisition is stored in second buffering area;
Second judgment module, for judging whether to be stored with the second synchronous left-side images and in the second buffering area Two image rights;And
Second read module, in the case of being, reading described the in the judging result of second judgment module The image of two buffering area memory storages.
Optionally, first judgment module is additionally operable to:
Judge whether the time difference between first left-side images and the acquisition moment of first image right is less than Preset threshold value, if so, then judging that first left-side images are synchronous with first image right.
Optionally, second judgment module is additionally operable to:
Judge whether the time difference between second left-side images and the acquisition moment of second image right is less than Preset second threshold, if so, then judging that second left-side images are synchronous with second image right.
Optionally, described image reading device further includes:
First removing module, for deleting nonsynchronous first left-side images and the first right part of flg in the first buffering area Picture;
Second removing module, for deleting nonsynchronous second left-side images and the second right part of flg in the second buffering area Picture.
According to the third aspect of the invention we, a kind of virtual reality device is provided, including institute according to a second aspect of the present invention The image read-out stated.
According to the fourth aspect of the invention, a kind of virtual reality device is provided, it is described to deposit including memory and processor For storing instruction, described instruction is used to that the processor to be controlled to be operated to perform institute according to a first aspect of the present invention reservoir The image reading method stated.
The advantageous effect of the present invention is, passes through the image reading method of the present invention, it is possible to ensure application program The problem of every a pair of of the image read is all synchronous acquisition, avoids the occurrence of caused Wrong localization asynchronous due to image.And And a pair of synchronous left-side images of often storage and image right in buffering area, this pair of of image will be read, can to buffer The image of area's memory storage is less, can reduce the time delay between the storage of image and reading.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Description of the drawings
It is combined in the description and the attached drawing of a part for constitution instruction shows the embodiment of the present invention, and even With its explanation together principle for explaining the present invention.
Fig. 1 is according to a kind of a kind of flow chart of embodiment of image reading method of the present invention;
Fig. 2 is according to a kind of a kind of frame principle figure of implementation structure of image read-out of the present invention;
Fig. 3 is another frame principle figure for implementing structure according to a kind of image read-out of the present invention;
Fig. 4 is according to a kind of a kind of frame principle figure of result of implementation of virtual reality device of the present invention.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition have Body illustrates that the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The scope of invention.
It is illustrative to the description only actually of at least one exemplary embodiment below, is never used as to the present invention And its application or any restrictions that use.
It may be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable In the case of, the technology, method and apparatus should be considered as part for specification.
In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.
Virtual reality device involved in the embodiment of the present invention includes two cameras, the two cameras were using Cheng Zhong, if the two cameras of user's face, then, the two cameras are separately positioned on left side and the right side compared with user Side, it is left camera to be arranged on left side, and the image of left camera acquisition is left-side images;It is right camera shooting to be arranged on right side Head, the image of right camera acquisition is image right.
Fig. 1 is according to a kind of a kind of flow chart of embodiment of image reading method of the present invention.
According to Fig. 1, which comprises the following steps:
Step S110, by the first left-side images of the first camera acquisition and the first right part of flg of second camera acquisition As being stored in first buffering area.
Wherein, the first camera is the camera of acquisition left-side images, and second camera is the camera shooting of acquisition image right Head, the first left-side images and the first image right are the left-side images and image right being stored in first buffering area.First is slow It can be established in the memory of virtual reality device for storing the memory space of image data to rush area.
Specifically, the step that the first left-side images and the first image right are stored in first buffering area is at HAL layers It is performed in (hardware abstraction layer), the first left-side images and the acquisition modes of the first image right are with call back function in HAL layers Form obtained from driving layer.
Step S120 judges the first synchronous left-side images and the first image right whether are stored in first buffering area, If so, step S130 is then performed, if not, continuing to execute step S110.
Specifically, it (can be that the first left-side images or first are right that first image is often stored in first buffering area Side image), be carried out a step S120, with ensure in first buffering area a pair of the first synchronous left-side images of at most storage and First image right.
Further, the specific method for performing step S120 can be the acquisition moment and first for judging the first left-side images Whether the time difference between the acquisition moment of image right is less than preset threshold value, if so, then judging the first left-side images It is synchronous with the first image right.
Step S130 reads the image of first buffering area memory storage.
Specifically, it is the first image of a pair that application program reads first buffering area memory storage, including one first left side Image and first image right, and according to the first left-side images of reading and the sky of the first image right progress luminescent device Between position.
Step S140, by the second left-side images of the first camera acquisition and the second right part of flg of second camera acquisition As being stored in second buffering area.
Wherein, the second left-side images and the second image right are the left-side images and right side being stored in second buffering area domain Image.Step S130 is also to be performed in HAL layers, and the second image is (including the second left-side images and the second right part of flg in HAL layers Picture) acquisition modes it is identical with the acquisition modes of the first image (including the first left-side images and the first image right).Second is slow It can be established in the memory of virtual reality device for storing the memory space of image data to rush area.
Step S150 judges the second synchronous left-side images and the second image right whether are stored in second buffering area, If so, step S160 is then performed, if not, continuing to execute step S140.
Second image (can be the second left-side images or the second image right) is often stored in second buffering area, A step S150 is carried out, to ensure at most to store a pair of the second synchronous left-side images and the second right side in second buffering area Image.In this way, it can also further save memory headroom.
The specific method for performing step S150 can be acquisition moment and the second image right for judging the second left-side images The acquisition moment between time difference whether be less than preset threshold value, if so, then judging the second left-side images and second right Side image synchronization.
Step S160 reads the image of second buffering area memory storage.
Specifically, it is the second image of a pair that application program reads second buffering area memory storage, including one second left side Image and second image right, and according to the first left-side images of reading and the sky of the first image right progress luminescent device Between position.
Since after execution of step S130, what application program was read is the first image in first buffering area domain, that , for the left-side images and image right that the image for ensureing application program reading next time is synchronization, can be will be not synchronous Second left-side images and the second image right are stored in second buffering area.It is left to treat that second buffering area memory is placed with synchronous second When side image and the second image right, then read the image in second buffering area.
In this way, the image reading method by the present invention, it is possible to ensure that every a pair of of image that application program is read all is Synchronous acquisition, avoid the occurrence of due to image it is asynchronous caused by Wrong localization the problem of.Moreover, often storage is a pair of in buffering area Synchronous left-side images and image right will read this pair of of image, and the image that can cause buffering area memory storage is less, can To reduce the time delay between the storage of image and reading.
In one particular embodiment of the present invention, in buffering area the left-side images of storage can have one or multiple, The image right of storage can also have one or multiple.HAL layers are to obtain left-side images and right side respectively using two threads Image, moreover, left-side images and image right that two cameras are gathered simultaneously are synchronized at HAL layers.It is but right In the left-side images and image right of acquisition simultaneously, may cause to exist in storage to buffering area due to the problems such as equipment performance At the time of it is different either occur left-side images or image right not successfully in storage to buffering area the problem of, if read Left-side images and image right are asynchronous, are present with difference when determining luminescent device position according to left-side images and image right It is wrong.The left-side images mentioned in the embodiment of the present invention, which include the first left-side images and the second left-side images, image right, to be included First image right and the second image right, buffering area include first buffering area and second buffering area.
On this basis, nonsynchronous first left hand view in first buffering area can also be deleted before step S130 is performed Picture and the first image right.Nonsynchronous second left-side images in second buffering area can also be deleted before step S160 is performed With the second image right.
For example, the first camera acquires the first left-side images 1 at the first moment, second camera gathers at the first moment First image right 1, still, if the first left-side images 1 have been stored in first buffering area, and the first image right 1 is lost Mistake fails storage in first buffering area, it will the first left-side images 2 for again gathering the first camera at the second moment and the Two cameras acquire the first image right 2 at the second moment and store to first buffering area, it can be determined that go out the first left hand view As 2 acquisition, the moment is identical with the acquisition moment of the first image right 2 or the acquisition moment and first of the first left-side images 2 Time difference between the acquisition moment of image right 2 is less than threshold value, then, then it can be determined that the first left-side images 2 and first are right Side image 2 is synchronous, then, then the first left-side images 1 are deleted in first buffering area, and perform step S120.
For another example the first camera acquires the second left-side images 3 at the 3rd moment, second camera is adopted at the 3rd moment Collect the second image right 3, still, if the second left-side images 3 have been stored in second buffering area, and the second image right 3 Loss fails storage in second buffering area, it will the second left-side images 4 for again gathering second camera at the 4th moment and The second image right 4 that 4th camera gathers at the 4th moment is stored to second buffering area, it can be determined that goes out the second left side Moment is identical with the acquisition moment of the second image right 4 or the acquisition moment of the second left-side images 4 and for the acquisition of image 4 Time difference between the acquisition moment of two image rights 4 is less than threshold value, then, then it can be determined that the second left-side images 4 and second Image right 4 is synchronous, then, then the second left-side images 3 are deleted in second buffering area, and perform step S140.
In one particular embodiment of the present invention, camera framework MMCamera is located at HAL layers, is taking the photograph for high-pass platform As head framework, the image reading method of the present embodiment synchronizes left image data and right image data at HAL layers.It takes the photograph As the head framework MMCamera threads for receiving left-side images and image right from driving are producer producter, to buffering area Buffer writes data, i.e., left-side images and image right is stored in buffering area.Camera framework MMCamera is on upper strata The thread for reporting left-side images and image right is consumer consumer, reads data from buffering area buffer, that is, reads buffering area Image.
Specifically, being directed toward first buffering area buffer1 in producer producter, consumer consumer is directed toward empty In the case of, if producer thread receives synchronous left-side images and image right, adjustment producer producter is directed toward the Two buffering area buffer2, adjustment consumer consumer are directed toward first buffering area buffer1, notify consumer thread.Consumer Thread reports the data that consumer is directed toward, and consumer consumer is emptied afterwards.
Corresponding with above-mentioned image reading method, the present invention also provides a kind of image read-outs.Fig. 2 is according to this Invent a kind of a kind of frame principle figure of implementation structure of image read-out.
According to Fig. 2, which includes the first storage module 210, the first judgment module 220, first is read Modulus block 230, the second storage module 240, the second judgment module 250 and the second read module 260.
Above-mentioned first storage module 210 is used to adopt the first left-side images of the first camera acquisition and second camera First image right of collection is stored in first buffering area.
Above-mentioned first judgment module 220 for judge whether to be stored in first buffering area the first synchronous left-side images and First image right.
Above-mentioned first read module 230 is used for the judging result in the first judgment module 220 in the case of being, to read the The image of one buffering area memory storage.
Above-mentioned second storage module 240 is used to adopt the second left-side images of the first camera acquisition and second camera Second image right of collection is stored in second buffering area.
Above-mentioned second judgment module 250 for judge whether to be stored in second buffering area the second synchronous left-side images and Second image right.
Above-mentioned second read module 260 is used for the judging result in the second judgment module 250 in the case of being, to read the The image of two buffering area memory storages.
Further, when the first judgment module 220 is additionally operable to judge the acquisition of the first left-side images and the first image right Whether the time difference between quarter is less than preset threshold value, if so, then judging that the first left-side images and the first image right are same Step.Second judgment module 250 is additionally operable to judge the time difference between the second left-side images and the acquisition moment of the second image right Whether preset threshold value is less than, if so, then judging that the second left-side images are synchronous with the second image right.
On this basis, as shown in figure 3, the image read-out, which further includes the first removing module 310 and second, deletes mould Block 320, first removing module 310 are used to delete nonsynchronous first left-side images and the first right part of flg in first buffering area Picture;Second removing module 320 is used to delete nonsynchronous second left-side images and the second image right in second buffering area.
The present invention also provides a kind of virtual reality devices, and according to one aspect, which includes the present invention's Image read-out.
Fig. 4 is the frame principle figure according to the implementation structure of the virtual reality device of another aspect of the present invention.
According to Fig. 4, which includes memory 401 and processor 402, which is used for Store instruction, the instruction are operated to perform above-mentioned image reading method for control processor 402.
The processor is such as can be central processor CPU, Micro-processor MCV.The memory for example including ROM (only Read memory), RAM (random access memory), the nonvolatile memory etc. of hard disk.
In addition, according to Fig. 4, which can also include interface arrangement 403, input unit 404th, display device 405, communicator 406, the first camera 407, second camera 408 etc..Although it is shown in FIG. 4 Multiple devices, still, projector equipment of the present invention can only relate to partial devices therein, for example, processor 401, memory 402 First camera 407 and second camera 408 etc..
Above-mentioned communicator 406 can for example carry out wired or wireless communication.
Above-mentioned interface arrangement 403 is for example including USB interface.
Above-mentioned input unit 404 is such as can include touch-screen, button.
Above-mentioned display device 405 is, for example, liquid crystal display, touch display screen etc..
The various embodiments described above primary focus describes difference from other examples, but those skilled in the art should be clear Chu, the various embodiments described above can be used alone or be combined with each other as needed.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Point cross-reference, the highlights of each of the examples are difference from other examples, but people in the art Member is it should be understood that the various embodiments described above can be used alone or be combined with each other as needed.In addition, for device For embodiment, since it is corresponding with embodiment of the method, so describing fairly simple, related part is implemented referring to method The explanation of the corresponding part of example.System embodiment described above is only schematical, wherein as separating component The module of explanation may or may not be physically separate.
The present invention can be device, method and/or computer program product.Computer program product can include computer Readable storage medium storing program for executing, containing for make processor realize various aspects of the invention computer-readable program instructions.
Computer readable storage medium can keep and store to perform the tangible of the instruction that uses of equipment by instruction Equipment.Computer readable storage medium for example can be-- but be not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes:Portable computer diskette, hard disk, read-only are deposited random access memory (RAM) It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with the punch card of instruction or groove internal projection structure and above-mentioned any appropriate combination.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted instantaneous signal in itself, and the electromagnetic wave of such as radio wave or other Free propagations leads to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment downloads to outer computer or outer by network, such as internet, LAN, wide area network and/or wireless network Portion's storage device.Network can include copper transmission cable, optical fiber transmission, wireless transmission, router, fire wall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
For perform the computer program instructions that operate of the present invention can be assembly instruction, instruction set architecture (ISA) instruction, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages The source code or object code that any combination is write, programming language of the programming language including object-oriented-such as Procedural programming languages-such as " C " language or similar programming language of Smalltalk, C++ etc. and routine.Computer Readable program instructions can be performed fully, partly perform on the user computer, is only as one on the user computer Vertical software package performs, part performs or on the remote computer completely in remote computer on the user computer for part Or it is performed on server.In the situation for being related to remote computer, remote computer can pass through network-bag of any kind Include LAN (LAN) or wide area network (WAN)-be connected to subscriber computer or, it may be connected to outer computer (such as profit Pass through Internet connection with ISP).In some embodiments, by using computer-readable program instructions Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can perform computer-readable program instructions, so as to fulfill each side of the present invention Face.
Referring herein to according to the method for the embodiment of the present invention, the flow chart of device (system) and computer program product and/ Or block diagram describes various aspects of the invention.It should be appreciated that each box and flow chart of flow chart and/or block diagram and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to all-purpose computer, special purpose computer or other programmable datas The processor of processing unit, so as to produce a kind of machine so that these instructions are passing through computer or other programmable datas When the processor of processing unit performs, generate and realize work(specified in one or more of flow chart and/or block diagram box The device of energy/action.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to Order is so that computer, programmable data processing unit and/or other equipment work in a specific way, so as to be stored with instruction Computer-readable medium then includes a manufacture, including realizing in one or more of flow chart and/or block diagram box The instruction of the various aspects of defined function/action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment so that series of operation steps is performed on computer, other programmable data processing units or miscellaneous equipment, with production Raw computer implemented process, so that performed on computer, other programmable data processing units or miscellaneous equipment Function/action specified in one or more of flow chart and/or block diagram box is realized in instruction.
Flow chart and block diagram in attached drawing show the system, method and computer journey of multiple embodiments according to the present invention Architectural framework in the cards, function and the operation of sequence product.In this regard, each box in flow chart or block diagram can generation One module of table, program segment or a part for instruction, the module, program segment or a part for instruction include one or more use In the executable instruction of logic function as defined in realization.At some as the function of in the realization replaced, being marked in box It can be occurred with being different from the order marked in attached drawing.For example, two continuous boxes can essentially be held substantially in parallel Row, they can also be performed in the opposite order sometimes, this is depending on involved function.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and/or flow chart can use function or dynamic as defined in performing The dedicated hardware based system made is realized or can realized with the combination of specialized hardware and computer instruction.It is right It is well known that, realized for those skilled in the art by hardware mode, realized by software mode and by software and It is all of equal value that the mode of combination of hardware, which is realized,.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport It is best explaining the principle of each embodiment, practical application or to the technological improvement of the technology in market or is leading this technology Other those of ordinary skill in domain are understood that each embodiment disclosed herein.The scope of the present invention is limited by appended claims It is fixed.

Claims (10)

1. a kind of image reading method, which is characterized in that including:
First image right of the first left-side images of the first camera acquisition and second camera acquisition is stored in first In buffering area;
Judge the first synchronous left-side images and the first image right whether are stored in the first buffering area, if so, then:
Read the image of the first buffering area memory storage;
Second image right of the second left-side images of first camera acquisition and second camera acquisition is stored In second buffering area;
Judge the second synchronous left-side images and the second image right whether are stored in the second buffering area, if so, then:
Read the image of the second buffering area memory storage.
2. image reading method according to claim 1, which is characterized in that it is described judge in the first buffering area whether The step of being stored with the first synchronous left-side images and the first image right includes:
It is advance to judge whether the time difference between first left-side images and the acquisition moment of first image right is less than The first threshold of setting, if so, then judging that first left-side images are synchronous with first image right.
3. image reading method according to claim 1, which is characterized in that it is described judge in the second buffering area whether The step of being stored with the second synchronous left-side images and the second image right includes:
It is advance to judge whether the time difference between second left-side images and the acquisition moment of second image right is less than The second threshold of setting, if so, then judging that second left-side images are synchronous with second image right.
4. image reading method according to claim 1, which is characterized in that described image read method further includes:
It is further included before the image for reading the first buffering area memory storage:It deletes nonsynchronous in the first buffering area First left-side images and the first image right;
It is further included before the image for reading the second buffering area memory storage:It deletes nonsynchronous in the second buffering area Second left-side images and the second image right.
5. a kind of image read-out, which is characterized in that including:
First storage module, for first right side of the first left-side images and the second camera acquisition for gathering the first camera Side image is stored in first buffering area;
First judgment module, for judging whether to be stored with the first synchronous left-side images and first right side in the first buffering area Side image;
In the case of being in the judging result of first judgment module, it is slow to read described first for first read module Rush the image of area's memory storage;
Second storage module gathers for the second left-side images for gathering first camera and the second camera The second image right be stored in second buffering area;
Second judgment module, for judging whether to be stored with the second synchronous left-side images and second right side in the second buffering area Side image;And
In the case of being in the judging result of second judgment module, it is slow to read described second for second read module Rush the image of area's memory storage.
6. image read-out according to claim 5, which is characterized in that first judgment module is additionally operable to:
It is advance to judge whether the time difference between first left-side images and the acquisition moment of first image right is less than The threshold value of setting, if so, then judging that first left-side images are synchronous with first image right.
7. image read-out according to claim 5, which is characterized in that second judgment module is additionally operable to:
It is advance to judge whether the time difference between second left-side images and the acquisition moment of second image right is less than The second threshold of setting, if so, then judging that second left-side images are synchronous with second image right.
8. image read-out according to claim 5, which is characterized in that described image reading device further includes:
First removing module, for deleting nonsynchronous first left-side images and the first image right in the first buffering area;
Second removing module, for deleting nonsynchronous second left-side images and the second image right in the second buffering area.
9. a kind of virtual reality device, which is characterized in that including the image read-out any one of claim 5-8.
10. a kind of virtual reality device, which is characterized in that including memory and processor, the memory for storing instruction, Described instruction is used to that the processor to be controlled to be operated to perform the image reading according to any one of claim 1-4 Method.
CN201711271017.0A 2017-12-05 2017-12-05 A kind of image reading method, device and virtual reality device Pending CN108062772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711271017.0A CN108062772A (en) 2017-12-05 2017-12-05 A kind of image reading method, device and virtual reality device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711271017.0A CN108062772A (en) 2017-12-05 2017-12-05 A kind of image reading method, device and virtual reality device

Publications (1)

Publication Number Publication Date
CN108062772A true CN108062772A (en) 2018-05-22

Family

ID=62135880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711271017.0A Pending CN108062772A (en) 2017-12-05 2017-12-05 A kind of image reading method, device and virtual reality device

Country Status (1)

Country Link
CN (1) CN108062772A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102197655A (en) * 2009-06-10 2011-09-21 Lg电子株式会社 Stereoscopic image reproduction method in case of pause mode and stereoscopic image reproduction apparatus using same
CN102215416A (en) * 2010-04-09 2011-10-12 汤姆森特许公司 Method for processing stereoscopic images and corresponding device
CN107135330A (en) * 2017-07-04 2017-09-05 广东工业大学 A kind of method and apparatus of video frame synchronization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102197655A (en) * 2009-06-10 2011-09-21 Lg电子株式会社 Stereoscopic image reproduction method in case of pause mode and stereoscopic image reproduction apparatus using same
CN102215416A (en) * 2010-04-09 2011-10-12 汤姆森特许公司 Method for processing stereoscopic images and corresponding device
CN107135330A (en) * 2017-07-04 2017-09-05 广东工业大学 A kind of method and apparatus of video frame synchronization

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
原始人工作室著: "《煮酒论Android》", 31 August 2014, 北京:北京工业大学出版社 *
黄宗祺,陆文栋 主编;祝向群 编: "《核物理与核医学仪器 初版》", 30 November 1955 *

Similar Documents

Publication Publication Date Title
US20160011755A1 (en) User interface usage simulation generation and presentation
CN104822077B (en) The operation method and client of client
CN105578104B (en) A kind of more video card video data handling procedures and device
CN104091607A (en) Video editing method and device based on IOS equipment
US11816891B2 (en) Video recognition method and apparatus, electronic device and storage medium
US20170149857A1 (en) Systems and methods for transmitting data
WO2023071801A1 (en) Animation generation method and apparatus, computer device, storage medium, computer program, and computer program product
CN106331823B (en) A kind of video broadcasting method and device
WO2019047663A1 (en) Video format-based end-to-end automatic driving data storage method and device
US20140198177A1 (en) Realtime photo retouching of live video
CN107959845A (en) The method, apparatus of view data transmission, client terminal device and wear display device
KR102493860B1 (en) Methods, systems, and media for generating compressed images
CN105323624B (en) A kind of methods, devices and systems of recorded video
CN108062772A (en) A kind of image reading method, device and virtual reality device
Hänel et al. Interactive volume rendering for immersive virtual environments
CN106412505A (en) Video display method and apparatus in P2P mode
CN111726671A (en) Method, equipment and electronic equipment for playing media information
CN113691835B (en) Video implantation method, device, equipment and computer readable storage medium
CN106713927B (en) Image output device, method and decoder
CN105809659B (en) A kind of video detecting method and device
US20210110554A1 (en) Systems, methods, and computer program products for digital photography using a neural network
CN106385577A (en) Split screen display method under recovery mode, device and virtual reality device
CN106887036A (en) A kind of synchronous method for head mounted display, device and head mounted display
US20150160836A1 (en) Extracting demonstrations from in-situ video content
CN113850888A (en) Image processing method and device, electronic equipment and storage medium

Legal Events

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

Application publication date: 20180522

RJ01 Rejection of invention patent application after publication