CN118096648A - Scene depth measurement method and device - Google Patents
Scene depth measurement method and device Download PDFInfo
- Publication number
- CN118096648A CN118096648A CN202410045096.7A CN202410045096A CN118096648A CN 118096648 A CN118096648 A CN 118096648A CN 202410045096 A CN202410045096 A CN 202410045096A CN 118096648 A CN118096648 A CN 118096648A
- Authority
- CN
- China
- Prior art keywords
- image
- scene
- data
- measurement information
- depth data
- 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
Links
- 238000000691 measurement method Methods 0.000 title claims abstract description 12
- 238000005259 measurement Methods 0.000 claims abstract description 81
- 238000006243 chemical reaction Methods 0.000 claims abstract description 72
- 238000000034 method Methods 0.000 claims abstract description 32
- 238000012795 verification Methods 0.000 claims abstract description 19
- 230000006870 function Effects 0.000 claims description 30
- 230000003044 adaptive effect Effects 0.000 claims description 24
- 238000004364 calculation method Methods 0.000 abstract description 17
- 230000008569 process Effects 0.000 abstract description 10
- 238000000354 decomposition reaction Methods 0.000 abstract description 8
- 238000012545 processing Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 13
- 230000008878 coupling Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/62—Analysis of geometric attributes of area, perimeter, diameter or volume
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10028—Range image; Depth image; 3D point clouds
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Quality & Reliability (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a scene depth measurement method and device. Wherein the method comprises the following steps: acquiring scene measurement information and image acquisition data; splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data; generating scene depth data from the image plane data and the image depth data; and carrying out matching verification on the scene depth data and the scene measurement information to obtain a verification result. The method solves the technical problems that in the prior art, when scene parameter measurement is carried out, model conversion and calculation are usually carried out only according to collected image data, estimated scene depth is obtained, calculation can not be carried out more accurately aiming at decomposition parameters of the image data, and accuracy and quality in the scene depth measurement process are reduced.
Description
Technical Field
The invention relates to the field of scene image monitoring and measuring, in particular to a scene depth measuring method and device.
Background
Along with the continuous development of intelligent science and technology, intelligent equipment is increasingly used in life, work and study of people, and the quality of life of people is improved and the learning and working efficiency of people is increased by using intelligent science and technology means.
At present, when monitoring a scene light camera, scene data calculation or detection is usually performed according to high-pixel image data collected by the light camera, but in the prior art, when scene parameter measurement is performed, model conversion and calculation are often only directly performed according to the collected image data, so that estimated scene depth is obtained, calculation can not be performed more accurately according to decomposition parameters of the image data, and accuracy and quality in the scene depth measurement process are reduced.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a scene depth measuring method and device, which at least solve the technical problems that in the prior art, when scene parameter measurement is carried out, model conversion and calculation are usually carried out only according to collected image data, so as to obtain estimated scene depth, calculation can not be carried out more accurately aiming at decomposition parameters of the image data, and the accuracy and quality in the scene depth measuring process are reduced.
According to an aspect of an embodiment of the present invention, there is provided a scene depth measurement method including: acquiring scene measurement information and image acquisition data; splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data; generating scene depth data from the image plane data and the image depth data; and carrying out matching verification on the scene depth data and the scene measurement information to obtain a verification result.
Optionally, the scene measurement information includes: scene aspect ratio information and scene actual size information.
Optionally, the splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data includes: inputting the data elements in the scene measurement information into an image conversion adaptive function to obtain image conversion parameters, wherein the image conversion adaptive function is used for converting physical elements into pixel cutting elements, and the image conversion adaptive function comprises:
Wherein z max is an image conversion parameter, x and y are physical coordinate dimensions based on the transverse direction and the longitudinal direction in scene measurement information, z xy is a pixel abscissa parameter acting on an image, n 1 and n 2 represent the number of longitudinal image conversion layer stages, and m 1 and m 2 represent the number of transverse image conversion layer stages, wherein n 1<n2,m1<m2; and generating the image plane data and the image depth data according to the image conversion parameters.
Optionally, the generating scene depth data by the image plane data and the image depth data includes: determining an image longitudinal reference point according to the image plane data; generating the scene depth data according to the image longitudinal datum point and the image depth data.
According to another aspect of the embodiment of the present invention, there is also provided a scene depth measurement apparatus, including: the acquisition module is used for acquiring scene measurement information and image acquisition data; the splitting module is used for splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data; a generation module for generating scene depth data from the image plane data and the image depth data; and the matching module is used for carrying out matching verification on the scene depth data and the scene measurement information to obtain a verification result.
Optionally, the scene measurement information includes: scene aspect ratio information and scene actual size information.
Optionally, the splitting module includes: the input unit is used for inputting the data elements in the scene measurement information into an image conversion adaptive function to obtain image conversion parameters, wherein the image conversion adaptive function is used for converting physical elements into pixel cutting elements, and the image conversion adaptive function comprises:
Wherein z max is an image conversion parameter, x and y are physical coordinate dimensions based on the transverse direction and the longitudinal direction in scene measurement information, z xy is a pixel abscissa parameter acting on an image, n 1 and n 2 represent the number of longitudinal image conversion layer stages, and m 1 and m 2 represent the number of transverse image conversion layer stages, wherein n 1<n2,m1<m2; and the generating unit is used for generating the image plane data and the image depth data according to the image conversion parameters.
Optionally, the generating module includes: a determining unit configured to determine an image longitudinal reference point from the image plane data; and the generating unit is used for generating the scene depth data according to the image longitudinal datum point and the image depth data.
According to another aspect of the embodiment of the present invention, there is also provided a nonvolatile storage medium, where the nonvolatile storage medium includes a stored program, and when the program runs, the program controls a device in which the nonvolatile storage medium is located to execute a scene depth measurement method.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device including a processor and a memory; the memory stores computer readable instructions, and the processor is configured to execute the computer readable instructions, where the computer readable instructions execute a scene depth measurement method when executed.
In the embodiment of the invention, scene measurement information and image acquisition data are acquired; splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data; generating scene depth data from the image plane data and the image depth data; the scene depth data and the scene measurement information are matched and verified to obtain a verification result, so that the technical problems that in the prior art, when scene parameter measurement is carried out, model conversion and calculation are usually carried out directly only according to collected image data, estimated scene depth is obtained, calculation cannot be carried out more accurately according to decomposition parameters of the image data, and accuracy and quality in the scene depth measurement process are reduced are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flow chart of a scene depth measurement method according to an embodiment of the invention;
FIG. 2 is a block diagram of a scene depth measurement device according to an embodiment of the invention;
Fig. 3 is a block diagram of a terminal device for performing the method according to the invention according to an embodiment of the invention;
Fig. 4 is a memory unit for holding or carrying program code for implementing a method according to the invention, according to an embodiment of the invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the present invention, there is provided a method embodiment of a scene depth measurement method, it being noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that herein.
Example 1
Fig. 1 is a flowchart of a scene depth measurement method according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
Step S102, scene measurement information and image acquisition data are acquired.
And step S104, splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data.
Step S106, generating scene depth data from the image plane data and the image depth data.
Step S108, matching and verifying the scene depth data and the scene measurement information to obtain a verification result
Optionally, the scene measurement information includes: scene aspect ratio information and scene actual size information.
Optionally, the splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data includes: inputting the data elements in the scene measurement information into an image conversion adaptive function to obtain image conversion parameters, wherein the image conversion adaptive function is used for converting physical elements into pixel cutting elements, and the image conversion adaptive function comprises:
Wherein z max is an image conversion parameter, x and y are physical coordinate dimensions based on the transverse direction and the longitudinal direction in scene measurement information, z xy is a pixel abscissa parameter acting on an image, n 1 and n 2 represent the number of longitudinal image conversion layer stages, and m 1 and m 2 represent the number of transverse image conversion layer stages, wherein n 1<n2,m1<m2; and generating the image plane data and the image depth data according to the image conversion parameters.
Optionally, the generating scene depth data by the image plane data and the image depth data includes: determining an image longitudinal reference point according to the image plane data; generating the scene depth data according to the image longitudinal datum point and the image depth data.
Specifically, in order to solve the technical problems that in the prior art, when scene parameter measurement is performed, model conversion and calculation are often performed directly only according to collected image data to obtain estimated scene depth, calculation cannot be performed more accurately on decomposition parameters of the image data, accuracy and quality in the scene depth measurement process are reduced, scene measurement information collected by a high-precision camera system and image collection data are required to be summarized, split processing is performed to obtain image depth data which can be used for scene depth data generation, and verification is performed in cooperation with the scene measurement information when scene depth data are obtained to obtain optimal accurate scene depth data.
Through the embodiment, the technical problems that in the prior art, when scene parameter measurement is carried out, model conversion and calculation are usually carried out only according to collected image data, estimated scene depth is obtained, calculation can not be carried out more accurately aiming at decomposition parameters of the image data, and accuracy and quality in the scene depth measurement process are reduced are solved.
Example two
Fig. 2 is a block diagram of a scene depth measuring apparatus according to an embodiment of the present invention, as shown in fig. 2, the apparatus including:
The acquisition module 20 is configured to acquire scene measurement information and image acquisition data.
The splitting module 22 is configured to split the image acquisition data according to the scene measurement information, so as to obtain image plane data and image depth data.
A generating module 24 is configured to generate scene depth data from the image plane data and the image depth data.
A matching module 26 for matching and verifying the scene depth data and the scene measurement information to obtain a verification result
Optionally, the scene measurement information includes: scene aspect ratio information and scene actual size information.
Optionally, the splitting module includes: the input unit is used for inputting the data elements in the scene measurement information into an image conversion adaptive function to obtain image conversion parameters, wherein the image conversion adaptive function is used for converting physical elements into pixel cutting elements, and the image conversion adaptive function comprises:
Wherein z max is an image conversion parameter, x and y are physical coordinate dimensions based on the transverse direction and the longitudinal direction in scene measurement information, z xy is a pixel abscissa parameter acting on an image, n 1 and n 2 represent the number of longitudinal image conversion layer stages, and m 1 and m 2 represent the number of transverse image conversion layer stages, wherein n 1<n2,m1<m2; and the generating unit is used for generating the image plane data and the image depth data according to the image conversion parameters.
Optionally, the generating module includes: a determining unit configured to determine an image longitudinal reference point from the image plane data; and the generating unit is used for generating the scene depth data according to the image longitudinal datum point and the image depth data.
Specifically, in order to solve the technical problems that in the prior art, when scene parameter measurement is performed, model conversion and calculation are often performed directly only according to collected image data to obtain estimated scene depth, calculation cannot be performed more accurately on decomposition parameters of the image data, accuracy and quality in the scene depth measurement process are reduced, scene measurement information collected by a high-precision camera system and image collection data are required to be summarized, split processing is performed to obtain image depth data which can be used for scene depth data generation, and verification is performed in cooperation with the scene measurement information when scene depth data are obtained to obtain optimal accurate scene depth data.
Through the embodiment, the technical problems that in the prior art, when scene parameter measurement is carried out, model conversion and calculation are usually carried out only according to collected image data, estimated scene depth is obtained, calculation can not be carried out more accurately aiming at decomposition parameters of the image data, and accuracy and quality in the scene depth measurement process are reduced are solved.
According to another aspect of the embodiment of the present invention, there is also provided a nonvolatile storage medium, where the nonvolatile storage medium includes a stored program, and when the program runs, the program controls a device in which the nonvolatile storage medium is located to execute a scene depth measurement method.
Specifically, the method comprises the following steps: acquiring scene measurement information and image acquisition data; splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data; generating scene depth data from the image plane data and the image depth data; and carrying out matching verification on the scene depth data and the scene measurement information to obtain a verification result. Optionally, the scene measurement information includes: scene aspect ratio information and scene actual size information. Optionally, the splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data includes: inputting the data elements in the scene measurement information into an image conversion adaptive function to obtain image conversion parameters, wherein the image conversion adaptive function is used for converting physical elements into pixel cutting elements, and the image conversion adaptive function comprises:
Wherein z max is an image conversion parameter, x and y are physical coordinate dimensions based on the transverse direction and the longitudinal direction in scene measurement information, z xy is a pixel abscissa parameter acting on an image, n 1 and n 2 represent the number of longitudinal image conversion layer stages, and m 1 and m 2 represent the number of transverse image conversion layer stages, wherein n 1<n2,m1<m2; and generating the image plane data and the image depth data according to the image conversion parameters. Optionally, the generating scene depth data by the image plane data and the image depth data includes: determining an image longitudinal reference point according to the image plane data; generating the scene depth data according to the image longitudinal datum point and the image depth data.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device including a processor and a memory; the memory stores computer readable instructions, and the processor is configured to execute the computer readable instructions, where the computer readable instructions execute a scene depth measurement method when executed.
Specifically, the method comprises the following steps: acquiring scene measurement information and image acquisition data; splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data; generating scene depth data from the image plane data and the image depth data; and carrying out matching verification on the scene depth data and the scene measurement information to obtain a verification result. Optionally, the scene measurement information includes: scene aspect ratio information and scene actual size information. Optionally, the splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data includes: inputting the data elements in the scene measurement information into an image conversion adaptive function to obtain image conversion parameters, wherein the image conversion adaptive function is used for converting physical elements into pixel cutting elements, and the image conversion adaptive function comprises:
Wherein z max is an image conversion parameter, x and y are physical coordinate dimensions based on the transverse direction and the longitudinal direction in scene measurement information, z xy is a pixel abscissa parameter acting on an image, n 1 and n 2 represent the number of longitudinal image conversion layer stages, and m 1 and m 2 represent the number of transverse image conversion layer stages, wherein n 1<n2,m1<m2; and generating the image plane data and the image depth data according to the image conversion parameters. Optionally, the generating scene depth data by the image plane data and the image depth data includes: determining an image longitudinal reference point according to the image plane data; generating the scene depth data according to the image longitudinal datum point and the image depth data.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, fig. 3 is a schematic hardware structure of a terminal device according to an embodiment of the present application. As shown in fig. 3, the terminal device may include an input device 30, a processor 31, an output device 32, a memory 33, and at least one communication bus 34. The communication bus 34 is used to enable communication connections between the elements. The memory 33 may comprise a high-speed RAM memory or may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, in which various programs may be stored for performing various processing functions and implementing the method steps of the present embodiment.
Alternatively, the processor 31 may be implemented as, for example, a central processing unit (Central Processing Unit, abbreviated as CPU), an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and the processor 31 is coupled to the input device 30 and the output device 32 through wired or wireless connections.
Alternatively, the input device 30 may include a variety of input devices, for example, may include at least one of a user-oriented user interface, a device-oriented device interface, a programmable interface of software, a camera, and a sensor. Optionally, the device interface facing the device may be a wired interface for data transmission between devices, or may be a hardware insertion interface (such as a USB interface, a serial port, etc.) for data transmission between devices; alternatively, the user-oriented user interface may be, for example, a user-oriented control key, a voice input device for receiving voice input, and a touch-sensitive device (e.g., a touch screen, a touch pad, etc. having touch-sensitive functionality) for receiving user touch input by a user; optionally, the programmable interface of the software may be, for example, an entry for a user to edit or modify a program, for example, an input pin interface or an input interface of a chip, etc.; optionally, the transceiver may be a radio frequency transceiver chip, a baseband processing chip, a transceiver antenna, etc. with a communication function. An audio input device such as a microphone may receive voice data. The output device 32 may include a display, audio, or the like.
In this embodiment, the processor of the terminal device may include functions for executing each module of the data processing apparatus in each device, and specific functions and technical effects may be referred to the above embodiments and are not described herein again.
Fig. 4 is a schematic hardware structure of a terminal device according to another embodiment of the present application. Fig. 4 is a specific embodiment of the implementation of fig. 3. As shown in fig. 4, the terminal device of the present embodiment includes a processor 41 and a memory 42.
The processor 41 executes the computer program code stored in the memory 42 to implement the methods of the above-described embodiments.
The memory 42 is configured to store various types of data to support operation at the terminal device. Examples of such data include instructions for any application or method operating on the terminal device, such as messages, pictures, video, etc. The memory 42 may include random access memory (random access memory, simply RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Optionally, a processor 41 is provided in the processing assembly 40. The terminal device may further include: a communication component 43, a power supply component 44, a multimedia component 45, an audio component 46, an input/output interface 47 and/or a sensor component 48. The components and the like specifically included in the terminal device are set according to actual requirements, which are not limited in this embodiment.
The processing component 40 generally controls the overall operation of the terminal device. The processing component 40 may include one or more processors 41 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 40 may include one or more modules that facilitate interactions between the processing component 40 and other components. For example, processing component 40 may include a multimedia module to facilitate interaction between multimedia component 45 and processing component 40.
The power supply assembly 44 provides power to the various components of the terminal device. Power supply components 44 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for terminal devices.
The multimedia component 45 comprises a display screen between the terminal device and the user providing an output interface. In some embodiments, the display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the display screen includes a touch panel, the display screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation.
The audio component 46 is configured to output and/or input audio signals. For example, the audio component 46 includes a Microphone (MIC) configured to receive external audio signals when the terminal device is in an operational mode, such as a speech recognition mode. The received audio signals may be further stored in the memory 42 or transmitted via the communication component 43. In some embodiments, audio assembly 46 further includes a speaker for outputting audio signals.
The input/output interface 47 provides an interface between the processing assembly 40 and peripheral interface modules, which may be click wheels, buttons, etc. These buttons may include, but are not limited to: volume button, start button and lock button.
The sensor assembly 48 includes one or more sensors for providing status assessment of various aspects for the terminal device. For example, the sensor assembly 48 may detect the open/closed state of the terminal device, the relative positioning of the assembly, the presence or absence of user contact with the terminal device. The sensor assembly 48 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact, including detecting the distance between the user and the terminal device. In some embodiments, the sensor assembly 48 may also include a camera or the like.
The communication component 43 is configured to facilitate communication between the terminal device and other devices in a wired or wireless manner. The terminal device may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one embodiment, the terminal device may include a SIM card slot, where the SIM card slot is used to insert a SIM card, so that the terminal device may log into a GPRS network, and establish communication with a server through the internet.
From the above, it will be appreciated that the communication component 43, the audio component 46, and the input/output interface 47, the sensor component 48 referred to in the embodiment of fig. 4 may be implemented as an input device in the embodiment of fig. 3.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.
Claims (10)
1. A scene depth measurement method, comprising:
acquiring scene measurement information and image acquisition data;
Splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data;
generating scene depth data from the image plane data and the image depth data;
And carrying out matching verification on the scene depth data and the scene measurement information to obtain a verification result.
2. The method of claim 1, wherein the scene measurement information comprises: scene aspect ratio information and scene actual size information.
3. The method of claim 1, wherein splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data comprises:
Inputting the data elements in the scene measurement information into an image conversion adaptive function to obtain image conversion parameters, wherein the image conversion adaptive function is used for converting physical elements into pixel cutting elements, and the image conversion adaptive function comprises:
Wherein z max is an image conversion parameter, x and y are physical coordinate dimensions based on the transverse direction and the longitudinal direction in scene measurement information, z xy is a pixel abscissa parameter acting on an image, n 1 and n 2 represent the number of longitudinal image conversion layer stages, and m 1 and m 2 represent the number of transverse image conversion layer stages, wherein n 1<n2,m1<m2;
and generating the image plane data and the image depth data according to the image conversion parameters.
4. The method of claim 1, wherein generating scene depth data from the image plane data and the image depth data comprises:
Determining an image longitudinal reference point according to the image plane data;
Generating the scene depth data according to the image longitudinal datum point and the image depth data.
5. A scene depth measurement device, comprising:
The acquisition module is used for acquiring scene measurement information and image acquisition data;
the splitting module is used for splitting the image acquisition data according to the scene measurement information to obtain image plane data and image depth data;
a generation module for generating scene depth data from the image plane data and the image depth data;
And the matching module is used for carrying out matching verification on the scene depth data and the scene measurement information to obtain a verification result.
6. The apparatus of claim 5, wherein the scene measurement information comprises: scene aspect ratio information and scene actual size information.
7. The apparatus of claim 5, wherein the splitting module comprises:
The input unit is used for inputting the data elements in the scene measurement information into an image conversion adaptive function to obtain image conversion parameters, wherein the image conversion adaptive function is used for converting physical elements into pixel cutting elements, and the image conversion adaptive function comprises:
Wherein z max is an image conversion parameter, x and y are physical coordinate dimensions based on the transverse direction and the longitudinal direction in scene measurement information, z xy is a pixel abscissa parameter acting on an image, n 1 and n 2 represent the number of longitudinal image conversion layer stages, and m 1 and m 2 represent the number of transverse image conversion layer stages, wherein n 1<n2,m1<m2;
and the generating unit is used for generating the image plane data and the image depth data according to the image conversion parameters.
8. The apparatus of claim 5, wherein the generating module comprises:
a determining unit configured to determine an image longitudinal reference point from the image plane data;
And the generating unit is used for generating the scene depth data according to the image longitudinal datum point and the image depth data.
9. A non-volatile storage medium, characterized in that the non-volatile storage medium comprises a stored program, wherein the program, when run, controls a device in which the non-volatile storage medium is located to perform the method of any one of claims 1to 4.
10. An electronic device comprising a processor and a memory; the memory has stored therein computer readable instructions for executing the processor, wherein the computer readable instructions when executed perform the method of any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410045096.7A CN118096648A (en) | 2024-01-12 | 2024-01-12 | Scene depth measurement method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410045096.7A CN118096648A (en) | 2024-01-12 | 2024-01-12 | Scene depth measurement method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118096648A true CN118096648A (en) | 2024-05-28 |
Family
ID=91160872
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410045096.7A Pending CN118096648A (en) | 2024-01-12 | 2024-01-12 | Scene depth measurement method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118096648A (en) |
-
2024
- 2024-01-12 CN CN202410045096.7A patent/CN118096648A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115375582A (en) | Moire digestion method and device based on low-order Taylor decomposition | |
CN116614453B (en) | Image transmission bandwidth selection method and device based on cloud interconnection | |
CN118096648A (en) | Scene depth measurement method and device | |
CN116468883B (en) | High-precision image data volume fog recognition method and device | |
CN116302041B (en) | Optimization method and device for light field camera interface module | |
CN115914819B (en) | Picture capturing method and device based on orthogonal decomposition algorithm | |
CN116723419B (en) | Acquisition speed optimization method and device for billion-level high-precision camera | |
CN115187570B (en) | Singular traversal retrieval method and device based on DNN deep neural network | |
CN116579965B (en) | Multi-image fusion method and device | |
CN116389915B (en) | Method and device for reducing flicker of light field camera | |
CN115460210B (en) | Intelligent platform analysis method and device based on big data | |
CN115205313B (en) | Picture optimization method and device based on least square algorithm | |
CN116485912B (en) | Multi-module coordination method and device for light field camera | |
CN115511735B (en) | Snow field gray scale picture optimization method and device | |
CN116228593B (en) | Image perfecting method and device based on hierarchical antialiasing | |
CN115345808B (en) | Picture generation method and device based on multi-element information acquisition | |
CN115809006B (en) | Method and device for controlling manual instructions through picture | |
CN118415596A (en) | Sleep monitoring method and device | |
CN116088580B (en) | Flying object tracking method and device | |
CN117896625A (en) | Picture imaging method and device based on low-altitude high-resolution analysis | |
CN116452481A (en) | Multi-angle combined shooting method and device | |
CN118415595A (en) | Sleep apnea identification method and device | |
CN116389887A (en) | Dynamic optimization-based light field camera configuration method and device | |
CN115700554A (en) | Testing method and device for internet big data verification | |
CN116595011A (en) | Big data management method and system |
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 |