A method and device for collecting inspection point images based on three-dimensional model
By using a three-dimensional model to construct simulated light and shadow information and evaluate exposure parameters during image inspection, the image quality problem affected by light and shadow factors is solved, and more efficient image collection and quality control are achieved.
Patent Information
- Application Number
- CN202410120355.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-01-26
AI Technical Summary
The existing technology fails to effectively consider light and shadow factors in image inspection, resulting in problems such as inappropriate setting of shooting parameters and poor quality of collected images.
By constructing simulated sunlight angle, shadow range and shadow intensity based on the three-dimensional model, the spatial vector of the shooting point and the device being photographed is determined, and the difference between the exposure triangle and the appropriate exposure triangle is evaluated to control image quality.
It improves the accuracy and image quality of the image collection strategy and ensures that the collected images meet the requirements.
Smart Images

Figure CN117934722B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electrical communication technology, and in particular to a method and device for collecting inspection point images based on a three-dimensional model. Background Art
[0002] At present, with the development of automation technology and the progress of drone technology, quadruped robots and computer vision, the application of different equipment to carry out automated inspections by carrying cameras instead of manual work is becoming more and more widespread. Image inspection is widely used in inspection tasks, such as monitoring of power lines, pipelines, bridges and buildings. The requirements and standards for inspection collection in different scenarios are also getting higher and higher, and the availability of images has become a problem that needs to be solved. The inspection point image acquisition method based on the three-dimensional model can provide more comprehensive, accurate and visual inspection data, providing better support and convenience for inspection and maintenance work.
[0003] The invention patent with application number CN202211192428.1 discloses an inspection system based on high-altitude line maintenance, which includes: an aircraft, which includes at least an image acquisition module, a flight module and a data link transmission system; a terminal server, which includes at least a processing unit, a propulsion system and a communication module; the aircraft is used to acquire images of the high-altitude line equipment, and the images are transmitted to the terminal server, and the acquired images are calculated and identified by the terminal server. The above invention generates an inspection plan through the inspection system, and then executes the inspection plan through the aircraft, thereby improving the inspection efficiency. At the same time, by establishing a three-dimensional model, a simulated image can be generated according to the coordinates of the image data. After comparing the simulated image with the image data, the safety hazards existing in the high-altitude lines and equipment can be quickly identified, reducing the difficulty of data processing.
[0004] However, the above-mentioned prior art does not consider the image recognition error caused by light and shadow factors when performing image calculation and recognition. Therefore, the images obtained based on this have problems such as inappropriate shooting parameter settings and poor quality of collected images.
[0005] In view of this, there is an urgent need for a method and device for collecting inspection point images based on a three-dimensional model to at least solve the above-mentioned shortcomings. Summary of the invention
[0006] One of the purposes of the present invention is to provide a method and device for collecting images of inspection points based on a three-dimensional model. According to the inspection plan obtained, the inspection shooting time element and the meteorological information element are determined, and a target three-dimensional model simulating the sunlight angle, shadow range and shadow intensity is constructed based on the three-dimensional construction technology. When the target device arrives at the shooting point, the spatial vector between the shooting point and the photographed device in the target three-dimensional model is determined, and the difference between the current exposure triangle and the appropriate exposure triangle is determined based on the spatial vector, thereby improving the accuracy of the image acquisition strategy evaluation, and then performing image quality control based on the evaluation result is more reasonable.
[0007] An embodiment of the present invention provides a method for collecting inspection point images based on a three-dimensional model, comprising:
[0008] Step 1: Obtain the inspection plan;
[0009] Step 2: According to the inspection plan, determine the inspection shooting time elements and the meteorological information elements provided by the on-site meteorological equipment;
[0010] Step 3: Based on the 3D construction technology, a target 3D model is constructed according to the inspection shooting time elements and meteorological information elements. The target 3D model simulates the sunlight angle, shadow range and shadow intensity;
[0011] Step 4: When the target device arrives at the shooting point, the spatial vectors of the photographed device at the shooting point and the inspection point are determined according to the target three-dimensional model, and an evaluation is performed based on the spatial vector to obtain an evaluation result;
[0012] Step 5: Based on the evaluation results, image quality control is performed when the target device acquires images.
[0013] Preferably, step 1: obtaining an inspection plan includes:
[0014] Obtain the work plan input by the staff into the target device in real time;
[0015] Based on the preset inspection planning template and work plan, determine the inspection plan.
[0016] Preferably, step 3: constructing a target three-dimensional model based on three-dimensional construction technology according to inspection shooting time elements and meteorological information elements, including:
[0017] Based on 3D construction technology, according to the inspection and shooting time elements and meteorological information elements, the sunlight angle, shadow range and shadow intensity are simulated in 3D space to obtain the target 3D model.
[0018] Preferably, step 4: when the target device arrives at the shooting point, determining the space vector of the photographed device at the shooting point and the inspection point according to the target three-dimensional model, and performing evaluation based on the space vector to obtain the evaluation result, including:
[0019] Determine the first three-dimensional coordinates of the shooting point and the second three-dimensional coordinates of the device being photographed according to the target three-dimensional space;
[0020] Determine a space vector according to the first three-dimensional coordinate and the second three-dimensional coordinate, wherein the space vector includes: a shooting distance, an azimuth angle, and a bird's-eye view;
[0021] Determine the camera specifications of the camera device preset on the target device;
[0022] Determine the target focus parameters based on the camera specifications and shooting distance;
[0023] According to the simulated sunlight angle, shadow range and shadow intensity in the target three-dimensional space, the photographed device is measured to obtain the measurement result;
[0024] According to the light metering results, the exposure triangle of the shooting device is determined. The exposure triangle includes: shutter speed, aperture size and ISO value;
[0025] According to the rendering results, the RGB channel values are determined, the color temperature range is determined according to the RGB channel values, and the white balance mode is determined according to the color temperature range;
[0026] The target focus parameter, exposure triangle and white balance mode are taken together as the target camera parameters;
[0027] Get current camera parameters;
[0028] The parameter difference between the target camera parameters and the current camera parameters is determined and used as the evaluation result.
[0029] Preferably, according to the simulated sunlight angle, shadow range and shadow intensity in the target three-dimensional space, light measurement is performed on the photographed device to obtain the light measurement result, including:
[0030] Determine a local three-dimensional area of the photographed device in the target three-dimensional space;
[0031] Determine the simulated light and shadow information in the local three-dimensional area according to the sunlight angle, shadow range and shadow intensity;
[0032] Obtaining a simulated shooting range of the shooting device in a local three-dimensional area;
[0033] Determine the metering result based on the simulated shooting range and simulated light and shadow information.
[0034] Preferably, determining the exposure triangle of the shooting device according to the light measurement result includes:
[0035] Get the shooting parameter setting record library;
[0036] Performing result similarity matching according to the light metering result and the recorded light metering result in the shooting parameter setting record library, and determining that the result similarity matches the shooting parameter setting record corresponding to the recorded light metering result that meets the first matching condition;
[0037] According to the shooting parameter setting record, fitting is performed on each shooting parameter setting value of the first parameter setting type to obtain a fitting result of the shooting parameter setting value corresponding to the first parameter setting type;
[0038] Get the second parameter setting type of the exposure triangle;
[0039] The first parameter setting type and the second parameter setting type are matched with each other, and a fitting result of the shooting parameter setting value corresponding to the first parameter setting type that meets the second matching condition is determined and used as an exposure triangle.
[0040] Preferably, step 5: performing image quality control when the target device performs image acquisition based on the evaluation result, includes:
[0041] Based on the evaluation results, the control characteristic representation is determined;
[0042] According to the control characteristic representation, image quality control is performed when the target device acquires images.
[0043] Preferably, according to the control characteristic representation, image quality control is performed when the target device performs image acquisition, including:
[0044] Obtain the trigger signal when the target device performs image quality control;
[0045] Image quality control is performed based on the trigger signal and control feature representation.
[0046] Preferably, obtaining a trigger signal when the target device performs image quality control includes:
[0047] Obtain the real-time distance between the target device and the target photographed device;
[0048] Compare the real-time distance with the shooting distance threshold of the target device;
[0049] If the real-time distance is within the shooting distance threshold range, acquiring a first acquired image feature of the shooting device;
[0050] Obtain historical shooting records of the target device being photographed;
[0051] Extracting second acquired image features of the target photographed device according to the historical shooting records;
[0052] Performing image feature matching on the first acquired image feature and the second acquired image feature to obtain feature overlap;
[0053] If the feature overlap is greater than or equal to a preset feature overlap threshold, a trigger signal is generated based on a preset trigger signal generation rule.
[0054] An embodiment of the present invention provides a three-dimensional model-based inspection point image acquisition device, comprising:
[0055] Inspection plan acquisition subsystem, used to obtain inspection plans;
[0056] The element determination subsystem is used to determine the inspection shooting time elements and the meteorological information elements provided by the on-site meteorological equipment according to the inspection plan;
[0057] The target three-dimensional model construction subsystem is used to construct a target three-dimensional model based on the three-dimensional construction technology, according to the inspection shooting time elements and meteorological information elements. The target three-dimensional model simulates the sunlight angle, shadow range and shadow intensity;
[0058] A spatial vector determination subsystem is used to determine the spatial vectors of the photographed devices at the photographing point and the inspection point according to the target three-dimensional model when the target device arrives at the photographing point, and to evaluate based on the spatial vector to obtain the evaluation result;
[0059] The image quality control subsystem is used to perform image quality control when the target device acquires images based on the evaluation results.
[0060] The beneficial effects of the present invention are:
[0061] The present invention determines the inspection shooting time elements and meteorological information elements according to the inspection plan obtained, and constructs a target three-dimensional model that simulates the sunlight angle, shadow range and shadow intensity based on the three-dimensional construction technology. When the target device arrives at the shooting point, the spatial vector between the shooting point and the photographed device in the target three-dimensional model is determined, and the difference between the current exposure triangle and the appropriate exposure triangle is determined based on the spatial vector, thereby improving the accuracy of the image acquisition strategy evaluation, and then performing image quality control based on the evaluation result is more reasonable.
[0062] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in the present application documents.
[0063] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0065] Figure 1 Schematic diagram of a method for collecting inspection point images based on a three-dimensional model in an embodiment of the present invention;
[0066] Figure 2 A schematic diagram of a comparison device meter for collecting images before and after image quality control in an embodiment of the present invention;
[0067] Figure 3 It is a schematic diagram of an inspection point image acquisition device based on a three-dimensional model in an embodiment of the present invention. DETAILED DESCRIPTION
[0068] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0069] The embodiment of the present invention provides a method for collecting inspection point images based on a three-dimensional model. Figure 1 As shown, including:
[0070] Step 1: Obtain an inspection plan. The inspection plan includes: when and where the inspection is planned to be carried out;
[0071] Step 2: According to the inspection plan, determine the inspection shooting time element and the meteorological information element provided by the on-site meteorological equipment; the inspection shooting time element is: the time-related factors for determining the shooting during the inspection process, such as: date and time period, etc.; the on-site meteorological equipment is: the equipment used to measure and record on-site meteorological information at the inspection site, such as: meteorological instruments; the meteorological information element is: the meteorological data obtained from the on-site meteorological equipment, such as: sunny, cloudy and rainy days;
[0072] Step 3: Based on the 3D construction technology, according to the inspection shooting time elements and meteorological information elements, a target 3D model is constructed, and the target 3D model simulates the sunshine angle, shadow range and shadow intensity; wherein the target 3D model is: a 3D model simulating the inspection site, and the above target 3D model simulates the light and shadow information of the inspection site in addition to simulating the shape, size and position of the inspection target, including: sunshine angle, shadow range and shadow intensity;
[0073] Step 4: When the target device arrives at the shooting point, the spatial vectors of the shooting point and the device being photographed at the inspection point are determined according to the target three-dimensional model, and an evaluation is performed based on the spatial vector to obtain an evaluation result; wherein the spatial vector is: the shooting distance, azimuth angle and overhead angle between the shooting device and the device being photographed; and the evaluation result is: the result of evaluating the difference between the current exposure triangle and the appropriate exposure triangle;
[0074] Step 5: Based on the evaluation results, image quality control is performed when the target device is collecting images. The target device is an inspection device, such as an inspection robot equipped with a camera. Image quality control is to control the exposure triangle to adjust in a direction suitable for shooting the current inspection image, and obtain an inspection image that meets the image quality requirements, such as Figure 2 As shown, Figure 2 On the left is a schematic diagram of the comparison equipment meter collected without image quality control inspection. Figure 2 On the right is a schematic diagram of the comparison equipment meter collected during the image quality control inspection.
[0075] The working principle and beneficial effects of the above technical solution are:
[0076] This application determines the inspection shooting time elements and meteorological information elements based on the inspection plan obtained, and constructs a target three-dimensional model that simulates the sunlight angle, shadow range and shadow intensity based on three-dimensional construction technology. When the target device arrives at the shooting point, the spatial vector between the shooting point and the photographed device in the target three-dimensional model is determined, and the difference between the current exposure triangle and the appropriate exposure triangle is determined based on the spatial vector, which improves the accuracy of the image acquisition strategy evaluation, and then performs image quality control based on the evaluation results, which is more reasonable.
[0077] In one embodiment, step 1: obtaining an inspection plan includes:
[0078] Obtain the work plan of the target device input by the staff in real time; the target device is: dynamic inspection equipment;
[0079] Based on the preset inspection planning template, the inspection planning is determined according to the work plan. Among them, the inspection planning template is: a template for generating inspection planning according to the work plan, and the inspection planning is: when and where to inspect.
[0080] The working principle and beneficial effects of the above technical solution are:
[0081] This application introduces an inspection planning template, determines the inspection plan according to the work plan, and improves the standardization of the inspection plan formulation.
[0082] In one embodiment, step 3: constructing a target three-dimensional model based on three-dimensional construction technology according to inspection shooting time elements and meteorological information elements includes:
[0083] Based on 3D construction technology, according to the inspection and shooting time elements and meteorological information elements, the sunlight angle, shadow range and shadow intensity are simulated in 3D space to obtain the target 3D model.
[0084] The working principle and beneficial effects of the above technical solution are:
[0085] This application introduces inspection shooting time elements and meteorological information elements to construct a three-dimensional construction technology to construct a target three-dimensional model containing light and shadow information at each time point, which is more applicable for image acquisition reference at inspection points.
[0086] In one embodiment, step 4: when the target device arrives at the shooting point, the spatial vectors of the photographed device at the shooting point and the inspection point are determined according to the target three-dimensional model, and an evaluation is performed based on the spatial vector to obtain an evaluation result, including:
[0087] According to the target three-dimensional space, determine the first three-dimensional coordinates of the shooting point and the second three-dimensional coordinates of the photographed device; wherein the first three-dimensional coordinates are: the three-dimensional coordinates corresponding to the actual shooting point in the target three-dimensional space, for example: setting the reference point (0,0,0), the first three-dimensional coordinates are (10,20,5); the first three-dimensional coordinates are: the three-dimensional coordinates corresponding to the actual photographed device in the target three-dimensional space, for example: setting the reference point (0,0,0), the second three-dimensional coordinates are: (30,40,0);
[0088] According to the first three-dimensional coordinates and the second three-dimensional coordinates, a spatial vector is determined, and the spatial vector includes: shooting distance, azimuth and overhead angle; wherein, if the first three-dimensional coordinate is (x1, y1, z1) and the second three-dimensional coordinate is (x2, y2, z2), the shooting distance is: The azimuth angle is: atan2(y2-y1,x2-x1), and the top view angle is:
[0089] Determine the camera specifications of the camera device preset on the target device; wherein the camera specifications are: focal length range: 24-70mm, adjustable aperture range: f / 2.8-f / 22, ISO range: 100-3200, shutter speed range: 1 / 8000 second-30 seconds;
[0090] Based on the camera specifications and the shooting distance, the target focus parameter is determined; wherein the target focus parameter is: a focus parameter suitable for the shooting device to shoot the current device being shot, determined according to the shooting distance, and is calculated by focal length (mm) = (subject width (mm) * shooting distance (mm)) / sensor width (mm). For example, assuming that the shooting lens is a full-frame camera with a sensor size of 36mm, the focal length is 1388.89mm when the shooting distance is 5000mm, and the focal length is 2083.33mm when the shooting distance is 7500mm;
[0091] According to the simulated sunlight angle, shadow range and shadow intensity in the target three-dimensional space, the photographed device is measured to obtain a photometry result; wherein the photometry result is: the light distribution and light intensity within a preset range from the corresponding point of the photographed device in the target three-dimensional space;
[0092] According to the light metering results, the exposure triangle of the shooting device is determined. The exposure triangle includes: shutter speed, aperture size and ISO value;
[0093] According to the rendering result, the RGB channel value is determined, the color temperature range is determined according to the RGB channel value, and the white balance mode is determined according to the color temperature range; for example, the rendering result is: the three-dimensional image of the photographed device rendered in the target three-dimensional model; the RGB channel value is: the pixel value of the red, green and blue channels in the rendering result; the color temperature range is: the color temperature range used to describe different light sources in optics and image processing; for example, the RGB channel value is: (255, 214, 170), the color temperature range is: 4000K, and the white balance mode is: incandescent lamp;
[0094] The target focus parameter, exposure triangle and white balance mode are taken together as the target camera parameters;
[0095] Get the current camera parameters; the current camera parameters are: the current focus parameters, exposure triangle and white balance mode of the camera;
[0096] The parameter difference between the target camera parameters and the current camera parameters is determined and used as the evaluation result.
[0097] The working principle and beneficial effects of the above technical solution are:
[0098] The present application introduces the first three-dimensional coordinates of the shooting point in the target three-dimensional space and the second three-dimensional coordinates of the photographed device. The shooting distance, azimuth and overhead angle are calculated according to the first three-dimensional coordinates and the second three-dimensional coordinates. The target focus parameters are determined according to the camera specifications and the shooting distance. The shooting device is metered, the metering result is obtained, and the shutter speed, aperture size and ISO value suitable for shooting the shooting device are determined based on the metering result. The white balance mode is determined according to the RGB channel values of the three-dimensional image of the photographed device rendered in the target three-dimensional model. The target focus parameters, exposure triangle and white balance mode are used together as the target camera parameters. At the same time, the current camera parameters are obtained, and the evaluation results are determined according to the parameter differences between the target camera parameters and the current camera parameters, thereby improving the suitability and comprehensiveness of the evaluation result determination process.
[0099] In one embodiment, according to the simulated sunlight angle, shadow range and shadow intensity in the target three-dimensional space, light measurement is performed on the photographed device to obtain the light measurement result, including:
[0100] Determine a local three-dimensional area of the photographed device in the target three-dimensional space; wherein the local three-dimensional area is: an area within a preset radius length range of the simulation device corresponding to the photographed device in the target three-dimensional space;
[0101] Determine the simulated light and shadow information in the local three-dimensional area according to the sunlight angle, shadow range and shadow intensity;
[0102] Acquire a simulated shooting range of the shooting device in the local three-dimensional area; wherein the simulated shooting range is: a three-dimensional area that can be captured by the simulated shooting device when shooting in the local three-dimensional area;
[0103] The light metering result is determined according to the simulated shooting range and the simulated light and shadow information, wherein the light metering result is: the simulated light and shadow information corresponds to the light and shadow information within the simulated shooting range.
[0104] The working principle and beneficial effects of the above technical solution are:
[0105] The present application determines the simulated light and shadow information in a local three-dimensional area based on the sunlight angle, shadow range and shadow intensity. At the same time, it obtains the simulated shooting range in the local three-dimensional area, and determines the light metering result based on the simulated shooting range and the simulated light and shadow information, thereby improving the efficiency of obtaining the light metering result.
[0106] In one embodiment, determining the exposure triangle of the camera according to the light measurement result includes:
[0107] Obtaining a shooting parameter setting record library; wherein the shooting parameter setting record library is: a database for recording shooting parameter setting records; the shooting parameter setting records include shooting parameter settings under different scenes or conditions, such as: aperture, shutter speed and ISO, etc.;
[0108] Performing result similarity matching based on the light metering result and the recorded light metering result in the shooting parameter setting record library, and determining that the result similarity matches the shooting parameter setting record corresponding to the recorded light metering result that meets the first matching condition; wherein the recorded light metering result is: the light distribution and light intensity recorded in the shooting parameter setting record in the shooting parameter setting record library; the result similarity matching is: the similarity between the recorded light metering result and the light metering result; and the first matching condition is: the similarity between the recorded light metering result and the light metering result is greater than or equal to a preset similarity threshold;
[0109] According to the shooting parameter setting record, fitting is performed on each shooting parameter setting value of the first parameter setting type to obtain a fitting result of the shooting parameter setting value corresponding to the first parameter setting type; wherein the first parameter setting type is: the type of parameter set in the shooting parameter setting record, such as: aperture size, and also: ISO value; the fitting result is: the average value of the shooting parameter setting value corresponding to the first parameter setting type;
[0110] Obtaining a second parameter setting type of the exposure triangle; wherein the second parameter setting type is: a parameter type of the exposure triangle;
[0111] The first parameter setting type and the second parameter setting type are matched, and the fitting result of the shooting parameter setting value corresponding to the first parameter setting type that meets the second matching condition is determined and used as the exposure triangle. The parameter setting type matching is: determining whether the first parameter setting type and the second parameter setting type are consistent; the second matching condition is: the first parameter setting type and the second parameter setting type are consistent.
[0112] The working principle and beneficial effects of the above technical solution are:
[0113] The present application introduces a shooting parameter setting record library, matches the metering results and the recorded metering results for result similarity, and determines the shooting parameter setting records of the recorded results that meet the first matching condition. According to the shooting parameter setting records, the shooting parameter setting values of each first parameter setting type are fitted to obtain the fitting results of the shooting parameter setting values of the first parameter setting type. Determine the second parameter setting type of the exposure triangle. The first parameter setting type and the second parameter setting type are matched for parameter setting types, and the fitting results of the shooting parameter setting values corresponding to the first parameter setting type that meets the second matching condition are determined as the exposure triangle, thereby improving the accuracy of the exposure triangle setting.
[0114] In one embodiment, step 5: performing image quality control when the target device performs image acquisition based on the evaluation result includes:
[0115] Based on the evaluation result, a control feature representation is determined; wherein the control feature representation is: a parameter control matrix of the camera device;
[0116] According to the control feature representation, image quality control is performed when the target device performs image acquisition. According to the control feature representation, image quality control is performed when the target device performs image acquisition, the control feature representation is matched with the target control matrix in the control matrix library of the target device, and if the match is met, the control action of the corresponding target control matrix is executed.
[0117] The working principle and beneficial effects of the above technical solution are:
[0118] The present application performs image quality control based on the control feature representation determined based on the evaluation result, thereby improving the accuracy of image quality control.
[0119] In one embodiment, according to the control feature representation, image quality control is performed when the target device performs image acquisition, including:
[0120] Acquire a trigger signal when the target device performs image quality control; wherein the trigger signal is: a trigger electrical signal for a shooting device on the target device to adjust shooting parameters;
[0121] Image quality control is performed based on the trigger signal and control feature representation.
[0122] The working principle and beneficial effects of the above technical solution are:
[0123] The present application introduces a trigger signal when a device performs image quality control, and performs image quality control based on the trigger signal and control characteristic representation, thereby greatly reducing the energy consumption of the target device.
[0124] In one embodiment, obtaining a trigger signal when the target device performs image quality control includes:
[0125] Obtaining the real-time distance between the target device and the target photographed device; wherein the target photographed device is: a device that the target device is about to inspect or is inspecting; the real-time distance is: the distance between the target device and the target photographed device;
[0126] Compare the real-time distance with the shooting distance threshold of the target device; wherein the shooting distance threshold is determined by the specification of the shooting device on the target device;
[0127] If the real-time distance is within the shooting distance threshold range, obtaining a first acquired image feature of the shooting device; wherein the first acquired image feature is: a characteristic representation of the image captured by the shooting device on the target device when the real-time distance is within the shooting distance threshold range;
[0128] Acquire historical shooting records of the target shooting device; wherein the historical shooting records are: images shot by the target shooting device in history;
[0129] Extracting a second acquired image feature of the target device being photographed according to the historical shooting record; wherein the second acquired image feature is: a characteristic representation of the historical shooting image of the target device being photographed;
[0130] Perform image feature matching on the first acquired image feature and the second acquired image feature to obtain feature coincidence; wherein the feature coincidence is: the coincidence rate between the first acquired image feature and the second acquired image feature;
[0131] If the feature overlap is greater than or equal to a preset feature overlap threshold, a trigger signal is generated based on a preset trigger signal generation rule, wherein the preset feature overlap threshold and the trigger signal generation rule are manually preset.
[0132] The working principle and beneficial effects of the above technical solution are:
[0133] This application introduces the real-time distance between the target device and the target photographed device, and performs a distance comparison with the shooting distance threshold of the target device. When the real-time distance is within the shooting distance threshold, it indicates that the target photographed device is within the shooting range of the target device, and the first acquired image feature is determined. According to the historical shooting records, the second acquired image feature is determined. The feature coincidence degree representing the coincidence rate between the first acquired image feature and the second acquired image feature is introduced. When the feature coincidence degree is greater than or equal to the feature coincidence degree threshold, it indicates that the target device has photographed the target photographed device, and a trigger signal is sent for image quality control. The accuracy of the trigger signal generation time is improved.
[0134] In one embodiment, it further includes:
[0135] Before acquiring the first acquired image feature of the photographing device, the relative orientation of the target photographed device relative to the target device is acquired, and at the same time, the shooting orientation of the target device is acquired; wherein the relative orientation is: the relative position of the target photographed device and the target device; the shooting orientation of the target device is: the shooting direction of the target device;
[0136] Calculate the angle value of the shooting direction and the relative direction, and calculate the change rate relationship of the angle value of the direction within a preset time length; wherein the angle value of the direction is, for example, 60°; the preset time length is manually preset; the change rate relationship is: the change rate curve of the angle value of the direction over time within the time length;
[0137] determining whether the change rate relationship satisfies a target change rate condition, and if so, obtaining a first acquired image feature of the shooting device;
[0138] Wherein, judging whether the change rate relationship satisfies the target change rate condition includes:
[0139] Obtaining an angle control record of the camera device; wherein the angle control record is: an engineering record of controlling the camera angle of the camera device;
[0140] Determine a target angle control record in the angle control record that matches the angle value of the orientation angle; wherein the target angle control record is an angle control record in which the control angle in the angle control record and the angle value of the orientation angle are consistent;
[0141] According to the target angle control record, a reference orientation angle value change rate relationship set is obtained; wherein the reference orientation angle value change rate relationship set is: a set of orientation angle value change rate curves corresponding to the target angle control record;
[0142] If the mean square error of the change rate relationship between the change rate relationship and any reference orientation angle value change rate relationship in the reference orientation angle value change rate relationship set is less than a preset mean square error threshold, then the change rate relationship meets the target change rate condition. The preset mean square error threshold is manually preset.
[0143] The working principle and beneficial effects of the above technical solution are:
[0144] Before acquiring the first acquired image feature of the shooting device, the present application introduces the shooting direction and the relative direction orientation angle value, calculates the change rate relationship of the orientation angle value within the time length, and at the same time, introduces the angle control record to determine the reference orientation angle value change rate relationship set corresponding to the orientation angle value, and determines whether the change rate relationship meets the target change rate condition. If so, it means that the change rate relationship is in line with the directional shooting trend, and the subsequent acquisition of the first acquired image feature can be performed, thereby increasing the condition constraints before extracting the first acquired image feature and reducing the computing power burden.
[0145] The embodiment of the present invention provides a patrol inspection point image acquisition device based on a three-dimensional model, such as Figure 3 As shown, including:
[0146] Inspection plan acquisition subsystem 1, used to acquire inspection plan;
[0147] The element determination subsystem 2 is used to determine the inspection shooting time element and the meteorological information element provided by the on-site meteorological equipment according to the inspection plan;
[0148] The target three-dimensional model construction subsystem 3 is used to construct a target three-dimensional model based on the three-dimensional construction technology and according to the inspection shooting time element and the meteorological information element. The target three-dimensional model simulates the sunlight angle, shadow range and shadow intensity;
[0149] The spatial vector determination subsystem 4 is used to determine the spatial vectors of the photographed device at the photographing point and the inspection point according to the target three-dimensional model when the target device arrives at the photographing point, and to evaluate based on the spatial vector to obtain the evaluation result;
[0150] The image quality control subsystem 5 is used to perform image quality control when the target device is performing image acquisition based on the evaluation result.
[0151] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for collecting inspection point images based on a three-dimensional model. It is characterized in that include: Step 1: Obtain the inspection plan; Step 2: According to the inspection plan, determine the inspection shooting time elements and the meteorological information elements provided by the on-site meteorological equipment; Step 3: Based on the 3D construction technology, a target 3D model is constructed according to the inspection shooting time elements and meteorological information elements. The target 3D model simulates the sunlight angle, shadow range and shadow intensity; Step 4: When the target device arrives at the shooting point, the spatial vectors of the photographed device at the shooting point and the inspection point are determined according to the target three-dimensional model, and an evaluation is performed based on the spatial vector to obtain an evaluation result; Step 5: Based on the evaluation results, image quality control is performed when the target device is performing image acquisition; Step 4: When the target device arrives at the shooting point, the spatial vectors of the device being photographed at the shooting point and the inspection point are determined according to the target three-dimensional model, and an evaluation is performed based on the spatial vector to obtain an evaluation result, including: Determine the first three-dimensional coordinates of the shooting point and the second three-dimensional coordinates of the device being photographed according to the target three-dimensional space; Determine a space vector according to the first three-dimensional coordinate and the second three-dimensional coordinate, wherein the space vector includes: a shooting distance, an azimuth angle, and a bird's-eye view; Determine the camera specifications of the camera device preset on the target device; Determine the target focus parameters based on the camera specifications and shooting distance; According to the simulated sunlight angle, shadow range and shadow intensity in the target three-dimensional space, the photographed device is measured to obtain the measurement result; According to the light metering results, the exposure triangle of the shooting device is determined. The exposure triangle includes: shutter speed, aperture size and ISO value; According to the rendering result, RGB channel values are determined, a color temperature range is determined according to the RGB channel values, and a white balance mode is determined according to the color temperature range; the rendering result is: a three-dimensional image of the photographed device rendered in the target three-dimensional model; The target focus parameter, exposure triangle and white balance mode are taken together as the target camera parameters; Get current camera parameters; The parameter difference between the target camera parameters and the current camera parameters is determined and used as the evaluation result.
2. A method for collecting inspection point images based on a three-dimensional model as claimed in claim 1, It is characterized in that Step 1: Obtain an inspection plan, including: Obtain the work plan input by the staff into the target device in real time; Based on the preset inspection planning template and work plan, determine the inspection plan.
3. A method for collecting inspection point images based on a three-dimensional model as claimed in claim 1, It is characterized in that Step 3: Based on the 3D construction technology, construct the target 3D model according to the inspection shooting time elements and meteorological information elements, including: Based on 3D construction technology, according to the inspection and shooting time elements and meteorological information elements, the sunlight angle, shadow range and shadow intensity are simulated in 3D space to obtain the target 3D model.
4. A method for collecting inspection point images based on a three-dimensional model as claimed in claim 1, It is characterized in that According to the simulated sunlight angle, shadow range and shadow intensity in the target three-dimensional space, the photographed device is measured to obtain the measurement results, including: Determine a local three-dimensional area of the photographed device in the target three-dimensional space; Determine the simulated light and shadow information in the local three-dimensional area according to the sunlight angle, shadow range and shadow intensity; Obtaining a simulated shooting range of the shooting device in a local three-dimensional area; Determine the metering result based on the simulated shooting range and simulated light and shadow information.
5. The inspection point image acquisition method based on a three-dimensional model as claimed in claim 1, It is characterized in that Based on the metering results, determine the exposure triangle of the shooting device, including: Get the shooting parameter setting record library; Performing result similarity matching according to the light metering result and the recorded light metering result in the shooting parameter setting record library, and determining that the result similarity matches the shooting parameter setting record corresponding to the recorded light metering result that meets the first matching condition; According to the shooting parameter setting record, fitting is performed on each shooting parameter setting value of the first parameter setting type to obtain a fitting result of the shooting parameter setting value corresponding to the first parameter setting type; Get the second parameter setting type of the exposure triangle; The first parameter setting type and the second parameter setting type are matched with each other, and a fitting result of the shooting parameter setting value corresponding to the first parameter setting type whose parameter setting type matches the second matching condition is determined and used as an exposure triangle.
6. A method for collecting inspection point images based on a three-dimensional model as claimed in claim 1, It is characterized in that Step 5: Based on the evaluation results, image quality control is performed when the target device is acquiring images, including: Based on the evaluation results, the control characteristic representation is determined; According to the control characteristic representation, image quality control is performed when the target device acquires images.
7. A method for collecting inspection point images based on a three-dimensional model as claimed in claim 6, It is characterized in that According to the control feature representation, image quality control is performed when the target device acquires images, including: Obtain the trigger signal when the target device performs image quality control; Image quality control is performed based on the trigger signal and control feature representation.
8. A method for collecting inspection point images based on a three-dimensional model as claimed in claim 7, It is characterized in that Get the trigger signal when the target device performs image quality control, including: Obtain the real-time distance between the target device and the target photographed device; Compare the real-time distance with the shooting distance threshold of the target device; If the real-time distance is within the shooting distance threshold range, acquiring a first acquired image feature of the shooting device; Obtain historical shooting records of the target device being photographed; Extracting second acquired image features of the target photographed device according to the historical shooting records; Performing image feature matching on the first acquired image feature and the second acquired image feature to obtain feature overlap; If the feature overlap is greater than or equal to a preset feature overlap threshold, a trigger signal is generated based on a preset trigger signal generation rule.
9. A patrol point image acquisition device based on a three-dimensional model, It is characterized in that include: Inspection plan acquisition subsystem, used to obtain inspection plans; The element determination subsystem is used to determine the inspection shooting time elements and the meteorological information elements provided by the on-site meteorological equipment according to the inspection plan; The target three-dimensional model construction subsystem is used to construct a target three-dimensional model based on the three-dimensional construction technology, according to the inspection shooting time elements and meteorological information elements. The target three-dimensional model simulates the sunlight angle, shadow range and shadow intensity; A spatial vector determination subsystem is used to determine the spatial vectors of the photographed devices at the photographing point and the inspection point according to the target three-dimensional model when the target device arrives at the photographing point, and to evaluate based on the spatial vector to obtain the evaluation result; An image quality control subsystem, used to perform image quality control when the target device acquires images based on the evaluation results; The space vector determination subsystem performs the following operations: Determine the first three-dimensional coordinates of the shooting point and the second three-dimensional coordinates of the device being photographed according to the target three-dimensional space; Determine a space vector according to the first three-dimensional coordinate and the second three-dimensional coordinate, wherein the space vector includes: a shooting distance, an azimuth angle, and a bird's-eye view; Determine the camera specifications of the camera device preset on the target device; Determine the target focus parameters based on the camera specifications and shooting distance; According to the simulated sunlight angle, shadow range and shadow intensity in the target three-dimensional space, the photographed device is measured to obtain the measurement result; According to the light metering results, the exposure triangle of the shooting device is determined. The exposure triangle includes: shutter speed, aperture size and ISO value; According to the rendering result, RGB channel values are determined, a color temperature range is determined according to the RGB channel values, and a white balance mode is determined according to the color temperature range; the rendering result is: a three-dimensional image of the photographed device rendered in the target three-dimensional model; The target focus parameter, exposure triangle and white balance mode are taken together as the target camera parameters; Get current camera parameters; The parameter difference between the target camera parameters and the current camera parameters is determined and used as the evaluation result.
Citation Information
Patent Citations
Inspection system based on high-altitude line maintenance
CN115275870A
Cruising robot pan-tilt adjustment method based on visual feedback
CN107042511A
Intelligent inspection method and system based on three-dimensional information of transmission line
CN108733755A
Unmanned aerial vehicle-based intelligent identification method and system of electric power facilities
CN110703800A
Inspection image acquisition method and device, electronic equipment and storage medium
CN113727022A
