WO2019165611A1 - Method and device for detecting water ripple of image, and unmanned aerial vehicle and storage device - Google Patents

Method and device for detecting water ripple of image, and unmanned aerial vehicle and storage device Download PDF

Info

Publication number
WO2019165611A1
WO2019165611A1 PCT/CN2018/077658 CN2018077658W WO2019165611A1 WO 2019165611 A1 WO2019165611 A1 WO 2019165611A1 CN 2018077658 W CN2018077658 W CN 2018077658W WO 2019165611 A1 WO2019165611 A1 WO 2019165611A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
calibration
parameter
determining
objects
Prior art date
Application number
PCT/CN2018/077658
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 CN201880029303.2A priority Critical patent/CN110651299A/en
Priority to PCT/CN2018/077658 priority patent/WO2019165611A1/en
Publication of WO2019165611A1 publication Critical patent/WO2019165611A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64UUNMANNED AERIAL VEHICLES [UAV]; EQUIPMENT THEREFOR
    • B64U20/00Constructional aspects of UAVs
    • B64U20/80Arrangement of on-board electronics, e.g. avionics systems or wiring
    • B64U20/87Mounting of imaging devices, e.g. mounting of gimbals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64UUNMANNED AERIAL VEHICLES [UAV]; EQUIPMENT THEREFOR
    • B64U2101/00UAVs specially adapted for particular uses or applications
    • B64U2101/30UAVs specially adapted for particular uses or applications for imaging, photography or videography

