CN114554108A - Image processing method and device and electronic equipment - Google Patents

Image processing method and device and electronic equipment Download PDF

Info

Publication number
CN114554108A
CN114554108A CN202210173997.5A CN202210173997A CN114554108A CN 114554108 A CN114554108 A CN 114554108A CN 202210173997 A CN202210173997 A CN 202210173997A CN 114554108 A CN114554108 A CN 114554108A
Authority
CN
China
Prior art keywords
shooting
house
module
shooting module
bus
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.)
Granted
Application number
CN202210173997.5A
Other languages
Chinese (zh)
Other versions
CN114554108B (en
Inventor
王丽丽
苏安东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network 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 Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202210173997.5A priority Critical patent/CN114554108B/en
Publication of CN114554108A publication Critical patent/CN114554108A/en
Application granted granted Critical
Publication of CN114554108B publication Critical patent/CN114554108B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0007Image acquisition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/04Architectural design, interior design

Abstract

The embodiment of the disclosure discloses an image processing method and device and an electronic device. One embodiment of the method comprises: determining the arrangement positions of the shooting modules inserted into each bus, wherein the shooting modules in different arrangement positions are used for shooting house images in different directions; shooting the house image at the current position in the house room by using each shooting module at different arrangement positions respectively; a three-dimensional model of the house is generated from images of the house taken at different orientations at a plurality of locations within the house room, wherein the plurality of locations includes the current location. Thus, the effect of the generated three-dimensional model of the house can be improved.

Description

Image processing method and device and electronic equipment
Technical Field
The embodiment of the disclosure relates to the technical field of computers, and in particular relates to an image processing method and device and an electronic device.
Background
In practice, a user may browse premise information on some premise selling or leasing platforms to learn about the premise to be sold or leased.
For example, a user may browse a three-dimensional model of a house on the platform. In a related manner, a house three-dimensional model can be generated from a captured house image. Therefore, the manner of capturing the house image is closely related to the generation of the three-dimensional house model.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides an image processing method and device and electronic equipment, which can improve the effect of a generated house three-dimensional model.
In a first aspect, an embodiment of the present disclosure provides an image processing method applied to a shooting device, where the shooting device has multiple buses connected to a motherboard thereof, and each bus is inserted with a shooting module, the method including: determining the arrangement positions of the shooting modules inserted into each bus, wherein the shooting modules in different arrangement positions are used for shooting house images in different directions; shooting the house image at the current position in the house room by using each shooting module at different arrangement positions respectively; a three-dimensional model of the house is generated from images of the house taken at different orientations at a plurality of locations within the house room, wherein the plurality of locations includes the current location.
In a second aspect, an embodiment of the present disclosure provides an image processing apparatus applied to a shooting device, where the shooting device has multiple buses connected to a main board thereof, and each bus has a shooting module inserted therein, the apparatus including: the determining unit is used for determining the arrangement positions of the shooting modules inserted into each bus, wherein the shooting modules in different arrangement positions are used for shooting house images in different directions; the shooting unit is used for shooting house images at the current position in the house room by using each shooting module at different arrangement positions; and a transmitting unit for generating a house three-dimensional model from house images of different directions photographed at a plurality of positions including the current position in the house room.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the image processing method according to the first aspect.
In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the image processing method according to the first aspect.
According to the image processing method and device and the electronic equipment, the shooting equipment is provided with the plurality of buses, and the shooting module is inserted into each bus respectively. The shooting module has corresponding arrangement position on the shooting equipment, and the shooting module of different arrangement positions is used for shooting the house image in different positions. Thus, the house image in different directions can be shot at the current position in the house room by using the shooting module inserted into the shooting equipment. Thus, the comprehensiveness of capturing the house image at the current position can be improved. Further, the effect of the generated three-dimensional model of the house can be improved from house images of different directions taken at a plurality of positions in the house room.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a flow diagram of one embodiment of an image processing method of the present disclosure;
FIG. 2 is a flow diagram of an image processing method of the present disclosure to generate a three-dimensional model of a house in one embodiment;
FIG. 3A is a flow diagram of an image processing method of the present disclosure associating a module name with path information in one embodiment;
FIG. 3B is a flow diagram of an image processing method of the present disclosure in one embodiment for capturing images of a house using a capture module;
FIG. 4 is a schematic block diagram of one embodiment of an image processing apparatus of the present disclosure;
FIG. 5 is an exemplary system architecture to which the image processing method of the present disclosure may be applied in one embodiment;
fig. 6 is a schematic diagram of a basic structure of an electronic device provided by an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Referring to fig. 1, a flow of an embodiment of an image processing method of the present disclosure is shown. As shown in fig. 1, the image processing method, applied to a photographing apparatus, includes the steps of:
step 101, determining the arrangement position of the shooting module inserted into each bus.
The photographing apparatus has a plurality of buses connected to a main board thereof. Wherein, every bus has inserted and has shot the module. It is thus clear that through the bus, can be with shooting module and shooting equipment's mainboard connection.
The shooting module inserted into each bus can be pulled out. Moreover, the same shooting module can be inserted into any bus.
The shooting modules at different arrangement positions are used for shooting house images in different directions. The arrangement position is the position where the shooting modules are arranged on the shooting equipment. The house image may be an image taken in the room of the house. It is thus clear that the same position in the house room can be shot the house image in different positions using different shooting modules.
Alternatively, the photographing apparatus has three buses, which are arranged at upper, middle, and lower positions of a photographing module inserted into the photographing apparatus. The shooting module that the range leaned on can be used for shooting the image at house top, arranges the shooting module in the centre, can be used for shooting the image of house wall, arranges the shooting module that leans on, can be used for shooting the image on house ground.
In some alternative implementations, the arrangement position of the photographing module inserted by each bus is determined in response to the photographing apparatus being started.
And 102, shooting the house image at the current position in the house room by using each shooting module at different arrangement positions respectively.
In practice, at least one image of the house can be taken at the current position in the room of the house using each camera module separately. This makes it possible to capture at least one house image in the same direction at the current position, and thereby capture house images in different directions at the current position.
Step 103, generating a house three-dimensional model according to house images of different directions shot at a plurality of positions in the house room.
The three-dimensional model of the house may be a three-dimensional model characterizing the layout of the house indoors.
In practice, the house image may be taken at a plurality of locations within the house room using each of the camera modules, respectively. Wherein the plurality of positions includes the current position.
In some scenarios, a three-dimensional model of the house may be generated locally at the capture device from images of the house taken at different orientations at the plurality of locations.
In the present embodiment, the house image is captured at the current position in the house room using the shooting modules inserted in the shooting devices at different arrangement positions, thereby capturing the house image in different directions at the current position. Thus, the comprehensiveness of capturing the house image at the current position can be improved. Further, the effect of the generated three-dimensional model of the house can be improved from house images of different directions taken at a plurality of positions in the house room.
In some embodiments, the shooting ranges of two shooting modules adjacent in arrangement position partially overlap. Therefore, the comprehensiveness of the shot house indoor information can be further ensured, and the effect of the generated house three-dimensional model is further improved.
In some embodiments, the arrangement position of the photographing module inserted per bus may be determined in the following manner.
In the first step, the bus name of each bus is obtained.
And secondly, determining the arrangement position of the shooting module inserted into each bus according to the bus name of the bus.
In practice, each bus is used for inserting a shooting module at a corresponding arrangement position. As an example, the photographing apparatus has A, B, C three buses. The bus A is used for inserting the shooting modules arranged on the upper side. The bus B is used for inserting the shooting modules arranged in the middle. The bus C is used for inserting the shooting modules arranged at the lower part.
In some scenarios, the bus name of each bus is respectively associated with the arrangement position of the shooting module inserted by the bus. Therefore, the arrangement position of the camera module inserted into the bus can be determined according to the bus name of the bus.
Therefore, in the scene of identifying the house image according to the arrangement position of the shooting modules, the arrangement position of the shooting module with the bus inserted can be determined according to the bus name of the bus.
In some embodiments, a three-dimensional model of a house may be generated according to the process illustrated in FIG. 2. The process includes the following steps.
Step 201, naming the house image shot at the current position by using each shooting module respectively.
The name of the house image is used to determine the shooting orientation of the house image. Thus, the shooting orientation of the house image can be determined based on the name of the house image.
Step 202, sending the house image shot at the current position to a target device, so that the target device determines the shooting direction of each house image shot at the current position according to the name of the house image, and generates a house three-dimensional model according to the house images shot at the positions and with different directions.
The target device may be a terminal device or a server. In practice, the house image may be taken using each of the camera modules separately at each of the above-mentioned plurality of positions. Also, the house image taken at each of the plurality of positions may be named separately. Then, the house image taken at each of the plurality of positions may be transmitted to the target apparatus.
Therefore, the house images in different directions shot at the same position in the house room can be distinguished by naming the house images. For a plurality of house images shot at the same position, the target device can quickly determine the shooting direction of each house image according to the name of the house image. Therefore, the efficiency of generating the house three-dimensional model by the target equipment can be improved.
In some embodiments, the naming of the house image shot at the current position by each shooting module respectively includes: and naming the house image shot by the shooting module at the current position according to the arrangement position of the shooting module for each shooting module.
In some scenarios, the house image may be named to include a character for representing the arrangement position of the shooting module. As an example, the name of the top-ranked camera module may include the character "up", the name of the middle-ranked camera module may include the character "middle", and the name of the bottom-ranked camera module may include the character "down".
Here, the target device may quickly determine the arrangement position of the photographing module group according to the name of the house image, thereby quickly determining the photographing orientation of the house image.
Therefore, no matter which bus is inserted into the same shooting module, the same shooting module can name the house image shot by the shooting module according to the arrangement position of the shooting module, so that the shooting direction of the house image is indicated. Thus, the applicable range of the shooting orientation for indicating the house image can be widened.
In some embodiments, each camera module is provided with a corresponding serial number. The above-mentioned house image that uses every shooting module to shoot at above-mentioned current position of naming respectively includes: and for each shooting module, scanning the serial number set on the shooting module, and naming the house image shot by the shooting module according to the serial number set on the shooting module.
The serial number may be a character string for uniquely identifying one photographing module.
In some scenarios, the serial number of the shooting module can be directly named as the house image shot by using the shooting module.
Here, the target device may determine a shooting module for shooting the house image according to the name of the house image, and further may determine an arrangement position of the shooting module, thereby determining the shooting orientation of the house image according to the arrangement position of the shooting module.
Therefore, when the serial number is arranged on the shooting module, the house image shot by the shooting module can be named by using the serial number. Therefore, the house image shot by the shooting module can be named simply.
In some embodiments, the following steps included in the flow illustrated in FIG. 3A may also be performed.
Step 301, generating path information corresponding to each shooting module respectively.
The path information is used for acquiring the registration information of the shooting module. The registration information is information registered by the shooting module on the shooting equipment.
In practice, after the photographing module is inserted into the photographing apparatus, information of the photographing module needs to be registered on the photographing apparatus. The registration information may include relevant parameters of the camera module (e.g., the focal length of the camera).
Step 302, respectively setting the module name of each shooting module.
As an example, three photographing modules are inserted into the photographing apparatus. The module names of the three photographing modules may be set as camera1, camera2, and camera3, respectively.
Step 303, for each shooting module, associating the module name of the shooting module with the path information corresponding to the shooting module.
In practice, the path information is complex and the module name is simple. It is thus possible to associate simple module names with complex path information.
Here, the above-described photographing of the house image at the current position in the house room using each of the photographing modules of the different arrangement positions, respectively, may be performed according to the flow shown in fig. 3B. The process includes the following steps.
Step 304, for each shooting module without arranging positions, determining path information corresponding to the shooting module according to the module name of the shooting module, acquiring registration information of the shooting module according to the path information corresponding to the shooting module, and shooting the house image at the current position by using the shooting module according to the registration information of the shooting module.
Therefore, the registration information of the shooting module can be acquired through the simple module name, and the shooting module is used for shooting the house image. Thus, the code maintainability of shooting the house image by the shooting module can be improved by acquiring the registration information of the shooting module.
In some embodiments, the path information includes fixed information and randomly generated information.
As an example, the path information may be "XXY 1". Where "XX" may be fixed information included in the path information, and "Y1" may be randomly generated information included in the path information.
Therefore, the path information corresponding to the same shooting module is not unique. In contrast, the module name of the same camera module is unique. From this, through carrying out the correlation with the module name of shooting the module with the route information that the module corresponds of shooing, can further promote through the registration information who obtains the shooting module, use the code maintainability of shooting the house image of shooting module.
In some embodiments, generating path information corresponding to each shooting module respectively includes: and sequentially generating path information corresponding to each shooting module according to the registration completion sequence.
As an example, three photographing modules are inserted into the photographing apparatus. The path information corresponding to the photographing module for which the first registration is completed may be "XXY 1". The path information corresponding to the second registered photographing module may be "XXY 2". The path information corresponding to the third registered photographing module may be "XXY 3".
Therefore, the path information corresponding to the shooting module is related to the registration completion sequence, and the earlier the shooting module completes registration, the earlier the corresponding path information is obtained.
With further reference to fig. 4, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an image processing apparatus, which corresponds to the embodiment of the method shown in fig. 1, and which is particularly applicable in various electronic devices.
The shooting equipment is provided with a plurality of buses connected with a mainboard of the shooting equipment, each bus is inserted with a shooting module, and the shooting modules inserted by different buses are used for shooting house images in different directions.
As shown in fig. 4, the image processing apparatus of the present embodiment includes a determination unit 401, a capturing unit 402, and a transmission unit 403. The determining unit 401 is configured to determine arrangement positions of the shooting modules inserted into each bus, where the shooting modules in different arrangement positions are used to shoot house images in different directions; a shooting unit 402, configured to respectively use each shooting module at a different arrangement position to shoot a house image at a current position in the house room; a sending unit 403, configured to generate a three-dimensional house model from house images of different orientations captured at a plurality of positions in a house room, wherein the plurality of positions include the current position.
In this embodiment, specific processing of the determining unit 401, the capturing unit 402, and the sending unit 403 of the image processing apparatus and technical effects thereof can refer to related descriptions of step 101, step 102, and step 103 in the corresponding embodiment of fig. 1, which are not described herein again.
In some embodiments, the sending unit 403 is further configured to name the house image captured at the current position by using each capturing module, where the name of the house image is used to determine the capturing direction of the house image; sending the house image shot at the current position to a target device, so that the target device determines the shooting direction of each house image shot at the current position according to the name of the house image, and generates a house three-dimensional model according to the house images shot at the positions and in different directions
In some embodiments, the sending unit 403 is further configured to name, for each shooting module, the house image shot at the current position by using the shooting module according to the arrangement position of the shooting module.
In some embodiments, each shooting module is provided with a corresponding serial number; the sending unit 403 is further configured to scan, for each shooting module, a serial number set on the shooting module, and name the house image shot by using the shooting module according to the serial number set on the shooting module.
In some embodiments, the determining unit 401 is further configured to: acquiring a bus name of each bus; and for each bus, determining the arrangement position of the shooting module inserted into the bus according to the bus name of the bus.
In some embodiments, the image processing apparatus further comprises an association unit (not shown in the figures). The device comprises an association unit, a storage unit and a processing unit, wherein the association unit is used for respectively generating path information corresponding to each shooting module, the path information is used for acquiring registration information of the shooting modules, and the registration information is information registered by the shooting modules on shooting equipment; respectively setting the module name of each shooting module; for each shooting module, associating the module name of the shooting module with the path information corresponding to the shooting module; a shooting unit 402, further configured to: for each shooting module in different arrangement positions, determining path information corresponding to the shooting module according to the module name of the shooting module, acquiring registration information of the shooting module according to the path information corresponding to the shooting module, and shooting house images at the current position by using the shooting module according to the registration information of the shooting module.
In some embodiments, the associating unit is further configured to: and sequentially generating path information corresponding to each shooting module according to the registration completion sequence.
In some embodiments, the path information includes fixed information and randomly generated information.
In some embodiments, the determining unit 401 is further configured to: and determining the arrangement position of the shooting module inserted by each bus in response to the starting of the shooting equipment.
In some embodiments, the shooting ranges of two shooting modules adjacent in arrangement position partially overlap.
With further reference to fig. 5, fig. 5 illustrates an exemplary system architecture to which the image processing method of the present disclosure may be applied in one embodiment.
As shown in fig. 5, the system architecture may include a capture device 501 and a target device 502. The shooting device 501 and the target device 502 may interact with each other through various methods such as a network and bluetooth.
The photographing apparatus 501 has a plurality of buses connected to its main board. And a shooting module is respectively inserted into each bus. Alternatively, the photographing apparatus 501 has three buses. These three buses are inserted into the photographing modules 5011, 5012, and 5013 shown in fig. 5, respectively.
The shooting modules at different arrangement positions are used for shooting house images in different directions. Alternatively, as shown in fig. 5, the photographing modules 5011, 5012, 5013 inserted on the photographing apparatus 501 are arranged in upper, middle, and lower positions. Wherein, shoot module 5011 and can be used for shooting the image at house top, shoot module 5012 and can be used for shooting the image of house wall, shoot module 5013 and can be used for shooting the image on house ground.
It should be noted that the photographing apparatus 501 may have other numbers of buses. The photographing modules inserted into the photographing apparatus 501 can be arranged in other manners as well.
In some scenarios, the photographing apparatus 501 may determine an arrangement position of a photographing module inserted into each bus, may respectively use each photographing module of a different arrangement position to photograph a house image at a current position in a house room, and may generate a three-dimensional model of the house from house images of different orientations photographed at a plurality of positions in the house room.
In some scenarios, the photographing apparatus 501 may name house images photographed at the current location using each photographing module, respectively, and the house images photographed at the current location may be transmitted to the target apparatus 502. The target device 502 may determine the shooting orientation of each house image shot at the current position based on the name of the house image, and generate a three-dimensional model of the house based on the house images shot at the different orientations at the plurality of positions.
The photographing apparatus 501 may be hardware or software. When the photographing apparatus 501 is hardware, it may be an electronic apparatus for photographing a house image. When the photographing device 501 is software, the software may be installed in the electronic device, and may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, and is not limited in detail herein.
The target device 502 may be hardware or software. When the target device 502 is hardware, it may be a terminal device such as a smart phone, a tablet computer, a desktop computer, or a server. When the target device 502 is software, the target device may be installed in the electronic device, and may be implemented as a plurality of pieces of software or software modules, or may be implemented as a single piece of software or software modules, which is not limited herein.
The image processing method provided by the embodiment of the present disclosure may be executed by the photographing apparatus 501, and accordingly, the image processing apparatus may be provided in the photographing apparatus 501.
Referring next to fig. 6, a schematic structural diagram of an electronic apparatus (e.g., the photographing apparatus in fig. 5) of an embodiment of the present disclosure is shown. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, camera, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided, and that more or fewer means may be alternatively implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium described in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be included in the electronic device or may exist separately without being incorporated in the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining the arrangement positions of the shooting modules inserted into each bus, wherein the shooting modules in different arrangement positions are used for shooting house images in different directions; shooting the house image at the current position in the house room by using each shooting module at different arrangement positions respectively; a three-dimensional model of the house is generated from images of the house taken at different orientations at a plurality of locations within the house room, wherein the plurality of locations includes the current location.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. Here, the names of these units do not constitute a limitation on the unit itself in some cases, and for example, the determination unit may also be described as a unit that determines the arrangement position of the photographing module inserted per bus.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure in the embodiments of the present disclosure is not limited to the particular combination of the above-described features, but also encompasses other embodiments in which any combination of the above-described features or their equivalents is possible without departing from the scope of the present disclosure. For example, the above features may be interchanged with other features disclosed in this disclosure (but not limited to) those having similar functions.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. An image processing method is applied to shooting equipment, the shooting equipment is provided with a plurality of buses connected with a mainboard of the shooting equipment, and a shooting module is inserted into each bus, and the image processing method comprises the following steps:
determining the arrangement positions of the shooting modules inserted into each bus, wherein the shooting modules in different arrangement positions are used for shooting house images in different directions;
shooting the house image at the current position in the house room by using each shooting module at different arrangement positions respectively;
a three-dimensional model of the house is generated from differently oriented house images taken at a plurality of locations within the house room, wherein the plurality of locations includes the current location.
2. The method of claim 1, wherein generating a three-dimensional model of a house from images of the house taken at different orientations at a plurality of locations within the house room comprises:
respectively naming the house images shot at the current position by using each shooting module, wherein the house images are named for determining the shooting directions of the house images;
and sending the house image shot at the current position to target equipment, so that the target equipment determines the shooting direction of each house image shot at the current position according to the name of the house image, and generates the house three-dimensional model according to the house images shot at the positions and in different directions.
3. The method of claim 2, wherein said individually naming the images of the house taken at the current location using each camera module comprises:
and naming the house image shot at the current position by using the shooting module according to the arrangement position of the shooting module for each shooting module.
4. The method of claim 2, wherein each camera module is provided with a corresponding serial number; and
naming house images shot at the current position by using each shooting module respectively, including:
and for each shooting module, scanning the serial number set on the shooting module, and naming the house image shot by the shooting module according to the serial number set on the shooting module.
5. The method according to claim 1, wherein the determining the arrangement position of the shooting module inserted by each bus comprises:
acquiring a bus name of each bus;
and for each bus, determining the arrangement position of the shooting module inserted into the bus according to the bus name of the bus.
6. The method of claim 1, further comprising:
respectively generating path information corresponding to each shooting module, wherein the path information is used for acquiring registration information of the shooting module, and the registration information is information registered by the shooting module on the shooting equipment;
respectively setting the module name of each shooting module;
for each shooting module, associating the module name of the shooting module with the path information corresponding to the shooting module; and
use every of different permutation positions respectively to shoot the module, shoot the house image at the indoor current position in house, include:
for each shooting module in different arrangement positions, determining path information corresponding to the shooting module according to the module name of the shooting module, acquiring registration information of the shooting module according to the path information corresponding to the shooting module, and shooting house images at the current position by using the shooting module according to the registration information of the shooting module.
7. The method according to claim 3, wherein the generating path information corresponding to each shooting module respectively comprises:
and sequentially generating path information corresponding to each shooting module according to the registration completion sequence.
8. The method of claim 3, wherein the path information comprises fixed information and randomly generated information.
9. The method according to any one of claims 1 to 8, wherein the determining the arrangement position of the shooting module inserted by each bus comprises:
and determining the arrangement position of the shooting module inserted by each bus in response to the starting of the shooting equipment.
10. An image processing apparatus applied to a photographing device having a plurality of buses connected to a main board thereof, each bus having a photographing module inserted therein, comprising:
the determining unit is used for determining the arrangement positions of the shooting modules inserted into each bus, wherein the shooting modules in different arrangement positions are used for shooting house images in different directions;
the shooting unit is used for shooting house images at the current position in the house room by using each shooting module at different arrangement positions;
a transmitting unit configured to generate a house three-dimensional model from house images of different orientations captured at a plurality of locations in a house room, wherein the plurality of locations include the current location.
11. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-9.
12. A computer-readable medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, carries out the method according to any one of claims 1-9.
CN202210173997.5A 2022-02-24 2022-02-24 Image processing method and device and electronic equipment Active CN114554108B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210173997.5A CN114554108B (en) 2022-02-24 2022-02-24 Image processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210173997.5A CN114554108B (en) 2022-02-24 2022-02-24 Image processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114554108A true CN114554108A (en) 2022-05-27
CN114554108B CN114554108B (en) 2023-10-27

Family

ID=81676621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210173997.5A Active CN114554108B (en) 2022-02-24 2022-02-24 Image processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114554108B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102208116A (en) * 2010-03-29 2011-10-05 卡西欧计算机株式会社 3D modeling apparatus and 3D modeling method
CN106296821A (en) * 2016-08-19 2017-01-04 刘建国 Multi-view angle three-dimensional method for reconstructing based on unmanned plane and system
CN106412403A (en) * 2016-11-02 2017-02-15 深圳市魔眼科技有限公司 3D camera module and 3D camera device
CN107801017A (en) * 2017-10-30 2018-03-13 北京都是科技有限公司 A kind of more mesh 3D video cameras and its 3D rendering modeling method
CN108267121A (en) * 2018-01-24 2018-07-10 锥能机器人(上海)有限公司 The vision navigation method and system of more equipment under a kind of variable scene
CN108805988A (en) * 2018-05-23 2018-11-13 平安科技(深圳)有限公司 VR image generating methods, device, computer equipment and storage medium
CN109816768A (en) * 2017-11-21 2019-05-28 百度在线网络技术(北京)有限公司 A kind of interior method for reconstructing, device, equipment and medium
CN110572630A (en) * 2018-09-21 2019-12-13 苏州因确匹电子科技有限公司 Three-dimensional image shooting system, method, device, equipment and storage medium
CN110769240A (en) * 2019-08-23 2020-02-07 上海亦我信息技术有限公司 Photographing-based 3D modeling system and method, and automatic 3D modeling device and method
CN111683239A (en) * 2020-06-22 2020-09-18 贝壳技术有限公司 Control method and device of three-dimensional camera and computer readable storage medium
CN111726485A (en) * 2019-03-22 2020-09-29 宁波舜宇光电信息有限公司 Camera module, lens assembly and assembling method thereof
CN113298708A (en) * 2021-03-12 2021-08-24 阿里巴巴新加坡控股有限公司 Three-dimensional house type generation method, device and equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102208116A (en) * 2010-03-29 2011-10-05 卡西欧计算机株式会社 3D modeling apparatus and 3D modeling method
CN106296821A (en) * 2016-08-19 2017-01-04 刘建国 Multi-view angle three-dimensional method for reconstructing based on unmanned plane and system
CN106412403A (en) * 2016-11-02 2017-02-15 深圳市魔眼科技有限公司 3D camera module and 3D camera device
CN107801017A (en) * 2017-10-30 2018-03-13 北京都是科技有限公司 A kind of more mesh 3D video cameras and its 3D rendering modeling method
CN109816768A (en) * 2017-11-21 2019-05-28 百度在线网络技术(北京)有限公司 A kind of interior method for reconstructing, device, equipment and medium
CN108267121A (en) * 2018-01-24 2018-07-10 锥能机器人(上海)有限公司 The vision navigation method and system of more equipment under a kind of variable scene
CN108805988A (en) * 2018-05-23 2018-11-13 平安科技(深圳)有限公司 VR image generating methods, device, computer equipment and storage medium
CN110572630A (en) * 2018-09-21 2019-12-13 苏州因确匹电子科技有限公司 Three-dimensional image shooting system, method, device, equipment and storage medium
CN111726485A (en) * 2019-03-22 2020-09-29 宁波舜宇光电信息有限公司 Camera module, lens assembly and assembling method thereof
CN110769240A (en) * 2019-08-23 2020-02-07 上海亦我信息技术有限公司 Photographing-based 3D modeling system and method, and automatic 3D modeling device and method
CN111683239A (en) * 2020-06-22 2020-09-18 贝壳技术有限公司 Control method and device of three-dimensional camera and computer readable storage medium
CN113298708A (en) * 2021-03-12 2021-08-24 阿里巴巴新加坡控股有限公司 Three-dimensional house type generation method, device and equipment

Also Published As

Publication number Publication date
CN114554108B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN112488783B (en) Image acquisition method and device and electronic equipment
CN112351222B (en) Image special effect processing method and device, electronic equipment and computer readable storage medium
CN110225400B (en) Motion capture method and device, mobile terminal and storage medium
CN112422829B (en) Method, device, terminal and storage medium for assisting in shooting image
CN114554092A (en) Equipment control method and device and electronic equipment
CN112163993A (en) Image processing method, device, equipment and storage medium
CN112085775A (en) Image processing method, device, terminal and storage medium
CN112351221A (en) Image special effect processing method and device, electronic equipment and computer readable storage medium
CN113628097A (en) Image special effect configuration method, image recognition method, image special effect configuration device and electronic equipment
US11960703B2 (en) Template selection method, electronic device and non-transitory computer-readable storage medium
CN114554108B (en) Image processing method and device and electronic equipment
CN115690845A (en) Motion trail prediction method and device
CN112434064B (en) Data processing method, device, medium and electronic equipment
CN115170395A (en) Panoramic image stitching method, panoramic image stitching device, electronic equipment, panoramic image stitching medium and program product
CN111597414B (en) Display method and device and electronic equipment
CN111586295B (en) Image generation method and device and electronic equipment
CN113766178B (en) Video control method, device, terminal and storage medium
CN114529452A (en) Method and device for displaying image and electronic equipment
CN112070903A (en) Virtual object display method and device, electronic equipment and computer storage medium
CN113066166A (en) Image processing method and device and electronic equipment
CN112346682A (en) Image special effect processing method and device, electronic equipment and computer readable storage medium
CN112347301A (en) Image special effect processing method and device, electronic equipment and computer readable storage medium
CN113096194B (en) Method, device, terminal and non-transitory storage medium for determining time sequence
CN112781581B (en) Method and device for generating path from moving to child cart applied to sweeper
CN112036819B (en) Interaction method and device based on task image, medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant