WO2021046861A1 - Orthographic image generation method and system, and storage medium - Google Patents

Orthographic image generation method and system, and storage medium Download PDF

Info

Publication number
WO2021046861A1
WO2021046861A1 PCT/CN2019/105922 CN2019105922W WO2021046861A1 WO 2021046861 A1 WO2021046861 A1 WO 2021046861A1 CN 2019105922 W CN2019105922 W CN 2019105922W WO 2021046861 A1 WO2021046861 A1 WO 2021046861A1
Authority
WO
WIPO (PCT)
Prior art keywords
images
image
main image
pose information
present
Prior art date
Application number
PCT/CN2019/105922
Other languages
French (fr)
Chinese (zh)
Inventor
张明磊
宋孟肖
梁家斌
田艺
李思晋
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201980030613.0A priority Critical patent/CN112154484A/en
Publication of WO2021046861A1 publication Critical patent/WO2021046861A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C11/00Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
    • 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

Definitions

  • the present invention generally relates to the technical field of orthophotos, and more specifically to a method, system and storage medium for generating orthophotos.
  • the strategy used to generate orthophotos using multispectral images is to obtain the imaging pose information of each band image, and generate the orthophotos of each band image based on the imaging pose information of each band image. It is worth noting that the non-directional movement of the mobile platform is accompanied by the non-directional movement of the mobile platform during the image acquisition process. For each waveband image, a large number of calculation steps are required to reconstruct the imaging pose information when the image is acquired. Therefore, the above method requires a large amount of calculation due to the need to obtain the imaging pose information of each waveband image, and the generation efficiency of the orthoimage is low.
  • the present invention provides an orthophoto generation scheme, which uses the imaging pose information of the main image and the elevation data of the survey area in the acquired multispectral image to generate orthoimages corresponding to other images. In this way, the number of multiple cameras can be reduced. The calculation amount of acquiring multiple orthophotos in the acquisition scene improves the generation efficiency of orthophotos.
  • a method for generating orthophotos comprising: acquiring a plurality of images of the target measurement area obtained by multiple cameras shooting the target measurement area, wherein the multiple cameras Set on a mobile platform; acquire imaging pose information of the main image in the plurality of images, and generate elevation data for fitting the elevation of the target survey area according to the main image and the imaging pose information; and According to the elevation data and the imaging pose information, other images in the plurality of images other than the main image are corrected to obtain orthoimages corresponding to the other images.
  • the acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area includes: acquiring multiple cameras to shoot the target measurement area within the same exposure period The obtained multiple images of the target measurement area, wherein the duration of the exposure period is less than a preset duration threshold.
  • the acquiring multiple images of the target measurement area obtained by shooting by multiple cameras on the target measurement area further includes: acquiring multiple cameras on the target measurement area during multiple exposure periods.
  • the posture information includes: performing reconstruction processing on the main image captured during the respective exposure periods through the SFM algorithm to obtain the imaging posture information of the main image.
  • the types of the images include at least two of RGB images, near-infrared images, red-band images, and green-band images.
  • the main image is an RGB image.
  • the method further includes: before correcting the other images, preprocessing the other images by correction parameters; and the correction includes: according to the elevation data and the imaging The pose information is used to correct the preprocessed other images to obtain an orthoimage corresponding to the other images.
  • the preprocessing of the other images by correcting parameters includes: aligning the other images with the main image; and/or comparing the main image and the other images Perform radiation correction processing.
  • the aligning the other image with the main image includes: determining an image point with the same name between the main image and the other image, and determining the image point with the same name based on the image point with the same name.
  • the other image is mapped to a mapping transformation matrix of the main image, and the other image is mapped to the main image based on the mapping transformation matrix.
  • the aligning the other image with the main image includes: determining the other image based on respective imaging pose information of the main image and the other image recorded by a sensor A mapping relationship with the main image, and mapping the other images to the main image based on the mapping relationship.
  • the method further includes: before aligning the other image with the main image, determining respective gradient information of the main image and the other image, and based on the main image The gradient information corresponding to each of the other images aligns the other images with the main image.
  • the method further includes: before aligning the other image with the main image, performing distortion correction processing on the main image and the other image respectively, and correcting the distortion based on the distortion.
  • the distortion correction processing is based on the internal parameters and distortion parameters of the multiple cameras.
  • the elevation data is generated based on a point cloud
  • the point cloud is generated based on the imaging pose information
  • the point cloud is a dense point cloud generated based on the imaging pose information.
  • the point cloud is based on a sparse point cloud obtained by performing an SFM algorithm on the main image.
  • the method further includes: mosaic fusion of the respective orthoimages of the images captured by the same camera to generate orthoimages of various bands.
  • the method further includes: generating a vegetation index map based on the orthophotos of the respective bands.
  • the method further includes: performing pseudo-color visual rendering on the vegetation index map.
  • the method further includes: after aligning the other image with the main image, generating a vegetation index map based on the main image and the aligned other image; and The elevation data and the imaging pose information correct the vegetation index map to obtain an orthophoto corresponding to the vegetation index map.
  • an orthophoto generation system includes a storage device and a processor.
  • the storage device stores a computer program run by the processor.
  • the orthophoto generating method described in any one of the above is executed.
  • a storage medium is provided, and a computer program is stored on the storage medium, and the computer program executes the orthoimage generating method described in any one of the above items when the computer program is running.
  • the orthophoto generating method, system and storage medium only acquire the imaging pose information of the main image in the multispectral image, and generate elevation data fitting the elevation of the target survey area based on the imaging pose information of the main image Finally, based on the imaging pose information of the main image and the generated elevation data, other images other than the main image are corrected to obtain the orthophoto of other images, that is, the imaging pose information of the main image and the elevation of the survey area will be obtained
  • the data is used to generate orthoimages corresponding to other images. In this way, the amount of calculation for acquiring multiple orthoimages in a multi-camera acquisition scenario can be reduced, and the generation efficiency of orthoimages can be improved.
  • Fig. 1 shows a schematic flowchart of a method for generating an orthophoto according to an embodiment of the present invention
  • Fig. 2 shows an example diagram of multiple images according to an embodiment of the present invention
  • FIG. 3 shows a schematic flowchart of a method for generating an orthophoto according to another embodiment of the present invention
  • FIG. 4A shows a rolling-blind superimposed display effect of a green band image and a red edge band image before alignment according to an embodiment of the present invention
  • FIG. 4B shows a rolling-blind superimposed display effect of a green band image and a red edge band image after alignment and radiation correction according to an embodiment of the present invention
  • FIG. 5 shows a schematic flowchart of a method for generating an orthophoto according to another embodiment of the present invention
  • 6A to 6C respectively show schematic diagrams of orthoimages of different wavebands obtained by the method for generating orthoimages according to an embodiment of the present invention
  • FIG. 6D shows a schematic diagram of a vegetation index map rendered by pseudo-color visualization obtained by the method for generating an orthophoto according to an embodiment of the present invention.
  • Fig. 7 shows a schematic block diagram of an orthophoto generation system according to an embodiment of the present invention.
  • the current orthophoto generation method needs to obtain the imaging pose information of each band image, and generate the orthophoto of each band image based on the imaging pose information of each band image.
  • This method is very computationally intensive. , The generation efficiency of orthophotos is low.
  • the present invention provides an orthophoto generation solution, and the orthophoto generation solution according to the embodiments of the present invention will be described below with reference to the accompanying drawings.
  • FIG. 1 shows a schematic flowchart of a method 100 for generating an orthophoto according to an embodiment of the present invention.
  • the orthophoto generation method 100 may include the following steps:
  • step S110 multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area are acquired, wherein the multiple cameras are arranged on a mobile platform.
  • the multiple images acquired in step S110 are obtained by shooting the target survey area by multiple cameras, and the multiple cameras are set on a mobile platform (such as a drone). During the movement of the platform, the multiple cameras capture multiple images for the target measurement area. Within the same exposure period (where the duration of the exposure period is less than the preset duration threshold), there may be more overlapping parts between the multiple images captured by the multiple cameras. In different exposure periods, the multiple images captured by the multiple cameras may have less overlap or no overlap.
  • the multiple images captured by multiple cameras described herein can be understood as: multiple cameras in the same camera capture multiple images each.
  • the same camera includes an RGB camera and a near-infrared camera
  • the images taken for the target measurement area may include RGB images and near-infrared images.
  • the multiple images captured by multiple cameras described in this article can also be understood as: multiple images captured by multiple cameras each.
  • the images taken for the target measurement area are RGB images and near-infrared images respectively.
  • the multiple images captured by multiple cameras described in this article can also be understood as: the same camera in the same camera captures an image, and images of multiple channels or images of multiple formats are obtained from the image.
  • an RGB image captured by an RGB camera can be used to obtain a red band image, a green band image, etc. from the RGB image.
  • multiple images of the target measurement area obtained by the multiple cameras shooting the target measurement area can be obtained.
  • the multiple images may be multiple images of the same exposure period, and at this time, the multiple images are images of different wavebands; the multiple images may also be multiple images of multiple exposure periods, and the multiple images may be multiple images of multiple exposure periods. Images in the same exposure period are images of different wavebands, and images in different exposure periods may be images of different wavebands, or images of the same waveband.
  • FIG. 2 shows an example diagram of multiple images according to an embodiment of the present invention.
  • images with four rows and six columns are exemplarily shown.
  • the images of each row are images of different wavebands in the same exposure period
  • the images of each column are images of the same waveband in different exposure periods. That is to say, in FIG. 2, images of four exposure periods and six bands are exemplarily shown.
  • FIG. 2 is only exemplary, and actual applications may include other numbers of exposure periods and other numbers of bands.
  • step S120 the imaging pose information of the main image in the plurality of images is acquired, and the elevation data for fitting the elevation of the target survey area is generated according to the main image and the imaging pose information.
  • the main image may be an image of any waveband among the plurality of images, and all images in the plurality of images other than the main image may be referred to as auxiliary images or other images.
  • the main image may be any one of the multiple images.
  • the main image can be all images.
  • the main image may be an RGB image.
  • RGB images Compared with images of other bands, RGB images have richer texture information. Therefore, it is easy to obtain accurate and reliable results by obtaining the imaging pose information of RGB images for three-dimensional reconstruction.
  • the main image can also be obtained from multiple images in any other suitable manner, which is not limited in this application.
  • the main image may be reconstructed through the structure from motion (SFM) algorithm to obtain the imaging pose information of the main image.
  • the imaging pose information of the main image may include positioning information, posture information, in-camera parameters and distortion parameters of the camera that shoots the main image when shooting the main image.
  • the positioning information and posture information may be the positioning information and posture information of the mobile platform on which the camera is set.
  • the posture information may include pan/tilt angle information.
  • the pan/tilt angle information may include the attitude information of the pan/tilt when the camera shoots the main image, such as the roll, pitch, or yaw angle of the pan/tilt.
  • elevation data for fitting the elevation of the target survey area can be generated according to the main image and its imaging pose information.
  • a dense point cloud can be generated based on the main image and its imaging pose information, and then a digital elevation model or digital surface model of the target survey area can be generated from the dense point cloud.
  • the elevation data used to fit the elevation of the target survey area may also be generated based on the sparse point cloud generated in the foregoing SFM process.
  • the elevation data used to fit the elevation of the target survey area may also be other geometric curved surfaces or planes.
  • step S130 according to the elevation data and the imaging pose information, other images in the plurality of images except the main image are corrected to obtain orthoimages corresponding to the other images.
  • an orthophoto of the main image can be generated.
  • a digital differential correction algorithm is used to change the angle of view of the main image to an orthographic angle to generate the orthoimage of the main image.
  • the elevation data of the target measurement area obtained based on the imaging pose information of the main image is used to correct the angle of view of other images to generate orthoimages of other images, reducing One by one, the amount of calculation to obtain the imaging pose information of other bands of images, so compared to the way of obtaining the imaging pose information of each band of images to generate orthophotos, no matter how many bands of images are included, the main image can be used
  • the image reconstruction algorithm of this band is used to obtain the imaging pose information, and then the orthoimages of other bands are generated, which can reduce the calculation amount of acquiring multiple orthoimages in the multi-camera acquisition scene, and improve the generation efficiency of orthoimages. , And can avoid the inconsistency of the reconstruction results when each band image is reconstructed, and it also eliminates the need for strict and uniform exposure time for the camera.
  • FIG. 3 shows a schematic flowchart of a method 300 for generating an orthophoto according to another embodiment of the present invention.
  • the orthophoto generating method 300 may include the following steps:
  • step S310 multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area are acquired, wherein the multiple cameras are arranged on a mobile platform.
  • step S320 the imaging pose information of the main image in the plurality of images is acquired, and the elevation data for fitting the elevation of the target survey area is generated according to the main image and the imaging pose information.
  • step S330 the other images are preprocessed by correcting parameters.
  • step S340 according to the elevation data and the imaging pose information, the preprocessed other images are corrected to obtain orthoimages corresponding to the other images.
  • Step S120 is similar to step S130, and for the sake of brevity, it will not be repeated here.
  • the orthophoto generating method 300 according to the embodiment of the present application described with reference to FIG. 3 further includes step S330, that is, correcting other images.
  • step S340 is based on the elevation data and the imaging pose information to correct the preprocessed other images to obtain orthoimages corresponding to the other images .
  • step S340 is based on the elevation data and the imaging pose information to correct the preprocessed other images to obtain orthoimages corresponding to the other images .
  • orthoimages with higher reliability can be obtained.
  • the preprocessing of the other images by the correction parameters may include aligning the other images with the main image, and/or performing radiometric correction processing on the main image and the other images.
  • radiation correction processing can be performed on the main image and other images to eliminate or correct image distortion caused by radiation errors, so that subsequent processing is more accurate.
  • you can also align other images with the main image such as texture alignment), so that other images can be mapped to the main image to obtain the same internal and external camera parameters as the main image, so that other images can be generated based on the imaging pose information of the main image.
  • Ortho image is more accurate and reliable.
  • the effects of image alignment before and after alignment and radiation correction can be understood with reference to Figs. 4A and 4B.
  • Fig. 4A shows the effect of rolling over the green band image and the red edge (RedEdeg) band image before alignment.
  • FIG. 4B shows the superimposed display effect of the green band image and the red edge band image after alignment and radiation correction.
  • the aligning the other image with the main image may include: determining an image point with the same name between the main image and the other image, and determining based on the image point with the same name
  • the other image is mapped to a mapping transformation matrix of the main image, and the other image is mapped to the main image based on the mapping transformation matrix.
  • four (or more than four) image points with the same name can be determined between the main image and other images, and the homography transformation matrix that maps other images to the main image can be determined based on these image points with the same name, and based on this The homography transformation matrix maps other images onto the main image.
  • image points with the same name can be determined between the main image and other images, and based on these image points, the similar transformation matrix or affine transformation matrix for mapping other images to the main image can be determined, and based on the similar transformation matrix Or the affine transformation matrix maps other images onto the main image.
  • image points with the same name can also be determined between the main image and other images, and based on these image points, any other transformation matrix that maps other images to the main image can be determined, and based on the transformation matrix, other images can be mapped to On the main image.
  • the transformation relationship of mapping other images to the main image can also be calculated by an optimization method of image correlation coefficients other than the image points of the same name.
  • the above alignment methods can be implemented in various combinations, such as partitioning the image, the first area is aligned by one transformation method, and the second area is aligned by another transformation method; or the alignment is performed in steps. , The first step adopts the first transformation method, the second step adopts the second transformation method, and finally the alignment is realized through multiple steps.
  • the aligning the other image with the main image may include: determining the respective imaging pose information of the main image and the other image recorded by a sensor A mapping relationship between other images and the main image, and mapping the other images to the main image based on the mapping relationship.
  • the position and posture of the main image and other images at respective imaging moments can be determined based on the position and posture sensors provided on the mobile platform, and the mapping relationship between the other images and the main image can be further calculated.
  • the main image and other images may be acquired by different camera exposures, and there may be slight differences in exposure time and pose, the brightness of different images will be different, which will lead to the difference between the main image and other images.
  • the inter-mapping transformation is inaccurate, that is, the alignment accuracy is insufficient.
  • the method 300 may further include the following steps (not shown in FIG. 3): before aligning the other image with the main image, determining the main image and the other image Respective gradient information, and align the other image with the main image based on the respective gradient information of the main image and the other image.
  • the gradient information of the image can better reflect the edge characteristics of the image. Therefore, in this embodiment, other images are aligned with the main image based on the respective gradient information of the main image and other images, which can accurately distinguish between different objects, and further Improve the accuracy of alignment.
  • the method 300 may further include the following steps (not shown in FIG. 3): before aligning the other image with the main image, separately aligning the main image and the other image
  • the image undergoes distortion correction processing, and the other images are aligned with the main image based on the main image and the other images that have been distorted.
  • Distortion correction processing can correct the distortion introduced by the lens accuracy and technology in the imaging process of the camera. Therefore, in this embodiment, the alignment of other images and the main image is implemented based on the other images and the main image after the distortion correction processing, which can further improve The accuracy of subsequent processing.
  • the distortion correction processing may be based on the internal parameters and distortion parameters of the multiple cameras.
  • the internal parameters may include parameter information such as focal length, frame, sensitivity, etc., which may include information collected via a sensor, or may be pre-calibrated.
  • the aforementioned distortion correction processing can also be used as the aforementioned preprocessing for other images.
  • the orthophoto generation method 300 uses the acquired imaging pose information of the main image and the elevation data of the survey area to generate orthoimages corresponding to other images. In this way, it can be reduced The amount of calculation for acquiring multiple orthophotos in a small multi-camera collection scene improves the generation efficiency of orthophotos.
  • the orthophoto generating method 300 according to another embodiment of the present invention preprocesses the other images before generating the orthoimages of other images, so that an orthoimage with higher reliability can be obtained.
  • FIG. 5 shows a schematic flowchart of a method 500 for generating an orthophoto according to another embodiment of the present invention.
  • the orthophoto generation method 500 may include the following steps:
  • step S510 multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area are acquired, wherein the multiple cameras are set on a mobile platform.
  • step S520 the imaging pose information of the main image in the plurality of images is acquired, and the elevation data for fitting the elevation of the target survey area is generated according to the main image and the imaging pose information.
  • step S530 according to the elevation data and the imaging pose information, other images in the plurality of images except the main image are corrected to obtain orthoimages corresponding to the other images.
  • step S540 the orthoimages of the respective images captured by the same camera are mosaic-fused to generate orthoimages of various bands.
  • Step S120 is similar to step S130, and for the sake of brevity, it will not be repeated here.
  • the orthophoto generation method 500 according to the embodiment of the present application described with reference to FIG. 5 further includes step S540, that is, when other images are obtained After the orthoimages of the images, the orthoimages of the images taken by the same camera are mosaic-fused to generate orthoimages of various bands.
  • each exposure period can obtain multiple band images, and each band image corresponds to a camera.
  • the image of one band in each exposure period is the main image, and the images of the remaining bands are other images. Therefore, after the orthoimages of other images in each exposure period are obtained, the orthoimages of the same waveband images with different exposure periods can be mosaic-fused (that is, the orthoimages of each row of images in Figure 2 are mosaicked). Fusion) to generate orthoimages of each band to obtain a larger range of orthoimages of the target survey area, for example, as shown in Figure 6A to Figure 6C, Figure 6A, Figure 6B and Figure 6C respectively show three Schematic diagram of the orthophoto of the band.
  • a vegetation index map of the target measurement area can be generated.
  • the vegetation index map can quantitatively provide a basis for fertilization and drug use for precision agriculture, effectively improve the utilization of fertilizers and pesticides, and can also be used for early detection of crops. Pests and diseases reduce losses.
  • the generated vegetation index map can be rendered in pseudo-color, as shown in Figure 6D (it should be understood that the vegetation index shown in Figure 6D The map should be in color, but considering the requirements of the patent application documents, it is adjusted to the form of grayscale map).
  • a vegetation index map may be generated based on the main image and other aligned images, and then based on the elevation data and the imaging pose information Correcting the vegetation index map to obtain an orthophoto corresponding to the vegetation index map.
  • the vegetation index map is first generated based on the main image and other images, and then the orthographic image of the vegetation index map is generated, which can also realize the generation of the vegetation index map from the orthographic perspective.
  • the orthophoto generation method according to the embodiment of the present invention only obtains the imaging pose information of the main image in the multispectral image, and generates elevation data fitting the elevation of the target survey area based on the imaging pose information of the main image Finally, based on the imaging pose information of the main image and the generated elevation data, other images other than the main image are corrected to obtain the orthophoto of other images, that is, the imaging pose information of the main image and the elevation of the survey area will be obtained The data is used to generate orthoimages corresponding to other images.
  • the orthophoto generation method according to the embodiment of the present invention can preprocess other images before generating the orthoimages of other images, and can obtain orthoimages with higher reliability. Further, the orthophoto generation method according to the embodiment of the present invention can be used to generate a vegetation index map of the target survey area, thereby quantitatively providing a basis for fertilization and drug use for precision agriculture, effectively improving the utilization rate of fertilizers and pesticides, and can also be used in the early stage. Detect crop diseases and insect pests to reduce losses.
  • FIG. 7 shows a schematic block diagram of an orthophoto generation system 700 according to an embodiment of the present invention.
  • the orthophoto generation system 700 includes a storage device 710 and a processor 720.
  • the storage device 710 stores a program for realizing the corresponding steps in the orthophoto generation method according to the embodiment of the present invention.
  • the processor 720 is configured to run a program stored in the storage device 710 to execute the corresponding steps of the orthoimage generating method according to the embodiment of the present invention.
  • the orthophoto generation system 700 when the program is executed by the processor 720, the orthophoto generation system 700 is caused to perform the following steps: acquiring multiple images of the target measurement area obtained by shooting the target measurement area by multiple cameras, wherein , The plurality of cameras are set on a mobile platform; the imaging pose information of the main image in the plurality of images is acquired, and according to the main image and the imaging pose information, it is used to fit the target measurement area Elevation data; and based on the elevation data and the imaging pose information, correcting other images in the plurality of images other than the main image to obtain an orthoimage corresponding to the other images.
  • the orthophoto generation system 700 executes the acquisition of multiple cameras to photograph the target measurement area.
  • the image includes: acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area within the same exposure period, wherein the duration of the exposure period is less than a preset duration threshold.
  • the orthophoto generation system 700 executes the acquisition of multiple cameras to photograph the target measurement area.
  • the image further includes: acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area in multiple exposure periods, wherein the main images captured in each exposure period are captured by the multiple cameras
  • the acquisition of the imaging pose information of the main image includes: using an SFM algorithm to reconstruct the main image taken during each exposure period to obtain the main image The imaging pose information of the image.
  • the types of the images include at least two of RGB images, near-infrared images, red-band images, and green-band images.
  • the main image is an RGB image.
  • the orthophoto generation system 700 when the program is executed by the processor 720, the orthophoto generation system 700 is also caused to perform the following steps: before the other images are corrected, the other images are preprocessed by correction parameters And the correction includes: correcting the preprocessed other images according to the elevation data and the imaging pose information to obtain an orthoimage corresponding to the other images.
  • the orthophoto generation system 700 executes the preprocessing of the other images through the correction parameters, including: combining the other images with Aligning the main image; and/or performing radiometric correction processing on the main image and the other images.
  • the alignment of the other images with the main image performed by the orthophoto generation system 700 includes: The image points of the same name are determined among the other images, the mapping transformation matrix for mapping the other images to the main image is determined based on the image points of the same name, and the other images are mapped to the main image based on the mapping transformation matrix. On the main image.
  • the alignment of the other images with the main image performed by the orthophoto generation system 700 includes: based on all the images recorded by the sensor.
  • the respective imaging pose information of the main image and the other images determines the mapping relationship between the other image and the main image, and maps the other image to the main image based on the mapping relationship.
  • the orthophoto generating system 700 when the program is executed by the processor 720, the orthophoto generating system 700 is also caused to perform the following steps: before aligning the other images with the main image, determining the main image And the respective gradient information of the other image, and align the other image with the main image based on the respective gradient information of the main image and the other image.
  • the orthophoto image generation system 700 when the program is run by the processor 720, the orthophoto image generation system 700 is also caused to perform the following steps: before aligning the other images with the main image, perform the following steps on the main image.
  • the image and the other images are subjected to distortion correction processing, and the other images are aligned with the main image based on the main image and the other images that have been distorted.
  • the distortion correction processing is based on the internal parameters and distortion parameters of the multiple cameras.
  • the elevation data is generated based on a point cloud
  • the point cloud is generated based on the imaging pose information
  • the point cloud is a dense point cloud generated based on the imaging pose information.
  • the point cloud is based on a sparse point cloud obtained by performing an SFM algorithm on the main image.
  • the orthophoto generating system 700 when the program is run by the processor 720, the orthophoto generating system 700 is also caused to perform the following steps: mosaic and fusion of the respective orthophotos of the images taken by the same camera to generate each Orthophoto of the band.
  • the orthophoto generating system 700 when the program is run by the processor 720, the orthophoto generating system 700 is also caused to perform the following steps: generating a vegetation index map based on the orthophotos of each band.
  • the orthophoto generation system 700 when the program is run by the processor 720, the orthophoto generation system 700 is also caused to perform the following steps: visually rendering the vegetation index map in pseudo-color.
  • the orthophoto generation system 700 when the program is executed by the processor 720, the orthophoto generation system 700 is also caused to perform the following steps: after aligning the other images with the main image, based on the main image Generating a vegetation index map with the aligned other images; and correcting the vegetation index map according to the elevation data and the imaging pose information to obtain an orthoimage corresponding to the vegetation index map.
  • a storage medium on which program instructions are stored, and when the program instructions are executed by a computer or a processor, they are used to execute the orthophoto of the embodiment of the present invention. Generate the corresponding steps of the method.
  • the storage medium may include, for example, a memory card of a smart phone, a storage component of a tablet computer, a hard disk of a personal computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), USB memory, or any combination of the above storage media.
  • the computer-readable storage medium may be any combination of one or more computer-readable storage media.
  • the computer program instructions can execute the orthophoto generation method according to the embodiment of the present invention when the computer program instructions are executed by a computer.
  • the computer or the processor executes the following steps: acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area, Wherein, the plurality of cameras are arranged on a mobile platform; the imaging pose information of the main image in the plurality of images is acquired, and the main image and the imaging pose information are used to generate the measurement for fitting the target Elevation data of the area elevation; and based on the elevation data and the imaging pose information, correcting other images in the plurality of images except the main image to obtain an orthoimage corresponding to the other images.
  • the acquisition of multiple cameras to shoot the target measurement area is performed by the computer or the processor.
  • the image includes: acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area in the same exposure period, wherein the duration of the exposure period is less than a preset duration threshold.
  • the acquisition of multiple cameras to shoot the target measurement area is performed by the computer or the processor.
  • the image further includes: acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area in multiple exposure periods, wherein the main images captured in each exposure period are composed of the multiple The same camera in the camera; and said acquiring the imaging pose information of the main image includes: performing reconstruction processing on the main image captured in each exposure time period through the SFM algorithm to obtain the The imaging pose information of the main image.
  • the types of the images include at least two of RGB images, near-infrared images, red-band images, and green-band images.
  • the main image is an RGB image.
  • the computer or the processor executes the following steps: before the other images are corrected, the other images are pre-processed by the correction parameters. Processing; and the correction includes: correcting the other pre-processed images according to the elevation data and the imaging pose information to obtain orthoimages corresponding to the other images.
  • the computer or processor executes the preprocessing of the other images through the correction parameters, including: converting the other images Aligning with the main image; and/or performing radiometric correction processing on the main image and the other images.
  • the computer program instructions when the computer or the processor to execute the aligning of the other image with the main image when being executed by the computer or the processor, it includes: Determine the image point with the same name between the image point and the other image, determine a mapping transformation matrix for mapping the other image to the main image based on the image point with the same name, and map the other image to the main image based on the mapping transformation matrix On the main image.
  • the computer program instructions when the computer or processor to execute the aligning of the other image with the main image when being executed by the computer or processor, it includes: The respective imaging pose information of the main image and the other images determine the mapping relationship between the other image and the main image, and map the other image to the main image based on the mapping relationship.
  • the computer or the processor when the computer program instructions are executed by the computer or the processor, the computer or the processor also executes the following steps: before aligning the other images with the main image, determining the main image The respective gradient information of the image and the other image, and align the other image with the main image based on the respective gradient information of the main image and the other image.
  • the computer or the processor when the computer program instructions are executed by the computer or the processor, the computer or the processor also executes the following steps: before aligning the other images with the main image, respectively Distortion correction processing is performed on the main image and the other images, and the other images are aligned with the main image based on the main image and the other images that have been distorted.
  • the distortion correction processing is based on the internal parameters and distortion parameters of the multiple cameras.
  • the elevation data is generated based on a point cloud
  • the point cloud is generated based on the imaging pose information
  • the point cloud is a dense point cloud generated based on the imaging pose information.
  • the point cloud is based on a sparse point cloud obtained by performing an SFM algorithm on the main image.
  • the computer or the processor when the computer program instructions are executed by the computer or the processor, the computer or the processor also executes the following steps: mosaic and fusion of the respective orthophotos of the images taken by the same camera to generate Orthophoto of each band.
  • the computer or the processor when the computer program instructions are executed by the computer or the processor, the computer or the processor further executes the following steps: generating a vegetation index map based on the orthophotos of the respective bands.
  • the computer or the processor when the computer program instructions are executed by the computer or the processor, the computer or the processor also executes the following steps: visually rendering the vegetation index map in pseudo-color.
  • the computer or the processor when the computer program instructions are executed by the computer or the processor, the computer or the processor also executes the following steps: after aligning the other image with the main image, based on the main image A vegetation index map is generated from the image and the aligned other images; and the vegetation index map is corrected according to the elevation data and the imaging pose information to obtain an orthoimage corresponding to the vegetation index map.
  • the orthophoto generation method, system and storage medium according to the embodiments of the present invention only acquire the imaging pose information of the main image in the multispectral image, and generate fitting target measurements based on the imaging pose information of the main image.
  • the elevation data of the area elevation finally based on the imaging pose information of the main image and the generated elevation data to correct other images other than the main image to obtain the orthoimage of other images, that is, the imaging pose information of the main image to be acquired
  • the elevation data of the survey area is used to generate orthoimages corresponding to other images. In this way, the calculation amount of acquiring multiple orthoimages in a multi-camera acquisition scenario can be reduced, and the generation efficiency of orthoimages can be improved.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another device, or some features can be ignored or not implemented.
  • the various component embodiments of the present invention may be implemented by hardware, or by software modules running on one or more processors, or by a combination of them.
  • a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some modules according to the embodiments of the present invention.
  • DSP digital signal processor
  • the present invention can also be implemented as a device program (for example, a computer program and a computer program product) for executing part or all of the methods described herein.
  • Such a program for realizing the present invention may be stored on a computer-readable medium, or may have the form of one or more signals.
  • Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Image Processing (AREA)

Abstract

An orthographic image generation method (100) and system (700), and a storage medium. The method (100) comprises: acquiring a plurality of images, obtained by means of a plurality of cameras photographing a target measurement area, of the target measurement area, wherein the plurality of cameras are arranged on a mobile platform (S110); acquiring imaging pose information of a main image from among the plurality of images, and generating, according to the main image and the imaging pose information, elevation data for fitting the elevation of the target measurement area (S120); and according to the elevation data and the imaging pose information, correcting other images, apart from the main image, from among the plurality of images, so as to obtain orthographic images corresponding to the other images (S130). According to the orthographic image generation method (100) and system (700), and the storage medium, acquired imaging pose information of a main image and elevation data of a measurement area are used to generate orthographic images corresponding to other images, such that the amount of calculation needed to acquire a plurality of orthographic images in a collection scenario of a plurality of cameras can be reduced, thereby improving the generation efficiency of the orthographic images.

Description

正射影像生成方法、系统和存储介质Ortho image generation method, system and storage medium
说明书Manual
技术领域Technical field
本发明总地涉及正射影像技术领域,更具体地涉及一种正射影像生成方法、系统和存储介质。The present invention generally relates to the technical field of orthophotos, and more specifically to a method, system and storage medium for generating orthophotos.
背景技术Background technique
目前,利用多光谱影像生成正射影像采用的策略是获取各波段影像的成像位姿信息,并基于各波段影像的成像位姿信息各自生成各波段影像的正射影像。值得说明的是,在影像采集过程伴随着移动平台不定向移动,针对每一波段的影像,需要大量的计算步骤以重建影像被采集时的成像位姿信息。因此,上述的方法由于需要获取各波段影像的成像位姿信息因而将使得计算量非常大,正射影像的生成效率低下。At present, the strategy used to generate orthophotos using multispectral images is to obtain the imaging pose information of each band image, and generate the orthophotos of each band image based on the imaging pose information of each band image. It is worth noting that the non-directional movement of the mobile platform is accompanied by the non-directional movement of the mobile platform during the image acquisition process. For each waveband image, a large number of calculation steps are required to reconstruct the imaging pose information when the image is acquired. Therefore, the above method requires a large amount of calculation due to the need to obtain the imaging pose information of each waveband image, and the generation efficiency of the orthoimage is low.
发明内容Summary of the invention
为了解决上述问题而提出了本发明。本发明提供一种正射影像生成方案,其将获取的多光谱影像中主影像的成像位姿信息和测区的高程数据用于生成对应其他影像的正射影像,这样,可减小多摄像头采集场景下获取多个正射影像的计算量,提高正射影像的生成效率。下面简要描述本发明提出的正射影像生成方案,更多细节将在后续结合附图在具体实施方式中加以描述。In order to solve the above-mentioned problems, the present invention has been proposed. The present invention provides an orthophoto generation scheme, which uses the imaging pose information of the main image and the elevation data of the survey area in the acquired multispectral image to generate orthoimages corresponding to other images. In this way, the number of multiple cameras can be reduced. The calculation amount of acquiring multiple orthophotos in the acquisition scene improves the generation efficiency of orthophotos. The following briefly describes the orthophoto generation scheme proposed by the present invention, and more details will be described in the specific implementation in conjunction with the accompanying drawings.
根据本发明一方面,提供了一种正射影像生成方法,所述方法包括:获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,其中,所述多个摄像头设置在移动平台;获取所述多个影像中的主影像的成像位姿信息,并根据所述主影像和所述成像位姿信息生成用于拟合所述目标测区高程的高程数据;以及根据所述高程数据和所述成像位姿信息,矫正所述多个影像中除所述主影像以外的其他影像,得到对应所述其他影像的正射影像。According to one aspect of the present invention, there is provided a method for generating orthophotos, the method comprising: acquiring a plurality of images of the target measurement area obtained by multiple cameras shooting the target measurement area, wherein the multiple cameras Set on a mobile platform; acquire imaging pose information of the main image in the plurality of images, and generate elevation data for fitting the elevation of the target survey area according to the main image and the imaging pose information; and According to the elevation data and the imaging pose information, other images in the plurality of images other than the main image are corrected to obtain orthoimages corresponding to the other images.
在本发明的一个实施例中,所述获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,包括:获取多个摄像头在同一曝光时段内对目标测区进行拍摄得到的所述目标测区的多个影像,其中,所述曝光时段的时长小于预设时长阈值。In an embodiment of the present invention, the acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area includes: acquiring multiple cameras to shoot the target measurement area within the same exposure period The obtained multiple images of the target measurement area, wherein the duration of the exposure period is less than a preset duration threshold.
在本发明的一个实施例中,所述获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,还包括:获取多个摄像头在多个曝光时段内对目标测区进行拍摄得到的所述目标测区的多个影像,其中,各个曝光时段内拍摄得到的主影像由所述多个摄像头中的同一个摄像头拍摄得到;并且所述获取所述主影像的成像位姿信息,包括:通过SFM算法,对所述各个曝光时段内拍摄得到的所述主影像进行重建处理,得到所述主影像的所述成像位姿信息。In an embodiment of the present invention, the acquiring multiple images of the target measurement area obtained by shooting by multiple cameras on the target measurement area further includes: acquiring multiple cameras on the target measurement area during multiple exposure periods. The multiple images of the target measurement area obtained by shooting, wherein the main images taken in each exposure period are taken by the same camera of the multiple cameras; and the imaging position of the main image is obtained The posture information includes: performing reconstruction processing on the main image captured during the respective exposure periods through the SFM algorithm to obtain the imaging posture information of the main image.
在本发明的一个实施例中,所述影像的类型包括RGB影像、近红外影像、红色波段影像、绿色波段影像中的至少两项。In an embodiment of the present invention, the types of the images include at least two of RGB images, near-infrared images, red-band images, and green-band images.
在本发明的一个实施例中,所述主影像为RGB影像。In an embodiment of the present invention, the main image is an RGB image.
在本发明的一个实施例中,所述方法还包括:在矫正所述其他影像之前,通过矫正参数对所述其他影像进行预处理;并且所述矫正包括:根据所述高程数据和所述成像位姿信息,矫正经预处理的所述其他影像,得到对应所述其他影像的正射影像。In an embodiment of the present invention, the method further includes: before correcting the other images, preprocessing the other images by correction parameters; and the correction includes: according to the elevation data and the imaging The pose information is used to correct the preprocessed other images to obtain an orthoimage corresponding to the other images.
在本发明的一个实施例中,所述通过矫正参数对所述其他影像进行预处理,包括:将所述其他影像与所述主影像对齐;和/或对所述主影像和所述其他影像进行辐射校正处理。In an embodiment of the present invention, the preprocessing of the other images by correcting parameters includes: aligning the other images with the main image; and/or comparing the main image and the other images Perform radiation correction processing.
在本发明的一个实施例中,所述将所述其他影像与所述主影像对齐,包括:在所述主影像和所述其他影像之间确定同名像点,基于所述同名像点确定将所述其他影像映射到所述主影像的映射变换矩阵,并基于所述映射变换矩阵将所述其他影像映射到所述主影像上。In an embodiment of the present invention, the aligning the other image with the main image includes: determining an image point with the same name between the main image and the other image, and determining the image point with the same name based on the image point with the same name. The other image is mapped to a mapping transformation matrix of the main image, and the other image is mapped to the main image based on the mapping transformation matrix.
在本发明的一个实施例中,所述将所述其他影像与所述主影像对齐,包括:基于通过传感器记录的所述主影像和所述其他影像各自的成像位姿信息确定所述其他影像与所述主影像之间的映射关系,并基于所述映射关系将所述其他影像映射到所述主影像上。In an embodiment of the present invention, the aligning the other image with the main image includes: determining the other image based on respective imaging pose information of the main image and the other image recorded by a sensor A mapping relationship with the main image, and mapping the other images to the main image based on the mapping relationship.
在本发明的一个实施例中,所述方法还包括:在将所述其他影像与所 述主影像对齐之前,确定所述主影像和所述其他影像各自的梯度信息,并基于所述主影像和所述其他影像各自的对应的梯度信息将所述其他影像与所述主影像对齐。In an embodiment of the present invention, the method further includes: before aligning the other image with the main image, determining respective gradient information of the main image and the other image, and based on the main image The gradient information corresponding to each of the other images aligns the other images with the main image.
在本发明的一个实施例中,所述方法还包括:在将所述其他影像与所述主影像对齐之前,分别对所述主影像和所述其他影像进行畸变矫正处理,并基于已畸变矫正的所述主影像和所述其他影像将所述其他影像与所述主影像对齐。In an embodiment of the present invention, the method further includes: before aligning the other image with the main image, performing distortion correction processing on the main image and the other image respectively, and correcting the distortion based on the distortion. The main image and the other images of align the other images with the main image.
在本发明的一个实施例中,所述畸变矫正处理是基于所述多个摄像头的内参数和畸变参数。In an embodiment of the present invention, the distortion correction processing is based on the internal parameters and distortion parameters of the multiple cameras.
在本发明的一个实施例中,所述高程数据是基于点云生成的,所述点云是基于所述成像位姿信息生成的。In an embodiment of the present invention, the elevation data is generated based on a point cloud, and the point cloud is generated based on the imaging pose information.
在本发明的一个实施例中,所述点云是基于所述成像位姿信息生成的稠密点云。In an embodiment of the present invention, the point cloud is a dense point cloud generated based on the imaging pose information.
在本发明的一个实施例中,所述点云是基于对所述主影像执行SFM算法而得到的稀疏点云。In an embodiment of the present invention, the point cloud is based on a sparse point cloud obtained by performing an SFM algorithm on the main image.
在本发明的一个实施例中,所述方法还包括:将由同一摄像头拍摄的所述影像各自的正射影像进行镶嵌融合以生成各个波段的正射影像。In an embodiment of the present invention, the method further includes: mosaic fusion of the respective orthoimages of the images captured by the same camera to generate orthoimages of various bands.
在本发明的一个实施例中,所述方法还包括:基于所述各个波段的正射影像生成植被指数地图。In an embodiment of the present invention, the method further includes: generating a vegetation index map based on the orthophotos of the respective bands.
在本发明的一个实施例中,所述方法还包括:将所述植被指数地图进行伪彩色的可视化渲染。In an embodiment of the present invention, the method further includes: performing pseudo-color visual rendering on the vegetation index map.
在本发明的一个实施例中,所述方法还包括:在将所述其他影像与所述主影像对齐之后,基于所述主影像和经对齐的所述其他影像生成植被指数地图;以及根据所述高程数据和所述成像位姿信息矫正所述植被指数地图,得到对应所述植被指数地图的正射影像。In an embodiment of the present invention, the method further includes: after aligning the other image with the main image, generating a vegetation index map based on the main image and the aligned other image; and The elevation data and the imaging pose information correct the vegetation index map to obtain an orthophoto corresponding to the vegetation index map.
根据本发明另一方面,提供了一种正射影像生成系统,所述系统包括存储装置和处理器,所述存储装置上存储有由所述处理器运行的计算机程序,所述计算机程序在被所述处理器运行时执行上述任一项所述的正射影像生成方法。According to another aspect of the present invention, an orthophoto generation system is provided. The system includes a storage device and a processor. The storage device stores a computer program run by the processor. When the processor is running, the orthophoto generating method described in any one of the above is executed.
根据本发明又一方面,提供了一种存储介质,所述存储介质上存储有 计算机程序,所述计算机程序在运行时执行上述任一项所述的正射影像生成方法。According to another aspect of the present invention, a storage medium is provided, and a computer program is stored on the storage medium, and the computer program executes the orthoimage generating method described in any one of the above items when the computer program is running.
根据本发明实施例的正射影像生成方法、系统和存储介质仅获取多光谱影像中的主影像的成像位姿信息,并基于主影像的成像位姿信息生成拟合目标测区高程的高程数据,最后基于主影像的成像位姿信息和生成的高程数据矫正主影像以外的其他影像以得到其他影像的正射影像,也就是说,将获取的主影像的成像位姿信息和测区的高程数据用于生成对应其他影像的正射影像,这样,可减小多摄像头采集场景下获取多个正射影像的计算量,提高正射影像的生成效率。The orthophoto generating method, system and storage medium according to the embodiments of the present invention only acquire the imaging pose information of the main image in the multispectral image, and generate elevation data fitting the elevation of the target survey area based on the imaging pose information of the main image Finally, based on the imaging pose information of the main image and the generated elevation data, other images other than the main image are corrected to obtain the orthophoto of other images, that is, the imaging pose information of the main image and the elevation of the survey area will be obtained The data is used to generate orthoimages corresponding to other images. In this way, the amount of calculation for acquiring multiple orthoimages in a multi-camera acquisition scenario can be reduced, and the generation efficiency of orthoimages can be improved.
附图说明Description of the drawings
图1示出根据本发明实施例的正射影像生成方法的示意性流程图;Fig. 1 shows a schematic flowchart of a method for generating an orthophoto according to an embodiment of the present invention;
图2示出根据本发明实施例的多个影像的示例图;Fig. 2 shows an example diagram of multiple images according to an embodiment of the present invention;
图3示出根据本发明另一实施例的正射影像生成方法的示意性流程图;Fig. 3 shows a schematic flowchart of a method for generating an orthophoto according to another embodiment of the present invention;
图4A示出根据本发明实施例的对齐前绿色波段影像与红色边缘波段影像的卷帘叠加显示效果;FIG. 4A shows a rolling-blind superimposed display effect of a green band image and a red edge band image before alignment according to an embodiment of the present invention;
图4B示出根据本发明实施例的对齐及辐射校正后绿色波段影像与红色边缘波段影像的卷帘叠加显示效果;FIG. 4B shows a rolling-blind superimposed display effect of a green band image and a red edge band image after alignment and radiation correction according to an embodiment of the present invention;
图5示出根据本发明又一实施例的正射影像生成方法的示意性流程图;FIG. 5 shows a schematic flowchart of a method for generating an orthophoto according to another embodiment of the present invention;
图6A到图6C分别示出根据本发明实施例的正射影像生成方法得到的不同波段的正射影像的示意图;6A to 6C respectively show schematic diagrams of orthoimages of different wavebands obtained by the method for generating orthoimages according to an embodiment of the present invention;
图6D示出根据本发明实施例的正射影像生成方法得到的经伪彩色可视化渲染的植被指数地图的示意图;以及FIG. 6D shows a schematic diagram of a vegetation index map rendered by pseudo-color visualization obtained by the method for generating an orthophoto according to an embodiment of the present invention; and
图7示出根据本发明实施例的正射影像生成系统的示意性框图。Fig. 7 shows a schematic block diagram of an orthophoto generation system according to an embodiment of the present invention.
具体实施方式detailed description
为了使得本发明的目的、技术方案和优点更为明显,下面将参照附图详细描述根据本发明的示例实施例。显然,所描述的实施例仅仅是本发明 的一部分实施例,而不是本发明的全部实施例,应理解,本发明不受这里描述的示例实施例的限制。基于本发明中描述的本发明实施例,本领域技术人员在没有付出创造性劳动的情况下所得到的所有其它实施例都应落入本发明的保护范围之内。In order to make the objectives, technical solutions, and advantages of the present invention more obvious, the exemplary embodiments according to the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited by the exemplary embodiments described herein. Based on the embodiments of the present invention described in the present invention, all other embodiments obtained by those skilled in the art without creative work should fall within the protection scope of the present invention.
在下文的描述中,给出了大量具体的细节以便提供对本发明更为彻底的理解。然而,对于本领域技术人员而言显而易见的是,本发明可以无需一个或多个这些细节而得以实施。在其他的例子中,为了避免与本发明发生混淆,对于本领域公知的一些技术特征未进行描述。In the following description, a lot of specific details are given in order to provide a more thorough understanding of the present invention. However, it is obvious to those skilled in the art that the present invention can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present invention, some technical features known in the art are not described.
应当理解的是,本发明能够以不同形式实施,而不应当解释为局限于这里提出的实施例。相反地,提供这些实施例将使公开彻底和完全,并且将本发明的范围完全地传递给本领域技术人员。It should be understood that the present invention can be implemented in different forms and should not be construed as being limited to the embodiments presented here. On the contrary, the provision of these embodiments will make the disclosure thorough and complete, and will fully convey the scope of the present invention to those skilled in the art.
在此使用的术语的目的仅在于描述具体实施例并且不作为本发明的限制。在此使用时,单数形式的“一”、“一个”和“所述/该”也意图包括复数形式,除非上下文清楚指出另外的方式。还应明白术语“组成”和/或“包括”,当在该说明书中使用时,确定所述特征、整数、步骤、操作、元件和/或部件的存在,但不排除一个或更多其它的特征、整数、步骤、操作、元件、部件和/或组的存在或添加。在此使用时,术语“和/或”包括相关所列项目的任何及所有组合。The purpose of the terms used here is only to describe specific embodiments and not as a limitation of the present invention. When used herein, the singular forms "a", "an" and "the/the" are also intended to include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "composition" and/or "including", when used in this specification, determine the existence of the described features, integers, steps, operations, elements and/or components, but do not exclude one or more other The existence or addition of features, integers, steps, operations, elements, components, and/or groups. As used herein, the term "and/or" includes any and all combinations of related listed items.
为了彻底理解本发明,将在下列的描述中提出详细的步骤以及详细的结构,以便阐释本发明提出的技术方案。本发明的较佳实施例详细描述如下,然而除了这些详细描述外,本发明还可以具有其他实施方式。In order to thoroughly understand the present invention, detailed steps and detailed structures will be proposed in the following description to explain the technical solution proposed by the present invention. The preferred embodiments of the present invention are described in detail as follows. However, in addition to these detailed descriptions, the present invention may also have other embodiments.
如前所述,目前的正射影像生成方法需要获取各波段影像的成像位姿信息,并基于各波段影像的成像位姿信息各自生成各波段影像的正射影像,这样的方法计算量非常大,正射影像的生成效率低下。基于此,本发明提供一种正射影像生成方案,下面结合附图来描述根据本发明实施例的正射影像生成方案。As mentioned earlier, the current orthophoto generation method needs to obtain the imaging pose information of each band image, and generate the orthophoto of each band image based on the imaging pose information of each band image. This method is very computationally intensive. , The generation efficiency of orthophotos is low. Based on this, the present invention provides an orthophoto generation solution, and the orthophoto generation solution according to the embodiments of the present invention will be described below with reference to the accompanying drawings.
图1示出根据本发明实施例的正射影像生成方法100的示意性流程图。如图1所示,正射影像生成方法100可以包括如下步骤:FIG. 1 shows a schematic flowchart of a method 100 for generating an orthophoto according to an embodiment of the present invention. As shown in FIG. 1, the orthophoto generation method 100 may include the following steps:
在步骤S110,获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,其中,所述多个摄像头设置在移动平台。In step S110, multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area are acquired, wherein the multiple cameras are arranged on a mobile platform.
在本发明的实施例中,在步骤S110所获取的多个影像是通过多个摄像头对目标测区进行拍摄得到的,所述多个摄像头设置在移动平台(诸如无人机)上,在移动平台移动的过程中,所述多个摄像头针对目标测区拍摄得到多个影像。在同一曝光时段内(其中所述曝光时段的时长小于预设时长阈值),所述多个摄像头所拍摄的多个影像之间可能具有较多的重叠部分。在不同曝光时段内,所述多个摄像头所拍摄的多个影像之间可能具有较少的重叠部分或不具有重叠部分。In the embodiment of the present invention, the multiple images acquired in step S110 are obtained by shooting the target survey area by multiple cameras, and the multiple cameras are set on a mobile platform (such as a drone). During the movement of the platform, the multiple cameras capture multiple images for the target measurement area. Within the same exposure period (where the duration of the exposure period is less than the preset duration threshold), there may be more overlapping parts between the multiple images captured by the multiple cameras. In different exposure periods, the multiple images captured by the multiple cameras may have less overlap or no overlap.
应理解,本文中所述的多个摄像头拍摄得到多个影像可以理解为:同一个相机中的多个摄像头各自拍摄得到多个影像。例如,同一个相机中包括RGB摄像头和近红外摄像头,其针对目标测区拍摄的影像可以包括RGB影像和近红外影像。此外,本文中所述的多个摄像头拍摄得到多个影像也可以理解为:多个相机各自拍摄得到多个影像。例如,RGB相机和近红外相机,其针对目标测区拍摄的影像分别为RGB影像和近红外影像。此外,本文中所述的多个摄像头拍摄得到多个影像还可以理解为:同一相机中的同一摄像头拍摄得到一个影像,并从该影像中获取多个通道的图像或多种格式的图像。例如,RGB摄像头拍摄得到RGB影像,可从该RGB影像获取红色波段影像、绿色波段影像等。总之,基于设置在移动平台上的多个摄像头,可以获取到多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像。所述多个影像可以是同一曝光时段的多个影像,此时这多个影像彼此为不同波段的影像;所述多个影像也可以是多个曝光时段的多个影像,此时所述多个影像在同一曝光时段内的影像彼此之间为不同波段的影像,在不同曝光时段内的影像彼此之间可能为不同波段的影像,也可能为同一波段的影像。It should be understood that the multiple images captured by multiple cameras described herein can be understood as: multiple cameras in the same camera capture multiple images each. For example, the same camera includes an RGB camera and a near-infrared camera, and the images taken for the target measurement area may include RGB images and near-infrared images. In addition, the multiple images captured by multiple cameras described in this article can also be understood as: multiple images captured by multiple cameras each. For example, for RGB cameras and near-infrared cameras, the images taken for the target measurement area are RGB images and near-infrared images respectively. In addition, the multiple images captured by multiple cameras described in this article can also be understood as: the same camera in the same camera captures an image, and images of multiple channels or images of multiple formats are obtained from the image. For example, an RGB image captured by an RGB camera can be used to obtain a red band image, a green band image, etc. from the RGB image. In short, based on the multiple cameras arranged on the mobile platform, multiple images of the target measurement area obtained by the multiple cameras shooting the target measurement area can be obtained. The multiple images may be multiple images of the same exposure period, and at this time, the multiple images are images of different wavebands; the multiple images may also be multiple images of multiple exposure periods, and the multiple images may be multiple images of multiple exposure periods. Images in the same exposure period are images of different wavebands, and images in different exposure periods may be images of different wavebands, or images of the same waveband.
可以参照图2理解上文所述的多个影像。图2示出了根据本发明实施例的多个影像的示例图,如图2所示,示例性地示出了四行六列的影像。其中,每一行的影像是同一曝光时段内不同波段的影像,每一列的影像是不同曝光时段同一波段的影像。也就是说,在图2中,示例性地示出了四个曝光时段的、六个波段的影像。应理解,图2所示的示例仅是示例性的,实际应用当中可能包括其他数目的曝光时段和其他数目的波段。The multiple images described above can be understood with reference to FIG. 2. FIG. 2 shows an example diagram of multiple images according to an embodiment of the present invention. As shown in FIG. 2, images with four rows and six columns are exemplarily shown. Among them, the images of each row are images of different wavebands in the same exposure period, and the images of each column are images of the same waveband in different exposure periods. That is to say, in FIG. 2, images of four exposure periods and six bands are exemplarily shown. It should be understood that the example shown in FIG. 2 is only exemplary, and actual applications may include other numbers of exposure periods and other numbers of bands.
下面继续参考图1,描述根据本发明实施例的正射影像生成方法100 的后续步骤。Next, referring to FIG. 1, the subsequent steps of the orthophoto generation method 100 according to the embodiment of the present invention will be described.
在步骤S120,获取所述多个影像中的主影像的成像位姿信息,并根据所述主影像和所述成像位姿信息生成用于拟合所述目标测区高程的高程数据。In step S120, the imaging pose information of the main image in the plurality of images is acquired, and the elevation data for fitting the elevation of the target survey area is generated according to the main image and the imaging pose information.
在本发明的实施例中,可以从步骤S110获取到的多个影像中,仅获取主影像的成像位姿信息。其中,主影像可以是所述多个影像中任一波段的影像,所述多个影像中除主影像以外的影像都可以称为附属影像或其他影像。例如,继续参考图2的示例,如果在步骤S110中仅获取同一曝光时段内的多个影像(例如图2中的一行影像),则主影像可以为所述多个影像中的任一张影像(例如图2中的一行影像中的任一张影像);如果在步骤S110中获取多个曝光时段内的多个影像(例如图2中的四行六列影像),则主影像可以为所述多个影像中的任一列影像(例如图2中的四行六列影像中的任一列影像)。示例性地,主影像可以是RGB影像。RGB影像与其他波段的影像相比,纹理信息更为丰富,因此获取RGB影像的成像位姿信息进行三维重建容易得到精确可靠的结果。In the embodiment of the present invention, from the multiple images obtained in step S110, only the imaging pose information of the main image can be obtained. Wherein, the main image may be an image of any waveband among the plurality of images, and all images in the plurality of images other than the main image may be referred to as auxiliary images or other images. For example, continuing to refer to the example of FIG. 2, if only multiple images (such as a row of images in FIG. 2) within the same exposure period are acquired in step S110, the main image may be any one of the multiple images. (For example, any one of the images in a row of images in FIG. 2); if multiple images in multiple exposure periods are acquired in step S110 (for example, images in four rows and six columns in FIG. 2), the main image can be all images. Any column of the multiple images (for example, any column of images in four rows and six columns in FIG. 2). Exemplarily, the main image may be an RGB image. Compared with images of other bands, RGB images have richer texture information. Therefore, it is easy to obtain accurate and reliable results by obtaining the imaging pose information of RGB images for three-dimensional reconstruction.
在一个示例中,可以基于每个影像的标签(标识符)来确定该影像是什么波段的影像,或者确定该影像是主影像还是其他影像。在其他示例中,还可以通过任何其他合适的方式来从多个影像中获取主影像,本申请对此不作限制。In one example, it is possible to determine what band of the image is based on the tag (identifier) of each image, or determine whether the image is the main image or other images. In other examples, the main image can also be obtained from multiple images in any other suitable manner, which is not limited in this application.
在本发明的实施例中,可以通过SFM(structure from motion)算法对主影像进行重建处理,得到所述主影像的成像位姿信息。主影像的成像位姿信息可以包括拍摄主影像的摄像头在拍摄主影像时的定位信息、姿态信息以及相机内参数和畸变参数。其中,该定位信息和姿态信息可以是摄像头设置在的移动平台的定位信息和姿态信息。示例性地,该姿态信息可以包括云台角信息。示例性地,该云台角信息可以包括摄像头在拍摄主影像时云台的姿态信息,例如云台的横滚角(roll)、俯仰角(pitch)或者偏航角(yaw)。In the embodiment of the present invention, the main image may be reconstructed through the structure from motion (SFM) algorithm to obtain the imaging pose information of the main image. The imaging pose information of the main image may include positioning information, posture information, in-camera parameters and distortion parameters of the camera that shoots the main image when shooting the main image. Wherein, the positioning information and posture information may be the positioning information and posture information of the mobile platform on which the camera is set. Exemplarily, the posture information may include pan/tilt angle information. Exemplarily, the pan/tilt angle information may include the attitude information of the pan/tilt when the camera shoots the main image, such as the roll, pitch, or yaw angle of the pan/tilt.
在获取主影像的成像位姿信息后,可以根据主影像及其成像位姿信息生成用于拟合所述目标测区高程的高程数据。示例性地,可以根据主影像及其成像位姿信息生成稠密点云,再由稠密点云生成目标测区的数字高程 模型或数字表面模型。示例性地,也可以基于前述SFM过程中生成的稀疏点云生成用于拟合所述目标测区高程的高程数据。此外,除了前述数字高程模型或数字表面模型,该用于拟合所述目标测区高程的高程数据也可以是其他几何曲面或者平面。After acquiring the imaging pose information of the main image, elevation data for fitting the elevation of the target survey area can be generated according to the main image and its imaging pose information. Exemplarily, a dense point cloud can be generated based on the main image and its imaging pose information, and then a digital elevation model or digital surface model of the target survey area can be generated from the dense point cloud. Exemplarily, the elevation data used to fit the elevation of the target survey area may also be generated based on the sparse point cloud generated in the foregoing SFM process. In addition, in addition to the aforementioned digital elevation model or digital surface model, the elevation data used to fit the elevation of the target survey area may also be other geometric curved surfaces or planes.
下面继续参考图1,描述根据本发明实施例的正射影像生成方法100的后续步骤。Next, referring to FIG. 1, the subsequent steps of the orthophoto generation method 100 according to an embodiment of the present invention will be described.
在步骤S130,根据所述高程数据和所述成像位姿信息,矫正所述多个影像中除所述主影像以外的其他影像,得到对应所述其他影像的正射影像。In step S130, according to the elevation data and the imaging pose information, other images in the plurality of images except the main image are corrected to obtain orthoimages corresponding to the other images.
在本发明的实施例中,基于步骤S120得到的高程数据,可以生成主影像的正射影像,例如通过数字微分纠正算法将主影像的视角变为正射视角,以生成主影像的正射影像。对于除主影像以外的其他影像,在本发明的实施例中,采用基于主影像的成像位姿信息得到的目标测区的高程数据矫正其他影像的视角,以生成其他影像的正射影像,减少了一一获取其他各波段影像的成像位姿信息的计算量,因此相比于获取各波段影像的成像位姿信息各自生成正射影像的方式,不管包括多少波段的影像,均可利用主影像这一个波段的影像进行重建算法获取成像位姿信息,进而再生成其他波段的正射影像,因而可减小多摄像头采集场景下获取多个正射影像的计算量,提高正射影像的生成效率,并且能够避免各波段影像各自重建时出现重建结果不一致的情况,还使得无需对相机要求严格统一的曝光时间。In the embodiment of the present invention, based on the elevation data obtained in step S120, an orthophoto of the main image can be generated. For example, a digital differential correction algorithm is used to change the angle of view of the main image to an orthographic angle to generate the orthoimage of the main image. . For images other than the main image, in the embodiment of the present invention, the elevation data of the target measurement area obtained based on the imaging pose information of the main image is used to correct the angle of view of other images to generate orthoimages of other images, reducing One by one, the amount of calculation to obtain the imaging pose information of other bands of images, so compared to the way of obtaining the imaging pose information of each band of images to generate orthophotos, no matter how many bands of images are included, the main image can be used The image reconstruction algorithm of this band is used to obtain the imaging pose information, and then the orthoimages of other bands are generated, which can reduce the calculation amount of acquiring multiple orthoimages in the multi-camera acquisition scene, and improve the generation efficiency of orthoimages. , And can avoid the inconsistency of the reconstruction results when each band image is reconstructed, and it also eliminates the need for strict and uniform exposure time for the camera.
下面参考图3描述根据本发明另一实施例的正射影像生成方法。图3示出了根据本发明另一实施例的正射影像生成方法300的示意性流程图。如图3所示,正射影像生成方法300可以包括如下步骤:Hereinafter, a method for generating an orthophoto according to another embodiment of the present invention will be described with reference to FIG. 3. FIG. 3 shows a schematic flowchart of a method 300 for generating an orthophoto according to another embodiment of the present invention. As shown in FIG. 3, the orthophoto generating method 300 may include the following steps:
在步骤S310,获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,其中,所述多个摄像头设置在移动平台。In step S310, multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area are acquired, wherein the multiple cameras are arranged on a mobile platform.
在步骤S320,获取所述多个影像中的主影像的成像位姿信息,并根据所述主影像和所述成像位姿信息生成用于拟合所述目标测区高程的高程数据。In step S320, the imaging pose information of the main image in the plurality of images is acquired, and the elevation data for fitting the elevation of the target survey area is generated according to the main image and the imaging pose information.
在步骤S330,通过矫正参数对所述其他影像进行预处理。In step S330, the other images are preprocessed by correcting parameters.
在步骤S340,根据所述高程数据和所述成像位姿信息,矫正经预处理的所述其他影像,得到对应所述其他影像的正射影像。In step S340, according to the elevation data and the imaging pose information, the preprocessed other images are corrected to obtain orthoimages corresponding to the other images.
在参考图3描述的根据本申请实施例的正射影像生成方法300中的步骤S310、步骤S320和步骤S340与参考图1描述的根据本申请实施例的正射影像生成方法100中的步骤S110步骤S120和步骤S130类似,为了简洁,此处不再赘述。与参考图1描述的根据本申请实施例的正射影像生成方法100不同的是,在参考图3描述的根据本申请实施例的正射影像生成方法300还包括步骤S330,即在矫正其他影像之前,通过矫正参数对所述其他影像进行预处理,然后步骤S340根据所述高程数据和所述成像位姿信息,矫正经预处理的所述其他影像,得到对应所述其他影像的正射影像。在该实施例中,通过在生成其他影像的正射影像之前对其他影像进行预处理,可以得到可靠性更高的正射影像。Step S310, step S320, and step S340 in the orthophoto generation method 300 according to the embodiment of the present application described with reference to FIG. 3 and step S110 in the orthophoto generation method 100 according to the embodiment of the present application described with reference to FIG. 1 Step S120 is similar to step S130, and for the sake of brevity, it will not be repeated here. Different from the orthophoto generating method 100 according to the embodiment of the present application described with reference to FIG. 1, the orthophoto generating method 300 according to the embodiment of the present application described with reference to FIG. 3 further includes step S330, that is, correcting other images. Previously, the other images were preprocessed by correcting parameters, and then step S340 is based on the elevation data and the imaging pose information to correct the preprocessed other images to obtain orthoimages corresponding to the other images . In this embodiment, by preprocessing other images before generating orthoimages of other images, orthoimages with higher reliability can be obtained.
示例性地,所述通过矫正参数对所述其他影像进行预处理,可以包括将所述其他影像与所述主影像对齐,和/或对所述主影像和所述其他影像进行辐射校正处理。在该示例中,可以对主影像和其他影像进行辐射矫正处理,以消除或改正因辐射误差而引起的影像畸变,使得后续的处理更为精确。此外,还可以通过将其他影像与主影像对齐(例如纹理对齐),使得其他影像可以映射到主影像上获得与主影像一致的相机内外参数,从而使得基于主影像成像位姿信息生成其他影像的正射影像更为精确可靠。可以参照图4A和图4B理解影像对齐前和对齐及辐射校正后的效果,其中,图4A示出了对齐前绿色(Green)波段影像与红色边缘(RedEdeg)波段影像的卷帘叠加显示效果,图4B示出了对齐及辐射校正后绿色波段影像与红色边缘波段影像的卷帘叠加显示效果。Exemplarily, the preprocessing of the other images by the correction parameters may include aligning the other images with the main image, and/or performing radiometric correction processing on the main image and the other images. In this example, radiation correction processing can be performed on the main image and other images to eliminate or correct image distortion caused by radiation errors, so that subsequent processing is more accurate. In addition, you can also align other images with the main image (such as texture alignment), so that other images can be mapped to the main image to obtain the same internal and external camera parameters as the main image, so that other images can be generated based on the imaging pose information of the main image. Ortho image is more accurate and reliable. The effects of image alignment before and after alignment and radiation correction can be understood with reference to Figs. 4A and 4B. Fig. 4A shows the effect of rolling over the green band image and the red edge (RedEdeg) band image before alignment. FIG. 4B shows the superimposed display effect of the green band image and the red edge band image after alignment and radiation correction.
在本发明的一个实施例中,所述将所述其他影像与所述主影像对齐,可以包括:在所述主影像和所述其他影像之间确定同名像点,基于所述同名像点确定将所述其他影像映射到所述主影像的映射变换矩阵,并基于所述映射变换矩阵将所述其他影像映射到所述主影像上。在一个示例中,可以在主影像和其他影像之间确定四个(或四个以上)同名像点,并基于这些同名像点确定将其他影像映射到主影像的单应变换矩阵,并基于该单应变换矩阵将其他影像映射到主影像上。在另一个示例中,可以在主影像和其他影像之间确定同名像点,并基于这些同名像点确定将其他影像映射到主影像的相似变换矩阵或仿射变换矩阵,并基于该相似变换矩阵或仿射变 换矩阵将其他影像映射到主影像上。在其他示例中,也可以在主影像和其他影像之间确定同名像点,并基于这些同名像点确定将其他影像映射到主影像的其他任何变换矩阵,并基于该变换矩阵将其他影像映射到主影像上。在进一步的示例中,还可以通过除同名像点以外的其他影像相关系数的优化方法计算得到将其他影像映射到主影像的变换关系。在进一步的示例中,上述对齐方式可以以各种组合来实施,例如对影像进行分区,第一区域采用一种变换方式对齐,第二区域采用另一种变换方式对齐等;或者分步骤进行对齐,第一步骤采用第一变换方式,第二步骤采用第二变换方式,最终经过多个步骤实现对齐等。In an embodiment of the present invention, the aligning the other image with the main image may include: determining an image point with the same name between the main image and the other image, and determining based on the image point with the same name The other image is mapped to a mapping transformation matrix of the main image, and the other image is mapped to the main image based on the mapping transformation matrix. In one example, four (or more than four) image points with the same name can be determined between the main image and other images, and the homography transformation matrix that maps other images to the main image can be determined based on these image points with the same name, and based on this The homography transformation matrix maps other images onto the main image. In another example, image points with the same name can be determined between the main image and other images, and based on these image points, the similar transformation matrix or affine transformation matrix for mapping other images to the main image can be determined, and based on the similar transformation matrix Or the affine transformation matrix maps other images onto the main image. In other examples, image points with the same name can also be determined between the main image and other images, and based on these image points, any other transformation matrix that maps other images to the main image can be determined, and based on the transformation matrix, other images can be mapped to On the main image. In a further example, the transformation relationship of mapping other images to the main image can also be calculated by an optimization method of image correlation coefficients other than the image points of the same name. In a further example, the above alignment methods can be implemented in various combinations, such as partitioning the image, the first area is aligned by one transformation method, and the second area is aligned by another transformation method; or the alignment is performed in steps. , The first step adopts the first transformation method, the second step adopts the second transformation method, and finally the alignment is realized through multiple steps.
在本发明的另一个实施例中,所述将所述其他影像与所述主影像对齐,可以包括:基于通过传感器记录的所述主影像和所述其他影像各自的成像位姿信息确定所述其他影像与所述主影像之间的映射关系,并基于所述映射关系将所述其他影像映射到所述主影像上。在该实施例中,可以基于移动平台上设置的位置和姿态传感器确定主影像和其他影像各自成像时刻的位置和姿态,进一步推算出其他影像与主影像之间的映射关系。In another embodiment of the present invention, the aligning the other image with the main image may include: determining the respective imaging pose information of the main image and the other image recorded by a sensor A mapping relationship between other images and the main image, and mapping the other images to the main image based on the mapping relationship. In this embodiment, the position and posture of the main image and other images at respective imaging moments can be determined based on the position and posture sensors provided on the mobile platform, and the mapping relationship between the other images and the main image can be further calculated.
值得说明的是,由于主影像和其他影像可能分别由不同的摄像头曝光采集得到,并且曝光时间、位姿上可能有细微的差别,导致不同影像的成像亮度不同,会导致主影像和其他影像之间映射变换失准,即而对齐精度不够。It is worth noting that because the main image and other images may be acquired by different camera exposures, and there may be slight differences in exposure time and pose, the brightness of different images will be different, which will lead to the difference between the main image and other images. The inter-mapping transformation is inaccurate, that is, the alignment accuracy is insufficient.
在本发明进一步的实施例中,方法300还可以包括如下步骤(未在图3中示出):在将所述其他影像与所述主影像对齐之前,确定所述主影像和所述其他影像各自的梯度信息,并基于所述主影像和所述其他影像各自的对应的梯度信息将所述其他影像与所述主影像对齐。影像的梯度信息更能体现影像的边缘特性,因此在该实施例中,基于主影像和其他影像各自的对应的梯度信息将其他影像与主影像对齐,能够准确对不同对象之间进行区分,进一步提高对齐的精度。In a further embodiment of the present invention, the method 300 may further include the following steps (not shown in FIG. 3): before aligning the other image with the main image, determining the main image and the other image Respective gradient information, and align the other image with the main image based on the respective gradient information of the main image and the other image. The gradient information of the image can better reflect the edge characteristics of the image. Therefore, in this embodiment, other images are aligned with the main image based on the respective gradient information of the main image and other images, which can accurately distinguish between different objects, and further Improve the accuracy of alignment.
在本发明进一步的实施例中,方法300还可以包括如下步骤(未在图3中示出):在将所述其他影像与所述主影像对齐之前,分别对所述主影像和所述其他影像进行畸变矫正处理,并基于已畸变矫正的所述主影像和所述其他影像将所述其他影像与所述主影像对齐。畸变矫正处理可以矫正相 机成像过程中因透镜精度和工艺等引入的畸变,因此在该实施例中,基于经畸变矫正处理后的其他影像和主影像实施其他影像与主影像的对齐,能够进一步提高后续处理的精度。示例性地,所述畸变矫正处理可以是基于所述多个摄像头的内参数和畸变参数。其中,该内参数可以包括焦距、画幅、感光度等参数信息,其可以包括是经由传感器采集的,也可以是预先标定的。此外,上述的畸变矫正处理也可以作为前述的对其他影像进行的预处理。In a further embodiment of the present invention, the method 300 may further include the following steps (not shown in FIG. 3): before aligning the other image with the main image, separately aligning the main image and the other image The image undergoes distortion correction processing, and the other images are aligned with the main image based on the main image and the other images that have been distorted. Distortion correction processing can correct the distortion introduced by the lens accuracy and technology in the imaging process of the camera. Therefore, in this embodiment, the alignment of other images and the main image is implemented based on the other images and the main image after the distortion correction processing, which can further improve The accuracy of subsequent processing. Exemplarily, the distortion correction processing may be based on the internal parameters and distortion parameters of the multiple cameras. Wherein, the internal parameters may include parameter information such as focal length, frame, sensitivity, etc., which may include information collected via a sensor, or may be pre-calibrated. In addition, the aforementioned distortion correction processing can also be used as the aforementioned preprocessing for other images.
基于上面的描述,根据本发明另一实施例的正射影像生成方法300将获取的主影像的成像位姿信息和测区的高程数据用于生成对应其他影像的正射影像,这样,可减小多摄像头采集场景下获取多个正射影像的计算量,提高正射影像的生成效率。此外,根据本发明另一实施例的正射影像生成方法300在生成其他影像的正射影像之前对其他影像进行预处理,可以得到可靠性更高的正射影像。Based on the above description, the orthophoto generation method 300 according to another embodiment of the present invention uses the acquired imaging pose information of the main image and the elevation data of the survey area to generate orthoimages corresponding to other images. In this way, it can be reduced The amount of calculation for acquiring multiple orthophotos in a small multi-camera collection scene improves the generation efficiency of orthophotos. In addition, the orthophoto generating method 300 according to another embodiment of the present invention preprocesses the other images before generating the orthoimages of other images, so that an orthoimage with higher reliability can be obtained.
下面参考图5描述根据本发明又一实施例的正射影像生成方法。图5示出了根据本发明又一实施例的正射影像生成方法500的示意性流程图。如图5所示,正射影像生成方法500可以包括如下步骤:Hereinafter, a method for generating an orthoimage according to another embodiment of the present invention will be described with reference to FIG. 5. FIG. 5 shows a schematic flowchart of a method 500 for generating an orthophoto according to another embodiment of the present invention. As shown in FIG. 5, the orthophoto generation method 500 may include the following steps:
在步骤S510,获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,其中,所述多个摄像头设置在移动平台。In step S510, multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area are acquired, wherein the multiple cameras are set on a mobile platform.
在步骤S520,获取所述多个影像中的主影像的成像位姿信息,并根据所述主影像和所述成像位姿信息生成用于拟合所述目标测区高程的高程数据。In step S520, the imaging pose information of the main image in the plurality of images is acquired, and the elevation data for fitting the elevation of the target survey area is generated according to the main image and the imaging pose information.
在步骤S530,根据所述高程数据和所述成像位姿信息,矫正所述多个影像中除所述主影像以外的其他影像,得到对应所述其他影像的正射影像。In step S530, according to the elevation data and the imaging pose information, other images in the plurality of images except the main image are corrected to obtain orthoimages corresponding to the other images.
在步骤S540,将由同一摄像头拍摄的所述影像各自的正射影像进行镶嵌融合以生成各个波段的正射影像。In step S540, the orthoimages of the respective images captured by the same camera are mosaic-fused to generate orthoimages of various bands.
在参考图5描述的根据本申请实施例的正射影像生成方法500中的步骤S510、步骤S520和步骤S530与参考图1描述的根据本申请实施例的正射影像生成方法100中的步骤S110步骤S120和步骤S130类似,为了简洁,此处不再赘述。与参考图1描述的根据本申请实施例的正射影像生成方法100不同的是,在参考图5描述的根据本申请实施例的正射影像生成 方法500还包括步骤S540,即在得到其他影像的正射影像之后,将由同一摄像头拍摄的所述影像各自的正射影像进行镶嵌融合以生成各个波段的正射影像。如前文结合图1和图2所描述的,多个影像可以是多个曝光时段得到的多个影像,每个曝光时段均能得到多个波段的影像,每个波段的影像对应于一个摄像头,且每个曝光时段中的一个波段的影像为主影像,其余波段的影像为其他影像。因此,在得到各曝光时段中的其他影像的正射影像之后,可以将不同曝光时段的、同一波段影像的正射影像进行镶嵌融合(也就是将图2中每一列影像的正射影像进行镶嵌融合),以生成各波段的正射影像,从而得到目标测区较大范围的正射影像,例如如图6A到图6C所示的,图6A、图6B和图6C分别示出了三个波段的正射影像的示意图。Step S510, step S520, and step S530 in the orthophoto generation method 500 according to the embodiment of the present application described with reference to FIG. 5 and step S110 in the orthophoto generation method 100 according to the embodiment of the present application described with reference to FIG. 1 Step S120 is similar to step S130, and for the sake of brevity, it will not be repeated here. Different from the orthophoto generation method 100 according to the embodiment of the present application described with reference to FIG. 1, the orthophoto generation method 500 according to the embodiment of the present application described with reference to FIG. 5 further includes step S540, that is, when other images are obtained After the orthoimages of the images, the orthoimages of the images taken by the same camera are mosaic-fused to generate orthoimages of various bands. As described above in conjunction with Figure 1 and Figure 2, multiple images can be multiple images obtained during multiple exposure periods, each exposure period can obtain multiple band images, and each band image corresponds to a camera. And the image of one band in each exposure period is the main image, and the images of the remaining bands are other images. Therefore, after the orthoimages of other images in each exposure period are obtained, the orthoimages of the same waveband images with different exposure periods can be mosaic-fused (that is, the orthoimages of each row of images in Figure 2 are mosaicked). Fusion) to generate orthoimages of each band to obtain a larger range of orthoimages of the target survey area, for example, as shown in Figure 6A to Figure 6C, Figure 6A, Figure 6B and Figure 6C respectively show three Schematic diagram of the orthophoto of the band.
进一步地,基于各波段的正射影像,可以生成目标测区的植被指数地图,植被指数地图可以量化地为精准农业提供施肥和用药依据,有效提高肥料和农药利用率,还可用于早期检测农作物病虫害减少损失。进一步地,为了更好地可视化区分指数的数值大小,在一个示例中,可以对生成的植被指数地图进行伪彩色的可视化渲染,如图6D所示的(应理解,图6D所示的植被指数地图应为彩色的,但考虑到专利申请文件的要求将其调成了灰度图的形式)。Furthermore, based on the orthophotos of each band, a vegetation index map of the target measurement area can be generated. The vegetation index map can quantitatively provide a basis for fertilization and drug use for precision agriculture, effectively improve the utilization of fertilizers and pesticides, and can also be used for early detection of crops. Pests and diseases reduce losses. Further, in order to better visualize the numerical value of the distinguishing index, in one example, the generated vegetation index map can be rendered in pseudo-color, as shown in Figure 6D (it should be understood that the vegetation index shown in Figure 6D The map should be in color, but considering the requirements of the patent application documents, it is adjusted to the form of grayscale map).
在本发明的再一个实施例中,还可以在将其他影像与主影像对齐之后,基于主影像和经对齐的其他影像生成植被指数地图,然后再根据所述高程数据和所述成像位姿信息矫正所述植被指数地图,得到对应所述植被指数地图的正射影像。在该实施例中,先基于主影像和其他影像生成植被指数地图,再生成植被指数地图的正射影像,也可以实现对正射视角植被指数地图的生成。In still another embodiment of the present invention, after aligning other images with the main image, a vegetation index map may be generated based on the main image and other aligned images, and then based on the elevation data and the imaging pose information Correcting the vegetation index map to obtain an orthophoto corresponding to the vegetation index map. In this embodiment, the vegetation index map is first generated based on the main image and other images, and then the orthographic image of the vegetation index map is generated, which can also realize the generation of the vegetation index map from the orthographic perspective.
以上示例性地描述了根据本发明实施例的正射影像生成方法。基于上面的描述,根据本发明实施例的正射影像生成方法仅获取多光谱影像中的主影像的成像位姿信息,并基于主影像的成像位姿信息生成拟合目标测区高程的高程数据,最后基于主影像的成像位姿信息和生成的高程数据矫正主影像以外的其他影像以得到其他影像的正射影像,也就是说,将获取的主影像的成像位姿信息和测区的高程数据用于生成对应其他影像的正射影 像,这样,可减小多摄像头采集场景下获取多个正射影像的计算量,提高正射影像的生成效率。此外,根据本发明实施例的正射影像生成方法可在生成其他影像的正射影像之前对其他影像进行预处理,可以得到可靠性更高的正射影像。进一步地,根据本发明实施例的正射影像生成方法可以用于生成目标测区的植被指数地图,从而量化地为精准农业提供施肥和用药依据,有效提高肥料和农药利用率,还可用于早期检测农作物病虫害减少损失。The above exemplarily describes the orthophoto generation method according to the embodiment of the present invention. Based on the above description, the orthophoto generation method according to the embodiment of the present invention only obtains the imaging pose information of the main image in the multispectral image, and generates elevation data fitting the elevation of the target survey area based on the imaging pose information of the main image Finally, based on the imaging pose information of the main image and the generated elevation data, other images other than the main image are corrected to obtain the orthophoto of other images, that is, the imaging pose information of the main image and the elevation of the survey area will be obtained The data is used to generate orthoimages corresponding to other images. In this way, the amount of calculation for acquiring multiple orthoimages in a multi-camera acquisition scenario can be reduced, and the generation efficiency of orthoimages can be improved. In addition, the orthophoto generation method according to the embodiment of the present invention can preprocess other images before generating the orthoimages of other images, and can obtain orthoimages with higher reliability. Further, the orthophoto generation method according to the embodiment of the present invention can be used to generate a vegetation index map of the target survey area, thereby quantitatively providing a basis for fertilization and drug use for precision agriculture, effectively improving the utilization rate of fertilizers and pesticides, and can also be used in the early stage. Detect crop diseases and insect pests to reduce losses.
下面结合图7描述根据本发明另一方面提供的正射影像生成系统。图7示出了根据本发明实施例的正射影像生成系统700的示意性框图。正射影像生成系统700包括存储装置710以及处理器720。The following describes an orthophoto generation system according to another aspect of the present invention with reference to FIG. 7. FIG. 7 shows a schematic block diagram of an orthophoto generation system 700 according to an embodiment of the present invention. The orthophoto generation system 700 includes a storage device 710 and a processor 720.
其中,存储装置710存储用于实现根据本发明实施例的正射影像生成方法中的相应步骤的程序。处理器720用于运行存储装置710中存储的程序,以执行根据本发明实施例的正射影像生成方法的相应步骤。Wherein, the storage device 710 stores a program for realizing the corresponding steps in the orthophoto generation method according to the embodiment of the present invention. The processor 720 is configured to run a program stored in the storage device 710 to execute the corresponding steps of the orthoimage generating method according to the embodiment of the present invention.
在一个实施例中,在所述程序被处理器720运行时使得正射影像生成系统700执行以下步骤:获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,其中,所述多个摄像头设置在移动平台;获取所述多个影像中的主影像的成像位姿信息,并根据所述主影像和所述成像位姿信息生成用于拟合所述目标测区高程的高程数据;以及根据所述高程数据和所述成像位姿信息,矫正所述多个影像中除所述主影像以外的其他影像,得到对应所述其他影像的正射影像。In one embodiment, when the program is executed by the processor 720, the orthophoto generation system 700 is caused to perform the following steps: acquiring multiple images of the target measurement area obtained by shooting the target measurement area by multiple cameras, wherein , The plurality of cameras are set on a mobile platform; the imaging pose information of the main image in the plurality of images is acquired, and according to the main image and the imaging pose information, it is used to fit the target measurement area Elevation data; and based on the elevation data and the imaging pose information, correcting other images in the plurality of images other than the main image to obtain an orthoimage corresponding to the other images.
在本发明的一个实施例中,在所述程序被处理器720运行时使得正射影像生成系统700执行的所述获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,包括:获取多个摄像头在同一曝光时段内对目标测区进行拍摄得到的所述目标测区的多个影像,其中,所述曝光时段的时长小于预设时长阈值。In an embodiment of the present invention, when the program is executed by the processor 720, the orthophoto generation system 700 executes the acquisition of multiple cameras to photograph the target measurement area. The image includes: acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area within the same exposure period, wherein the duration of the exposure period is less than a preset duration threshold.
在本发明的一个实施例中,在所述程序被处理器720运行时使得正射影像生成系统700执行的所述获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,还包括:获取多个摄像头在多个曝光时段内对目标测区进行拍摄得到的所述目标测区的多个影像,其中,各个曝光时段内拍摄得到的主影像由所述多个摄像头中的同一个摄像头拍摄得到;并且 所述获取所述主影像的成像位姿信息,包括:通过SFM算法,对所述各个曝光时段内拍摄得到的所述主影像进行重建处理,得到所述主影像的所述成像位姿信息。In an embodiment of the present invention, when the program is executed by the processor 720, the orthophoto generation system 700 executes the acquisition of multiple cameras to photograph the target measurement area. The image further includes: acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area in multiple exposure periods, wherein the main images captured in each exposure period are captured by the multiple cameras And the acquisition of the imaging pose information of the main image includes: using an SFM algorithm to reconstruct the main image taken during each exposure period to obtain the main image The imaging pose information of the image.
在本发明的一个实施例中,所述影像的类型包括RGB影像、近红外影像、红色波段影像、绿色波段影像中的至少两项。In an embodiment of the present invention, the types of the images include at least two of RGB images, near-infrared images, red-band images, and green-band images.
在本发明的一个实施例中,所述主影像为RGB影像。In an embodiment of the present invention, the main image is an RGB image.
在本发明的一个实施例中,在所述程序被处理器720运行时还使得正射影像生成系统700执行以下步骤:在矫正所述其他影像之前,通过矫正参数对所述其他影像进行预处理;并且所述矫正包括:根据所述高程数据和所述成像位姿信息,矫正经预处理的所述其他影像,得到对应所述其他影像的正射影像。In an embodiment of the present invention, when the program is executed by the processor 720, the orthophoto generation system 700 is also caused to perform the following steps: before the other images are corrected, the other images are preprocessed by correction parameters And the correction includes: correcting the preprocessed other images according to the elevation data and the imaging pose information to obtain an orthoimage corresponding to the other images.
在本发明的一个实施例中,在所述程序被处理器720运行时使得正射影像生成系统700执行的所述通过矫正参数对所述其他影像进行预处理,包括:将所述其他影像与所述主影像对齐;和/或对所述主影像和所述其他影像进行辐射校正处理。In an embodiment of the present invention, when the program is executed by the processor 720, the orthophoto generation system 700 executes the preprocessing of the other images through the correction parameters, including: combining the other images with Aligning the main image; and/or performing radiometric correction processing on the main image and the other images.
在本发明的一个实施例中,在所述程序被处理器720运行时使得正射影像生成系统700执行的所述将所述其他影像与所述主影像对齐,包括:在所述主影像和所述其他影像之间确定同名像点,基于所述同名像点确定将所述其他影像映射到所述主影像的映射变换矩阵,并基于所述映射变换矩阵将所述其他影像映射到所述主影像上。In an embodiment of the present invention, when the program is executed by the processor 720, the alignment of the other images with the main image performed by the orthophoto generation system 700 includes: The image points of the same name are determined among the other images, the mapping transformation matrix for mapping the other images to the main image is determined based on the image points of the same name, and the other images are mapped to the main image based on the mapping transformation matrix. On the main image.
在本发明的一个实施例中,在所述程序被处理器720运行时使得正射影像生成系统700执行的所述将所述其他影像与所述主影像对齐,包括:基于通过传感器记录的所述主影像和所述其他影像各自的成像位姿信息确定所述其他影像与所述主影像之间的映射关系,并基于所述映射关系将所述其他影像映射到所述主影像上。In an embodiment of the present invention, when the program is executed by the processor 720, the alignment of the other images with the main image performed by the orthophoto generation system 700 includes: based on all the images recorded by the sensor. The respective imaging pose information of the main image and the other images determines the mapping relationship between the other image and the main image, and maps the other image to the main image based on the mapping relationship.
在本发明的一个实施例中,在所述程序被处理器720运行时还使得正射影像生成系统700执行以下步骤:在将所述其他影像与所述主影像对齐之前,确定所述主影像和所述其他影像各自的梯度信息,并基于所述主影像和所述其他影像各自的对应的梯度信息将所述其他影像与所述主影像对齐。In an embodiment of the present invention, when the program is executed by the processor 720, the orthophoto generating system 700 is also caused to perform the following steps: before aligning the other images with the main image, determining the main image And the respective gradient information of the other image, and align the other image with the main image based on the respective gradient information of the main image and the other image.
在本发明的一个实施例中,在所述程序被处理器720运行时还使得正射影像生成系统700执行以下步骤:在将所述其他影像与所述主影像对齐之前,分别对所述主影像和所述其他影像进行畸变矫正处理,并基于已畸变矫正的所述主影像和所述其他影像将所述其他影像与所述主影像对齐。In an embodiment of the present invention, when the program is run by the processor 720, the orthophoto image generation system 700 is also caused to perform the following steps: before aligning the other images with the main image, perform the following steps on the main image. The image and the other images are subjected to distortion correction processing, and the other images are aligned with the main image based on the main image and the other images that have been distorted.
在本发明的一个实施例中,所述畸变矫正处理是基于所述多个摄像头的内参数和畸变参数。In an embodiment of the present invention, the distortion correction processing is based on the internal parameters and distortion parameters of the multiple cameras.
在本发明的一个实施例中,所述高程数据是基于点云生成的,所述点云是基于所述成像位姿信息生成的。In an embodiment of the present invention, the elevation data is generated based on a point cloud, and the point cloud is generated based on the imaging pose information.
在本发明的一个实施例中,所述点云是基于所述成像位姿信息生成的稠密点云。In an embodiment of the present invention, the point cloud is a dense point cloud generated based on the imaging pose information.
在本发明的一个实施例中,所述点云是基于对所述主影像执行SFM算法而得到的稀疏点云。In an embodiment of the present invention, the point cloud is based on a sparse point cloud obtained by performing an SFM algorithm on the main image.
在本发明的一个实施例中,在所述程序被处理器720运行时还使得正射影像生成系统700执行以下步骤:将由同一摄像头拍摄的所述影像各自的正射影像进行镶嵌融合以生成各个波段的正射影像。In an embodiment of the present invention, when the program is run by the processor 720, the orthophoto generating system 700 is also caused to perform the following steps: mosaic and fusion of the respective orthophotos of the images taken by the same camera to generate each Orthophoto of the band.
在本发明的一个实施例中,在所述程序被处理器720运行时还使得正射影像生成系统700执行以下步骤:基于所述各个波段的正射影像生成植被指数地图。In an embodiment of the present invention, when the program is run by the processor 720, the orthophoto generating system 700 is also caused to perform the following steps: generating a vegetation index map based on the orthophotos of each band.
在本发明的一个实施例中,在所述程序被处理器720运行时还使得正射影像生成系统700执行以下步骤:将所述植被指数地图进行伪彩色的可视化渲染。In an embodiment of the present invention, when the program is run by the processor 720, the orthophoto generation system 700 is also caused to perform the following steps: visually rendering the vegetation index map in pseudo-color.
在本发明的一个实施例中,在所述程序被处理器720运行时还使得正射影像生成系统700执行以下步骤:在将所述其他影像与所述主影像对齐之后,基于所述主影像和经对齐的所述其他影像生成植被指数地图;以及根据所述高程数据和所述成像位姿信息矫正所述植被指数地图,得到对应所述植被指数地图的正射影像。In an embodiment of the present invention, when the program is executed by the processor 720, the orthophoto generation system 700 is also caused to perform the following steps: after aligning the other images with the main image, based on the main image Generating a vegetation index map with the aligned other images; and correcting the vegetation index map according to the elevation data and the imaging pose information to obtain an orthoimage corresponding to the vegetation index map.
此外,根据本发明实施例,还提供了一种存储介质,在所述存储介质上存储了程序指令,在所述程序指令被计算机或处理器运行时用于执行本发明实施例的正射影像生成方法的相应步骤。所述存储介质例如可以包括智能电话的存储卡、平板电脑的存储部件、个人计算机的硬盘、只读存储 器(ROM)、可擦除可编程只读存储器(EPROM)、便携式紧致盘只读存储器(CD-ROM)、USB存储器、或者上述存储介质的任意组合。所述计算机可读存储介质可以是一个或多个计算机可读存储介质的任意组合。In addition, according to an embodiment of the present invention, there is also provided a storage medium on which program instructions are stored, and when the program instructions are executed by a computer or a processor, they are used to execute the orthophoto of the embodiment of the present invention. Generate the corresponding steps of the method. The storage medium may include, for example, a memory card of a smart phone, a storage component of a tablet computer, a hard disk of a personal computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), USB memory, or any combination of the above storage media. The computer-readable storage medium may be any combination of one or more computer-readable storage media.
在一个实施例中,所述计算机程序指令在被计算机运行时可以执行根据本发明实施例的正射影像生成方法。In one embodiment, the computer program instructions can execute the orthophoto generation method according to the embodiment of the present invention when the computer program instructions are executed by a computer.
在一个实施例中,所述计算机程序指令在被计算机或处理器运行时使计算机或处理器执行以下步骤:获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,其中,所述多个摄像头设置在移动平台;获取所述多个影像中的主影像的成像位姿信息,并根据所述主影像和所述成像位姿信息生成用于拟合所述目标测区高程的高程数据;以及根据所述高程数据和所述成像位姿信息,矫正所述多个影像中除所述主影像以外的其他影像,得到对应所述其他影像的正射影像。In one embodiment, when the computer program instructions are executed by a computer or a processor, the computer or the processor executes the following steps: acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area, Wherein, the plurality of cameras are arranged on a mobile platform; the imaging pose information of the main image in the plurality of images is acquired, and the main image and the imaging pose information are used to generate the measurement for fitting the target Elevation data of the area elevation; and based on the elevation data and the imaging pose information, correcting other images in the plurality of images except the main image to obtain an orthoimage corresponding to the other images.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时使计算机或处理器执行的所述获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,包括:获取多个摄像头在同一曝光时段内对目标测区进行拍摄得到的所述目标测区的多个影像,其中,所述曝光时段的时长小于预设时长阈值。In an embodiment of the present invention, when the computer program instructions are executed by the computer or the processor, the acquisition of multiple cameras to shoot the target measurement area is performed by the computer or the processor. The image includes: acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area in the same exposure period, wherein the duration of the exposure period is less than a preset duration threshold.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时使计算机或处理器执行的所述获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,还包括:获取多个摄像头在多个曝光时段内对目标测区进行拍摄得到的所述目标测区的多个影像,其中,各个曝光时段内拍摄得到的主影像由所述多个摄像头中的同一个摄像头拍摄得到;并且所述获取所述主影像的成像位姿信息,包括:通过SFM算法,对所述各个曝光时段内拍摄得到的所述主影像进行重建处理,得到所述主影像的所述成像位姿信息。In an embodiment of the present invention, when the computer program instructions are executed by the computer or the processor, the acquisition of multiple cameras to shoot the target measurement area is performed by the computer or the processor. The image further includes: acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area in multiple exposure periods, wherein the main images captured in each exposure period are composed of the multiple The same camera in the camera; and said acquiring the imaging pose information of the main image includes: performing reconstruction processing on the main image captured in each exposure time period through the SFM algorithm to obtain the The imaging pose information of the main image.
在本发明的一个实施例中,所述影像的类型包括RGB影像、近红外影像、红色波段影像、绿色波段影像中的至少两项。In an embodiment of the present invention, the types of the images include at least two of RGB images, near-infrared images, red-band images, and green-band images.
在本发明的一个实施例中,所述主影像为RGB影像。In an embodiment of the present invention, the main image is an RGB image.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时还使计算机或处理器执行以下步骤:在矫正所述其他影像之前,通 过矫正参数对所述其他影像进行预处理;并且所述矫正包括:根据所述高程数据和所述成像位姿信息,矫正经预处理的所述其他影像,得到对应所述其他影像的正射影像。In an embodiment of the present invention, when the computer program instructions are executed by the computer or the processor, the computer or the processor executes the following steps: before the other images are corrected, the other images are pre-processed by the correction parameters. Processing; and the correction includes: correcting the other pre-processed images according to the elevation data and the imaging pose information to obtain orthoimages corresponding to the other images.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时使计算机或处理器执行的所述通过矫正参数对所述其他影像进行预处理,包括:将所述其他影像与所述主影像对齐;和/或对所述主影像和所述其他影像进行辐射校正处理。In an embodiment of the present invention, when the computer program instructions are executed by the computer or the processor, the computer or processor executes the preprocessing of the other images through the correction parameters, including: converting the other images Aligning with the main image; and/or performing radiometric correction processing on the main image and the other images.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时使计算机或处理器执行的所述将所述其他影像与所述主影像对齐,包括:在所述主影像和所述其他影像之间确定同名像点,基于所述同名像点确定将所述其他影像映射到所述主影像的映射变换矩阵,并基于所述映射变换矩阵将所述其他影像映射到所述主影像上。In an embodiment of the present invention, when the computer program instructions cause the computer or the processor to execute the aligning of the other image with the main image when being executed by the computer or the processor, it includes: Determine the image point with the same name between the image point and the other image, determine a mapping transformation matrix for mapping the other image to the main image based on the image point with the same name, and map the other image to the main image based on the mapping transformation matrix On the main image.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时使计算机或处理器执行的所述将所述其他影像与所述主影像对齐,包括:基于通过传感器记录的所述主影像和所述其他影像各自的成像位姿信息确定所述其他影像与所述主影像之间的映射关系,并基于所述映射关系将所述其他影像映射到所述主影像上。In an embodiment of the present invention, when the computer program instructions cause the computer or processor to execute the aligning of the other image with the main image when being executed by the computer or processor, it includes: The respective imaging pose information of the main image and the other images determine the mapping relationship between the other image and the main image, and map the other image to the main image based on the mapping relationship.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时还使计算机或处理器执行以下步骤:在将所述其他影像与所述主影像对齐之前,确定所述主影像和所述其他影像各自的梯度信息,并基于所述主影像和所述其他影像各自的对应的梯度信息将所述其他影像与所述主影像对齐。In an embodiment of the present invention, when the computer program instructions are executed by the computer or the processor, the computer or the processor also executes the following steps: before aligning the other images with the main image, determining the main image The respective gradient information of the image and the other image, and align the other image with the main image based on the respective gradient information of the main image and the other image.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时还使计算机或处理器执行以下步骤:在将所述其他影像与所述主影像对齐之前,分别对所述主影像和所述其他影像进行畸变矫正处理,并基于已畸变矫正的所述主影像和所述其他影像将所述其他影像与所述主影像对齐。In an embodiment of the present invention, when the computer program instructions are executed by the computer or the processor, the computer or the processor also executes the following steps: before aligning the other images with the main image, respectively Distortion correction processing is performed on the main image and the other images, and the other images are aligned with the main image based on the main image and the other images that have been distorted.
在本发明的一个实施例中,所述畸变矫正处理是基于所述多个摄像头的内参数和畸变参数。In an embodiment of the present invention, the distortion correction processing is based on the internal parameters and distortion parameters of the multiple cameras.
在本发明的一个实施例中,所述高程数据是基于点云生成的,所述点 云是基于所述成像位姿信息生成的。In an embodiment of the present invention, the elevation data is generated based on a point cloud, and the point cloud is generated based on the imaging pose information.
在本发明的一个实施例中,所述点云是基于所述成像位姿信息生成的稠密点云。In an embodiment of the present invention, the point cloud is a dense point cloud generated based on the imaging pose information.
在本发明的一个实施例中,所述点云是基于对所述主影像执行SFM算法而得到的稀疏点云。In an embodiment of the present invention, the point cloud is based on a sparse point cloud obtained by performing an SFM algorithm on the main image.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时还使计算机或处理器执行以下步骤:将由同一摄像头拍摄的所述影像各自的正射影像进行镶嵌融合以生成各个波段的正射影像。In an embodiment of the present invention, when the computer program instructions are executed by the computer or the processor, the computer or the processor also executes the following steps: mosaic and fusion of the respective orthophotos of the images taken by the same camera to generate Orthophoto of each band.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时还使计算机或处理器执行以下步骤:基于所述各个波段的正射影像生成植被指数地图。In an embodiment of the present invention, when the computer program instructions are executed by the computer or the processor, the computer or the processor further executes the following steps: generating a vegetation index map based on the orthophotos of the respective bands.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时还使计算机或处理器执行以下步骤:将所述植被指数地图进行伪彩色的可视化渲染。In an embodiment of the present invention, when the computer program instructions are executed by the computer or the processor, the computer or the processor also executes the following steps: visually rendering the vegetation index map in pseudo-color.
在本发明的一个实施例中,所述计算机程序指令在被计算机或处理器运行时还使计算机或处理器执行以下步骤:在将所述其他影像与所述主影像对齐之后,基于所述主影像和经对齐的所述其他影像生成植被指数地图;以及根据所述高程数据和所述成像位姿信息矫正所述植被指数地图,得到对应所述植被指数地图的正射影像。In an embodiment of the present invention, when the computer program instructions are executed by the computer or the processor, the computer or the processor also executes the following steps: after aligning the other image with the main image, based on the main image A vegetation index map is generated from the image and the aligned other images; and the vegetation index map is corrected according to the elevation data and the imaging pose information to obtain an orthoimage corresponding to the vegetation index map.
以上示例性地描述了根据本发明实施例的正射影像生成方法、系统和存储介质。基于上面的描述,根据本发明实施例的正射影像生成方法、系统和存储介质仅获取多光谱影像中的主影像的成像位姿信息,并基于主影像的成像位姿信息生成拟合目标测区高程的高程数据,最后基于主影像的成像位姿信息和生成的高程数据矫正主影像以外的其他影像以得到其他影像的正射影像,也就是说,将获取的主影像的成像位姿信息和测区的高程数据用于生成对应其他影像的正射影像,这样,可减小多摄像头采集场景下获取多个正射影像的计算量,提高正射影像的生成效率。The above exemplarily describes the orthophoto generating method, system and storage medium according to the embodiments of the present invention. Based on the above description, the orthophoto generation method, system and storage medium according to the embodiments of the present invention only acquire the imaging pose information of the main image in the multispectral image, and generate fitting target measurements based on the imaging pose information of the main image. The elevation data of the area elevation, finally based on the imaging pose information of the main image and the generated elevation data to correct other images other than the main image to obtain the orthoimage of other images, that is, the imaging pose information of the main image to be acquired The elevation data of the survey area is used to generate orthoimages corresponding to other images. In this way, the calculation amount of acquiring multiple orthoimages in a multi-camera acquisition scenario can be reduced, and the generation efficiency of orthoimages can be improved.
尽管这里已经参考附图描述了示例实施例,应理解上述示例实施例仅仅是示例性的,并且不意图将本发明的范围限制于此。本领域普通技术人员可以在其中进行各种改变和修改,而不偏离本发明的范围和精神。所有 这些改变和修改意在被包括在所附权利要求所要求的本发明的范围之内。Although the exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above-described exemplary embodiments are merely exemplary, and are not intended to limit the scope of the present invention thereto. Those of ordinary skill in the art can make various changes and modifications therein without departing from the scope and spirit of the present invention. All these changes and modifications are intended to be included within the scope of the present invention as claimed in the appended claims.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in the embodiments disclosed in this document can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the present invention.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个设备,或一些特征可以忽略,或不执行。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another device, or some features can be ignored or not implemented.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the instructions provided here, a lot of specific details are explained. However, it can be understood that the embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures, and technologies are not shown in detail, so as not to obscure the understanding of this specification.
类似地,应当理解,为了精简本发明并帮助理解各个发明方面中的一个或多个,在对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该本发明的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如相应的权利要求书所反映的那样,其发明点在于可以用少于某个公开的单个实施例的所有特征的特征来解决相应的技术问题。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be understood that in order to simplify the present invention and help understand one or more of the various aspects of the invention, in the description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment. , Or in its description. However, the method of the present invention should not be construed as reflecting the intention that the claimed invention requires more features than those explicitly stated in each claim. To be more precise, as reflected in the corresponding claims, the point of the invention is that the corresponding technical problems can be solved with features that are less than all the features of a single disclosed embodiment. Therefore, the claims following the specific embodiment are thus explicitly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present invention.
本领域的技术人员可以理解,除了特征之间相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that in addition to mutual exclusion between the features, any combination of all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and any method or device disclosed in this manner can be used. Processes or units are combined. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括 其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art can understand that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments means that they are within the scope of the present invention. Within and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的一些模块的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented by hardware, or by software modules running on one or more processors, or by a combination of them. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some modules according to the embodiments of the present invention. The present invention can also be implemented as a device program (for example, a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the present invention, and those skilled in the art can design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be constructed as a limitation to the claims. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims that list several devices, several of these devices may be embodied in the same hardware item. The use of the words first, second, and third, etc. do not indicate any order. These words can be interpreted as names.
以上所述,仅为本发明的具体实施方式或对具体实施方式的说明,本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。本发明的保护范围应以权利要求的保护范围为准。The above are only specific implementations or descriptions of specific implementations of the present invention. The protection scope of the present invention is not limited thereto. Any person skilled in the art can easily fall within the technical scope disclosed by the present invention. Any change or replacement should be included in the protection scope of the present invention. The protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (21)

  1. 一种正射影像生成方法,其特征在于,所述方法包括:An orthophoto generation method, characterized in that, the method includes:
    获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,其中,所述多个摄像头设置在移动平台;Acquiring multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area, wherein the multiple cameras are set on a mobile platform;
    获取所述多个影像中的主影像的成像位姿信息,并根据所述主影像和所述成像位姿信息生成用于拟合所述目标测区高程的高程数据;以及Acquiring imaging pose information of a main image of the plurality of images, and generating elevation data for fitting the elevation of the target survey area according to the main image and the imaging pose information; and
    根据所述高程数据和所述成像位姿信息,矫正所述多个影像中除所述主影像以外的其他影像,得到对应所述其他影像的正射影像。According to the elevation data and the imaging pose information, other images in the plurality of images other than the main image are corrected to obtain orthoimages corresponding to the other images.
  2. 根据权利要求1所述的方法,其特征在于,所述获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,包括:The method according to claim 1, wherein said acquiring a plurality of images of the target survey area obtained by multiple cameras shooting the target survey area comprises:
    获取多个摄像头在同一曝光时段内对目标测区进行拍摄得到的所述目标测区的多个影像,其中,所述曝光时段的时长小于预设时长阈值。Acquire multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area within the same exposure period, wherein the duration of the exposure period is less than a preset duration threshold.
  3. 根据权利要求2所述的方法,其特征在于,所述获取多个摄像头对目标测区进行拍摄得到的所述目标测区的多个影像,还包括:The method according to claim 2, wherein said acquiring a plurality of images of the target survey area obtained by multiple cameras shooting the target survey area, further comprises:
    获取多个摄像头在多个曝光时段内对目标测区进行拍摄得到的所述目标测区的多个影像,其中,各个曝光时段内拍摄得到的主影像由所述多个摄像头中的同一个摄像头拍摄得到;并且Acquire multiple images of the target measurement area obtained by multiple cameras shooting the target measurement area in multiple exposure periods, wherein the main image captured in each exposure period is taken by the same camera among the multiple cameras Filmed; and
    所述获取所述主影像的成像位姿信息,包括:通过SFM算法,对所述各个曝光时段内拍摄得到的所述主影像进行重建处理,得到所述主影像的所述成像位姿信息。The acquiring the imaging pose information of the main image includes: performing reconstruction processing on the main image captured during the respective exposure periods through an SFM algorithm to obtain the imaging pose information of the main image.
  4. 根据权利要求1-3中的任一项所述的方法,其特征在于,所述影像的类型包括RGB影像、近红外影像、红色波段影像、绿色波段影像中的至少两项。The method according to any one of claims 1 to 3, wherein the type of the image includes at least two of RGB image, near-infrared image, red waveband image, and green waveband image.
  5. 根据权利要求4所述的方法,其特征在于,所述主影像为RGB影像。The method of claim 4, wherein the main image is an RGB image.
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在矫正所述其他影像之前,通过矫正参数对所述其他影像进行预处理;并且Before correcting the other images, preprocessing the other images by correcting parameters; and
    所述矫正包括:根据所述高程数据和所述成像位姿信息,矫正经预处理的所述其他影像,得到对应所述其他影像的正射影像。The correction includes: correcting the preprocessed other images according to the elevation data and the imaging pose information to obtain orthoimages corresponding to the other images.
  7. 根据权利要求6所述的方法,其特征在于,所述通过矫正参数对所述其他影像进行预处理,包括:The method according to claim 6, wherein said preprocessing said other images by correcting parameters comprises:
    将所述其他影像与所述主影像对齐;和/或Align the other images with the main image; and/or
    对所述主影像和所述其他影像进行辐射校正处理。Perform radiation correction processing on the main image and the other images.
  8. 根据权利要求7所述的方法,其特征在于,所述将所述其他影像与所述主影像对齐,包括:8. The method of claim 7, wherein the aligning the other image with the main image comprises:
    在所述主影像和所述其他影像之间确定同名像点,基于所述同名像点确定将所述其他影像映射到所述主影像的映射变换矩阵,并基于所述映射变换矩阵将所述其他影像映射到所述主影像上。Determine a pixel with the same name between the main image and the other image, determine a mapping transformation matrix for mapping the other image to the main image based on the pixel with the same name, and convert the Other images are mapped onto the main image.
  9. 根据权利要求7所述的方法,其特征在于,所述将所述其他影像与所述主影像对齐,包括:8. The method of claim 7, wherein the aligning the other image with the main image comprises:
    基于通过传感器记录的所述主影像和所述其他影像各自的成像位姿信息确定所述其他影像与所述主影像之间的映射关系,并基于所述映射关系将所述其他影像映射到所述主影像上。The mapping relationship between the other image and the main image is determined based on the respective imaging pose information of the main image and the other images recorded by the sensor, and the other image is mapped to all the images based on the mapping relationship. On the main image.
  10. 根据权利要求7-9中的任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 7-9, wherein the method further comprises:
    在将所述其他影像与所述主影像对齐之前,确定所述主影像和所述其他影像各自的梯度信息,并基于所述主影像和所述其他影像各自的对应的梯度信息将所述其他影像与所述主影像对齐。Before aligning the other image with the main image, determine the respective gradient information of the main image and the other image, and align the other image based on the respective gradient information of the main image and the other image. The image is aligned with the main image.
  11. 根据权利要求7-9中的任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 7-9, wherein the method further comprises:
    在将所述其他影像与所述主影像对齐之前,分别对所述主影像和所述其他影像进行畸变矫正处理,并基于已畸变矫正的所述主影像和所述其他影像将所述其他影像与所述主影像对齐。Before aligning the other images with the main image, perform distortion correction processing on the main image and the other images respectively, and convert the other images based on the distortion-corrected main image and the other images Align with the main image.
  12. 根据权利要求11所述的方法,其特征在于,所述畸变矫正处理是基于所述多个摄像头的内参数和畸变参数。The method according to claim 11, wherein the distortion correction processing is based on internal parameters and distortion parameters of the plurality of cameras.
  13. 根据权利要求1所述的方法,其特征在于,所述高程数据是基于点云生成的,所述点云是基于所述成像位姿信息生成的。The method according to claim 1, wherein the elevation data is generated based on a point cloud, and the point cloud is generated based on the imaging pose information.
  14. 根据权利要求13所述的方法,其特征在于,所述点云是基于所述成像位姿信息生成的稠密点云。The method according to claim 13, wherein the point cloud is a dense point cloud generated based on the imaging pose information.
  15. 根据权利要求13所述的方法,其特征在于,所述点云是基于对所述主影像执行SFM算法而得到的稀疏点云。The method according to claim 13, wherein the point cloud is based on a sparse point cloud obtained by performing an SFM algorithm on the main image.
  16. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    将由同一摄像头拍摄的所述影像各自的正射影像进行镶嵌融合以生成各个波段的正射影像。Mosaic fusion is performed on the respective orthoimages of the images captured by the same camera to generate orthoimages of various bands.
  17. 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method according to claim 16, wherein the method further comprises:
    基于所述各个波段的正射影像生成植被指数地图。A vegetation index map is generated based on the orthophoto of each band.
  18. 根据权利要求17所述的方法,其特征在于,所述方法还包括:The method according to claim 17, wherein the method further comprises:
    将所述植被指数地图进行伪彩色的可视化渲染。The vegetation index map is visually rendered in pseudo-color.
  19. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    在将所述其他影像与所述主影像对齐之后,基于所述主影像和经对齐的所述其他影像生成植被指数地图;以及After aligning the other images with the main image, generating a vegetation index map based on the main image and the aligned other images; and
    根据所述高程数据和所述成像位姿信息矫正所述植被指数地图,得到对应所述植被指数地图的正射影像。The vegetation index map is corrected according to the elevation data and the imaging pose information to obtain an orthophoto corresponding to the vegetation index map.
  20. 一种基于多光谱影像的正射影像生成系统,其特征在于,所述系统包括存储装置和处理器,所述存储装置上存储有由所述处理器运行的计算机程序,所述计算机程序在被所述处理器运行时执行如权利要求1-19中的任一项所述的基于多光谱影像的正射影像生成方法。An orthophoto generation system based on multispectral imagery, characterized in that the system includes a storage device and a processor, the storage device stores a computer program run by the processor, and the computer program is The processor executes the multi-spectral image-based orthoimage generation method according to any one of claims 1-19 when the processor is running.
  21. 一种存储介质,其特征在于,所述存储介质上存储有计算机程序,所述计算机程序在运行时执行如权利要求1-19中的任一项所述的基于多光谱影像的正射影像生成方法。A storage medium, characterized in that a computer program is stored on the storage medium, and the computer program executes the multispectral image-based orthoimage generation according to any one of claims 1-19 when the computer program is running. method.
PCT/CN2019/105922 2019-09-12 2019-09-16 Orthographic image generation method and system, and storage medium WO2021046861A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201980030613.0A CN112154484A (en) 2019-09-12 2019-09-16 Ortho image generation method, system and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNPCT/CN2019/105765 2019-09-12
CN2019105765 2019-09-12

Publications (1)

Publication Number Publication Date
WO2021046861A1 true WO2021046861A1 (en) 2021-03-18

Family

ID=74865984

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/105922 WO2021046861A1 (en) 2019-09-12 2019-09-16 Orthographic image generation method and system, and storage medium

Country Status (1)

Country Link
WO (1) WO2021046861A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114913297A (en) * 2022-05-09 2022-08-16 北京航空航天大学 Scene orthoscopic image generation method based on MVS dense point cloud
CN117874273A (en) * 2024-03-11 2024-04-12 湖南省第二测绘院 Iron tower video image classification identification method and device based on geographic mapping

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4117771B2 (en) * 2002-05-15 2008-07-16 株式会社パスコ Orthophoto image generation method and orthophoto image generation system
CN101919235A (en) * 2008-01-21 2010-12-15 株式会社博思科 Orthophotographic image creating method and imaging device
KR20110082903A (en) * 2010-01-12 2011-07-20 (주) 충청에스엔지 Method of compensating and generating orthoimage for aerial-photo
CN102968631A (en) * 2012-11-22 2013-03-13 中国科学院、水利部成都山地灾害与环境研究所 Automatic geometric correction and orthorectification method for multispectral remote sensing satellite images of mountainous area
CN103218789A (en) * 2013-04-24 2013-07-24 中国科学院遥感与数字地球研究所 Automation ortho-rectification method based on geometric deformation step resolving
CN104660986A (en) * 2015-01-19 2015-05-27 环境保护部卫星环境应用中心 Tailing pond emergent environmental incident remote sensing monitoring method and system based on unmanned aerial vehicle
US20180218533A1 (en) * 2017-02-02 2018-08-02 Infatics, Inc. (DBA DroneDeploy) System and methods for improved aerial mapping with aerial vehicles
CN109076173A (en) * 2017-11-21 2018-12-21 深圳市大疆创新科技有限公司 Image output generation method, equipment and unmanned plane
CN109658450A (en) * 2018-12-17 2019-04-19 武汉天乾科技有限责任公司 A kind of quick orthography generation method based on unmanned plane

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4117771B2 (en) * 2002-05-15 2008-07-16 株式会社パスコ Orthophoto image generation method and orthophoto image generation system
CN101919235A (en) * 2008-01-21 2010-12-15 株式会社博思科 Orthophotographic image creating method and imaging device
KR20110082903A (en) * 2010-01-12 2011-07-20 (주) 충청에스엔지 Method of compensating and generating orthoimage for aerial-photo
CN102968631A (en) * 2012-11-22 2013-03-13 中国科学院、水利部成都山地灾害与环境研究所 Automatic geometric correction and orthorectification method for multispectral remote sensing satellite images of mountainous area
CN103218789A (en) * 2013-04-24 2013-07-24 中国科学院遥感与数字地球研究所 Automation ortho-rectification method based on geometric deformation step resolving
CN104660986A (en) * 2015-01-19 2015-05-27 环境保护部卫星环境应用中心 Tailing pond emergent environmental incident remote sensing monitoring method and system based on unmanned aerial vehicle
US20180218533A1 (en) * 2017-02-02 2018-08-02 Infatics, Inc. (DBA DroneDeploy) System and methods for improved aerial mapping with aerial vehicles
CN109076173A (en) * 2017-11-21 2018-12-21 深圳市大疆创新科技有限公司 Image output generation method, equipment and unmanned plane
CN109658450A (en) * 2018-12-17 2019-04-19 武汉天乾科技有限责任公司 A kind of quick orthography generation method based on unmanned plane

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114913297A (en) * 2022-05-09 2022-08-16 北京航空航天大学 Scene orthoscopic image generation method based on MVS dense point cloud
CN117874273A (en) * 2024-03-11 2024-04-12 湖南省第二测绘院 Iron tower video image classification identification method and device based on geographic mapping
CN117874273B (en) * 2024-03-11 2024-05-10 湖南省第二测绘院 Iron tower video image classification identification method and device based on geographic mapping

Similar Documents

Publication Publication Date Title
US20220343598A1 (en) System and methods for improved aerial mapping with aerial vehicles
JP4970296B2 (en) Orthophoto image generation method and photographing apparatus
TWI555379B (en) An image calibrating, composing and depth rebuilding method of a panoramic fish-eye camera and a system thereof
WO2017080102A1 (en) Flying device, flying control system and method
JP4181800B2 (en) Topographic measurement system, storage medium, and program using stereo image
CN111080724A (en) Infrared and visible light fusion method
CN113269671B (en) Bridge apparent panorama generating method based on local and global features
KR101759798B1 (en) Method, device and system for generating an indoor two dimensional plan view image
JP7160037B2 (en) Image processing device, image processing method, and program
TW201340035A (en) Method for combining images
Roy et al. Surveying apple orchards with a monocular vision system
CN110322485A (en) A kind of fast image registration method of isomery polyphaser imaging system
CN106952219B (en) Image generation method for correcting fisheye camera based on external parameters
CN112200854B (en) Leaf vegetable three-dimensional phenotype measuring method based on video image
WO2021046861A1 (en) Orthographic image generation method and system, and storage medium
CN112257713A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN109598763A (en) Camera calibration method, device, electronic equipment and computer readable storage medium
US8462179B2 (en) Scene independent method for image formation in lenslet array imagers
CN104599281A (en) Panoramic image and remote sensing image registration method based on horizontal line orientation consistency
CN106846385B (en) Multi-sensing remote sensing image matching method, device and system based on unmanned aerial vehicle
Xinmei et al. Passive measurement method of tree height and crown diameter using a smartphone
CN112154484A (en) Ortho image generation method, system and storage medium
CN108460368B (en) Three-dimensional image synthesis method and device and computer-readable storage medium
CN112633113A (en) Cross-camera human face living body detection method and system
CN109544455B (en) Seamless fusion method for ultralong high-definition live-action long rolls

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19945348

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19945348

Country of ref document: EP

Kind code of ref document: A1