Definitions

  • the present application relates to the field of image processing technologies, and in particular, to a water ripple detecting method and device thereof for an image, a drone, and a storage device.
  • a drone is equipped with a photographing device, which has been widely used to perform shooting tasks.
  • the fuselage will vibrate, and the vibration of the fuselage will be transmitted directly or indirectly to the camera.
  • the photographing device vibrates, a relative displacement occurs between the lines in the image captured by the photographing device.
  • the image obtained by the shooting will be distorted, and the water ripple deformation, that is, the jelly effect, is observed by the naked eye, which affects the image quality of the image.
  • the detection of water ripples for images is usually judged manually, the detection efficiency is low, and the professional requirements of the operator are high.
  • the technical problem mainly solved by the present application is to provide an image water ripple detecting method and device thereof, a drone and a storage device, which can realize intelligent detection of water ripple and improve detection efficiency.
  • a first aspect of the present application provides a water ripple detecting method for an image, comprising: acquiring an image captured by an image calibration device, wherein the image calibration device includes a plurality of calibration objects; and detecting the An image object of the object in the image; matching the image object of the detected calibration object with a calibration object in the image calibration device; according to a position of the image object in the image and matching with the image object The position of the calibration object in the image calibration device determines if there is a water ripple in the image.
  • a second aspect of the present application provides a water ripple detecting apparatus including a processor and a memory, wherein the memory is configured to store program instructions, and the processor executes the program instructions for use in Acquiring an image captured by the image calibration device, wherein the image calibration device includes a plurality of calibration objects; detecting an image object of the calibration object in the image; and detecting the image object of the detected calibration object
  • the calibration object in the image calibration device performs matching; determining whether there is a water ripple in the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device.
  • a third aspect of the present application provides a water ripple detecting system including a photographing apparatus and the above-described water ripple detecting apparatus, wherein the photographing apparatus is configured to photograph an image calibration apparatus.
  • a fourth aspect of the present application provides a drone, including the above-described water ripple detecting system.
  • a fifth aspect of the present application provides a storage device storing program instructions, and when the program instructions are executed on a processor, performing the method described in the first aspect.
  • the image obtained by the image calibration device is detected to obtain an image object of the calibration object, and whether the water ripple exists in the image according to the position of the image object in the image and the position of the corresponding matching calibration object at the image calibration device.
  • the intelligent detection of the image water ripple is realized, and no manual detection is needed, thereby improving the detection efficiency and reducing the false detection rate.
  • FIG. 1 is a schematic flow chart of an embodiment of a water ripple detecting method of an image of the present application
  • FIG. 2a is a schematic diagram of an image calibration apparatus used in an application scenario of the present application.
  • 2b is a schematic diagram of an image calibration apparatus used in another application scenario of the present application.
  • FIG. 3 is a schematic diagram of an image captured in an application scenario and an image object therein;
  • FIG. 4 is a schematic diagram of a matching relationship between a calibration object and an image object in an application scenario of the present application
  • FIG. 5 is a schematic flow chart of the step S14 in another embodiment of the water ripple detecting method of the image of the present application.
  • FIG. 6 is a schematic diagram of a group of image objects selected in an application scenario of the present application.
  • step S14 is a schematic flow chart of the step S14 in still another embodiment of the water ripple detecting method of the image of the present application.
  • FIG. 8 is a schematic diagram showing a positional relationship between a projected position of an image and a position of a matching calibration object in an application scenario of the present application;
  • FIG. 9 is a schematic structural view of an embodiment of a water ripple detecting device of the present application.
  • FIG. 10 is a schematic structural view of an embodiment of a water ripple detecting system of the present application.
  • Figure 11 is a schematic structural view of an embodiment of the drone of the present application.
  • FIG. 12 is a schematic structural diagram of an embodiment of a storage device of the present application.
  • a component when referred to as being "fixed” to another component, it can be directly on the other component or the component can be present. When a component is considered to "connect” another component, it can be directly connected to another component or possibly a central component.
  • FIG. 1 is a schematic flow chart of an embodiment of a water ripple detecting method of an image of the present application, wherein the method can be applied to an unmanned aerial vehicle, and is specifically used for an image taken by a shooting device configured on the drone. Is there a water ripple? Specifically, the following steps are included:
  • S11 Acquire an image captured by the image calibration device.
  • the execution body of the method of the embodiment may be a water ripple detecting device, and further, the executing body may be a processor of the water ripple detecting device, wherein the processor may be a general-purpose or dedicated processor, wherein The processor may be one or more, and is not specifically limited herein.
  • the water ripple detecting device may be disposed on the drone, and in the process of detecting the water ripple of the image, the photographing device disposed on the drone may photograph the image calibration device and output the captured image, wherein the water is The ripple detecting device can acquire the image.
  • the image calibration device may be any calibration device having an image calibration function, wherein a plurality of calibration objects are included, and accordingly, the captured image includes an image object of the calibration object, and the image object is represented in the image.
  • the image area of the calibration object may be any calibration device having an image calibration function, wherein a plurality of calibration objects are included, and accordingly, the captured image includes an image object of the calibration object, and the image object is represented in the image. The image area of the calibration object.
  • the image calibration device can be a calibration plate, and the calibration object is a calibration point on the calibration plate.
  • the image calibration device is a checkerboard calibration plate 20, and the calibration object is a corner point 201 on the checkerboard calibration plate; or the image calibration device is a random point calibration plate, as shown in FIG. 2b, the punctuation
  • the object is a random point on the calibration plate 21, which may be a circle or other shape, and the size of the calibration object on the calibration plate 20 may be the same, and in some cases, at least two of the calibration objects on the calibration plate 20 are included.
  • the image calibration device includes a carrier device and is disposed in the At least two size types of calibration objects on the carrier device. Further, the image calibration device may further include a textured image disposed on the carrier device as a background image of the calibration object.
  • the carrier device can be a substrate.
  • the outer ring and the outer ring of the calibration object of the at least one of the at least one size type of the at least two size types are different in color, for example, the outer ring is black, and the outer ring is white inside; or The outer ring is white and the inner part of the outer ring is black.
  • the color of the center portion of the calibration object of the at least one of the at least one size type of the calibration object of the at least two size types is different from the color of the center portion of the calibration object of the other size type of the calibration object of the at least two size types .
  • the overall shooting is required to achieve the matching between the corner points and the image objects in the image.
  • the random point calibration plate can be uniquely identified because of the random point distribution around each random point, so the calibration board can be Partial shooting allows for a match between random points and image objects in the image.
  • the water ripple detecting device identifies an image object of the calibration object from the image, wherein the image object is the captured calibration object in the image. Image area. Since the calibration object on the image calibration device is an object with obvious features, the water ripple detecting device can recognize the image object of the calibration object from the image according to the feature of the calibration object. For example, for the checkerboard calibration plate, the water ripple detecting device can extract the corner points in the image by using the corner extraction algorithm. For the random point calibration plate, the water ripple detecting device can extract the image in the image by using a blob detector algorithm. Random point. Among them, the dot extraction algorithm has higher precision than the checkerboard corner point algorithm. Therefore, in S11, the image calibration device with the calibration object is circular, and the detection accuracy of the image object can be improved.
  • the image calibration device will be taken as an example for the checkerboard of the checkerboard.
  • the water ripple detecting device acquires an image 301 taken on the checkerboard of the checkerboard, and then can be extracted from the image 301.
  • a plurality of corner points 302 are drawn.
  • each of the corner points 402 may be extracted from the image, and each of the corner points 402 may be aligned with a corner point in the checkerboard 401. Matching, after the matching is completed, each of the corner points 402 establishes a one-to-one correspondence with the checkerboard 401.
  • the matching the detected image object of the calibration object with the calibration object in the image calibration device comprises: determining a position feature parameter of the detected image object according to a position of the image object in the image, according to The determined position feature parameter and the pre-stored position feature parameter of the calibration object match the detected image object of the calibration object with the calibration object in the image device.
  • the water ripple detecting device may pre-store the position feature parameter of the calibration object in the image calibration device, wherein the position feature parameter may indicate the position of the image object or the calibration object relative to the other one or more image objects and the calibration object, respectively.
  • the position feature parameter may be a feature vector
  • the detected image object of the calibration object is matched with the calibration object in the image device according to the determined position feature parameter and the pre-stored position feature parameter of the calibration object.
  • the location feature parameter of the image object is the same as or similar to the pre-stored location feature parameter of the calibration object, it may be determined that the image object matches the calibration object.
  • S14 Determine whether there is a water ripple in the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device.
  • the water ripple detecting device may determine the position of the image object in the image, that is, the position of the image object in the image, wherein the position of the image object in the image may be the coordinate of the image object in the image coordinate system.
  • the water ripple detecting means can determine the position of the calibration object matching the image object in the image calibration device.
  • the calibration object matching the image object can be simply referred to as the target calibration object.
  • the position of the calibration object in the image calibration device may be pre-existing in the water ripple detecting device. After the target calibration object matching the image object is determined, the target calibration object may be obtained from the position of the pre-stored calibration object in the image calibration device. The position on the image calibration device.
  • the position of the image object in the image may be the coordinate of the image region of the corner point in the image coordinate system, and the position of the target calibration object on the image calibration device may be Is the position of the corner point on the checkerboard.
  • whether the image exists in the image may be determined according to the position of the image object in the image and the position of the target calibration object on the image calibration device. Water ripples.
  • the image captured by the image calibration device is detected to obtain an image object of the calibration object, and whether the image is present in the image according to the position of the image object in the image and the position of the corresponding matching calibration object at the image calibration device
  • the water ripple realizes the intelligent detection of the image water ripple, and does not require manual detection, thereby improving the detection efficiency.
  • the intelligent detection method can reduce the occurrence of false detection or missed detection and improve the detection accuracy.
  • FIG. 5 is a schematic flow chart of the step S14 in another embodiment of the water ripple detecting method of the image of the present application.
  • the geometric parameters of the image object and the geometric parameters of the matching calibration object are used to determine whether the calibration object on the image calibration device and the corresponding image object satisfy the projective invariance, thereby determining whether the image has water ripple.
  • S14 of the method of the embodiment further includes the following sub-steps:
  • S541 Determine a geometric parameter of the image object according to the position of the image object in the image.
  • the image calibration device is photographed, that is, the calibration target on the image device is projected onto the plane of the image sensor of the imaging device.
  • the geometric parameters of the image object may be determined according to the position, wherein the geometric parameter includes a projective invariant parameter, and the projective invariant parameter is a feature of the projective transformation, and the graphic is a graphic A parameter that does not change after any projective transformation.
  • the geometric parameter can include a cross ratio parameter
  • the projective invariant parameter includes a cross ratio parameter.
  • five image objects A, B, C, D, and E may be selected from a plurality of detected image objects to form a group of image objects, and at least one image object exists between different groups of image objects. Different image objects.
  • the number of selected image objects can be adjusted according to actual needs. Generally, in an application scenario requiring high detection accuracy, the number of selected groups is large, and the selected image objects are distributed in different regions of the image.
  • determining the cross-parameter parameter of each group of image objects according to a position of each group of the image objects in the at least one group may include: selecting each group of image objects according to the at least one group The position in the image determines the area of the four intersecting triangles corresponding to each group of image objects; and the intersection ratio parameter of each group of image objects is determined according to the area of each of the group of image objects corresponding to the four intersecting triangles.
  • a set of image objects includes five image objects A, B, C, D, and E, and four intersecting triangles can be formed by the five image objects, and the set of images is obtained by using the areas of the four intersecting triangles.
  • the cross-parameter parameter of the image object is S ⁇ ABC S ⁇ ADE /S ⁇ ABD S ⁇ ACE .
  • the cross ratio parameter determined in this step it may be first determined whether the area of the intersecting triangle of each set of calibration objects satisfies the area requirement, and the area of the intersecting triangle is used to determine the cross ratio when determining the area requirement is determined. parameter.
  • Determining the cross-parameter parameter of each group of image objects according to the area of each of the four intersecting triangles of each group of images includes: when each of the areas of the corresponding four intersecting triangles of each group is greater than or equal to the pre- When the area threshold is set, the cross-parameter parameter of each group of image objects is determined according to the area of the four intersecting triangles corresponding to each set of images. When one or more of the areas of the corresponding four intersecting triangles of each group are smaller than the preset area threshold, then a group of image objects are reselected, and the step ratio parameter of the group of image objects is determined by using this step.
  • the cross ratio parameter of the group of image objects it may be determined whether the cross ratio parameter is greater than a set cross ratio threshold, and if yes, determining to select the cross ratio parameter for use in subsequent steps, otherwise reselecting a set of graphs Like the object, and use this step to determine the cross-reference parameters of the set of image objects.
  • S542 Determine a geometric parameter of the calibration object that matches the image object according to the position of the calibration object matching the image object in the image calibration device.
  • the geometric parameters of the target calibration object may be determined according to the position.
  • the geometric parameters include projective invariant parameters.
  • the geometric parameter can include a cross ratio parameter.
  • the determining, according to the position of the calibration object matching the image object in the image calibration device, the geometric parameter of the calibration object matching the image object comprises: calibrating the image according to the calibration object in the at least one set of image calibration devices The position of the device determines the cross-reference parameters for each set of calibration objects.
  • the determining the intersection of each set of calibration objects according to the position of the image calibration device according to the calibration object in the at least one set of image calibration devices includes: determining, according to the position of the image calibration device, the area of the four intersecting triangles corresponding to each group of calibration objects according to the calibration object in the at least one set of image calibration devices, according to each of the set of calibration objects The area of the intersecting triangles determines the cross-reference parameters for each set of calibration objects.
  • the specific method is similar to the method for determining the cross-parameter parameter of each group of image objects in the foregoing part, and details are not described herein again.
  • S543 Determine whether there is a water ripple in the image according to the geometric parameter of the image object and the geometric parameter of the calibration object that matches the image object.
  • the geometric parameters of the image object and the geometric parameters of the calibration object matching the image object should be the same, so according to the geometric parameters of the image object and The geometric parameters of the calibration object that the image object matches determine whether there is a water ripple in the image.
  • the geometric parameter difference may be determined according to the geometric parameter of the image object and the geometric parameter of the calibration object that matches the image object, thereby determining whether there is a water ripple in the image according to the difference.
  • step S543 includes: a difference between the cross ratio parameter of each set of image objects in the at least one set and the cross ratio parameter of the corresponding set of calibration objects Determine if there are water ripples in the image.
  • the intersection parameter and image of the image object in the image are equal or have small errors.
  • the intersection ratio parameters and images of the image objects in the image region where the water ripple exists in the image due to the distortion of the image have a large difference, so whether the image has water ripple can be determined by comparing the cross-reference parameters of the image object and the calibration object.
  • the ratio parameter according to each group of image objects in the at least one group and the ratio parameter to a corresponding group of calibration objects may include: determining an average cross ratio difference according to the difference, and determining that there is water ripple in the image when the average cross ratio difference is greater than or equal to a preset threshold When the average cross ratio difference is less than a preset threshold, it is determined that there is no water ripple in the image.
  • the number of groups of image objects is 10 groups, and the intersection ratio parameters of 10 sets of image objects and the cross-parameter parameters of the corresponding 10 sets of calibration objects are respectively calculated by the above steps S541 and S542, and the intersection of each group of image objects is calculated. Comparing the difference between the parameter and the cross-parameter parameter of the corresponding calibration object to obtain 10 difference values, performing arithmetic average on the 10 difference values to obtain an average cross ratio difference, and the average cross-ratio difference value and a preset threshold value A comparison can be made to determine if there is a water ripple in the image.
  • FIG. 7 is a schematic flow chart of the step S14 in another embodiment of the water ripple detecting method of the image of the present application.
  • the embodiment is based on the geometric distance error, that is, using the image object in the image calibration device to calibrate the projecting position on the plane where the object is located, and determining whether the projecting position of the image object and the position of the corresponding calibration object in the image calibration device satisfy the positional consistency. It is then determined whether there is a water ripple in the image.
  • S14 of the method of the embodiment further includes the following sub-steps:
  • S741 Projectively transform the position of the image object in the image to a plane where the calibration object is located in the image calibration device to obtain a projecting position of the image object.
  • the image object in the image has a relationship of projective transformation with the calibration object in the image calibration device, that is, the position of the image object in the image corresponds to the image.
  • the position of the image object in the image corresponds to the image.
  • the water ripple detecting device may project the position of the image object in the image to a plane on which the calibration object is located in the image calibration device, and further, according to the position of the image object in the image and the calibration object matching the image object Positioning the image object in the image to project a position of the image object in the image to a plane in which the calibration object is located in the image calibration device to obtain a projecting position of the image object, so that the image object can be acquired on the image calibration device Projective position.
  • the projective parameter between the image object of the first preset area in the image and the matching calibration object may be determined first, and then the projective position of the image object is determined by using the projective parameter.
  • the projective parameter is determined according to a position of the image object of the first preset area in the image in the image and a position of the calibration object matching the image object of the first preset area in the image calibration apparatus, wherein
  • the projective parameter may be a transformation parameter that transforms the image object of the first region at a position of the image into a position of the calibration object matching the image object in the image calibration device, wherein the image object of the first region is known in the image
  • the projective parameter may be calculated on the premise that the position of the calibration object matching the image object of the first preset area is in the image calibration device, wherein the projective parameter may be a homography matrix.
  • the position of the image object in the image may then be projectively transformed according to the projective parameter to a plane in which the calibration object is located in the image calibration device to obtain
  • the projecting the position of the image object in the image to the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device comprises: arranging the image according to a position of the image object in the image and a position of the calibration object matching the image object in the image calibration device The position of the image object in the second preset area in the image is projectively transformed to the plane in which the calibration object is located in the image calibration device to acquire the projecting position of the image object.
  • the water ripple detecting device selects an image of the second preset area from the image, determines a projecting position of the image object of the second preset area, and then determines an image according to the projecting position of the image object in the second preset area. Whether there is water ripple in the middle.
  • the position of the image object in the image and the position of the calibration object matching the image object in the image calibration apparatus include: the image object according to the first preset area in the image is in the image And a position of the calibration object matching the image object of the first preset area in the image calibration device determines a projective parameter, and the image object in the second preset area of the image is in the image according to the projective parameter The position projecting is transformed to the plane in which the calibration object is located in the image calibration device to obtain the projective position of the image object.
  • the first preset area and the second preset area may be set as areas that do not completely overlap.
  • the first predetermined area is an area near one or more of the four corners of the image. In the actual situation, the probability of water ripples in the four corners of the image is low, and the water ripple generally exists in the center of the image or in the vicinity of the center. Therefore, the position of the image object in the first preset area in the image is selected and Calculating the photographic parameters by the position of the calibration object matching the image object of the first preset area in the image calibration apparatus can effectively improve the calculation accuracy of the photographic parameters.
  • the center of the second preset area is the center of the image, that is, the second preset area is located in a central area of the image.
  • S742 Determine whether there is a water ripple in the image according to the projecting position of the image object.
  • the projecting position of the image object and the calibration object matching the image object should be the same or only a small error in the image calibration device.
  • the position in the image calibration device determines if there is a water ripple in the image.
  • the image when the image object that acquires the projecting position is in the second preset area, the image is calibrated according to the projecting position of the image object and the calibration object that matches the image object in the second preset area of the image.
  • the position in the device determines if there is a water ripple in the image.
  • determining whether the water ripple exists in the image according to the difference value may specifically include: determining, according to the difference, a distance between a projecting position of the image object and a position of the calibration object matching the image object in the image calibration device Determining whether there is a water ripple in the image based on the distance. For example, when the distance is higher than the preset distance threshold preset distance threshold, it is determined that there is water ripple in the image, otherwise it is determined that there is no water ripple in the image. When a plurality of image objects are obtained at the projecting position, a plurality of distances may be correspondingly obtained.
  • the plurality of distances are sorted, and the median value is selected to be compared with the preset distance threshold value; or, the plurality of distances are compared.
  • the distance is compared with the preset distance threshold respectively, and as long as there is a distance higher than the preset distance threshold, it is determined that there is water ripple in the image, and if all the distances are lower than the preset distance threshold, it is determined that there is no water ripple in the image.
  • the position of each calibration object in the image calibration device may be determined according to the projection position of the image object in each frame image of the multi-frame image captured by the image calibration device.
  • a distance vector cluster between the corresponding projecting positions determines whether there is a water ripple in the image according to the area enclosed by the distance vector cluster.
  • the average or median of the plurality of distance vector clusters may be selected to be compared with the preset area threshold.
  • determining whether the water ripple exists in the image according to the area enclosed by the distance vector cluster may specifically include: determining an average value of the area enclosed by the distance vector cluster; when the average value of the area is greater than a preset area At the threshold value, it is determined that there is water ripple in the image, otherwise it is determined that there is no water ripple in the image; or, the median value in the determined area surrounded by the plurality of distance vector clusters; when the median value is greater than the preset area threshold, the image is determined There is a water ripple in it, otherwise it is determined that there is no water ripple in the image.
  • the video captured by the imager of the drone is acquired, and the water ripple detection is performed on the video.
  • the multi-frame image on the video is extracted, assuming that three images captured by the image calibration device are acquired, and after the matching between the image object on each frame image and the calibration object on the image calibration device is completed, each frame image is selected.
  • the projection parameter H corresponding to each frame image is calculated by the position X 1 of the calibration object corresponding to the image object of the first preset area.
  • X" 2 HX' 2 .
  • the second preset area can be a quarter of the area of the image.
  • FIG. 8 for convenience of description, here is an example of a calibration object that matches an image object in a second preset area, and for the one calibration object, if the position of the calibration object in the image calibration apparatus is a position A, the projection positions B, C, and D of the image objects matching the calibration object A in the three-frame image are acquired as described above, and the vector clusters AB, AC, and AD can be acquired. Further, the vector cluster can be determined.
  • the area S ⁇ BCD wherein the area enclosed by the vector cluster can be realized by a convex hull algorithm. When the area S ⁇ BCD is large, it indicates that there is water ripple in the image, that is, according to the area enclosed by the distance vector cluster.
  • an area surrounded by a plurality of distance vector clusters can be acquired, and an area surrounded by the plurality of distance vector clusters can be sorted, and an area enclosed by the distance vector clusters at the intermediate value is selected.
  • the preset area threshold is compared, and if it is greater than the preset area threshold, it is determined that the video has water ripple.
  • FIG. 9 is a schematic structural diagram of an embodiment of a water ripple detecting device of the present application.
  • the water ripple detecting device 900 includes a processor 91 and a memory 92 that are connected to each other.
  • Memory 901 can include read only memory and random access memory and provides instructions and data to processor 902. A portion of the memory 901 may also include a non-volatile random access memory.
  • the processor 902 may be a central processing unit (CPU), and the processor may be another general-purpose processor, a digital signal processor (DSP), or an application specific integrated circuit (ASIC). ), a Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 901 is used to store program instructions.
  • the processor 902 the program instruction is called, when the program instruction is executed, used to:
  • the image calibration device Acquiring an image captured by the image calibration device, wherein the image calibration device includes a plurality of calibration objects;
  • Whether or not there is a water ripple in the image is determined according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device.
  • the processor 902 determines whether there is a water ripple in the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device
  • the processor 902 is specifically configured to: Determining a geometric parameter of the image object according to a position of the image object in the image; determining a geometric parameter of the calibration object matching the image object according to a position of the calibration object matching the image object in the image calibration device; according to the image object
  • the geometric parameters and the geometric parameters of the calibration object that match the image object determine if there is a water ripple in the image.
  • the processor 902 may be specifically configured to: according to the geometric parameter and the image object The geometric parameters of the calibration object that the image object matches determine a geometric parameter difference; based on the difference, it is determined whether there is a water ripple in the image.
  • the geometric parameter may include a cross ratio parameter.
  • the processor 902 when the image object of the detected calibration object is matched with the calibration object in the image calibration device, the processor 902 is specifically configured to: select at least one of the detected image objects. a set of image objects, wherein the set of image objects includes 5 image objects; determining a calibration object in at least one set of image calibration devices that match the at least one set of image objects;
  • the ratio parameter of the object
  • the processor 902 is specifically configured to: according to the calibration object in the at least one set of image calibration devices, when determining a geometric parameter of the calibration object that matches the image object according to a position of the calibration object matching the image object in the image calibration device Determining a cross ratio parameter of each set of calibration objects at a position of the image calibration device;
  • the processor 902 is configured to determine, according to the difference, whether there is a water ripple in the image, according to: a cross ratio parameter of each group of the image objects in the at least one group and a cross ratio parameter of the corresponding set of calibration objects The difference between the two determines if there is a water ripple in the image.
  • the processor 902 determines whether there is a water ripple in the image according to a difference between a cross ratio parameter of each set of image objects in the at least one group and a cross ratio parameter of the corresponding set of calibration objects. Specifically, the average cross ratio difference is determined according to the difference; when the average cross ratio difference is greater than or equal to a preset threshold, determining that there is a water ripple in the image.
  • the processor 902 when determining, according to the position of each group of image objects in the image, the intersection ratio parameter of each group of image objects, the processor 902 is specifically configured to: according to the at least one The position of each group of image objects in the group in the image determines the area of the four intersecting triangles corresponding to each group of image objects; each group of maps is determined according to the area of each of the group of image objects corresponding to four intersecting triangles Like the cross-reference parameter of the object;
  • the processor 902 is specifically configured to: according to the at least one set of image calibration devices, when determining, according to the calibration object in the at least one set of image calibration devices, the intersection ratio parameter of each group of calibration objects at the position of the image calibration device.
  • the calibration object in the image calibration device determines the area of the four intersecting triangles corresponding to each group of calibration objects; and determines the intersection ratio parameter of each group of calibration objects according to the area of each of the four calibration triangles corresponding to each calibration object .
  • processor 902 is further configured to: determine whether each of the areas of the corresponding four triangles of each group is greater than or equal to a preset area threshold;
  • the processor 902 is specifically configured to: when the cross-parameter parameter of each group of image objects is determined according to the area of the four intersecting triangles of each set of images, when the area of each of the four corresponding triangles is When each one is greater than or equal to the preset area threshold, the cross-parameter parameter of each group of image objects is determined according to the area of the four intersecting triangles corresponding to each set of images.
  • the processor 902 determines whether there is a water ripple in the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device
  • the processor 902 is specifically configured to: Converting a position of the image object in the image to a plane in which the calibration object is located in the image calibration device according to a position of the image object in the image and a position of the calibration object matching the image object in the image calibration device Obtaining a projecting position of the image object; determining whether there is a water ripple in the image according to a projecting position of the image object.
  • the processor 902 projectively transforms the position of the image object in the image to the image calibration device according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device.
  • the method is specifically configured to: match the position of the image object in the image according to the first preset area in the image and the image object of the first preset area;
  • the position of the calibration object in the image calibration device determines a projective parameter; according to the projective parameter, the position of the image object in the image is projectively transformed to a plane in which the calibration object is located in the image calibration device to obtain a projecting position of the image object.
  • the first preset area may be an area close to one or more of the four corners of the image.
  • the processor 902 projectively transforms the position of the image object in the image according to the position of the image object in the image and the position of the calibration object in the image calibration device that matches the image object to When the plane of the calibration object is located in the image calibration device to obtain the projecting position of the image object, specifically, according to the position of the image object in the image and the calibration object matching the image object in the image calibration device Positioning the position of the image object in the second preset area in the image in the image to the plane of the calibration object in the image calibration device to obtain the projecting position of the image object;
  • the processor 902 is configured to determine whether there is a water ripple in the image according to a projecting position of the image object in the second preset area when determining whether there is a water ripple in the image according to the projecting position of the image object.
  • the center of the second preset area may be the center of the image.
  • the processor 902 when determining whether there is a water ripple in the image according to the projecting position of the image object, is specifically configured to: determine a projecting position of the image object and a calibration object matching the image object in the image calibration device. The difference between the positions; the presence or absence of water ripple in the image based on the difference.
  • the processor 902 is configured to determine, according to the difference, whether there is a water ripple in the image, according to the difference, determining, according to the difference, a projecting position of the image object and a position of the calibration object matching the image object in the image calibration device. The distance between the two is determined based on the distance to determine whether there is a water ripple in the image.
  • the processor 902 when determining, according to the projecting position of the image object, whether the water ripple exists in the image, is specifically configured to: according to the image in each frame image of the multi-frame image captured by the image calibration device The projecting position of the object determines a distance vector cluster between the position of each calibration object in the image calibration device and the corresponding projecting position; and determining whether there is a water ripple in the image according to the area enclosed by the distance vector cluster.
  • the processor 902 determines whether there is a water ripple in the image, specifically, determining an average value of an area enclosed by the distance vector clusters; When the average of the area is greater than the preset area threshold, it is determined that there is water ripple in the image.
  • the processor 902 when determining, according to an area enclosed by the distance vector cluster, whether the water ripple exists in the image, is specifically configured to: determine a median value among the plurality of distance vector clusters; When the median value is greater than the preset area threshold, it is determined that there is a water ripple in the image.
  • the projective parameter is a homography matrix.
  • the processor 902 when the image object of the detected calibration object is matched with the calibration object in the image device, the processor 902 is specifically configured to: determine a feature parameter of the detected image object; according to the determined feature The parameter and the characteristic parameter of the pre-stored calibration object in the image calibration device match the detected image object of the calibration object with the calibration object in the image device.
  • the device in this embodiment may be used to implement the technical solution of the foregoing method embodiment of the present application, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 10 is a schematic structural diagram of an embodiment of a water ripple detecting system of the present application.
  • the detection system 1000 includes a photographing device 1001 and a water ripple detecting device 1002 that are connected to each other.
  • the imaging device 1001 is configured to capture an image by the image calibration device.
  • the water ripple detecting device 1002 is the water ripple detecting device described in the above embodiment, and will not be described herein.
  • FIG. 11 is a schematic structural diagram of an embodiment of the drone of the present application.
  • the unmanned aerial vehicle includes a water ripple detecting system, wherein the water ripple detecting system may specifically include the water ripple detecting device 1101 and the photographing device 1002 as described in the above system embodiment.
  • the drone may further include a carrying device 1103, wherein the carrying device 1103 is configured to carry the photographing device 1002.
  • the drone is a rotor drone, and the camera 1002 can be a main camera of the drone.
  • the carrier device 1103 can be a two-axis or three-axis pan/tilt.
  • the drone is further provided with a function circuit such as a visual sensor and an inertial measurement device according to actual needs.
  • a function circuit such as a visual sensor and an inertial measurement device according to actual needs.
  • FIG. 12 is a schematic structural diagram of an embodiment of a storage device of the present application.
  • the storage device 1200 stores the program instruction 1201.
  • the program instruction 1201 is run on the processor, the technical solution of the foregoing method embodiment of the present application is executed.
  • the storage device 1200 may specifically be a medium that can store computer instructions, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • it may be a server storing the program instructions, and the server may send the stored program instructions to other devices for running, or may also run the stored program instructions.
  • the image obtained by the image calibration device is detected to obtain an image object of the calibration object, and whether the water ripple exists in the image according to the position of the image object in the image and the position of the corresponding matching calibration object at the image calibration device.
  • the intelligent detection of the image water ripple is realized, and no manual detection is needed, thereby improving the detection efficiency and reducing the false detection rate.
  • the disclosed methods and apparatus may be implemented in other manners.
  • the device implementations described above are merely illustrative.
  • the division of modules or units is only one logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • An integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium.
  • the technical solution of the present application in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program instructions. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Mechanical Engineering (AREA)
  • Remote Sensing (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

A method for detecting a water ripple of an image, comprising: obtaining an image (301) obtained by photographing an image calibration device (20), wherein the image calibration device (20) comprises a plurality of calibration objects (302); detecting an image object of each calibration object in the image; matching the detected image object of the calibration object with the calibration object in the image calibration device; and determining whether a water ripple exists in the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device. In this way, intelligent detection of water ripples can be realized, and the detection efficiency is improved. Also disclosed is a water ripple detection device, an unmanned aerial vehicle, and a storage device.

Description

图像的水波纹检测方法及其装置、无人机和存储装置Image water ripple detecting method and device thereof, drone and storage device 【技术领域】[Technical Field]
本申请涉及图像处理技术领域,特别是涉及图像的水波纹检测方法及其装置、无人机和存储装置。The present application relates to the field of image processing technologies, and in particular, to a water ripple detecting method and device thereof for an image, a drone, and a storage device.
【背景技术】【Background technique】
无人机上配置有拍摄装置,已经广泛地应用于执行拍摄任务。无人机在飞行的过程中,机身会产生振动,机身的振动会直接或者间接地传递到拍摄装置。这样,当拍摄装置振动时,拍摄装置拍摄获取的图像中行与行之间会产生相对位移。此时,拍摄得到的图像会产生畸变,肉眼观察到图像中出现水波纹变形,即果冻效应,影响图像的拍摄质量。目前,针对图像的水波纹的检测,通常采用人工判断,检测效率低,而且对操作者的专业要求高。A drone is equipped with a photographing device, which has been widely used to perform shooting tasks. During the flight of the drone, the fuselage will vibrate, and the vibration of the fuselage will be transmitted directly or indirectly to the camera. Thus, when the photographing device vibrates, a relative displacement occurs between the lines in the image captured by the photographing device. At this time, the image obtained by the shooting will be distorted, and the water ripple deformation, that is, the jelly effect, is observed by the naked eye, which affects the image quality of the image. At present, the detection of water ripples for images is usually judged manually, the detection efficiency is low, and the professional requirements of the operator are high.
【发明内容】[Summary of the Invention]
本申请主要解决的技术问题是提供图像的水波纹检测方法及其装置、无人机和存储装置,能够实现智能检测水波纹,提高检测效率。The technical problem mainly solved by the present application is to provide an image water ripple detecting method and device thereof, a drone and a storage device, which can realize intelligent detection of water ripple and improve detection efficiency.
为解决上述技术问题,本申请第一方面提供一种图像的水波纹检测方法,包括:获取对图像标定装置拍摄得到的图像,其中,所述图像标定装置中包括多个标定对象;检测所述图像中标定对象的图像对象;将所述检测到的标定对象的图像对象与所述图像标定装置中的标定对象进行匹配;根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹。In order to solve the above technical problem, a first aspect of the present application provides a water ripple detecting method for an image, comprising: acquiring an image captured by an image calibration device, wherein the image calibration device includes a plurality of calibration objects; and detecting the An image object of the object in the image; matching the image object of the detected calibration object with a calibration object in the image calibration device; according to a position of the image object in the image and matching with the image object The position of the calibration object in the image calibration device determines if there is a water ripple in the image.
为了解决上述技术问题,本申请第二方面提供一种水波纹检测装置,包括处理器及存储器,其中,所述存储器,用于存储程序指令;所述处理器,执行所述程序指令以用于:获取对图像标定装置拍摄得到的图像,其 中,所述图像标定装置中包括多个标定对象;检测所述图像中标定对象的图像对象;将所述检测到的标定对象的图像对象与所述图像标定装置中的标定对象进行匹配;根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹。In order to solve the above technical problem, a second aspect of the present application provides a water ripple detecting apparatus including a processor and a memory, wherein the memory is configured to store program instructions, and the processor executes the program instructions for use in Acquiring an image captured by the image calibration device, wherein the image calibration device includes a plurality of calibration objects; detecting an image object of the calibration object in the image; and detecting the image object of the detected calibration object The calibration object in the image calibration device performs matching; determining whether there is a water ripple in the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device.
为了解决上述技术问题,本申请第三方面提供一种水波纹检测系统,包括拍摄装置和上述的水波纹检测装置,其中,所述拍摄装置用于对图像标定装置进行拍摄。In order to solve the above technical problem, a third aspect of the present application provides a water ripple detecting system including a photographing apparatus and the above-described water ripple detecting apparatus, wherein the photographing apparatus is configured to photograph an image calibration apparatus.
为了解决上述技术问题,本申请第四方面提供一种无人机,包括上述水波纹检测系统。In order to solve the above technical problem, a fourth aspect of the present application provides a drone, including the above-described water ripple detecting system.
为了解决上述技术问题,本申请第五方面提供一种存储装置,存储有程序指令,当所述程序指令在处理器上运行时,执行上述第一方面所述的方法。In order to solve the above technical problem, a fifth aspect of the present application provides a storage device storing program instructions, and when the program instructions are executed on a processor, performing the method described in the first aspect.
上述方案,通过检测对图像标定装置拍摄得到的图像,以得到标定对象的图像对象,并根据图像对象在图像中的位置以及对应匹配的标定对象在图像标定装置的位置确定图像中是否存在水波纹,实现了对图像水波纹的智能检测,无需人工检测,进而可提高其检测效率,降低误检率。In the above solution, the image obtained by the image calibration device is detected to obtain an image object of the calibration object, and whether the water ripple exists in the image according to the position of the image object in the image and the position of the corresponding matching calibration object at the image calibration device The intelligent detection of the image water ripple is realized, and no manual detection is needed, thereby improving the detection efficiency and reducing the false detection rate.
【附图说明】[Description of the Drawings]
图1是本申请图像的水波纹检测方法一实施例的流程示意图;1 is a schematic flow chart of an embodiment of a water ripple detecting method of an image of the present application;
图2a是本申请一应用场景中采用的图像标定装置的示意图;2a is a schematic diagram of an image calibration apparatus used in an application scenario of the present application;
图2b是本申请另一应用场景中采用的图像标定装置的示意图;2b is a schematic diagram of an image calibration apparatus used in another application scenario of the present application;
图3是本申请一应用场景中拍摄的图像及其中的图像对象的示意图;3 is a schematic diagram of an image captured in an application scenario and an image object therein;
图4是本申请一应用场景中标定对象与图像对象的匹配关系示意图;4 is a schematic diagram of a matching relationship between a calibration object and an image object in an application scenario of the present application;
图5是本申请图像的水波纹检测方法另一实施例中S14步骤的流程示意图;5 is a schematic flow chart of the step S14 in another embodiment of the water ripple detecting method of the image of the present application;
图6是本申请一应用场景中选择的一组图像对象的示意图;6 is a schematic diagram of a group of image objects selected in an application scenario of the present application;
图7是本申请图像的水波纹检测方法再一实施例中S14步骤的流程示意图;7 is a schematic flow chart of the step S14 in still another embodiment of the water ripple detecting method of the image of the present application;
图8是本申请一应用场景中图像的投影位置与其匹配的标定对象的位置之间的位置关系示意图;8 is a schematic diagram showing a positional relationship between a projected position of an image and a position of a matching calibration object in an application scenario of the present application;
图9是本申请水波纹检测装置一实施例的结构示意图;9 is a schematic structural view of an embodiment of a water ripple detecting device of the present application;
图10是本申请水波纹检测系统一实施例的结构示意图;10 is a schematic structural view of an embodiment of a water ripple detecting system of the present application;
图11是本申请无人机一实施例的结构示意图;Figure 11 is a schematic structural view of an embodiment of the drone of the present application;
图12是本申请存储装置一实施例的结构示意图。FIG. 12 is a schematic structural diagram of an embodiment of a storage device of the present application.
【具体实施方式】【Detailed ways】
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly described with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is referred to as being "fixed" to another component, it can be directly on the other component or the component can be present. When a component is considered to "connect" another component, it can be directly connected to another component or possibly a central component.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。All technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. The terminology used in the description of the present invention is for the purpose of describing particular embodiments and is not intended to limit the invention. The term "and/or" used herein includes any and all combinations of one or more of the associated listed items.
请参阅图1,图1是本申请图像的水波纹检测方法一实施例的流程示意图,其中,所述方法可以应用于无人机,具体用于对无人机上配置的拍摄装置拍摄的图像中是否存在水波纹。具体包括如下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flow chart of an embodiment of a water ripple detecting method of an image of the present application, wherein the method can be applied to an unmanned aerial vehicle, and is specifically used for an image taken by a shooting device configured on the drone. Is there a water ripple? Specifically, the following steps are included:
S11:获取对图像标定装置拍摄得到的图像。S11: Acquire an image captured by the image calibration device.
具体地,本实施例的方法的执行主体可以为水波纹检测装置,进一步地,执行主体可以为水波纹检测装置的处理器,其中,所述处理器可以为通用或者专用处理器,其中,所述处理器可以为一个或多个,在这里不作具体的限定。所述水波纹检测装置可以配置在无人机上,在进行图像的水波纹检测的过程中,无人机上配置的拍摄装置可以对图像标定装置进行拍摄并输出拍摄得到的图像,其中,所述水波纹检测装置可以获取所述图像。Specifically, the execution body of the method of the embodiment may be a water ripple detecting device, and further, the executing body may be a processor of the water ripple detecting device, wherein the processor may be a general-purpose or dedicated processor, wherein The processor may be one or more, and is not specifically limited herein. The water ripple detecting device may be disposed on the drone, and in the process of detecting the water ripple of the image, the photographing device disposed on the drone may photograph the image calibration device and output the captured image, wherein the water is The ripple detecting device can acquire the image.
所述图像标定装置可以是具有图像标定作用的任何标定装置,其中, 包括多个标定对象,故对应地,拍摄得到的图像中包含有该标定对象的图像对象,该图像对象也即图像中表示该标定对象的图像区域。The image calibration device may be any calibration device having an image calibration function, wherein a plurality of calibration objects are included, and accordingly, the captured image includes an image object of the calibration object, and the image object is represented in the image. The image area of the calibration object.
进一步地,该图像标定装置可为标定板,该标定对象为标定板上的标定点。例如,图2a所示,该图像标定装置为棋盘格标定板20,标定对象为棋盘格标定板上的角点201;或者该图像标定装置为随机点标定板,如图2b所示,该标点对象为标定板21上的随机点,该随机点可以为圆形或者其他形状,标定板20上的标定对象的尺寸可以相同,在某些情况中,标定板20上的标定对象中包括至少两种尺寸的标定对象,即包括至少两种不同尺寸的标定对象,为了方便描述,这里以两种不同尺寸的标定对象211和212来进行示意性说明:图像标定装置包括载体装置和设置在所述载体装置上的至少两种尺寸类型的标定对象。进一步地,图像标定装置还可包括设置在所述载体装置上的具有纹理的图像,该图像作为标定对象的背景图。所述载体装置可以为基板。可选地,所述至少两种尺寸类型的标定对象中至少一种尺寸类型的标定对象的外环和外环内部的颜色不同,例如,所述外环为黑色,外环内部为白色;或者所述外环为白色,外环内部为黑色。可选地,所述至少两种尺寸类型的标定对象中至少一种尺寸类型的标定对象中心部分的颜色不同于至少两种尺寸类型的标定对象中另一种尺寸类型的标定对象中心部分的颜色。相比于棋盘格标定板需整体拍摄方可实现角点与图像中图像对象之间的匹配,随机点标定板由于每个随机点周围的随机点分布均可唯一识别,故可以对该标定板进行部分拍摄即可实现随机点与图像中图像对象之间的匹配。Further, the image calibration device can be a calibration plate, and the calibration object is a calibration point on the calibration plate. For example, as shown in FIG. 2a, the image calibration device is a checkerboard calibration plate 20, and the calibration object is a corner point 201 on the checkerboard calibration plate; or the image calibration device is a random point calibration plate, as shown in FIG. 2b, the punctuation The object is a random point on the calibration plate 21, which may be a circle or other shape, and the size of the calibration object on the calibration plate 20 may be the same, and in some cases, at least two of the calibration objects on the calibration plate 20 are included. The size of the calibration object, that is, the calibration object including at least two different sizes, for convenience of description, is schematically illustrated here by two different sizes of calibration objects 211 and 212: the image calibration device includes a carrier device and is disposed in the At least two size types of calibration objects on the carrier device. Further, the image calibration device may further include a textured image disposed on the carrier device as a background image of the calibration object. The carrier device can be a substrate. Optionally, the outer ring and the outer ring of the calibration object of the at least one of the at least one size type of the at least two size types are different in color, for example, the outer ring is black, and the outer ring is white inside; or The outer ring is white and the inner part of the outer ring is black. Optionally, the color of the center portion of the calibration object of the at least one of the at least one size type of the calibration object of the at least two size types is different from the color of the center portion of the calibration object of the other size type of the calibration object of the at least two size types . Compared with the checkerboard calibration board, the overall shooting is required to achieve the matching between the corner points and the image objects in the image. The random point calibration plate can be uniquely identified because of the random point distribution around each random point, so the calibration board can be Partial shooting allows for a match between random points and image objects in the image.
S12:检测所述图像中标定对象的图像对象。S12: Detect an image object of the calibration object in the image.
具体地,在获取到对图像标定装置拍摄得到的图像之后,所述水波纹检测装置从图像中识别出标定对象的图像对象,其中,所述图像对象是被拍摄到的标定对象在图像中的图像区域。由于图像标定装置上的标定对象是特征明显的对象,水波纹检测装置可以根据标定对象的特征从图像中识别出标定对象的图像对象。例如,针对棋盘格标定板,水波纹检测装置可以采用角点提取算法提取出图像中的角点,针对随机点标定板,水波纹检测装置可以采用圆点提取(blob detector)算法提取图像中的随机点。其中,该圆点提取算法较棋盘格角点算法的精度高,故S11中采用标定对象为圆 形的图像标定装置进行拍摄,可提高其图像对象的检测精度。Specifically, after acquiring the image captured by the image calibration device, the water ripple detecting device identifies an image object of the calibration object from the image, wherein the image object is the captured calibration object in the image. Image area. Since the calibration object on the image calibration device is an object with obvious features, the water ripple detecting device can recognize the image object of the calibration object from the image according to the feature of the calibration object. For example, for the checkerboard calibration plate, the water ripple detecting device can extract the corner points in the image by using the corner extraction algorithm. For the random point calibration plate, the water ripple detecting device can extract the image in the image by using a blob detector algorithm. Random point. Among them, the dot extraction algorithm has higher precision than the checkerboard corner point algorithm. Therefore, in S11, the image calibration device with the calibration object is circular, and the detection accuracy of the image object can be improved.
为了方便进行说明,接下来将以图像标定装置为棋盘格标定板为例,如图3所示,水波纹检测装置获取到对棋盘格标定板拍摄的图像301,然后,可以从图像301中提取出多个角点302。For convenience of explanation, the image calibration device will be taken as an example for the checkerboard of the checkerboard. As shown in FIG. 3, the water ripple detecting device acquires an image 301 taken on the checkerboard of the checkerboard, and then can be extracted from the image 301. A plurality of corner points 302 are drawn.
S13:将检测到的标定对象的图像对象与图像标定装置中的标定对象进行匹配。S13: Match the detected image object of the calibration object with the calibration object in the image calibration device.
具体地,在检测到检测所述图像中标定对象的图像对象之后,需要将检测到的图像对象与图像标定装置上的标定对象建立匹配关系,即确定检测到的图像对象到底对应图像标定装置上的哪一个标定对象。例如,如图4所示,针对棋盘格标定板401拍摄得到的图像,可以从图像中提取出多个角点402,可以对角点402中每一个与棋盘格标定板401中的角点进行匹配,在匹配完成之后,角点402中的每一个即与棋盘格标定板401建立了一一对应的关系。Specifically, after detecting the image object of the calibration object in the image, it is necessary to establish a matching relationship between the detected image object and the calibration object on the image calibration device, that is, determining that the detected image object corresponds to the image calibration device. Which one of the calibration objects. For example, as shown in FIG. 4, for the image captured by the checkerboard 401, a plurality of corner points 402 may be extracted from the image, and each of the corner points 402 may be aligned with a corner point in the checkerboard 401. Matching, after the matching is completed, each of the corner points 402 establishes a one-to-one correspondence with the checkerboard 401.
在某些实施例中,所述将检测到的标定对象的图像对象与图像标定装置中的标定对象进行匹配包括:根据图像对象在图像中的位置确定检测到的图像对象的位置特征参数,根据确定的所述位置特征参数与预存的标定对象的位置特征参数将检测到的标定对象的图像对象与图像装置中的标定对象进行匹配。另外,水波纹检测装置可以预存图像标定装置中标定对象的位置特征参数,其中,所述位置特征参数可以表示某一个图像对象或者标定对象分别相对于其他一个或多个图像对象和标定对象的位置关系,具体地,该位置特征参数可以为特征向量,根据确定的所述位置特征参数与预存的标定对象的位置特征参数将检测到的标定对象的图像对象与图像装置中的标定对象进行匹配。可选地,当图像对象的位置特征参数与预存的某一个标定对象的位置特征参数相同或者相近时,可以确定该图像对象与该标定对象是匹配的。In some embodiments, the matching the detected image object of the calibration object with the calibration object in the image calibration device comprises: determining a position feature parameter of the detected image object according to a position of the image object in the image, according to The determined position feature parameter and the pre-stored position feature parameter of the calibration object match the detected image object of the calibration object with the calibration object in the image device. In addition, the water ripple detecting device may pre-store the position feature parameter of the calibration object in the image calibration device, wherein the position feature parameter may indicate the position of the image object or the calibration object relative to the other one or more image objects and the calibration object, respectively. The relationship, in particular, the position feature parameter may be a feature vector, and the detected image object of the calibration object is matched with the calibration object in the image device according to the determined position feature parameter and the pre-stored position feature parameter of the calibration object. Optionally, when the location feature parameter of the image object is the same as or similar to the pre-stored location feature parameter of the calibration object, it may be determined that the image object matches the calibration object.
S14:根据图像对象在图像中的位置和与图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹。S14: Determine whether there is a water ripple in the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device.
具体地,水波纹检测装置可以确定图像对象在图像中的位置,即图像对象在图像中所处的位置,其中,所述图像对象在图像中的位置可以是图像对象在图像坐标系下的坐标。另外,水波纹检测装置可以确定与图像对 象匹配的标定对象在图像标定装置中的位置,为了方便说明,与图像对象匹配的标定对象可以简称为目标标定对象。标定对象在图像标定装置中的位置可以预存在水波纹检测装置中,在确定了与图像对象匹配的目标标定对象后,可以从预存的标定对象在图像标定装置中的位置中获取出目标标定对象在图像标定装置上的位置。例如,当所述图像标定装置为棋盘格标定板时,所述图像对象在图像中的位置可以是角点的图像区域在图像坐标系下的坐标,目标标定对象在图像标定装置上的位置可以是角点在棋盘格标定板上的位置。Specifically, the water ripple detecting device may determine the position of the image object in the image, that is, the position of the image object in the image, wherein the position of the image object in the image may be the coordinate of the image object in the image coordinate system. . In addition, the water ripple detecting means can determine the position of the calibration object matching the image object in the image calibration device. For convenience of explanation, the calibration object matching the image object can be simply referred to as the target calibration object. The position of the calibration object in the image calibration device may be pre-existing in the water ripple detecting device. After the target calibration object matching the image object is determined, the target calibration object may be obtained from the position of the pre-stored calibration object in the image calibration device. The position on the image calibration device. For example, when the image calibration device is a checkerboard calibration plate, the position of the image object in the image may be the coordinate of the image region of the corner point in the image coordinate system, and the position of the target calibration object on the image calibration device may be Is the position of the corner point on the checkerboard.
在得到了图像对象在图像中的位置和目标标定对象在图像标定装置上的位置之后,可以根据图像对象在图像中的位置和目标标定对象在图像标定装置上的位置,来确定图像中是否存在水波纹。After the position of the image object in the image and the position of the target calibration object on the image calibration device are obtained, whether the image exists in the image may be determined according to the position of the image object in the image and the position of the target calibration object on the image calibration device. Water ripples.
本实施例中,通过检测对图像标定装置拍摄得到的图像,以得到标定对象的图像对象,并根据图像对象在图像中的位置以及对应匹配的标定对象在图像标定装置的位置确定图像中是否存在水波纹,实现了对图像水波纹的智能检测,无需人工检测,进而可提高其检测效率,所述智能检测方式可减少出现误检或漏检的情况,提高检测准确性。In this embodiment, the image captured by the image calibration device is detected to obtain an image object of the calibration object, and whether the image is present in the image according to the position of the image object in the image and the position of the corresponding matching calibration object at the image calibration device The water ripple realizes the intelligent detection of the image water ripple, and does not require manual detection, thereby improving the detection efficiency. The intelligent detection method can reduce the occurrence of false detection or missed detection and improve the detection accuracy.
请参阅图5,图5是本申请图像的水波纹检测方法另一实施例中S14步骤的流程示意图。本实施例利用图像对象的几何参数及其匹配的标定对象的几何参数,来确定图像标定装置上的标定对象与其对应的图像对象是否满足射影不变性,进而确定图像是否存在水波纹。具体地,相比与图1所示实施例,本实施例方法的S14还包括以下子步骤:Please refer to FIG. 5. FIG. 5 is a schematic flow chart of the step S14 in another embodiment of the water ripple detecting method of the image of the present application. In this embodiment, the geometric parameters of the image object and the geometric parameters of the matching calibration object are used to determine whether the calibration object on the image calibration device and the corresponding image object satisfy the projective invariance, thereby determining whether the image has water ripple. Specifically, compared with the embodiment shown in FIG. 1, S14 of the method of the embodiment further includes the following sub-steps:
S541:根据所述图像对象在图像中的位置确定图像对象的几何参数。S541: Determine a geometric parameter of the image object according to the position of the image object in the image.
具体地,对图像标定装置进行拍摄,即是将图像装置上的标定对象射影变换到拍摄装置的图像传感器所在平面上。在确定了图像对象在图像中的位置后,可以根据所述位置确定图像对象的几何参数,其中,所述几何参数包括射影不变参数,射影不变参数是射影变换的一种特征,指图形经过任何射影变换都不变的参数。Specifically, the image calibration device is photographed, that is, the calibration target on the image device is projected onto the plane of the image sensor of the imaging device. After determining the position of the image object in the image, the geometric parameters of the image object may be determined according to the position, wherein the geometric parameter includes a projective invariant parameter, and the projective invariant parameter is a feature of the projective transformation, and the graphic is a graphic A parameter that does not change after any projective transformation.
在某些实施例中,该几何参数可包括交比参数,进一步地,射影不变参数包括交比参数。步骤S13中包括以下子步骤:从检测到的所述图像对象中选择至少一组图像对象,其中,所述一组图像对象包括5个图像对象, 确定与所述至少一组图像对象匹配的至少一组图像标定装置中的标定对象。所述根据所述图像对象在图像中的位置确定图像对象的交比参数包括:根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象的交比参数。具体地,如图6所示,可从检测到的若干个图像对象中选择5个图像对象A、B、C、D和E组成一组图像对象,不同组图像对象之间至少存在一个不同的图像对象。其中,该选择的图像对象的组数可根据实际需求进行调整,通常,在要求检测准确性高的应用场景中,其选择的组数多,而且选择的图像对象分布在图像的不同区域。In some embodiments, the geometric parameter can include a cross ratio parameter, and further, the projective invariant parameter includes a cross ratio parameter. The step S13 includes the following substeps: selecting at least one set of image objects from the detected image objects, wherein the set of image objects includes 5 image objects, and determining the at least one set of image objects Matching at least one set of image calibration devices in the calibration device. Determining the cross ratio parameter of the image object according to the position of the image object in the image comprises: determining a cross ratio parameter of each group of image objects according to a position of each set of the image objects in the image in the at least one group . Specifically, as shown in FIG. 6, five image objects A, B, C, D, and E may be selected from a plurality of detected image objects to form a group of image objects, and at least one image object exists between different groups of image objects. Different image objects. The number of selected image objects can be adjusted according to actual needs. Generally, in an application scenario requiring high detection accuracy, the number of selected groups is large, and the selected image objects are distributed in different regions of the image.
进一步地,所述根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象的交比参数可包括:根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象对应的4个交叉三角形的面积;根据所述每一组图像对象对应4个交叉三角形的面积确定每一组图像对象的交比参数。继续参见图6,一组图像对象包含5个图像对象A、B、C、D、E,由该5个图像对象可形成4个交叉三角形,利用该4个交叉三角形的面积得到该组图像对象的交比参数为S ΔABCS ΔADE/S ΔABDS ΔACEFurther, determining the cross-parameter parameter of each group of image objects according to a position of each group of the image objects in the at least one group may include: selecting each group of image objects according to the at least one group The position in the image determines the area of the four intersecting triangles corresponding to each group of image objects; and the intersection ratio parameter of each group of image objects is determined according to the area of each of the group of image objects corresponding to the four intersecting triangles. Continuing to refer to FIG. 6, a set of image objects includes five image objects A, B, C, D, and E, and four intersecting triangles can be formed by the five image objects, and the set of images is obtained by using the areas of the four intersecting triangles. The cross-parameter parameter of the image object is S ΔABC S ΔADE /S ΔABD S ΔACE .
可选地,为保证本步骤确定的交比参数的准确性,可先判断每组标定对象的交叉三角形的面积是否满足面积要求,在确定满足面积要求时再利用该交叉三角形的面积确定交比参数。可选地,可判断根据三角形面积得到的交比参数是否满足交比要求,并在满足交比要求时才确定选择该交比参数。Optionally, in order to ensure the accuracy of the cross ratio parameter determined in this step, it may be first determined whether the area of the intersecting triangle of each set of calibration objects satisfies the area requirement, and the area of the intersecting triangle is used to determine the cross ratio when determining the area requirement is determined. parameter. Optionally, it can be determined whether the cross ratio parameter obtained according to the area of the triangle satisfies the cross ratio requirement, and the cross ratio parameter is determined to be selected when the cross ratio requirement is met.
具体地,在上述确定每一组图像对象对应的4个交叉三角形的面积之后,先确定每一组对应的4个交叉三角形的面积中的每一个是否都大于或等于预设面积阈值;所述根据所述每一组图像对应4个交叉三角形的面积确定每一组图像对象的交比参数包括:当每一组对应的4个交叉三角形的面积中的每一个都大于或等于预设面积阈值时,根据所述每一组图像对应4个交叉三角形的面积确定每一组图像对象的交比参数。当每一组对应的4个交叉三角形的面积中一个或多个小于预设面积阈值时,则重新选择一组图像对象,并利用本步骤确定该组图像对象的交比参数。Specifically, after determining the area of the four intersecting triangles corresponding to each group of image objects, determining whether each of the areas of the four intersecting triangles corresponding to each group is greater than or equal to a preset area threshold; Determining the cross-parameter parameter of each group of image objects according to the area of each of the four intersecting triangles of each group of images includes: when each of the areas of the corresponding four intersecting triangles of each group is greater than or equal to the pre- When the area threshold is set, the cross-parameter parameter of each group of image objects is determined according to the area of the four intersecting triangles corresponding to each set of images. When one or more of the areas of the corresponding four intersecting triangles of each group are smaller than the preset area threshold, then a group of image objects are reselected, and the step ratio parameter of the group of image objects is determined by using this step.
另外,在确定该组图像对象的交比参数之后,可判断该交比参数是否大于设定交比阈值,若是,则确定选择该交比参数以用于后续步骤,否则 重新选择一组图像对象,并利用本步骤确定该组图像对象的交比参数。In addition, after determining the cross ratio parameter of the group of image objects, it may be determined whether the cross ratio parameter is greater than a set cross ratio threshold, and if yes, determining to select the cross ratio parameter for use in subsequent steps, otherwise reselecting a set of graphs Like the object, and use this step to determine the cross-reference parameters of the set of image objects.
S542:根据与图像对象匹配的标定对象在图像标定装置中的位置确定与图像对象匹配的标定对象的几何参数。S542: Determine a geometric parameter of the calibration object that matches the image object according to the position of the calibration object matching the image object in the image calibration device.
具体地,在确定了目标标定对象在图像标定装置中的位置后,可以根据所述位置确定目标标定对象的几何参数,如前所述,所述几何参数包括射影不变参数。Specifically, after determining the position of the target calibration object in the image calibration device, the geometric parameters of the target calibration object may be determined according to the position. As described above, the geometric parameters include projective invariant parameters.
在某些实施例中,该几何参数可包括交比参数。具体地,所述根据与图像对象匹配的标定对象在图像标定装置中的位置确定与图像对象匹配的标定对象的几何参数包括:根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象的交比参数。In some embodiments, the geometric parameter can include a cross ratio parameter. Specifically, the determining, according to the position of the calibration object matching the image object in the image calibration device, the geometric parameter of the calibration object matching the image object comprises: calibrating the image according to the calibration object in the at least one set of image calibration devices The position of the device determines the cross-reference parameters for each set of calibration objects.
具体地,同理于上述每一组图像对象的交比参数确定方式,所述根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象的交比参数包括:根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象对应的4个交叉三角形的面积,根据所述每一组标定对象对应4个交叉三角形的面积确定每一组标定对象的交比参数。其中,具体方法与前述部分中每一组图像对象的交比参数的确定方法类似,此处不再赘述。Specifically, in the same manner as the cross-parameter parameter determining manner of each of the group of image objects, the determining the intersection of each set of calibration objects according to the position of the image calibration device according to the calibration object in the at least one set of image calibration devices The ratio parameter includes: determining, according to the position of the image calibration device, the area of the four intersecting triangles corresponding to each group of calibration objects according to the calibration object in the at least one set of image calibration devices, according to each of the set of calibration objects The area of the intersecting triangles determines the cross-reference parameters for each set of calibration objects. The specific method is similar to the method for determining the cross-parameter parameter of each group of image objects in the foregoing part, and details are not described herein again.
S543:根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定图像中是否存在水波纹。S543: Determine whether there is a water ripple in the image according to the geometric parameter of the image object and the geometric parameter of the calibration object that matches the image object.
具体地,按照射影原理,当图像不存在水波纹时,所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数应该是相同的,故可以根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定图像中是否存在水波纹。进一步地,可根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定几何参数差值,进而根据所述差值确定图像中是否存在水波纹。Specifically, according to the principle of projecting, when there is no water ripple in the image, the geometric parameters of the image object and the geometric parameters of the calibration object matching the image object should be the same, so according to the geometric parameters of the image object and The geometric parameters of the calibration object that the image object matches determine whether there is a water ripple in the image. Further, the geometric parameter difference may be determined according to the geometric parameter of the image object and the geometric parameter of the calibration object that matches the image object, thereby determining whether there is a water ripple in the image according to the difference.
如前所述,几何参数包括交比参数,本步骤S543包括:根据所述至少一组中每一组图像对象的交比参数和与对应一组标定对象的交比参数之间的差值确定图像中是否存在水波纹。具体地,基于射影变换的不变性原理,由于图像标定装置中的标定对象和与其匹配的图像对应是射影变换关系, 故当图像不存在水波纹时,图像中的图像对象的交比参数与图像标定装置上的对应标定对象的交比参数相等或存在较小误差,当存在水波纹的图像时,由于图像存在畸变,图像中存在水波纹的图像区域中的图像对象的交叉交比参数与图像标定装置上的对应标定对象的交比参数相差较大,故可通过对比图像对象和标定对象的交比参数确定图像是否存在水波纹。As described above, the geometric parameter includes a cross ratio parameter, and step S543 includes: a difference between the cross ratio parameter of each set of image objects in the at least one set and the cross ratio parameter of the corresponding set of calibration objects Determine if there are water ripples in the image. Specifically, based on the principle of invariance of the projective transformation, since the calibration object in the image calibration device and the image matching the image are in a projective transformation relationship, when the image does not have water ripple, the intersection parameter and image of the image object in the image The cross-correlation parameters of the corresponding calibration objects on the calibration device are equal or have small errors. When there is a water ripple image, the intersection ratio parameters and images of the image objects in the image region where the water ripple exists in the image due to the distortion of the image The cross-correlation parameters of the corresponding calibration objects on the calibration device have a large difference, so whether the image has water ripple can be determined by comparing the cross-reference parameters of the image object and the calibration object.
进一步地,在步骤S13选择的图像对象的组数为至少两个时,所述根据所述至少一组中每一组图像对象的交比参数和与对应一组标定对象的交比参数之间的差值确定图像中是否存在水波纹可包括:根据所述差值确定平均交叉比差值,当所述平均交叉比差值大于或等于预设阈值时,确定图像中存在水波纹,当所述平均交叉比差值小于预设阈值时,确定图像中不存在水波纹。例如,图像对象的组数为10组,利用上述步骤S541和S542分别计算出10组图像对象的交比参数以及对应的10组标定对象的交比参数,计算出每组图像对象的交比参数与对应标定对象的交比参数之间的差值,以得到10个差值,对10个差值进行算术平均以得到平均交叉比差值,将该平均交叉比差值与预设阈值进行比较即可确定图像中是否存在水波纹。Further, when the number of groups of image objects selected in step S13 is at least two, the ratio parameter according to each group of image objects in the at least one group and the ratio parameter to a corresponding group of calibration objects Determining whether there is a water ripple in the image may include: determining an average cross ratio difference according to the difference, and determining that there is water ripple in the image when the average cross ratio difference is greater than or equal to a preset threshold When the average cross ratio difference is less than a preset threshold, it is determined that there is no water ripple in the image. For example, the number of groups of image objects is 10 groups, and the intersection ratio parameters of 10 sets of image objects and the cross-parameter parameters of the corresponding 10 sets of calibration objects are respectively calculated by the above steps S541 and S542, and the intersection of each group of image objects is calculated. Comparing the difference between the parameter and the cross-parameter parameter of the corresponding calibration object to obtain 10 difference values, performing arithmetic average on the 10 difference values to obtain an average cross ratio difference, and the average cross-ratio difference value and a preset threshold value A comparison can be made to determine if there is a water ripple in the image.
请参阅图7,图7是本申请图像的水波纹检测方法再一实施例中S14步骤的流程示意图。本实施例基于几何距离误差,即利用图像对象在图像标定装置中标定对象所在的平面上的射影位置,并确定图像对象的射影位置与对应标定对象在图像标定装置的位置是否满足位置一致性,进而确定图像中是否存在水波纹。具体地,相比与图1所示实施例,本实施例方法的S14还包括以下子步骤:Please refer to FIG. 7. FIG. 7 is a schematic flow chart of the step S14 in another embodiment of the water ripple detecting method of the image of the present application. The embodiment is based on the geometric distance error, that is, using the image object in the image calibration device to calibrate the projecting position on the plane where the object is located, and determining whether the projecting position of the image object and the position of the corresponding calibration object in the image calibration device satisfy the positional consistency. It is then determined whether there is a water ripple in the image. Specifically, compared with the embodiment shown in FIG. 1, S14 of the method of the embodiment further includes the following sub-steps:
S741:将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取图像对象的射影位置。S741: Projectively transform the position of the image object in the image to a plane where the calibration object is located in the image calibration device to obtain a projecting position of the image object.
具体地,如前所述,当图像中不存在水波纹时,图像中的图像对象与图像标定装置中的标定对象存在射影变换的关系,即所述图像对象在图像中的位置和与图像对应匹配的标定对象在图像标定装置中的位置存在射影变换的关系。水波纹检测装置可以将图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面上,进一步地,根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置 将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取所述图像对象的射影位置,这样可以获取图像对象在图像标定装置上的射影位置。Specifically, as described above, when there is no water ripple in the image, the image object in the image has a relationship of projective transformation with the calibration object in the image calibration device, that is, the position of the image object in the image corresponds to the image. There is a projective transformation relationship of the position of the matched calibration object in the image calibration device. The water ripple detecting device may project the position of the image object in the image to a plane on which the calibration object is located in the image calibration device, and further, according to the position of the image object in the image and the calibration object matching the image object Positioning the image object in the image to project a position of the image object in the image to a plane in which the calibration object is located in the image calibration device to obtain a projecting position of the image object, so that the image object can be acquired on the image calibration device Projective position.
在某些实施例中,可先确定图像中第一预设区域的图像对象与其匹配的标定对象之间的射影参数,进而利用该射影参数确定图像对象的射影位置。具体地,根据所述图像中第一预设区域的图像对象在图像中的位置和与第一预设区域的图像对象匹配的标定对象在图像标定装置中的位置确定射影参数,其中,所述射影参数可以是将第一区域的图像对象在图像的位置射影变换为与所述图像对象匹配的标定对象在图像标定装置中的位置的变换参数,在已知第一区域的图像对象在图像的位置和与第一预设区域的图像对象匹配的标定对象在图像标定装置中的位置的前提下,可以计算出所述射影参数,其中,所述该射影参数可以为单应矩阵。然后可以根据所述射影参数将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取图像对象的射影位置。In some embodiments, the projective parameter between the image object of the first preset area in the image and the matching calibration object may be determined first, and then the projective position of the image object is determined by using the projective parameter. Specifically, the projective parameter is determined according to a position of the image object of the first preset area in the image in the image and a position of the calibration object matching the image object of the first preset area in the image calibration apparatus, wherein The projective parameter may be a transformation parameter that transforms the image object of the first region at a position of the image into a position of the calibration object matching the image object in the image calibration device, wherein the image object of the first region is known in the image The projective parameter may be calculated on the premise that the position of the calibration object matching the image object of the first preset area is in the image calibration device, wherein the projective parameter may be a homography matrix. The position of the image object in the image may then be projectively transformed according to the projective parameter to a plane in which the calibration object is located in the image calibration device to obtain a projecting position of the image object.
在某些实施例中,所述根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取所述图像对象的射影位置包括:根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像中第二预设区域中的图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取图像对象的射影位置。具体地,水波纹检测装置从图像中选取第二预设区域的图像,确定第二预设区域的图像对象的射影位置,然后根据所述第二预设区域中的图像对象的射影位置确定图像中是否存在水波纹。In some embodiments, the projecting the position of the image object in the image to the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device Determining, in the calibration device, the plane in which the object is located to acquire the projective position of the image object comprises: arranging the image according to a position of the image object in the image and a position of the calibration object matching the image object in the image calibration device The position of the image object in the second preset area in the image is projectively transformed to the plane in which the calibration object is located in the image calibration device to acquire the projecting position of the image object. Specifically, the water ripple detecting device selects an image of the second preset area from the image, determines a projecting position of the image object of the second preset area, and then determines an image according to the projecting position of the image object in the second preset area. Whether there is water ripple in the middle.
进一步地,所述根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置包括:根据所述图像中第一预设区域的图像对象在图像中的位置和与第一预设区域的图像对象匹配的标定对象在图像标定装置中的位置确定射影参数,根据所述射影参数将所述图像中第二预设区域中的图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取图像对象的射影位置。Further, the position of the image object in the image and the position of the calibration object matching the image object in the image calibration apparatus include: the image object according to the first preset area in the image is in the image And a position of the calibration object matching the image object of the first preset area in the image calibration device determines a projective parameter, and the image object in the second preset area of the image is in the image according to the projective parameter The position projecting is transformed to the plane in which the calibration object is located in the image calibration device to obtain the projective position of the image object.
可选地,上述第一预设区域和第二预设区域可设为不完全重叠的区域。 例如,该第一预设区域为靠近图像四个角中一个或多个的区域。在实际情况中,图像的四个角落存在水波纹的几率较低,水波纹一般存在图像的中心或者靠近中心的区域,因此,选用图像中第一预设区域的图像对象在图像中的位置和与第一预设区域的图像对象匹配的标定对象在图像标定装置中的位置来计算摄影参数可以有效地提高摄影参数的计算精度。可选地,第二预设区域的中心为图像的中心,即第二预设区域位于图像的中心区域。Optionally, the first preset area and the second preset area may be set as areas that do not completely overlap. For example, the first predetermined area is an area near one or more of the four corners of the image. In the actual situation, the probability of water ripples in the four corners of the image is low, and the water ripple generally exists in the center of the image or in the vicinity of the center. Therefore, the position of the image object in the first preset area in the image is selected and Calculating the photographic parameters by the position of the calibration object matching the image object of the first preset area in the image calibration apparatus can effectively improve the calculation accuracy of the photographic parameters. Optionally, the center of the second preset area is the center of the image, that is, the second preset area is located in a central area of the image.
S742:根据所述图像对象的射影位置确定图像中是否存在水波纹。S742: Determine whether there is a water ripple in the image according to the projecting position of the image object.
具体地,当图像不存在水波纹时,图像对象的射影位置和与图像对象匹配的标定对象在图像标定装置中的位置应该相同或者只有较小的误差。当图像存在水波纹时,图像对象的射影位置和与图像对象匹配的标定对象在图像标定装置中的位置应该存在较大的误差,根据所述图像对象的射影位置和与图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹。Specifically, when there is no water ripple in the image, the projecting position of the image object and the calibration object matching the image object should be the same or only a small error in the image calibration device. When there is a water ripple in the image, there should be a large error in the projecting position of the image object and the position of the calibration object matching the image object in the image calibration device, according to the projecting position of the image object and the calibration object matching the image object. The position in the image calibration device determines if there is a water ripple in the image.
可选地,当获取射影位置的图像对象在第二预设区域时,则根据所述图像对象的射影位置和与所述图像的第二预设区域中的图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹。Optionally, when the image object that acquires the projecting position is in the second preset area, the image is calibrated according to the projecting position of the image object and the calibration object that matches the image object in the second preset area of the image. The position in the device determines if there is a water ripple in the image.
可选地,可通过对比获得的射影位置和对应标定对象的位置来确定图像是否存在水波纹。例如,先确定图像对象的射影位置和与图像对象匹配的标定对象在图像标定装置中的位置之间的差值;根据差值确定图像中是否存在水波纹。Alternatively, it may be determined whether the image has water ripple by comparing the obtained projective position and the position of the corresponding calibration object. For example, the difference between the projective position of the image object and the position of the calibration object matching the image object in the image calibration device is first determined; and whether there is a water ripple in the image is determined based on the difference.
可选地,所述根据差值确定图像中是否存在水波纹可具体包括:根据所述差值确定图像对象的射影位置和与图像对象匹配的标定对象在图像标定装置中的位置之间的距离,基于所述距离确定图像中是否存在水波纹。例如,当该距离高于预设距离阈值预设距离阈值,确定图像存在水波纹,否则确定图像不存在水波纹。在获取射影位置的图像对象为多个时,可对应得到多个距离,此时,将该多个距离排序,并选择中位值与预设距离阈值进行上述比较;又或者,将该多个距离分别与预设距离阈值进行上述比较,只要存在一个距离高于预设距离阈值,则确定图像存在水波纹,若全部距离均低于预设距离阈值,则确定图像不存在水波纹。Optionally, determining whether the water ripple exists in the image according to the difference value may specifically include: determining, according to the difference, a distance between a projecting position of the image object and a position of the calibration object matching the image object in the image calibration device Determining whether there is a water ripple in the image based on the distance. For example, when the distance is higher than the preset distance threshold preset distance threshold, it is determined that there is water ripple in the image, otherwise it is determined that there is no water ripple in the image. When a plurality of image objects are obtained at the projecting position, a plurality of distances may be correspondingly obtained. At this time, the plurality of distances are sorted, and the median value is selected to be compared with the preset distance threshold value; or, the plurality of distances are compared. The distance is compared with the preset distance threshold respectively, and as long as there is a distance higher than the preset distance threshold, it is determined that there is water ripple in the image, and if all the distances are lower than the preset distance threshold, it is determined that there is no water ripple in the image.
可选地,为提高水波纹检测的准确性,可根据对图像标定装置拍摄得 到的多帧图像中每一帧图像中的图像对象的射影位置确定每一个标定对象在图像标定装置中的位置和与其对应的射影位置之间的距离矢量簇,根据所述距离矢量簇围成的面积确定图像中是否存在水波纹。Optionally, in order to improve the accuracy of the water ripple detection, the position of each calibration object in the image calibration device may be determined according to the projection position of the image object in each frame image of the multi-frame image captured by the image calibration device. A distance vector cluster between the corresponding projecting positions determines whether there is a water ripple in the image according to the area enclosed by the distance vector cluster.
其中,当每帧图像中获取射影位置的图像对象为多个时,其对应的标定对象也为多个,故可得到多个标定对象的距离矢量簇。此时,可选择多个距离矢量簇的平均值或中值与预设面积阈值进行比较。例如,所述根据所述距离矢量簇围成的面积确定图像中是否存在水波纹可具体包括:确定所述距离矢量簇围成的面积的平均值;当所述面积的平均值大于预设面积阈值时,确定图像中存在水波纹,否则确定图像不存在水波纹;或者,确定的多个距离矢量簇围成的面积中的中值;当所述中值大于预设面积阈值时,确定图像中存在水波纹,否则确定图像不存在水波纹。Wherein, when there are a plurality of image objects for obtaining the projecting position in each frame of image, there are also a plurality of corresponding calibration objects, so that distance vector clusters of the plurality of calibration objects can be obtained. At this time, the average or median of the plurality of distance vector clusters may be selected to be compared with the preset area threshold. For example, determining whether the water ripple exists in the image according to the area enclosed by the distance vector cluster may specifically include: determining an average value of the area enclosed by the distance vector cluster; when the average value of the area is greater than a preset area At the threshold value, it is determined that there is water ripple in the image, otherwise it is determined that there is no water ripple in the image; or, the median value in the determined area surrounded by the plurality of distance vector clusters; when the median value is greater than the preset area threshold, the image is determined There is a water ripple in it, otherwise it is determined that there is no water ripple in the image.
为便于理解,下面举例进行说明。For ease of understanding, the following examples are given.
在一应用场景中,获取无人机的图像采集器拍摄得到的视频,并对该视频进行水波纹检测。首先,提取视频上的多帧图像,假设获取对图像标定装置拍摄的三帧图像,在完成每帧图像上的图像对象与图像标定装置上的标定对象之间的匹配之后,选择每帧图像上与该图像四个角中的每一个距离最近的5个图像对象作为第一预设区域的图像对象,根据每一帧图像中第一预设区域的图像对象在图像上的位置X’ 1和与第一预设区域的图像对象对应的标定对象的位置X 1计算每一帧图像对应的射影参数H,具体地,根据等式X 1=HX’ 1即可以拟合计算出射影参数H。然后可以根据每一帧对应的射影参数H将每一帧图像中第二预设区域中的图像对象在图像中的位置X’ 2射影变换到图像标定装置中标定对象所在的平面以获取射影位置X” 2=HX’ 2。其中,第二预设区域可以图像中央四分之一面积范围。 In an application scenario, the video captured by the imager of the drone is acquired, and the water ripple detection is performed on the video. First, the multi-frame image on the video is extracted, assuming that three images captured by the image calibration device are acquired, and after the matching between the image object on each frame image and the calibration object on the image calibration device is completed, each frame image is selected. The image object that is closest to each of the four corners of the image as the image object of the first preset area, according to the position X' 1 of the image object of the first preset area in each frame image on the image The projection parameter H corresponding to each frame image is calculated by the position X 1 of the calibration object corresponding to the image object of the first preset area. Specifically, the projective parameter H can be fitted and calculated according to the equation X 1 =HX′ 1 . Then, according to the corresponding projective parameter H of each frame, the position X′ 2 of the image object in the second preset area in each frame image is projectively transformed into the plane where the calibration object is located in the image calibration device to obtain the projective position. X" 2 = HX' 2 . The second preset area can be a quarter of the area of the image.
如图8所示,为了方便说明,这里以一个与第二预设区域中的图像对象匹配的标定对象为例,针对所述一个标定对象,若该标定对象在图像标定装置中的位置为位置A,采用如前所述的方式获取到三帧图像中与标定对象A匹配的图像对象的射影位置B、C和D,可以获取矢量簇AB、AC和AD,进一步地,可以确定矢量簇围成的面积S ΔBCD,其中,所述矢量簇围成的面积可以通过凸包算法来实现,当面积S ΔBCD较大时,说明图像中存在水波纹,即可以根据距离矢量簇围成的面积来确定图像是否存在水波纹。 进一步地,采用如前所述的方法,可以获取多个距离矢量簇围成的面积,可以对多个距离矢量簇围成的面积进行排序,选择位于中间值的距离矢量簇围成的面积与预设面积阈值进行比较,若大于预设面积阈值则确定该视频存在水波纹。 As shown in FIG. 8 , for convenience of description, here is an example of a calibration object that matches an image object in a second preset area, and for the one calibration object, if the position of the calibration object in the image calibration apparatus is a position A, the projection positions B, C, and D of the image objects matching the calibration object A in the three-frame image are acquired as described above, and the vector clusters AB, AC, and AD can be acquired. Further, the vector cluster can be determined. The area S ΔBCD , wherein the area enclosed by the vector cluster can be realized by a convex hull algorithm. When the area S ΔBCD is large, it indicates that there is water ripple in the image, that is, according to the area enclosed by the distance vector cluster. Determine if the image has water ripples. Further, by using the method as described above, an area surrounded by a plurality of distance vector clusters can be acquired, and an area surrounded by the plurality of distance vector clusters can be sorted, and an area enclosed by the distance vector clusters at the intermediate value is selected. The preset area threshold is compared, and if it is greater than the preset area threshold, it is determined that the video has water ripple.
请参阅图9,图9是本申请水波纹检测装置一实施例的结构示意图。本实施例中,该水波纹检测装置900包括相互连接的处理器91和存储器92。Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of an embodiment of a water ripple detecting device of the present application. In the present embodiment, the water ripple detecting device 900 includes a processor 91 and a memory 92 that are connected to each other.
存储器901可以包括只读存储器和随机存取存储器,并向处理器902提供指令和数据。存储器901的一部分还可以包括非易失性随机存取存储器。 Memory 901 can include read only memory and random access memory and provides instructions and data to processor 902. A portion of the memory 901 may also include a non-volatile random access memory.
上述处理器902可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 902 may be a central processing unit (CPU), and the processor may be another general-purpose processor, a digital signal processor (DSP), or an application specific integrated circuit (ASIC). ), a Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, and the like. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
存储器901用于存储程序指令。The memory 901 is used to store program instructions.
处理器902,调用所述程序指令,当程序指令被执行时,用于:The processor 902, the program instruction is called, when the program instruction is executed, used to:
获取对图像标定装置拍摄得到的图像,其中,所述图像标定装置中包括多个标定对象;Acquiring an image captured by the image calibration device, wherein the image calibration device includes a plurality of calibration objects;
检测所述图像中标定对象的图像对象;Detecting an image object of the calibration object in the image;
将所述检测到的标定对象的图像对象与所述图像标定装置中的标定对象进行匹配;Matching the detected image object of the calibration object with the calibration object in the image calibration device;
根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹。Whether or not there is a water ripple in the image is determined according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device.
在一些实施例中,处理器902在根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹时,具体用于:根据所述图像对象在图像中的位置确定图像对象的几何参数;根据与图像对象匹配的标定对象在图像标定装置中的位置确定与图像对象匹配的标定对象的几何参数;根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定图像中是否存在水波纹。In some embodiments, when the processor 902 determines whether there is a water ripple in the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device, the processor 902 is specifically configured to: Determining a geometric parameter of the image object according to a position of the image object in the image; determining a geometric parameter of the calibration object matching the image object according to a position of the calibration object matching the image object in the image calibration device; according to the image object The geometric parameters and the geometric parameters of the calibration object that match the image object determine if there is a water ripple in the image.
进一步地,处理器902在根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定图像中是否存在水波纹时,可具体用于:根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定几何参数差值;根据所述差值确定图像中是否存在水波纹。Further, when the processor 902 determines whether there is a water ripple in the image according to the geometric parameter of the image object and the geometric parameter of the calibration object that matches the image object, the processor 902 may be specifically configured to: according to the geometric parameter and the image object The geometric parameters of the calibration object that the image object matches determine a geometric parameter difference; based on the difference, it is determined whether there is a water ripple in the image.
其中,所述几何参数可包括交比参数。Wherein, the geometric parameter may include a cross ratio parameter.
在一些实施例中,处理器902在将所述检测到的标定对象的图像对象与所述图像标定装置中的标定对象进行匹配时,具体用于:从检测到的所述图像对象中选择至少一组图像对象,其中,所述一组图像对象包括5个图像对象;确定与所述至少一组图像对象匹配的至少一组图像标定装置中的标定对象;In some embodiments, when the image object of the detected calibration object is matched with the calibration object in the image calibration device, the processor 902 is specifically configured to: select at least one of the detected image objects. a set of image objects, wherein the set of image objects includes 5 image objects; determining a calibration object in at least one set of image calibration devices that match the at least one set of image objects;
处理器902在根据所述图像对象在图像中的位置确定图像对象的几何参数时,具体用于:根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象的交比参数;The determining, by the processor 902, the geometric parameters of the image object according to the position of the image object in the image, specifically, determining, according to the position of each group of the image objects in the at least one group, the image of each group of images The ratio parameter of the object;
处理器902在根据与图像对象匹配的标定对象在图像标定装置中的位置确定与图像对象匹配的标定对象的几何参数时,具体用于:根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象的交比参数;The processor 902 is specifically configured to: according to the calibration object in the at least one set of image calibration devices, when determining a geometric parameter of the calibration object that matches the image object according to a position of the calibration object matching the image object in the image calibration device Determining a cross ratio parameter of each set of calibration objects at a position of the image calibration device;
处理器902在根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定几何参数差值时,具体用于:确定所述至少一组中每一组图像对象的交比参数和与对应一组标定对象的交比参数之间的差值;The determining, by the processor 902, the geometric parameter difference according to the geometric parameter of the image object and the geometric parameter of the calibration object that matches the image object, specifically, determining: a cross ratio of each group of the image objects in the at least one group The difference between the parameter and the cross-parameter parameter of the corresponding set of calibration objects;
处理器902在根据所述差值确定图像中是否存在水波纹时,具体用于:根据所述至少一组中每一组图像对象的交比参数和与对应一组标定对象的交比参数之间的差值确定图像中是否存在水波纹。The processor 902 is configured to determine, according to the difference, whether there is a water ripple in the image, according to: a cross ratio parameter of each group of the image objects in the at least one group and a cross ratio parameter of the corresponding set of calibration objects The difference between the two determines if there is a water ripple in the image.
进一步地,处理器902在根据所述至少一组中每一组图像对象的交比参数和与对应一组标定对象的交比参数之间的差值确定图像中是否存在水波纹时,可具体用于:根据所述差值确定平均交叉比差值;当所述平均交叉比差值大于或等于预设阈值时,确定图像中存在水波纹。Further, the processor 902 determines whether there is a water ripple in the image according to a difference between a cross ratio parameter of each set of image objects in the at least one group and a cross ratio parameter of the corresponding set of calibration objects. Specifically, the average cross ratio difference is determined according to the difference; when the average cross ratio difference is greater than or equal to a preset threshold, determining that there is a water ripple in the image.
在一些实施例中,处理器902在根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象的交比参数时,具体用于:根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象对应的4 个交叉三角形的面积;根据所述每一组图像对象对应4个交叉三角形的面积确定每一组图像对象的交比参数;In some embodiments, when determining, according to the position of each group of image objects in the image, the intersection ratio parameter of each group of image objects, the processor 902 is specifically configured to: according to the at least one The position of each group of image objects in the group in the image determines the area of the four intersecting triangles corresponding to each group of image objects; each group of maps is determined according to the area of each of the group of image objects corresponding to four intersecting triangles Like the cross-reference parameter of the object;
处理器902在根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象的交比参数时,具体用于:根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象对应的4个交叉三角形的面积;根据所述每一组标定对象对应4个交叉三角形的面积确定每一组标定对象的交比参数。The processor 902 is specifically configured to: according to the at least one set of image calibration devices, when determining, according to the calibration object in the at least one set of image calibration devices, the intersection ratio parameter of each group of calibration objects at the position of the image calibration device The calibration object in the image calibration device determines the area of the four intersecting triangles corresponding to each group of calibration objects; and determines the intersection ratio parameter of each group of calibration objects according to the area of each of the four calibration triangles corresponding to each calibration object .
进一步地,处理器902还可用于:确定每一组对应的4个三角形的面积中的每一个是否都大于或等于预设面积阈值;Further, the processor 902 is further configured to: determine whether each of the areas of the corresponding four triangles of each group is greater than or equal to a preset area threshold;
处理器902在根据所述每一组图像对应4个交叉三角形的面积确定每一组图像对象的交比参数时,可具体用于:当每一组对应的4个三角形的面积中的每一个都大于或等于预设面积阈值时,根据所述每一组图像对应4个交叉三角形的面积确定每一组图像对象的交比参数。The processor 902 is specifically configured to: when the cross-parameter parameter of each group of image objects is determined according to the area of the four intersecting triangles of each set of images, when the area of each of the four corresponding triangles is When each one is greater than or equal to the preset area threshold, the cross-parameter parameter of each group of image objects is determined according to the area of the four intersecting triangles corresponding to each set of images.
在一些实施例中,处理器902在根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹时,具体用于:根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取所述图像对象的射影位置;根据所述图像对象的射影位置确定图像中是否存在水波纹。In some embodiments, when the processor 902 determines whether there is a water ripple in the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device, the processor 902 is specifically configured to: Converting a position of the image object in the image to a plane in which the calibration object is located in the image calibration device according to a position of the image object in the image and a position of the calibration object matching the image object in the image calibration device Obtaining a projecting position of the image object; determining whether there is a water ripple in the image according to a projecting position of the image object.
进一步地,处理器902在根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取所述图像对象的射影位置时,具体用于:根据所述图像中第一预设区域的图像对象在图像中的位置和与第一预设区域的图像对象匹配的标定对象在图像标定装置中的位置确定射影参数;根据所述射影参数将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取图像对象的射影位置。Further, the processor 902 projectively transforms the position of the image object in the image to the image calibration device according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device. When the plane in which the object is located is obtained to obtain the projecting position of the image object, the method is specifically configured to: match the position of the image object in the image according to the first preset area in the image and the image object of the first preset area; The position of the calibration object in the image calibration device determines a projective parameter; according to the projective parameter, the position of the image object in the image is projectively transformed to a plane in which the calibration object is located in the image calibration device to obtain a projecting position of the image object.
其中,所述第一预设区域可以为靠近图像四个角中的一个或多个的区域。The first preset area may be an area close to one or more of the four corners of the image.
在一些实施例中,处理器902在根据所述图像对象在图像中的位置和 与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取所述图像对象的射影位置时,具体用于:根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像中第二预设区域中的图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取图像对象的射影位置;In some embodiments, the processor 902 projectively transforms the position of the image object in the image according to the position of the image object in the image and the position of the calibration object in the image calibration device that matches the image object to When the plane of the calibration object is located in the image calibration device to obtain the projecting position of the image object, specifically, according to the position of the image object in the image and the calibration object matching the image object in the image calibration device Positioning the position of the image object in the second preset area in the image in the image to the plane of the calibration object in the image calibration device to obtain the projecting position of the image object;
处理器902在根据所述图像对象的射影位置确定图像中是否存在水波纹时,具体用于:根据所述第二预设区域中的图像对象的射影位置确定图像中是否存在水波纹。The processor 902 is configured to determine whether there is a water ripple in the image according to a projecting position of the image object in the second preset area when determining whether there is a water ripple in the image according to the projecting position of the image object.
其中,第二预设区域的中心可以为图像的中心。The center of the second preset area may be the center of the image.
在一些实施例中,处理器902在根据所述图像对象的射影位置确定图像中是否存在水波纹时,具体用于:确定图像对象的射影位置和与图像对象匹配的标定对象在图像标定装置中的位置之间的差值;根据差值确定图像中是否存在水波纹。In some embodiments, when determining whether there is a water ripple in the image according to the projecting position of the image object, the processor 902 is specifically configured to: determine a projecting position of the image object and a calibration object matching the image object in the image calibration device. The difference between the positions; the presence or absence of water ripple in the image based on the difference.
进一步地,处理器902在根据差值确定图像中是否存在水波纹时,可具体用于:根据所述差值确定图像对象的射影位置和与图像对象匹配的标定对象在图像标定装置中的位置之间的距离;基于所述距离确定图像中是否存在水波纹。Further, the processor 902 is configured to determine, according to the difference, whether there is a water ripple in the image, according to the difference, determining, according to the difference, a projecting position of the image object and a position of the calibration object matching the image object in the image calibration device. The distance between the two is determined based on the distance to determine whether there is a water ripple in the image.
在一些实施例中,处理器902在根据所述图像对象的射影位置确定图像中是否存在水波纹时,具体用于:根据对图像标定装置拍摄得到的多帧图像中每一帧图像中的图像对象的射影位置确定每一个标定对象在图像标定装置中的位置和与其对应的射影位置之间的距离矢量簇;根据所述距离矢量簇围成的面积确定图像中是否存在水波纹。In some embodiments, when determining, according to the projecting position of the image object, whether the water ripple exists in the image, the processor 902 is specifically configured to: according to the image in each frame image of the multi-frame image captured by the image calibration device The projecting position of the object determines a distance vector cluster between the position of each calibration object in the image calibration device and the corresponding projecting position; and determining whether there is a water ripple in the image according to the area enclosed by the distance vector cluster.
在一些实施例中,处理器902在根据所述距离矢量簇围成的面积确定图像中是否存在水波纹时,具体用于:确定所述距离矢量簇围成的面积的平均值;当所述面积的平均值大于预设面积阈值时,确定图像中存在水波纹。In some embodiments, when determining, according to the area enclosed by the distance vector clusters, the processor 902 determines whether there is a water ripple in the image, specifically, determining an average value of an area enclosed by the distance vector clusters; When the average of the area is greater than the preset area threshold, it is determined that there is water ripple in the image.
在一些实施例中,处理器902在根据所述距离矢量簇围成的面积确定图像中是否存在水波纹时,具体用于:确定的多个距离矢量簇围成的面积中的中值;当所述中值大于预设面积阈值时,确定图像中存在水波纹。In some embodiments, when determining, according to an area enclosed by the distance vector cluster, whether the water ripple exists in the image, the processor 902 is specifically configured to: determine a median value among the plurality of distance vector clusters; When the median value is greater than the preset area threshold, it is determined that there is a water ripple in the image.
在一些实施例中,所述射影参数为单应矩阵。In some embodiments, the projective parameter is a homography matrix.
在一些实施例中,处理器902在将检测到的标定对象的图像对象与图像装置中的标定对象进行匹配时,具体用于:确定检测到的图像对象的特征参数;根据确定的所述特征参数与预存的标定对象在图像标定装置中的特征参数将检测到的标定对象的图像对象与图像装置中的标定对象进行匹配。In some embodiments, when the image object of the detected calibration object is matched with the calibration object in the image device, the processor 902 is specifically configured to: determine a feature parameter of the detected image object; according to the determined feature The parameter and the characteristic parameter of the pre-stored calibration object in the image calibration device match the detected image object of the calibration object with the calibration object in the image device.
本实施例装置,可以用于执行本申请上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the foregoing method embodiment of the present application, and the implementation principle and the technical effect are similar, and details are not described herein again.
请参阅图10,图10是本申请水波纹检测系统一实施例的结构示意图。该检测系统1000包括相互连接的拍摄装置1001和水波纹检测装置1002。拍摄装置1001用于对图像标定装置进行拍摄得到图像。该水波纹检测装置1002为上述实施例所述的水波纹检测装置,在此不做赘述。Please refer to FIG. 10. FIG. 10 is a schematic structural diagram of an embodiment of a water ripple detecting system of the present application. The detection system 1000 includes a photographing device 1001 and a water ripple detecting device 1002 that are connected to each other. The imaging device 1001 is configured to capture an image by the image calibration device. The water ripple detecting device 1002 is the water ripple detecting device described in the above embodiment, and will not be described herein.
请参阅图11,图11是本申请无人机一实施例的结构示意图。本实施例中,该无人机包括水波纹检测系统,其中,水波纹检测系统具体可如上面系统实施例所述,包括水波纹检测装置1101和拍摄装置1002。Please refer to FIG. 11. FIG. 11 is a schematic structural diagram of an embodiment of the drone of the present application. In this embodiment, the unmanned aerial vehicle includes a water ripple detecting system, wherein the water ripple detecting system may specifically include the water ripple detecting device 1101 and the photographing device 1002 as described in the above system embodiment.
进一步地,无人机还可包括承载装置1103,其中,承载装置1103用于承载拍摄装置1002。在一些实施例中,所述无人机为旋翼无人机,拍摄装置1002可以为无人机的主摄像头。承载装置1103可以为两轴或三轴的云台。Further, the drone may further include a carrying device 1103, wherein the carrying device 1103 is configured to carry the photographing device 1002. In some embodiments, the drone is a rotor drone, and the camera 1002 can be a main camera of the drone. The carrier device 1103 can be a two-axis or three-axis pan/tilt.
可选地,无人机还根据实际需求设置有视觉传感器、惯性测量装置等功能电路。Optionally, the drone is further provided with a function circuit such as a visual sensor and an inertial measurement device according to actual needs.
请参阅图12,图12是本申请存储装置一实施例的结构示意图。本实施例中,该存储装置1200存储有程序指令1201,当所述程序指令1201在处理器上运行时,执行本申请上述方法实施例的技术方案。Please refer to FIG. 12. FIG. 12 is a schematic structural diagram of an embodiment of a storage device of the present application. In this embodiment, the storage device 1200 stores the program instruction 1201. When the program instruction 1201 is run on the processor, the technical solution of the foregoing method embodiment of the present application is executed.
该存储装置1200具体可以为U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory,)、磁碟或者光盘等可以存储计算机指令的介质,或者也可以为存储有该程序机指令的服务器,该服务器可将存储的程序指令发送给其他设备运行,或者也可以自运行该存储的程序指令。The storage device 1200 may specifically be a medium that can store computer instructions, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. Alternatively, it may be a server storing the program instructions, and the server may send the stored program instructions to other devices for running, or may also run the stored program instructions.
上述方案,通过检测对图像标定装置拍摄得到的图像,以得到标定对 象的图像对象,并根据图像对象在图像中的位置以及对应匹配的标定对象在图像标定装置的位置确定图像中是否存在水波纹,实现了对图像水波纹的智能检测,无需人工检测,进而可提高其检测效率,降低误检率。In the above solution, the image obtained by the image calibration device is detected to obtain an image object of the calibration object, and whether the water ripple exists in the image according to the position of the image object in the image and the position of the corresponding matching calibration object at the image calibration device The intelligent detection of the image water ripple is realized, and no manual detection is needed, thereby improving the detection efficiency and reducing the false detection rate.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed methods and apparatus may be implemented in other manners. For example, the device implementations described above are merely illustrative. For example, the division of modules or units is only one logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序指令的介质。An integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program instructions. .
以上仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only the embodiment of the present application, and thus does not limit the scope of patents of the present application, and the equivalent structure or equivalent process transformation made by using the specification and the contents of the drawings, or directly or indirectly applied to other related technical fields, The same is included in the scope of patent protection of this application.

Claims (43)

  1. 一种图像的水波纹检测方法,其特征在于,包括:An image water ripple detecting method, comprising:
    获取对图像标定装置拍摄得到的图像,其中,所述图像标定装置中包括多个标定对象;Acquiring an image captured by the image calibration device, wherein the image calibration device includes a plurality of calibration objects;
    检测所述图像中标定对象的图像对象;Detecting an image object of the calibration object in the image;
    将所述检测到的标定对象的图像对象与所述图像标定装置中的标定对象进行匹配;Matching the detected image object of the calibration object with the calibration object in the image calibration device;
    根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹。Whether or not there is a water ripple in the image is determined according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹包括:Determining whether there is a water ripple in the image according to a position of the image object in the image and a position of the calibration object matching the image object in the image calibration device includes:
    根据所述图像对象在图像中的位置确定图像对象的几何参数;Determining a geometric parameter of the image object according to a position of the image object in the image;
    根据与图像对象匹配的标定对象在图像标定装置中的位置确定与图像对象匹配的标定对象的几何参数;Determining a geometric parameter of the calibration object that matches the image object according to a position of the calibration object matching the image object in the image calibration device;
    根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定图像中是否存在水波纹。A water ripple is determined in the image based on the geometric parameters of the image object and the geometric parameters of the calibration object that match the image object.
  3. 根据权利要求2所述的方法,其特征在于,The method of claim 2 wherein:
    所述根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定图像中是否存在水波纹包括:Determining whether there is a water ripple in the image according to the geometric parameter of the image object and the geometric parameter of the calibration object matching the image object includes:
    根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定几何参数差值;Determining a geometric parameter difference according to a geometric parameter of the image object and a geometric parameter of the calibration object matching the image object;
    根据所述差值确定图像中是否存在水波纹。A water ripple is determined in the image based on the difference.
  4. 根据权利要求3所述的方法,其特征在于,The method of claim 3 wherein:
    所述几何参数包括交比参数。The geometric parameters include cross ratio parameters.
  5. 根据权利要求4所述的方法,其特征在于,The method of claim 4 wherein:
    所述将所述检测到的标定对象的图像对象与所述图像标定装置中的标定对象进行匹配包括:The matching the image object of the detected calibration object with the calibration object in the image calibration device comprises:
    从检测到的所述图像对象中选择至少一组图像对象,其中,所述一组 图像对象包括5个图像对象;Selecting at least one set of image objects from the detected image objects, wherein the set of image objects includes 5 image objects;
    确定与所述至少一组图像对象匹配的至少一组图像标定装置中的标定对象;Determining a calibration object in at least one set of image calibration devices that match the at least one set of image objects;
    所述根据所述图像对象在图像中的位置确定图像对象的几何参数包括:Determining the geometric parameters of the image object according to the position of the image object in the image includes:
    根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象的交比参数;Determining a cross-parameter parameter of each set of image objects according to a position of each set of image objects in the at least one set in the image;
    所述根据与图像对象匹配的标定对象在图像标定装置中的位置确定与图像对象匹配的标定对象的几何参数包括:Determining, according to the position of the calibration object matching the image object in the image calibration device, the geometric parameters of the calibration object that match the image object include:
    根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象的交比参数;Determining a cross-parameter parameter of each set of calibration objects according to a position of the image calibration device in the calibration object in the at least one set of image calibration devices;
    所述根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定几何参数差值包括:Determining the geometric parameter difference according to the geometric parameter of the image object and the geometric parameter of the calibration object matching the image object includes:
    确定所述至少一组中每一组图像对象的交比参数和与对应一组标定对象的交比参数之间的差值;Determining a difference between a cross ratio parameter of each of the at least one set of image objects and a cross ratio parameter of the corresponding set of calibration objects;
    所述根据所述差值确定图像中是否存在水波纹包括:Determining whether there is a water ripple in the image according to the difference comprises:
    根据所述至少一组中每一组图像对象的交比参数和与对应一组标定对象的交比参数之间的差值确定图像中是否存在水波纹。A water ripple is determined in the image based on a difference between a cross ratio parameter of each of the at least one set of image objects and a cross ratio parameter of the corresponding set of calibration objects.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述至少一组中每一组图像对象的交比参数和与对应一组标定对象的交比参数之间的差值确定图像中是否存在水波纹包括:The method according to claim 5, wherein said determining an image based on a difference between a cross ratio parameter of each of said at least one set of image objects and a cross ratio parameter of a corresponding set of calibration objects Whether there are water ripples in it includes:
    根据所述差值确定平均交叉比差值;Determining an average cross ratio difference based on the difference;
    当所述平均交叉比差值大于或等于预设阈值时,确定图像中存在水波纹。When the average cross ratio difference is greater than or equal to a preset threshold, it is determined that there is a water ripple in the image.
  7. 根据权利要求5或6所述的方法,其特征在于,Method according to claim 5 or 6, characterized in that
    所述根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象的交比参数包括:Determining, according to the position of each set of the image objects in the at least one group, the cross-parameter parameters of each group of image objects comprises:
    根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象对应的4个交叉三角形的面积;Determining an area of four intersecting triangles corresponding to each group of image objects according to a position of each group of image objects in the at least one group;
    根据所述每一组图像对象对应4个交叉三角形的面积确定每一组图像对象的交比参数;Determining a cross-parameter parameter of each group of image objects according to an area of each of the set of image objects corresponding to four intersecting triangles;
    所述根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象的交比参数包括:Determining, according to the position of the image calibration device, the calibration target of the calibration object in the at least one set of image calibration devices includes:
    根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象对应的4个交叉三角形的面积;Determining, according to the position of the image calibration device, the area of the four intersecting triangles corresponding to each group of calibration objects according to the calibration object in the at least one set of image calibration devices;
    根据所述每一组标定对象对应4个交叉三角形的面积确定每一组标定对象的交比参数。The cross ratio parameter of each set of calibration objects is determined according to the area of each of the set of calibration objects corresponding to 4 intersecting triangles.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method of claim 7, wherein the method further comprises:
    确定每一组对应的4个三角形的面积中的每一个是否都大于或等于预设面积阈值;Determining whether each of the areas of the corresponding four triangles of each group is greater than or equal to a preset area threshold;
    所述根据所述每一组图像对应4个交叉三角形的面积确定每一组图像对象的交比参数包括:The determining, according to the area of the four intersecting triangles of each set of images, the cross-parameter parameters of each group of image objects includes:
    当每一组对应的4个三角形的面积中的每一个都大于或等于预设面积阈值时,根据所述每一组图像对应4个交叉三角形的面积确定每一组图像对象的交比参数。When each of the areas of the corresponding four triangles of each group is greater than or equal to the preset area threshold, determining the cross ratio of each group of image objects according to the area of the four intersecting triangles of each set of images parameter.
  9. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹包括:Determining whether there is a water ripple in the image according to a position of the image object in the image and a position of the calibration object matching the image object in the image calibration device includes:
    根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取所述图像对象的射影位置;Converting a position of the image object in the image to a plane in which the calibration object is located in the image calibration device according to a position of the image object in the image and a position of the calibration object matching the image object in the image calibration device Obtaining a projecting position of the image object;
    根据所述图像对象的射影位置确定图像中是否存在水波纹。Whether or not there is a water ripple in the image is determined according to the projecting position of the image object.
  10. 根据权利要求9所述的方法,其特征在于,The method of claim 9 wherein:
    所述根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取所述图像对象的射影位置包括:Converting the position of the image object in the image to the position of the calibration object in the image calibration device according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device The plane to obtain the projective position of the image object includes:
    根据所述图像中第一预设区域的图像对象在图像中的位置和与第一预设区域的图像对象匹配的标定对象在图像标定装置中的位置确定射影参数;Determining a projective parameter according to a position of the image object of the first preset area in the image in the image and a position of the calibration object matching the image object of the first preset area in the image calibration apparatus;
    根据所述射影参数将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取图像对象的射影位置。And projecting the position of the image object in the image to the plane of the calibration object in the image calibration device according to the projective parameter to obtain a projecting position of the image object.
  11. 根据权利要求10所述的方法,其特征在于,The method of claim 10 wherein:
    所述第一预设区域为靠近图像四个角中的一个或多个的区域。The first predetermined area is an area close to one or more of the four corners of the image.
  12. 根据权利要求9-11任一项所述的方法,其特征在于,A method according to any one of claims 9-11, wherein
    所述根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取所述图像对象的射影位置包括:Converting the position of the image object in the image to the position of the calibration object in the image calibration device according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device The plane to obtain the projective position of the image object includes:
    根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像中第二预设区域中的图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取图像对象的射影位置;Transforming the position of the image object in the second preset area in the image into the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device Defining a plane in which the object is located in the calibration device to obtain a projecting position of the image object;
    所述根据所述图像对象的射影位置确定图像中是否存在水波纹包括:Determining whether there is a water ripple in the image according to the projecting position of the image object comprises:
    根据所述第二预设区域中的图像对象的射影位置确定图像中是否存在水波纹。Determining whether there is a water ripple in the image according to a projecting position of the image object in the second preset area.
  13. 根据权利要求12所述的方法,其特征在于,The method of claim 12 wherein:
    所述第二预设区域的中心为图像的中心。The center of the second preset area is the center of the image.
  14. 根据权利要求9-13任一项所述的方法,其特征在于,A method according to any one of claims 9-13, wherein
    所述根据所述图像对象的射影位置确定图像中是否存在水波纹包括:Determining whether there is a water ripple in the image according to the projecting position of the image object comprises:
    确定图像对象的射影位置和与图像对象匹配的标定对象在图像标定装置中的位置之间的差值;Determining a difference between a projecting position of the image object and a position of the calibration object matching the image object in the image calibration device;
    根据差值确定图像中是否存在水波纹。A water ripple is determined in the image based on the difference.
  15. 根据权利要求14所述的方法,其特征在于,所述根据差值确定图像中是否存在水波纹包括:The method according to claim 14, wherein the determining whether there is a water ripple in the image according to the difference comprises:
    根据所述差值确定图像对象的射影位置和与图像对象匹配的标定对象在图像标定装置中的位置之间的距离;Determining, according to the difference, a distance between a projecting position of the image object and a position of the calibration object matching the image object in the image calibration device;
    基于所述距离确定图像中是否存在水波纹。A water ripple is determined in the image based on the distance.
  16. 根据权利要求9-13任一项所述的方法,其特征在于,A method according to any one of claims 9-13, wherein
    所述根据所述图像对象的射影位置确定图像中是否存在水波纹包括:Determining whether there is a water ripple in the image according to the projecting position of the image object comprises:
    根据对图像标定装置拍摄得到的多帧图像中每一帧图像中的图像对象的射影位置确定每一个标定对象在图像标定装置中的位置和与其对应的射影位置之间的距离矢量簇;Determining a distance vector cluster between a position of each calibration object in the image calibration device and a corresponding projecting position according to a projecting position of the image object in each frame image of the multi-frame image captured by the image calibration device;
    根据所述距离矢量簇围成的面积确定图像中是否存在水波纹。The presence or absence of water ripple in the image is determined based on the area enclosed by the distance vector clusters.
  17. 根据权利要求16所述的方法,其特征在于,The method of claim 16 wherein:
    所述根据所述距离矢量簇围成的面积确定图像中是否存在水波纹包括:Determining whether there is a water ripple in the image according to an area enclosed by the distance vector cluster includes:
    确定所述距离矢量簇围成的面积的平均值;Determining an average of the area enclosed by the distance vector clusters;
    当所述面积的平均值大于预设面积阈值时,确定图像中存在水波纹。When the average of the areas is greater than the preset area threshold, it is determined that there is a water ripple in the image.
  18. 根据权利要求16所述的方法,其特征在于,The method of claim 16 wherein:
    所述根据所述距离矢量簇围成的面积确定图像中是否存在水波纹包括:Determining whether there is a water ripple in the image according to an area enclosed by the distance vector cluster includes:
    确定的多个距离矢量簇围成的面积中的中值;Determining a median of the areas enclosed by the plurality of distance vector clusters;
    当所述中值大于预设面积阈值时,确定图像中存在水波纹。When the median is greater than the preset area threshold, it is determined that there is a water ripple in the image.
  19. 根据权利要求10所述的方法,其特征在于,所述射影参数为单应矩阵。The method of claim 10 wherein said projective parameter is a homography matrix.
  20. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述将检测到的标定对象的图像对象与图像装置中的标定对象进行匹配包括:The matching of the detected image object of the calibration object with the calibration object in the image device includes:
    根据图像对象在图像中的位置确定检测到的图像对象的位置特征参数;Determining a position feature parameter of the detected image object according to a position of the image object in the image;
    根据确定的所述位置特征参数与预存的标定对象的位置特征参数将检测到的标定对象的图像对象与图像装置中的标定对象进行匹配。And matching the detected image object of the calibration object with the calibration object in the image device according to the determined position feature parameter and the pre-stored position feature parameter of the calibration object.
  21. 一种水波纹检测装置,其特征在于,包括处理器及存储器,其中,A water ripple detecting device, comprising: a processor and a memory, wherein
    所述存储器,用于存储程序指令;The memory is configured to store program instructions;
    所述处理器,执行所述程序指令以用于:The processor executing the program instructions for:
    获取对图像标定装置拍摄得到的图像,其中,所述图像标定装置中包括多个标定对象;Acquiring an image captured by the image calibration device, wherein the image calibration device includes a plurality of calibration objects;
    检测所述图像中标定对象的图像对象;Detecting an image object of the calibration object in the image;
    将所述检测到的标定对象的图像对象与所述图像标定装置中的标定对象进行匹配;Matching the detected image object of the calibration object with the calibration object in the image calibration device;
    根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹。Whether or not there is a water ripple in the image is determined according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device.
  22. 根据权利要求21所述的装置,其特征在于,The device according to claim 21, wherein
    所述处理器在根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹时,具体用于:And determining, by the processor, whether there is a water ripple in the image according to a position of the image object in the image and a position of the calibration object matching the image object in the image calibration device, specifically for:
    根据所述图像对象在图像中的位置确定图像对象的几何参数;Determining a geometric parameter of the image object according to a position of the image object in the image;
    根据与图像对象匹配的标定对象在图像标定装置中的位置确定与图像对象匹配的标定对象的几何参数;Determining a geometric parameter of the calibration object that matches the image object according to a position of the calibration object matching the image object in the image calibration device;
    根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定图像中是否存在水波纹。A water ripple is determined in the image based on the geometric parameters of the image object and the geometric parameters of the calibration object that match the image object.
  23. 根据权利要求22所述的装置,其特征在于,The device according to claim 22, wherein
    所述处理器在根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定图像中是否存在水波纹时,具体用于:The processor is configured to determine whether there is a water ripple in the image according to the geometric parameter of the image object and the geometric parameter of the calibration object that matches the image object, specifically for:
    根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定几何参数差值;Determining a geometric parameter difference according to a geometric parameter of the image object and a geometric parameter of the calibration object matching the image object;
    根据所述差值确定图像中是否存在水波纹。A water ripple is determined in the image based on the difference.
  24. 根据权利要求23所述的装置,其特征在于,The device according to claim 23, wherein
    所述几何参数包括交比参数。The geometric parameters include cross ratio parameters.
  25. 根据权利要求24所述的装置,其特征在于,The device according to claim 24, wherein
    所述处理器在将所述检测到的标定对象的图像对象与所述图像标定装置中的标定对象进行匹配时,具体用于:The processor is specifically configured to: when the image object of the detected calibration object is matched with the calibration object in the image calibration device,
    从检测到的所述图像对象中选择至少一组图像对象,其中,所述一组图像对象包括5个图像对象;Selecting at least one set of image objects from the detected image objects, wherein the set of image objects includes 5 image objects;
    确定与所述至少一组图像对象匹配的至少一组图像标定装置中的标定对象;Determining a calibration object in at least one set of image calibration devices that match the at least one set of image objects;
    所述处理器在根据所述图像对象在图像中的位置确定图像对象的几何参数时,具体用于:The processor is specifically configured to: when determining a geometric parameter of the image object according to a position of the image object in the image:
    根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象的交比参数;Determining a cross-parameter parameter of each set of image objects according to a position of each set of image objects in the at least one set in the image;
    所述处理器在根据与图像对象匹配的标定对象在图像标定装置中的位置确定与图像对象匹配的标定对象的几何参数时,具体用于:The processor is specifically configured to: when determining, according to a position of the calibration object matching the image object in the image calibration device, a geometric parameter of the calibration object that matches the image object, specifically:
    根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象的交比参数;Determining a cross-parameter parameter of each set of calibration objects according to a position of the image calibration device in the calibration object in the at least one set of image calibration devices;
    所述处理器在根据所述图像对象的几何参数和与图像对象匹配的标定对象的几何参数确定几何参数差值时,具体用于:The determining, when determining the geometric parameter difference according to the geometric parameter of the image object and the geometric parameter of the calibration object that matches the image object, is specifically used to:
    确定所述至少一组中每一组图像对象的交比参数和与对应一组标定对象的交比参数之间的差值;Determining a difference between a cross ratio parameter of each of the at least one set of image objects and a cross ratio parameter of the corresponding set of calibration objects;
    所述处理器在根据所述差值确定图像中是否存在水波纹时,具体用于:The processor is configured to: when determining whether there is a water ripple in the image according to the difference,
    根据所述至少一组中每一组图像对象的交比参数和与对应一组标定对象的交比参数之间的差值确定图像中是否存在水波纹。A water ripple is determined in the image based on a difference between a cross ratio parameter of each of the at least one set of image objects and a cross ratio parameter of the corresponding set of calibration objects.
  26. 根据权利要求25所述的装置,其特征在于,所述处理器在根据所述至少一组中每一组图像对象的交比参数和与对应一组标定对象的交比参数之间的差值确定图像中是否存在水波纹时,具体用于:The apparatus according to claim 25, wherein said processor is in accordance with a difference between a cross-parameter parameter of each set of image objects in said at least one group and a cross-parameter parameter of a corresponding set of calibration objects When the value determines whether there is water ripple in the image, it is specifically used to:
    根据所述差值确定平均交叉比差值;Determining an average cross ratio difference based on the difference;
    当所述平均交叉比差值大于或等于预设阈值时,确定图像中存在水波纹。When the average cross ratio difference is greater than or equal to a preset threshold, it is determined that there is a water ripple in the image.
  27. 根据权利要求25或26所述的装置,其特征在于,Device according to claim 25 or 26, characterized in that
    所述处理器在根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象的交比参数时,具体用于:The processor is specifically configured to: when determining a cross-parameter parameter of each group of image objects according to a position of each group of image objects in the image in the at least one group:
    根据所述至少一组中每一组图像对象在图像中的位置确定每一组图像对象对应的4个交叉三角形的面积;Determining an area of four intersecting triangles corresponding to each group of image objects according to a position of each group of image objects in the at least one group;
    根据所述每一组图像对象对应4个交叉三角形的面积确定每一组图像对象的交比参数;Determining a cross-parameter parameter of each group of image objects according to an area of each of the set of image objects corresponding to four intersecting triangles;
    所述处理器在根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象的交比参数时,具体用于:The processor is specifically configured to: when determining, according to the calibration object in the at least one set of image calibration devices, the intersection ratio parameter of each group of calibration objects at the position of the image calibration device:
    根据所述至少一组图像标定装置中的标定对象在图像标定装置的位置确定每一组标定对象对应的4个交叉三角形的面积;Determining, according to the position of the image calibration device, the area of the four intersecting triangles corresponding to each group of calibration objects according to the calibration object in the at least one set of image calibration devices;
    根据所述每一组标定对象对应4个交叉三角形的面积确定每一组标定对象的交比参数。The cross ratio parameter of each set of calibration objects is determined according to the area of each of the set of calibration objects corresponding to 4 intersecting triangles.
  28. 根据权利要求27所述的装置,其特征在于,所述处理器还用于:The device according to claim 27, wherein the processor is further configured to:
    确定每一组对应的4个三角形的面积中的每一个是否都大于或等于预设面积阈值;Determining whether each of the areas of the corresponding four triangles of each group is greater than or equal to a preset area threshold;
    所述处理器在根据所述每一组图像对应4个交叉三角形的面积确定每一组图像对象的交比参数时,具体用于:The processor is specifically configured to: when determining, according to the area of the four intersecting triangles of each group of images, the intersection ratio parameter of each group of image objects:
    当每一组对应的4个三角形的面积中的每一个都大于或等于预设面积 阈值时,根据所述每一组图像对应4个交叉三角形的面积确定每一组图像对象的交比参数。When each of the areas of the corresponding four triangles of each group is greater than or equal to the preset area threshold, determining the cross ratio of each group of image objects according to the area of the four intersecting triangles of each set of images parameter.
  29. 根据权利要求21所述的装置,其特征在于,The device according to claim 21, wherein
    所述处理器在根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置确定图像中是否存在水波纹时,具体用于:And determining, by the processor, whether there is a water ripple in the image according to a position of the image object in the image and a position of the calibration object matching the image object in the image calibration device, specifically for:
    根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取所述图像对象的射影位置;Converting a position of the image object in the image to a plane in which the calibration object is located in the image calibration device according to a position of the image object in the image and a position of the calibration object matching the image object in the image calibration device Obtaining a projecting position of the image object;
    根据所述图像对象的射影位置确定图像中是否存在水波纹。Whether or not there is a water ripple in the image is determined according to the projecting position of the image object.
  30. 根据权利要求29所述的装置,其特征在于,The device according to claim 29, wherein
    所述处理器在根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取所述图像对象的射影位置时,具体用于:Converting, by the processor, the position of the image object in the image to the image calibration device according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device When the plane of the object is located to obtain the projective position of the image object, it is specifically used to:
    根据所述图像中第一预设区域的图像对象在图像中的位置和与第一预设区域的图像对象匹配的标定对象在图像标定装置中的位置确定射影参数;Determining a projective parameter according to a position of the image object of the first preset area in the image in the image and a position of the calibration object matching the image object of the first preset area in the image calibration apparatus;
    根据所述射影参数将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取图像对象的射影位置。And projecting the position of the image object in the image to the plane of the calibration object in the image calibration device according to the projective parameter to obtain a projecting position of the image object.
  31. 根据权利要求30所述的装置,其特征在于,The device of claim 30 wherein:
    所述第一预设区域为靠近图像四个角中的一个或多个的区域。The first predetermined area is an area close to one or more of the four corners of the image.
  32. 根据权利要求29-31任一项所述的装置,其特征在于,A device according to any of claims 29-31, characterized in that
    所述处理器在根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取所述图像对象的射影位置时,具体用于:Converting, by the processor, the position of the image object in the image to the image calibration device according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device When the plane of the object is located to obtain the projective position of the image object, it is specifically used to:
    根据所述图像对象在图像中的位置和与所述图像对象匹配的标定对象在图像标定装置中的位置将所述图像中第二预设区域中的图像对象在图像中的位置射影变换到图像标定装置中标定对象所在的平面以获取图像对象的射影位置;Transforming the position of the image object in the second preset area in the image into the image according to the position of the image object in the image and the position of the calibration object matching the image object in the image calibration device Defining a plane in which the object is located in the calibration device to obtain a projecting position of the image object;
    所述处理器在根据所述图像对象的射影位置确定图像中是否存在水波纹时,具体用于:The processor is configured to: when determining whether there is a water ripple in the image according to the projecting position of the image object, specifically:
    根据所述第二预设区域中的图像对象的射影位置确定图像中是否存在水波纹。Determining whether there is a water ripple in the image according to a projecting position of the image object in the second preset area.
  33. 根据权利要求32所述的装置,其特征在于,The device of claim 32, wherein
    所述第二预设区域的中心为图像的中心。The center of the second preset area is the center of the image.
  34. 根据权利要求29-33任一项所述的装置,其特征在于,Device according to any of claims 29-33, characterized in that
    所述处理器在根据所述图像对象的射影位置确定图像中是否存在水波纹时,具体用于:The processor is configured to: when determining whether there is a water ripple in the image according to the projecting position of the image object, specifically:
    确定图像对象的射影位置和与图像对象匹配的标定对象在图像标定装置中的位置之间的差值;Determining a difference between a projecting position of the image object and a position of the calibration object matching the image object in the image calibration device;
    根据差值确定图像中是否存在水波纹。A water ripple is determined in the image based on the difference.
  35. 根据权利要求34所述的装置,其特征在于,所述处理器在根据差值确定图像中是否存在水波纹时,具体用于:The device according to claim 34, wherein the processor is configured to: when determining whether there is a water ripple in the image according to the difference, specifically:
    根据所述差值确定图像对象的射影位置和与图像对象匹配的标定对象在图像标定装置中的位置之间的距离;Determining, according to the difference, a distance between a projecting position of the image object and a position of the calibration object matching the image object in the image calibration device;
    基于所述距离确定图像中是否存在水波纹。A water ripple is determined in the image based on the distance.
  36. 根据权利要求29-33任一项所述的装置,其特征在于,Device according to any of claims 29-33, characterized in that
    所述处理器在根据所述图像对象的射影位置确定图像中是否存在水波纹时,具体用于:The processor is configured to: when determining whether there is a water ripple in the image according to the projecting position of the image object, specifically:
    根据对图像标定装置拍摄得到的多帧图像中每一帧图像中的图像对象的射影位置确定每一个标定对象在图像标定装置中的位置和与其对应的射影位置之间的距离矢量簇;Determining a distance vector cluster between a position of each calibration object in the image calibration device and a corresponding projecting position according to a projecting position of the image object in each frame image of the multi-frame image captured by the image calibration device;
    根据所述距离矢量簇围成的面积确定图像中是否存在水波纹。The presence or absence of water ripple in the image is determined based on the area enclosed by the distance vector clusters.
  37. 根据权利要求36所述的装置,其特征在于,The device of claim 36, wherein
    所述处理器在根据所述距离矢量簇围成的面积确定图像中是否存在水波纹时,具体用于:The processor is configured to determine whether there is a water ripple in the image according to an area enclosed by the distance vector clusters, specifically for:
    确定所述距离矢量簇围成的面积的平均值;Determining an average of the area enclosed by the distance vector clusters;
    当所述面积的平均值大于预设面积阈值时,确定图像中存在水波纹。When the average of the areas is greater than the preset area threshold, it is determined that there is a water ripple in the image.
  38. 根据权利要求36所述的装置,其特征在于,The device of claim 36, wherein
    所述处理器在根据所述距离矢量簇围成的面积确定图像中是否存在水波纹时,具体用于:The processor is configured to determine whether there is a water ripple in the image according to an area enclosed by the distance vector clusters, specifically for:
    确定的多个距离矢量簇围成的面积中的中值;Determining a median of the areas enclosed by the plurality of distance vector clusters;
    当所述中值大于预设面积阈值时,确定图像中存在水波纹。When the median is greater than the preset area threshold, it is determined that there is a water ripple in the image.
  39. 根据权利要求30所述的装置,其特征在于,所述射影参数为单应矩阵。The apparatus of claim 30 wherein said projective parameter is a homography matrix.
  40. 根据权利要求21所述的装置,其特征在于,The device according to claim 21, wherein
    所述处理器在将检测到的标定对象的图像对象与图像装置中的标定对象进行匹配时,具体用于:When the processor matches the detected image object of the calibration object with the calibration object in the image device, the processor is specifically configured to:
    根据图像对象在图像中的位置确定检测到的图像对象的位置特征参数;Determining a position feature parameter of the detected image object according to a position of the image object in the image;
    根据确定的所述位置特征参数与预存的标定对象的位置特征参数将检测到的标定对象的图像对象与图像装置中的标定对象进行匹配。And matching the detected image object of the calibration object with the calibration object in the image device according to the determined position feature parameter and the pre-stored position feature parameter of the calibration object.
  41. 一种水波纹检测系统,其特征在于,包括拍摄装置和如权利要求21-40任一项水波纹检测装置,其中,A water ripple detecting system, comprising: a photographing device and a water ripple detecting device according to any one of claims 21 to 40, wherein
    所述拍摄装置用于对图像标定装置进行拍摄。The photographing device is configured to photograph an image calibration device.
  42. 一种无人机,其特征在于,包括权利要求41所述的水波纹检测系统。A drone characterized by comprising the water ripple detecting system of claim 41.
  43. 一种存储装置,其特征在于,所述存储装置存储有程序指令,当所述程序指令在处理器上运行时,执行如权利要求1-20任一项所述的方法。A storage device, characterized in that the storage device stores program instructions, and when the program instructions are run on a processor, performs the method of any one of claims 1-20.
PCT/CN2018/077658 2018-02-28 2018-02-28 Method and device for detecting water ripple of image, and unmanned aerial vehicle and storage device WO2019165611A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880029303.2A CN110651299A (en) 2018-02-28 2018-02-28 Image water ripple detection method and device, unmanned aerial vehicle and storage device
PCT/CN2018/077658 WO2019165611A1 (en) 2018-02-28 2018-02-28 Method and device for detecting water ripple of image, and unmanned aerial vehicle and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/077658 WO2019165611A1 (en) 2018-02-28 2018-02-28 Method and device for detecting water ripple of image, and unmanned aerial vehicle and storage device

Publications (1)

Publication Number Publication Date
WO2019165611A1 true WO2019165611A1 (en) 2019-09-06

Family

ID=67804783

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/077658 WO2019165611A1 (en) 2018-02-28 2018-02-28 Method and device for detecting water ripple of image, and unmanned aerial vehicle and storage device

Country Status (2)

Country Link
CN (1) CN110651299A (en)
WO (1) WO2019165611A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113240595B (en) * 2021-05-06 2023-09-08 腾讯科技(深圳)有限公司 Image detection method, device, storage medium and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271573A (en) * 2008-05-05 2008-09-24 南京师范大学 Image deformation calibration method irrespective with shooting apparatus
JP2012039177A (en) * 2010-08-03 2012-02-23 Canon Inc Imaging apparatus
US20120106837A1 (en) * 2010-10-29 2012-05-03 Canon Kabushiki Kaisha Foreground background separation in a scene with unstable textures
CN103503432A (en) * 2011-07-06 2014-01-08 株式会社摩如富 Image processing device, image processing method, and image processing program
CN105163046A (en) * 2015-08-17 2015-12-16 成都鹰眼视觉科技有限公司 Video stabilization method based on grid point non-parametric motion model

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008083205A2 (en) * 2006-12-29 2008-07-10 Gesturetek, Inc. Manipulation of virtual objects using enhanced interactive system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271573A (en) * 2008-05-05 2008-09-24 南京师范大学 Image deformation calibration method irrespective with shooting apparatus
JP2012039177A (en) * 2010-08-03 2012-02-23 Canon Inc Imaging apparatus
US20120106837A1 (en) * 2010-10-29 2012-05-03 Canon Kabushiki Kaisha Foreground background separation in a scene with unstable textures
CN103503432A (en) * 2011-07-06 2014-01-08 株式会社摩如富 Image processing device, image processing method, and image processing program
CN105163046A (en) * 2015-08-17 2015-12-16 成都鹰眼视觉科技有限公司 Video stabilization method based on grid point non-parametric motion model

Also Published As

Publication number Publication date
CN110651299A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
US11461930B2 (en) Camera calibration plate, camera calibration method and device, and image acquisition system
US9762871B2 (en) Camera assisted two dimensional keystone correction
WO2020014909A1 (en) Photographing method and device and unmanned aerial vehicle
JP5580164B2 (en) Optical information processing apparatus, optical information processing method, optical information processing system, and optical information processing program
WO2020237574A1 (en) Method and apparatus for calibrating internal parameters of camera, method and apparatus for calibrating relative attitude of camera, unmanned aerial vehicle and storage apparatus
US11282232B2 (en) Camera calibration using depth data
CN109754427A (en) A kind of method and apparatus for calibration
JP6312227B2 (en) RGB-D imaging system, RGB-D image generation method, and apparatus for generating RGB-D image
US20190096092A1 (en) Method and device for calibration
WO2020147498A1 (en) Detection method and apparatus for automatic driving sensor, and electronic device
WO2020237565A1 (en) Target tracking method and device, movable platform and storage medium
WO2018102990A1 (en) System and method for rectifying a wide-angle image
US10210615B2 (en) System and method for extrinsic camera parameters calibration by use of a three dimensional (3D) calibration object
WO2021184302A1 (en) Image processing method and apparatus, imaging device, movable carrier, and storage medium
CN113538587A (en) Camera coordinate transformation method, terminal and storage medium
US11514608B2 (en) Fisheye camera calibration system, method and electronic device
WO2023279584A1 (en) Target detection method, target detection apparatus, and robot
WO2020124517A1 (en) Photographing equipment control method, photographing equipment control device and photographing equipment
CN113989392A (en) Color chessboard calibration method and device of splicing camera and camera
CN114742866A (en) Image registration method and device, storage medium and electronic equipment
CN111383264A (en) Positioning method, positioning device, terminal and computer storage medium
WO2019165612A1 (en) Method for positioning a movable platform, and related device and system
US10154249B2 (en) System and method for capturing horizontal disparity stereo panorama
WO2019165611A1 (en) Method and device for detecting water ripple of image, and unmanned aerial vehicle and storage device
CN116363185B (en) Geographic registration method, geographic registration device, electronic equipment and readable storage medium

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: 18908033

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: 18908033

Country of ref document: EP

Kind code of ref document: A1