WO2021212342A1 - Image processing method, camera device, movable platform and storage medium - Google Patents

Image processing method, camera device, movable platform and storage medium Download PDF

Info

Publication number
WO2021212342A1
WO2021212342A1 PCT/CN2020/085993 CN2020085993W WO2021212342A1 WO 2021212342 A1 WO2021212342 A1 WO 2021212342A1 CN 2020085993 W CN2020085993 W CN 2020085993W WO 2021212342 A1 WO2021212342 A1 WO 2021212342A1
Authority
WO
WIPO (PCT)
Prior art keywords
compression ratio
infrared
image
anamorphic lens
ratio
Prior art date
Application number
PCT/CN2020/085993
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 PCT/CN2020/085993 priority Critical patent/WO2021212342A1/en
Priority to CN202080005679.7A priority patent/CN112956185A/en
Publication of WO2021212342A1 publication Critical patent/WO2021212342A1/en

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B13/00Optical objectives specially designed for the purposes specified below
    • G02B13/14Optical objectives specially designed for the purposes specified below for use with infrared or ultraviolet radiation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/30Transforming light or analogous information into electric information
    • H04N5/33Transforming infrared radiation

Definitions

  • This specification relates to the field of infrared imaging technology, in particular to an image processing method, a photographing device, a movable platform and a storage medium.
  • Infrared thermal imaging technology is developed based on the characteristics that any object above absolute zero has thermal radiation.
  • a thermal imaging system is used to convert the infrared radiation of the object through photoelectric conversion to form a thermal image, that is, to receive the infrared rays emitted by the object and based on the intensity The feature is restored to the thermal image of the object, which can facilitate the observation of the temperature distribution on the surface of the object.
  • the viewing angles of the current infrared thermal imaging system in all directions are equal, and the capabilities of the system cannot be fully utilized in some scenes.
  • this specification provides an image processing method, a camera, a movable platform and a storage medium, which can make full use of the capabilities of the lens and infrared image sensor to achieve infrared imaging or temperature measurement in a wider range.
  • this specification provides an image processing method for an image processing system.
  • the image processing system includes an infrared anamorphic lens assembly and an infrared image sensor.
  • the infrared anamorphic lens assembly is first compressed in a first direction.
  • the ratio is greater than the second compression ratio of the infrared anamorphic lens assembly in the second direction;
  • the method includes:
  • the stretching ratio in the first direction is greater than the stretching ratio in the second direction.
  • this specification provides a photographing device that includes an infrared anamorphic lens assembly and an infrared image sensor, and a first compression ratio of the infrared anamorphic lens assembly in a first direction is greater than that of the infrared anamorphic lens assembly The second compression ratio in the second direction;
  • the photographing device also includes one or more processors, which work individually or collectively, and are used to perform the following steps:
  • the stretching ratio in the first direction is greater than the stretching ratio in the second direction.
  • this specification provides a movable platform equipped with a photographing device.
  • the photographing device includes an infrared anamorphic lens assembly and an infrared image sensor.
  • the first compression ratio of the infrared anamorphic lens assembly in the first direction is greater than that of all
  • the movable platform also includes one or more processors, which work individually or collectively, and are used to perform the following steps:
  • the stretching ratio in the first direction is greater than the stretching ratio in the second direction.
  • this specification provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the processor implements the above-mentioned method.
  • the embodiments of this specification provide an image processing method, a photographing device, a movable platform, and a storage medium.
  • the infrared image sensor can sense the infrared sensor image with a wider viewing angle in the first direction.
  • the ratio of the target image in the first direction and the second direction can be compared with the real shot.
  • the objects are the same, so you can make full use of the capabilities of the lens and infrared image sensor to achieve a wider range of infrared imaging or temperature measurement.
  • FIG. 1 is a schematic flowchart of an image processing method according to an embodiment of this specification
  • Figure 2 is a schematic diagram of the principle of the imaging process of the current image processing system
  • FIG. 3 is a schematic diagram of the principle of the imaging process of the image processing system according to an embodiment of the present specification
  • FIG. 4 is a schematic structural diagram of a negative cylindrical lens in an infrared anamorphic lens assembly according to an embodiment
  • FIG. 5 is a schematic diagram of image processing in an embodiment of this specification.
  • FIG. 6 is a schematic block diagram of a photographing device according to an embodiment of the present specification.
  • Fig. 7 is a schematic block diagram of a movable platform provided by an embodiment of the present specification.
  • Fig. 8 is a schematic diagram of a scenario where a mobile platform interacts with a terminal device in an embodiment.
  • FIG. 1 is a schematic flowchart of an image processing method according to an embodiment of the present specification.
  • the image processing method can be applied in an image processing system for processing the captured infrared images and other processes.
  • the image processing method can be applied to mobile platforms, such as unmanned aerial vehicles, pan-tilts, pan-tilts, manned vehicles, unmanned vehicles, unmanned boats, etc.; it can also be applied to photographing devices, such as Cameras, mobile phones, computers, thermal imaging equipment, infrared temperature measuring equipment, etc.
  • mobile platforms such as unmanned aerial vehicles, pan-tilts, pan-tilts, manned vehicles, unmanned vehicles, unmanned boats, etc.
  • photographing devices such as Cameras, mobile phones, computers, thermal imaging equipment, infrared temperature measuring equipment, etc.
  • the unmanned aerial vehicle can be a rotary-wing drone, such as a four-rotor drone, a hexa-rotor drone, an eight-rotor drone, or a fixed-wing drone.
  • FIG. 2 is a schematic diagram of the structure of the current image processing system 10 and the principle of its imaging process.
  • the current image processing system 10 includes an infrared lens assembly 11 and an infrared image sensor 12.
  • the infrared lens assembly 11 includes one or more centrally symmetric lenses, so the compression ratio of the infrared lens assembly 11 to the image in all directions is equal.
  • the ratio of the sensor image sensed on the infrared image sensor 12 in various directions, such as the horizontal and vertical directions, is the same as the ratio of the actual photographed object in each direction.
  • infrared imaging requires a wide viewing angle in one direction. According to this wide viewing angle requirement, the infrared image sensor used will also have more pixels in other directions. It will also be very wide, and the imaging caused by the increase of these pixels is unnecessary, which will bring about an increase in cost and a waste of lens capacity.
  • the inventor of the present application has improved the image processing system to realize infrared imaging with a wide viewing angle in one or more directions.
  • the image processing system 20 of the present application includes an infrared anamorphic lens assembly 21 and an infrared image sensor 22.
  • the first compression ratio of the infrared anamorphic lens assembly 21 in the first direction 101 is greater than that of the infrared anamorphic lens assembly 21 in the second direction.
  • the second compression ratio in direction 102 is greater than that of the infrared anamorphic lens assembly 21 in the second direction.
  • the sensor image sensed by the infrared image sensor has a wider viewing angle in the first direction, and a narrower viewing angle in the second direction.
  • the compression ratio of the infrared anamorphic lens assembly 21 to the photographed object in the first direction 101 is greater than the compression ratio in the second direction 102.
  • the infrared image sensor has 1280 pixels in the first direction 101 and 720 pixels in the second direction; the viewing angle of the sensor image in the first direction 101 is 90 degrees to 140 degrees, and in the second direction 102 The viewing angle is 20 degrees to 80 degrees.
  • the viewing angle of the sensor image in the first direction 101 is 135 degrees, and the viewing angle in the second direction 102 is 30 degrees.
  • the infrared anamorphic lens assembly 21 includes an infrared anamorphic lens, and the first compression ratio of the infrared anamorphic lens in the first direction 101 is greater than that of the infrared anamorphic lens in the second direction 102 The second compression ratio.
  • the radius of curvature of the infrared anamorphic lens in the first direction 101 and the radius of curvature in the second direction 102 are not equal to achieve different compression ratios.
  • the included angle between the first direction 101 and the second direction 102 is greater than 30 degrees and less than 120 degrees.
  • the infrared anamorphic lens includes one or more infrared cylindrical lenses
  • the infrared cylindrical lens includes, for example, an infrared positive cylindrical lens and/or an infrared negative cylindrical lens.
  • the infrared cylindrical lens includes an infrared positive cylindrical lens
  • the infrared anamorphic lens further includes a negative cylindrical lens to increase the compression ratio of the infrared anamorphic lens in the one direction.
  • the infrared cylindrical lens includes a coated cylindrical lens and/or a cylindrical lens made of colored glass, which can transmit light in the infrared band and block visible light.
  • the infrared anamorphic lens assembly 21 includes an infrared lens and an anamorphic lens, and the first compression ratio of the anamorphic lens in the first direction 101 is greater than that of the anamorphic lens in the second direction 102.
  • the second compression ratio is greater than that of the anamorphic lens in the second direction 102.
  • the infrared lens includes an infrared filter, which can transmit light in the infrared band and block visible light.
  • Infrared lenses include coated lenses and/or lenses made of colored materials, such as glass or plastic, which can transmit light in the infrared band and block visible light.
  • the radius of curvature of the anamorphic lens in the first direction 101 and the radius of curvature in the second direction 102 are not equal to achieve different compression ratios.
  • the included angle between the first direction 101 and the second direction 102 is greater than 30 degrees and less than 120 degrees.
  • the anamorphic lens includes one or more cylindrical lenses, and the cylindrical lens includes, for example, a positive cylindrical lens and/or a negative cylindrical lens.
  • the cylindrical lens includes a positive cylindrical lens
  • the anamorphic lens also includes a negative cylindrical lens to increase the compression ratio of the anamorphic lens in one direction.
  • FIG. 4 is a schematic diagram of the structure of the negative cylindrical lens 201. It can be understood that the first compression ratio of the negative cylindrical lens 201 in the first direction 101 is greater than the second compression ratio of the infrared anamorphic lens in the second direction 102.
  • the infrared anamorphic lens assembly may also include one or more centrally symmetrical lenses, and the compression ratio of this kind of lens to the image in all directions is equal; by combining a centrally symmetrical lens and an infrared anamorphic lens or an anamorphic lens , It is possible to compress the photographed scene into the lens in various directions, and the first compression ratio in the first direction is greater than the second compression ratio in the second direction, so that the infrared image sensor can sense the sensor image.
  • the viewing angle of the sensor image in the first direction is wider, and the viewing angle in the second direction is narrower.
  • the first direction and the second direction are perpendicular.
  • the first direction of the infrared anamorphic lens assembly is parallel to the optical axis of the cylindrical lens or the infrared cylindrical lens with a compression ratio greater than 1, and the infrared anamorphic lens
  • the second direction of the component is parallel to the optical axis of the cylindrical lens or the infrared cylindrical lens whose compression ratio is equal to 1. It can be understood that the first compression ratio is greater than one.
  • the plurality of cylindrical lenses and/or infrared cylindrical lenses of the infrared anamorphic lens assembly are arranged in parallel, for example, when the optical axes of the two cylindrical lenses with a compression ratio greater than 1, the first direction of the infrared anamorphic lens assembly Parallel to the optical axis with the cylindrical lens compression ratio greater than 1, the second direction of the infrared anamorphic lens assembly is parallel to the optical axis with the cylindrical lens compression ratio equal to 1. It can be understood that the first compression ratio is greater than one.
  • the optical axes of different cylindrical lenses and/or infrared cylindrical lenses with a compression ratio greater than 1 are arranged crosswise, that is, When not parallel, the first direction of the infrared anamorphic lens assembly is parallel to the optical axis of one of the cylindrical lens and/or the infrared cylindrical lens with a compression ratio greater than 1, and the second direction is parallel to the other cylindrical lens and/or infrared cylindrical lens
  • the optical axis of the lens whose compression ratio is greater than 1 is parallel. Therefore, the angle between the first direction and the second direction can be greater than 30 degrees and less than 120 degrees. It can be understood that the first compression ratio is greater than one.
  • the first direction is a horizontal direction
  • the second direction is a vertical direction
  • a wider viewing angle in the horizontal direction is required to fully obtain information about the surrounding environment.
  • a movable platform such as an unmanned aerial vehicle, a handheld gimbal, a gimbal, a manned vehicle, an unmanned vehicle, etc.
  • the requirements for viewing angles at higher or lower places are lower.
  • a wider viewing angle is required for the extension direction of the transmission line.
  • the infrared image sensor 22 of the image processing system 20 can sense the viewing angle in one direction.
  • a wider sensor image with a narrower viewing angle in the other direction as shown in Figure 3.
  • the sensor image includes a wider range of infrared image information in the first direction, while still maintaining high accuracy in the second direction.
  • the image processing method includes steps S110 to S120.
  • Step S110 Obtain a sensor image sensed by the infrared image sensor.
  • the viewing angle of the sensor image in the first direction is larger than the viewing angle of the sensor image in the second direction.
  • the sensor image sensed by the infrared image sensor may be a RAW image directly output from the infrared image sensor.
  • Step S120 stretching the sensor image in the first direction according to the first compression ratio, and stretching the sensor image in the second direction according to the second compression ratio,
  • the target image is obtained, and the stretching ratio in the first direction is greater than the stretching ratio in the second direction.
  • the illustrated target image can be obtained.
  • the proportion of the target image in various directions such as the horizontal and vertical directions, can be the same as the proportion of the real object being photographed in various directions. Therefore, the target image can more truly reflect the infrared information of the scene being photographed.
  • the sensor image can also be stretched in the second direction, but the stretch ratio in the second direction is smaller than the stretch ratio in the first direction to ensure that the target image is in the first direction and The ratio in the second direction is consistent with the real subject.
  • the sensor image may be stretched in a larger proportion in the first direction through step S120, but not stretched in the second direction or stretched in a smaller proportion.
  • the method is applied to a scene where the requirement for the viewing angle range in the first direction is greater than the requirement for the viewing angle range in the second direction.
  • the target image obtained by stretching the sensor image has a longer frame in the first direction, which can reflect a wider viewing angle.
  • the sensor image may be stretched in the first direction and the second direction through pixel interpolation. Stretching the sensor image through pixel interpolation can get a more detailed target image and increase the infrared information contained in the target image.
  • the sensor image may be stretched through methods such as cubic interpolation, filter interpolation, Gaussian interpolation, bilinear interpolation, and the like.
  • the ratio of the first compression ratio to the stretching ratio in the first direction is equal to the ratio of the second compression ratio to the stretching ratio in the second direction. To ensure that the ratio of the target image in the first direction and the second direction is consistent with the real object being photographed.
  • the first compression ratio is triple compression
  • the second compression ratio is double compression
  • the viewing angle of the sensor image in the first direction is the second Three times the viewing angle in the direction.
  • the stretch ratio in the second direction is one-fold stretch
  • the stretch ratio in the first direction is three-fold stretch.
  • the first compression ratio may be equal to the stretching ratio in the first direction. At this time, the ratio of the target image in the first direction and the second direction is completely consistent with the real object being photographed.
  • the method further includes: preprocessing the sensor image to obtain a preprocessed sensor image.
  • the data of the sensor image can be rectified and/or defects can be removed through preprocessing, for example, a cleaner and smoother sensor image can be obtained, and the influence of noise can be reduced.
  • the preprocessing includes at least one of the following: response rate correction processing, offset correction processing, dead pixel removal processing, and noise removal processing.
  • response rate correction processing offset correction processing
  • dead pixel removal processing dead pixel removal processing
  • noise removal processing noise removal processing
  • step S120 stretches the sensor image in the first direction according to the first compression ratio, and stretches the sensor image in the second direction according to the second compression ratio.
  • Stretching to obtain the target image includes: stretching the preprocessed sensor image in the first direction according to the first compression ratio, and performing the preprocessing on the preprocessed sensor image according to the second compression ratio. Stretching is performed in the second direction to obtain a target image.
  • the target image obtained by stretching the preprocessed sensor image can more accurately reflect the infrared information of the object being photographed.
  • the method further includes: performing at least one of the following processing on the target image: global histogram stretching, local histogram stretching, detail enhancement, and pseudo-color mapping.
  • performing histogram statistics and probability density function accumulation on an infrared imaging target image can improve the overall contrast of the target image.
  • a gradient filter operator may be used to filter the target image, extract detailed information of the target image, and perform statistical stretching of the histogram to generate a detailed map.
  • gamma transformation may be performed on the base image and the detail image, and the base image and the detail image may be summed in a weighted manner to generate a target image with enhanced detail.
  • pseudo-color processing is performed on the target image to obtain a pseudo-color image.
  • Pseudo-color images can improve the ability of the image's temperature representation.
  • the method further includes: outputting a pseudo-color image for display according to the target image.
  • the image processing system 20 may be equipped with a display device, and a pseudo-color image may be displayed through the display device. Or the image processing system 20 may also transmit the infrared image after the pseudo-color mapping to other devices, such as a terminal, for display.
  • Pseudo-color images can improve the ability of image temperature representation. For example, engineers can quickly and accurately determine the potential problems of the photographed objects, such as power transmission lines, by observing the temperature difference, and take timely measures to reduce the photographed objects. Damage and loss caused by failure. Because the target image has a wider angle of view in one direction, the object can be observed more comprehensively; and the target image has higher accuracy in the other direction, and the pseudo-color image can retain enough temperature details.
  • the method further includes: determining temperature information of an object in the target image according to the target image.
  • the sensor image sensed by the infrared image sensor contains the intensity of the infrared rays radiated by the photographed scene at a corresponding temperature, and the temperature information of the photographed scene can be determined according to the target image obtained by stretching the sensor image.
  • the temperature information in the image can also be transmitted to other devices for display.
  • the temperature information of the object may be determined according to the temperature corresponding to several pixels in the target image.
  • the temperature of a plurality of pixels is determined in the target image, and the average value obtained can be determined as the temperature information of the object.
  • the temperature information of the object may include the temperature distribution of the object, for example, the temperature of a certain area is significantly higher than that of other areas.
  • the temperature information of the object may also include the change trend of the temperature of the object over time.
  • the method further includes: executing a preset task according to the temperature information of the object.
  • an alarm signal can be issued when the temperature of the object is too high, the temperature is uneven, or the temperature continues to rise, for example, the control indicator light is on, the speaker makes a sound, and so on.
  • the first coordinates of the highest temperature point in the target image can be determined, and the rotation angle of the pan/tilt equipped with the camera can be determined according to the first coordinates of the highest temperature point and the coordinates of the target position in the target image, according to The rotation angle controls the rotation of the pan-tilt to adjust the highest temperature point in the target image at the current moment to be located at the target position. Therefore, it is possible to automatically track the highest temperature point and shoot, no matter how the highest temperature point changes, the highest temperature point will be at the target position in the target image, which is convenient for the user to observe the highest temperature point.
  • the target image has a wider viewing angle in one direction, a wider range of temperature can be observed, thereby improving the accuracy of temperature measurement and the reliability of performing preset tasks.
  • the image processing system and image processing method provided by the embodiments of this specification adopt an infrared anamorphic lens assembly whose first compression ratio in the first direction is greater than the second compression ratio in the second direction, so that the infrared image sensor can sense in the first direction.
  • An infrared sensor image with a wider viewing angle in one direction By stretching the infrared sensor image, the ratio of the target image in the first direction and the second direction can be consistent with the real object, so it can be fully utilized The ability of the lens and infrared image sensor to realize infrared imaging or temperature measurement in a wider range.
  • FIG. 6 is a schematic block diagram of a photographing device 600 according to an embodiment of the present specification.
  • the photographing device 600 includes an infrared anamorphic lens assembly 610 and an infrared image sensor 620.
  • the first compression ratio of the infrared anamorphic lens assembly 610 in the first direction is greater than the first compression ratio of the infrared anamorphic lens assembly 610 in the second direction. 2. Compression ratio.
  • the photographing device 600 further includes one or more processors 630, and the one or more processors 630 can work individually or together to execute the steps of the image processing method of the foregoing embodiment.
  • processor 630 is used for:
  • the stretching ratio in the first direction is greater than the stretching ratio in the second direction.
  • the photographing device 600 is applied to a scene where the requirement for the viewing angle range in the first direction is greater than the requirement for the viewing angle range in the second direction.
  • the first compression ratio is greater than one.
  • the included angle between the first direction and the second direction is greater than 30 degrees and less than 120 degrees.
  • the first direction and the second direction are perpendicular.
  • the first direction is a horizontal direction
  • the second direction is a vertical direction
  • the viewing angle of the sensor image in the first direction is greater than the viewing angle of the sensor image in the second direction.
  • the sensor image is stretched in the first direction and the second direction through pixel interpolation.
  • the ratio of the first compression ratio to the stretching ratio in the first direction is equal to the ratio of the second compression ratio to the stretching ratio in the second direction.
  • the first compression ratio is equal to the stretching ratio in the first direction.
  • the processor 630 is further configured to perform the following steps: preprocessing the sensor image to obtain a preprocessed sensor image.
  • the stretching of the sensor image in the first direction according to the first compression ratio, and the stretching of the sensor image in the second direction according to the second compression ratio, to obtain Target image including:
  • the preprocessing includes at least one of the following:
  • the infrared anamorphic lens assembly includes an infrared anamorphic lens, and a first compression ratio of the infrared anamorphic lens in the first direction is greater than a second compression ratio of the infrared anamorphic lens in the second direction .
  • the infrared anamorphic lens assembly includes an infrared lens and an anamorphic lens, and a first compression ratio of the anamorphic lens in the first direction is greater than a second compression ratio of the anamorphic lens in the second direction .
  • processor 630 is further configured to execute the following steps:
  • a pseudo-color image is output for display.
  • processor 630 is further configured to execute the following steps:
  • processor 630 is further configured to execute the following steps:
  • the temperature information of the object in the target image is determined according to the target image.
  • processor 630 is further configured to execute the following steps:
  • the photographing device 600 includes at least one of the following: a camera, a mobile phone, a computer, a thermal imaging device, an infrared temperature measuring device, and the like.
  • FIG. 7 is a schematic block diagram of a movable platform 700 according to an embodiment of the present specification.
  • the movable platform 700 can be equipped with a camera 800.
  • the camera 800 and the movable platform 700 are integrally provided, or the camera 800 can be detachably connected to the movable platform 700.
  • the photographing device 800 includes an infrared anamorphic lens assembly 810 and an infrared image sensor 820.
  • a first compression ratio of the infrared anamorphic lens assembly 810 in a first direction is greater than a second compression ratio of the infrared anamorphic lens assembly 810 in a second direction.
  • the movable platform 700 further includes one or more processors 701, and the one or more processors 701 can work individually or collectively to execute the steps of the image processing method of the foregoing embodiment.
  • the processor 701 may be provided on the photographing device 800 only, the processor 701 may be provided on the movable platform 700 only, or the photographing device 800 and the movable platform 700 may be provided with the processor 701.
  • a processor 701 is provided on the mobile platform 700.
  • processor 701 is used to:
  • the stretching ratio in the first direction is greater than the stretching ratio in the second direction.
  • the movable platform 700 is applied to a scene where the requirement for the viewing angle range in the first direction is greater than the requirement for the viewing angle range in the second direction.
  • the first compression ratio is greater than one.
  • the included angle between the first direction and the second direction is greater than 30 degrees and less than 120 degrees.
  • the first direction and the second direction are perpendicular.
  • the first direction is a horizontal direction
  • the second direction is a vertical direction
  • the viewing angle of the sensor image in the first direction is greater than the viewing angle of the sensor image in the second direction.
  • the sensor image is stretched in the first direction and the second direction through pixel interpolation.
  • the ratio of the first compression ratio to the stretching ratio in the first direction is equal to the ratio of the second compression ratio to the stretching ratio in the second direction.
  • the first compression ratio is equal to the stretching ratio in the first direction.
  • the processor 701 is further configured to perform the following steps: preprocessing the sensor image to obtain a preprocessed sensor image.
  • the stretching of the sensor image in the first direction according to the first compression ratio, and the stretching of the sensor image in the second direction according to the second compression ratio, to obtain Target image including:
  • the preprocessing includes at least one of the following:
  • the infrared anamorphic lens assembly includes an infrared anamorphic lens, and a first compression ratio of the infrared anamorphic lens in the first direction is greater than a second compression ratio of the infrared anamorphic lens in the second direction .
  • the infrared anamorphic lens assembly includes an infrared lens and an anamorphic lens, and a first compression ratio of the anamorphic lens in the first direction is greater than a second compression ratio of the anamorphic lens in the second direction .
  • processor 701 is further configured to execute the following steps:
  • a pseudo-color image is output for display.
  • processor 701 is further configured to execute the following steps:
  • processor 701 is further configured to execute the following steps:
  • the temperature information of the object in the target image is determined according to the target image.
  • processor 701 is further configured to execute the following steps:
  • the movable platform 700 includes at least one of the following: a cloud platform, an unmanned aerial vehicle, an unmanned vehicle, or an unmanned boat.
  • the movable platform 700 obtains the sensor image sensed by the infrared image sensor 820 in real time through the mounted camera device 800, and processes the sensor image according to the image processing method; then, the processed image is, for example, The pseudo-color output image is sent to the terminal device 900 that is communicatively connected with the movable platform 700.
  • the terminal device 900 may be, for example, a mobile phone, a computer, FPV (First Person View, First Person View) glasses, and the like.
  • the display device 910 included in the terminal device 900 can display the image received from the movable platform 700 for the user to view.
  • the photographing device and the movable platform provided in the embodiments of this specification adopt an infrared anamorphic lens assembly with a first compression ratio in the first direction greater than the second compression ratio in the second direction, so that the infrared image sensor can sense in the first direction.
  • the embodiments of this specification also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the image processing method of the foregoing embodiment is implemented.
  • the computer-readable medium can be any device that can contain, store, communicate, propagate, or transmit a program for use by the instruction execution system, device, or device or in combination with these instruction execution systems, devices, or devices. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) with one or more wiring, portable computer disk cases (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable and editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because it can be used, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable media if necessary.
  • the program is processed in a manner to obtain the program electronically, and then stored in the computer memory.
  • the relevant part can refer to the part of the description of the method embodiment.
  • the device embodiments described above are merely illustrative.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units.
  • Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. Those of ordinary skill in the art can understand and implement it without creative work.

Abstract

An image processing method, the steps of which comprise: obtaining a sensor image sensed by an infrared image sensor (S110); and stretching the sensor image in a first direction and a second direction according to a first compression ratio and a second compression ratio to obtain a target image, wherein the stretching ratio in the first direction is greater than that in the second direction (S120). The capabilities of a camera lens and the infrared image sensor can be fully made use of, and infrared imaging or temperature measurement in a wider range can be achieved. Also provided are a camera device, a movable platform and a storage medium.

Description

图像处理方法、拍摄装置、可移动平台和存储介质Image processing method, photographing device, movable platform and storage medium 技术领域Technical field
本说明书涉及红外成像技术领域,尤其涉及一种图像处理方法、拍摄装置、可移动平台和存储介质。This specification relates to the field of infrared imaging technology, in particular to an image processing method, a photographing device, a movable platform and a storage medium.
背景技术Background technique
红外热成像技术是基于任何超过绝对零度的物体都具有热辐射这一特性而发展起来的,通常利用热成像系统把物体的红外辐射通过光电转换形成热图像,即接收物体发出的红外线并根据强度特点还原为物体的热图像,可以方便观测物体表面的温度分布。Infrared thermal imaging technology is developed based on the characteristics that any object above absolute zero has thermal radiation. Generally, a thermal imaging system is used to convert the infrared radiation of the object through photoelectric conversion to form a thermal image, that is, to receive the infrared rays emitted by the object and based on the intensity The feature is restored to the thermal image of the object, which can facilitate the observation of the temperature distribution on the surface of the object.
目前的红外热成像系统在各方向上的视角是相等的,在有些场景时不能够充分发挥系统的能力。The viewing angles of the current infrared thermal imaging system in all directions are equal, and the capabilities of the system cannot be fully utilized in some scenes.
发明内容Summary of the invention
基于此,本说明书提供了一种图像处理方法、拍摄装置、可移动平台和存储介质,可以充分的利用镜头、红外图像传感器的能力,实现对更宽的范围进行红外成像或测温等。Based on this, this specification provides an image processing method, a camera, a movable platform and a storage medium, which can make full use of the capabilities of the lens and infrared image sensor to achieve infrared imaging or temperature measurement in a wider range.
第一方面,本说明书提供了一种图像处理方法,用于图像处理系统,所述图像处理系统包括红外变形镜头组件和红外图像传感器,所述红外变形镜头组件在第一方向上的第一压缩比例大于所述红外变形镜头组件在第二方向上的第二压缩比例;In the first aspect, this specification provides an image processing method for an image processing system. The image processing system includes an infrared anamorphic lens assembly and an infrared image sensor. The infrared anamorphic lens assembly is first compressed in a first direction. The ratio is greater than the second compression ratio of the infrared anamorphic lens assembly in the second direction;
所述方法包括:The method includes:
获取所述红外图像传感器感应的传感器图像;Acquiring a sensor image sensed by the infrared image sensor;
根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到 目标图像,所述第一方向上的拉伸比例大于所述第二方向上的拉伸比例。Stretch the sensor image in the first direction according to the first compression ratio, and stretch the sensor image in the second direction according to the second compression ratio to obtain a target image , The stretching ratio in the first direction is greater than the stretching ratio in the second direction.
第二方面,本说明书提供了一种拍摄装置,所述拍摄装置包括红外变形镜头组件和红外图像传感器,所述红外变形镜头组件在第一方向上的第一压缩比例大于所述红外变形镜头组件在第二方向上的第二压缩比例;In a second aspect, this specification provides a photographing device that includes an infrared anamorphic lens assembly and an infrared image sensor, and a first compression ratio of the infrared anamorphic lens assembly in a first direction is greater than that of the infrared anamorphic lens assembly The second compression ratio in the second direction;
所述拍摄装置还包括一个或多个处理器,单独地或共同地工作,用于执行如下步骤:The photographing device also includes one or more processors, which work individually or collectively, and are used to perform the following steps:
获取所述红外图像传感器感应的传感器图像;Acquiring a sensor image sensed by the infrared image sensor;
根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,所述第一方向上的拉伸比例大于所述第二方向上的拉伸比例。Stretch the sensor image in the first direction according to the first compression ratio, and stretch the sensor image in the second direction according to the second compression ratio to obtain a target image , The stretching ratio in the first direction is greater than the stretching ratio in the second direction.
第三方面,本说明书提供了一种可移动平台,搭载拍摄装置,所述拍摄装置包括红外变形镜头组件和红外图像传感器,所述红外变形镜头组件在第一方向上的第一压缩比例大于所述红外变形镜头组件在第二方向上的第二压缩比例;In the third aspect, this specification provides a movable platform equipped with a photographing device. The photographing device includes an infrared anamorphic lens assembly and an infrared image sensor. The first compression ratio of the infrared anamorphic lens assembly in the first direction is greater than that of all The second compression ratio of the infrared anamorphic lens assembly in the second direction;
所述可移动平台还包括一个或多个处理器,单独地或共同地工作,用于执行如下步骤:The movable platform also includes one or more processors, which work individually or collectively, and are used to perform the following steps:
获取所述红外图像传感器感应的传感器图像;Acquiring a sensor image sensed by the infrared image sensor;
根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,所述第一方向上的拉伸比例大于所述第二方向上的拉伸比例。Stretch the sensor image in the first direction according to the first compression ratio, and stretch the sensor image in the second direction according to the second compression ratio to obtain a target image , The stretching ratio in the first direction is greater than the stretching ratio in the second direction.
第四方面,本说明书提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现上述的方法。In a fourth aspect, this specification provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the processor implements the above-mentioned method.
本说明书实施例提供了一种图像处理方法、拍摄装置、可移动平台和存储介质,通过采用在第一方向上的第一压缩比例大于第二方向上的第二压缩比例的红外变形镜头组件,使得红外图像传感器可以感应在第一方向上具有更宽视角范围的红外传感器图像,通过对该红外传感器图像进行拉伸使得目标图像在第一方向和第二方向上的比例能够与真实的被拍摄物体一致,因此可以充分的利用镜头、红外图像传感器的能力,实现对更宽的范围进行红外成像或测温。The embodiments of this specification provide an image processing method, a photographing device, a movable platform, and a storage medium. By adopting an infrared anamorphic lens assembly with a first compression ratio in a first direction greater than a second compression ratio in a second direction, The infrared image sensor can sense the infrared sensor image with a wider viewing angle in the first direction. By stretching the infrared sensor image, the ratio of the target image in the first direction and the second direction can be compared with the real shot. The objects are the same, so you can make full use of the capabilities of the lens and infrared image sensor to achieve a wider range of infrared imaging or temperature measurement.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本说明书的公开内容。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the disclosure of this specification.
附图说明Description of the drawings
为了更清楚地说明本说明书实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本说明书的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of this specification more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of this specification. For those of ordinary skill in the art, without creative work, other drawings can be obtained from these drawings.
图1是本说明书一实施例提供的一种图像处理方法的流程示意图;FIG. 1 is a schematic flowchart of an image processing method according to an embodiment of this specification;
图2是目前图像处理系统的成像过程的原理示意图;Figure 2 is a schematic diagram of the principle of the imaging process of the current image processing system;
图3是本说明书一实施例的图像处理系统的成像过程的原理示意图;3 is a schematic diagram of the principle of the imaging process of the image processing system according to an embodiment of the present specification;
图4是一实施方式的红外变形镜头组件中负柱面透镜的结构示意图;4 is a schematic structural diagram of a negative cylindrical lens in an infrared anamorphic lens assembly according to an embodiment;
图5是本说明书一实施方式中图像处理的示意图;FIG. 5 is a schematic diagram of image processing in an embodiment of this specification;
图6是本说明书一实施例提供的一种拍摄装置的示意性框图;FIG. 6 is a schematic block diagram of a photographing device according to an embodiment of the present specification;
图7是本说明书一实施例提供的一种可移动平台的示意性框图;Fig. 7 is a schematic block diagram of a movable platform provided by an embodiment of the present specification;
图8是一实施方式中可移动平台与终端设备进行交互的场景示意图。Fig. 8 is a schematic diagram of a scenario where a mobile platform interacts with a terminal device in an embodiment.
具体实施方式Detailed ways
下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本说明书保护的范围。The technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this specification.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowchart shown in the drawings is only an example, and does not necessarily include all contents and operations/steps, nor does it have to be executed in the described order. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to actual conditions.
下面结合附图,对本说明书的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of this specification will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
请参阅图1,图1是本说明书一实施例提供的一种图像处理方法的流程示意图。所述图像处理方法可以应用在图像处理系统中,用于对拍摄的红外图像进行处理等过程。Please refer to FIG. 1. FIG. 1 is a schematic flowchart of an image processing method according to an embodiment of the present specification. The image processing method can be applied in an image processing system for processing the captured infrared images and other processes.
示例性的,图像处理方法可以应用在可移动平台,如无人飞行器、云台、 云台车、有人驾驶车辆、无人驾驶车辆、无人驾驶船艇等;也可以应用于拍摄装置,例如相机、手机、电脑、热成像设备、红外测温设备等。Exemplarily, the image processing method can be applied to mobile platforms, such as unmanned aerial vehicles, pan-tilts, pan-tilts, manned vehicles, unmanned vehicles, unmanned boats, etc.; it can also be applied to photographing devices, such as Cameras, mobile phones, computers, thermal imaging equipment, infrared temperature measuring equipment, etc.
进一步而言,无人飞行器可以为旋翼型无人机,例如四旋翼无人机、六旋翼无人机、八旋翼无人机,也可以是固定翼无人机。Furthermore, the unmanned aerial vehicle can be a rotary-wing drone, such as a four-rotor drone, a hexa-rotor drone, an eight-rotor drone, or a fixed-wing drone.
如图2所示为目前的图像处理系统10的结构和其成像过程的原理示意图。FIG. 2 is a schematic diagram of the structure of the current image processing system 10 and the principle of its imaging process.
如图2所示,目前的图像处理系统10包括红外镜头组件11和红外图像传感器12。具体的,红外镜头组件11包括一个或多个中心对称的透镜,因此红外镜头组件11在各个方向上对图像的压缩比例是相等的。在红外图像传感器12上感应的传感器图像在各个方向,如横向、纵向上的比例与真实的被拍摄物体在各个方向上的比例相同。As shown in FIG. 2, the current image processing system 10 includes an infrared lens assembly 11 and an infrared image sensor 12. Specifically, the infrared lens assembly 11 includes one or more centrally symmetric lenses, so the compression ratio of the infrared lens assembly 11 to the image in all directions is equal. The ratio of the sensor image sensed on the infrared image sensor 12 in various directions, such as the horizontal and vertical directions, is the same as the ratio of the actual photographed object in each direction.
本申请的发明人发现在一些应用场景中,红外成像时对某一个方向有宽视角要求,根据这一宽视角要求采用的红外图像传感器在其他方向上也会有更多的像素,成像的视角也会很宽,而这些像素的增加带来的成像是不需要的,会带来成本的增加和镜头能力的浪费。The inventor of this application found that in some application scenarios, infrared imaging requires a wide viewing angle in one direction. According to this wide viewing angle requirement, the infrared image sensor used will also have more pixels in other directions. It will also be very wide, and the imaging caused by the increase of these pixels is unnecessary, which will bring about an increase in cost and a waste of lens capacity.
针对该发现,本申请的发明人对图像处理系统进行了改进,以实现在某一个或多个方向上进行宽视角的红外成像。In response to this discovery, the inventor of the present application has improved the image processing system to realize infrared imaging with a wide viewing angle in one or more directions.
如图3所示,本申请的图像处理系统20包括红外变形镜头组件21和红外图像传感器22,红外变形镜头组件21在第一方向101上的第一压缩比例大于红外变形镜头组件21在第二方向102上的第二压缩比例。As shown in FIG. 3, the image processing system 20 of the present application includes an infrared anamorphic lens assembly 21 and an infrared image sensor 22. The first compression ratio of the infrared anamorphic lens assembly 21 in the first direction 101 is greater than that of the infrared anamorphic lens assembly 21 in the second direction. The second compression ratio in direction 102.
如图3所示,在红外图像传感器感应的传感器图像,在第一方向上的视角更宽,而在第二方向上的视角较窄。红外变形镜头组件21在第一方向101上对被拍摄物体的压缩比例大于在第二方向102上的压缩比例。As shown in FIG. 3, the sensor image sensed by the infrared image sensor has a wider viewing angle in the first direction, and a narrower viewing angle in the second direction. The compression ratio of the infrared anamorphic lens assembly 21 to the photographed object in the first direction 101 is greater than the compression ratio in the second direction 102.
示例性的,红外图像传感器在第一方向101上有1280个像素,在第二方向上有720个像素;传感器图像在第一方向101上的视角为90度至140度,在第二方向102上的视角为20度至80度。例如传感器图像在第一方向101上的视角为135度,在第二方向102上的视角为30度。Exemplarily, the infrared image sensor has 1280 pixels in the first direction 101 and 720 pixels in the second direction; the viewing angle of the sensor image in the first direction 101 is 90 degrees to 140 degrees, and in the second direction 102 The viewing angle is 20 degrees to 80 degrees. For example, the viewing angle of the sensor image in the first direction 101 is 135 degrees, and the viewing angle in the second direction 102 is 30 degrees.
在一些实施方式中,所述红外变形镜头组件21包括红外变形透镜,所述红外变形透镜在所述第一方向101上的第一压缩比例大于所述红外变形透镜在所述第二方向102上的第二压缩比例。In some embodiments, the infrared anamorphic lens assembly 21 includes an infrared anamorphic lens, and the first compression ratio of the infrared anamorphic lens in the first direction 101 is greater than that of the infrared anamorphic lens in the second direction 102 The second compression ratio.
具体的,红外变形透镜在第一方向101上的曲率半径和在第二方向102上 的曲率半径不相等,以实现不同的压缩比例。示例性的,所述第一方向101和所述第二方向102的夹角大于30度且小于120度。Specifically, the radius of curvature of the infrared anamorphic lens in the first direction 101 and the radius of curvature in the second direction 102 are not equal to achieve different compression ratios. Exemplarily, the included angle between the first direction 101 and the second direction 102 is greater than 30 degrees and less than 120 degrees.
示例性的,红外变形透镜包括一个或多个红外柱面透镜,红外柱面透镜例如包括红外正柱面透镜和/或红外负柱面透镜。当红外柱面透镜包括红外正柱面透镜时,红外变形透镜还包括负柱面透镜,以加大所述红外变形透镜在所述一方向上的压缩比例。Exemplarily, the infrared anamorphic lens includes one or more infrared cylindrical lenses, and the infrared cylindrical lens includes, for example, an infrared positive cylindrical lens and/or an infrared negative cylindrical lens. When the infrared cylindrical lens includes an infrared positive cylindrical lens, the infrared anamorphic lens further includes a negative cylindrical lens to increase the compression ratio of the infrared anamorphic lens in the one direction.
具体的,红外柱面透镜包括镀膜的柱面透镜,和/或由有色玻璃制成的柱面透镜,能够透过红外波段的光线,阻隔可见光。Specifically, the infrared cylindrical lens includes a coated cylindrical lens and/or a cylindrical lens made of colored glass, which can transmit light in the infrared band and block visible light.
在一些实施方式中,所述红外变形镜头组件21包括红外透镜和变形透镜,所述变形透镜在所述第一方向101上的第一压缩比例大于所述变形透镜在所述第二方向102上的第二压缩比例。In some embodiments, the infrared anamorphic lens assembly 21 includes an infrared lens and an anamorphic lens, and the first compression ratio of the anamorphic lens in the first direction 101 is greater than that of the anamorphic lens in the second direction 102. The second compression ratio.
示例性的,红外透镜例如包括红外滤波片,能够透过红外波段的光线,阻隔可见光。红外透镜包括镀膜的透镜,和/或由有色材料,如玻璃或塑料等制成的透镜,能够透过红外波段的光线,阻隔可见光。Exemplarily, the infrared lens includes an infrared filter, which can transmit light in the infrared band and block visible light. Infrared lenses include coated lenses and/or lenses made of colored materials, such as glass or plastic, which can transmit light in the infrared band and block visible light.
具体的,变形透镜在第一方向101上的曲率半径和在第二方向102上的曲率半径不相等,以实现不同的压缩比例。示例性的,所述第一方向101和所述第二方向102的夹角大于30度且小于120度。Specifically, the radius of curvature of the anamorphic lens in the first direction 101 and the radius of curvature in the second direction 102 are not equal to achieve different compression ratios. Exemplarily, the included angle between the first direction 101 and the second direction 102 is greater than 30 degrees and less than 120 degrees.
示例性的,变形透镜包括一个或多个柱面透镜,柱面透镜例如包括正柱面透镜和/或负柱面透镜。当柱面透镜包括正柱面透镜时,变形透镜还包括负柱面透镜,以加大所述变形透镜在一方向上的压缩比例。Exemplarily, the anamorphic lens includes one or more cylindrical lenses, and the cylindrical lens includes, for example, a positive cylindrical lens and/or a negative cylindrical lens. When the cylindrical lens includes a positive cylindrical lens, the anamorphic lens also includes a negative cylindrical lens to increase the compression ratio of the anamorphic lens in one direction.
如图4所示为负柱面透镜201的结构示意图。可以理解的,负柱面透镜201在所述第一方向101上的第一压缩比例大于所述红外变形透镜在所述第二方向102上的第二压缩比例。FIG. 4 is a schematic diagram of the structure of the negative cylindrical lens 201. It can be understood that the first compression ratio of the negative cylindrical lens 201 in the first direction 101 is greater than the second compression ratio of the infrared anamorphic lens in the second direction 102.
示例性的,红外变形镜头组件还可以包括一个或多个中心对称的透镜,该种透镜在各个方向上对图像的压缩比例是相等的;通过将中心对称的透镜和红外变形透镜或变形透镜组合,可以实现在各个方向将被拍摄的景物压缩到镜头内,且在第一方向上的第一压缩比例大于第二方向上的第二压缩比例,从而可以在红外图像传感器感应到传感器图像,该传感器图像在第一方向上的视角更宽,而在第二方向上的视角较窄。Exemplarily, the infrared anamorphic lens assembly may also include one or more centrally symmetrical lenses, and the compression ratio of this kind of lens to the image in all directions is equal; by combining a centrally symmetrical lens and an infrared anamorphic lens or an anamorphic lens , It is possible to compress the photographed scene into the lens in various directions, and the first compression ratio in the first direction is greater than the second compression ratio in the second direction, so that the infrared image sensor can sense the sensor image. The viewing angle of the sensor image in the first direction is wider, and the viewing angle in the second direction is narrower.
在一些实施方式中,所述第一方向和所述第二方向垂直。In some embodiments, the first direction and the second direction are perpendicular.
示例性的,当红外变形镜头组件包括一个柱面透镜或红外柱面透镜时,红外变形镜头组件的第一方向与柱面透镜或红外柱面透镜压缩比例大于1的光轴平行,红外变形镜头组件的第二方向与柱面透镜或红外柱面透镜压缩比例等于1的光轴平行。可以理解的,所述第一压缩比例大于1。Exemplarily, when the infrared anamorphic lens assembly includes a cylindrical lens or an infrared cylindrical lens, the first direction of the infrared anamorphic lens assembly is parallel to the optical axis of the cylindrical lens or the infrared cylindrical lens with a compression ratio greater than 1, and the infrared anamorphic lens The second direction of the component is parallel to the optical axis of the cylindrical lens or the infrared cylindrical lens whose compression ratio is equal to 1. It can be understood that the first compression ratio is greater than one.
示例性的,当红外变形镜头组件的多个柱面透镜和/或红外柱面透镜平行排列时,例如两个柱面透镜压缩比例大于1的光轴平行时,红外变形镜头组件的第一方向与柱面透镜压缩比例大于1的光轴平行,红外变形镜头组件的第二方向与柱面透镜压缩比例等于1的光轴平行。可以理解的,所述第一压缩比例大于1。Exemplarily, when the plurality of cylindrical lenses and/or infrared cylindrical lenses of the infrared anamorphic lens assembly are arranged in parallel, for example, when the optical axes of the two cylindrical lenses with a compression ratio greater than 1, the first direction of the infrared anamorphic lens assembly Parallel to the optical axis with the cylindrical lens compression ratio greater than 1, the second direction of the infrared anamorphic lens assembly is parallel to the optical axis with the cylindrical lens compression ratio equal to 1. It can be understood that the first compression ratio is greater than one.
在一些实施方式中,当红外变形镜头组件的多个柱面透镜和/或红外柱面透镜时,不同的柱面透镜和/或红外柱面透镜的压缩比例大于1的光轴交叉设置,即不平行时,红外变形镜头组件的第一方向与其中一个柱面透镜和/或红外柱面透镜的压缩比例大于1的光轴平行,第二方向与另一个柱面透镜和/或红外柱面透镜的压缩比例大于1的光轴平行,因此,可以实现第一方向和所述第二方向的夹角大于30度且小于120度。可以理解的,所述第一压缩比例大于1。In some embodiments, when a plurality of cylindrical lenses and/or infrared cylindrical lenses of the infrared anamorphic lens assembly, the optical axes of different cylindrical lenses and/or infrared cylindrical lenses with a compression ratio greater than 1, are arranged crosswise, that is, When not parallel, the first direction of the infrared anamorphic lens assembly is parallel to the optical axis of one of the cylindrical lens and/or the infrared cylindrical lens with a compression ratio greater than 1, and the second direction is parallel to the other cylindrical lens and/or infrared cylindrical lens The optical axis of the lens whose compression ratio is greater than 1 is parallel. Therefore, the angle between the first direction and the second direction can be greater than 30 degrees and less than 120 degrees. It can be understood that the first compression ratio is greater than one.
示例性的,如图3所示,所述第一方向为水平方向,所述第二方向为垂直方向。Exemplarily, as shown in FIG. 3, the first direction is a horizontal direction, and the second direction is a vertical direction.
具体的,在一些使用场景中,对水平方向上的视角要求更宽,以充分获取周围环境的信息。例如,当图像处理系统20应用于可移动平台,如无人飞行器、手持云台、云台车、有人驾驶车辆、无人驾驶车辆等时,通常在前方的水平方向有更宽的视角需求,而对更高处或更低处的视角要求较低。例如,当图像处理系统20应用于电力巡检时,对输电线延伸方向有更宽的视角需求。Specifically, in some usage scenarios, a wider viewing angle in the horizontal direction is required to fully obtain information about the surrounding environment. For example, when the image processing system 20 is applied to a movable platform, such as an unmanned aerial vehicle, a handheld gimbal, a gimbal, a manned vehicle, an unmanned vehicle, etc., there is usually a requirement for a wider viewing angle in the front horizontal direction. The requirements for viewing angles at higher or lower places are lower. For example, when the image processing system 20 is applied to power inspection, a wider viewing angle is required for the extension direction of the transmission line.
通过红外变形镜头组件21可以实现将一方向上更宽视角的景象压缩到镜头内,而另一方向保持较窄的视角;从而在图像处理系统20的红外图像传感器22上可以感应得到在一方向上视角更宽,在另一方向上的视角较窄的传感器图像,如图3所示。该传感器图像包括第一方向上更宽范围的红外图像信息,而在第二方向上仍可以保持较高的精度。Through the infrared anamorphic lens assembly 21, it is possible to compress a scene with a wider viewing angle in one direction into the lens, while maintaining a narrow viewing angle in the other direction; thus, the infrared image sensor 22 of the image processing system 20 can sense the viewing angle in one direction. A wider sensor image with a narrower viewing angle in the other direction, as shown in Figure 3. The sensor image includes a wider range of infrared image information in the first direction, while still maintaining high accuracy in the second direction.
具体的,请参与图1和图5,图像处理方法包括步骤S110至S120。Specifically, please refer to FIG. 1 and FIG. 5, the image processing method includes steps S110 to S120.
步骤S110、获取所述红外图像传感器感应的传感器图像。Step S110: Obtain a sensor image sensed by the infrared image sensor.
如前所所述,所述传感器图像在所述第一方向上的视角大于所述传感器图 像在所述第二方向上的视角。As mentioned above, the viewing angle of the sensor image in the first direction is larger than the viewing angle of the sensor image in the second direction.
示例性的,红外图像传感器感应的传感器图像可以为红外图像传感器直出的RAW图像。Exemplarily, the sensor image sensed by the infrared image sensor may be a RAW image directly output from the infrared image sensor.
步骤S120、根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,所述第一方向上的拉伸比例大于所述第二方向上的拉伸比例。Step S120, stretching the sensor image in the first direction according to the first compression ratio, and stretching the sensor image in the second direction according to the second compression ratio, The target image is obtained, and the stretching ratio in the first direction is greater than the stretching ratio in the second direction.
如图5所示,通过对传感器图像在所述第一方向上进行拉伸,可以得到图示的目标图像。目标图像在各个方向,如横向、纵向上的比例可以与真实的被拍摄物体在各个方向上的比例相同。因此目标图像可以更真实的体现被拍摄的景物的红外信息。As shown in FIG. 5, by stretching the sensor image in the first direction, the illustrated target image can be obtained. The proportion of the target image in various directions, such as the horizontal and vertical directions, can be the same as the proportion of the real object being photographed in various directions. Therefore, the target image can more truly reflect the infrared information of the scene being photographed.
示例性的,也可以对传感器图像在所述第二方向上进行拉伸,但是在第二方向上的拉伸比例要小于第一方向上的拉伸比例,以保证目标图像在第一方向和第二方向上的比例与真实的被拍摄物体一致。Exemplarily, the sensor image can also be stretched in the second direction, but the stretch ratio in the second direction is smaller than the stretch ratio in the first direction to ensure that the target image is in the first direction and The ratio in the second direction is consistent with the real subject.
具体的,可以通过步骤S120对传感器图像在所述第一方向上进行较大比例拉伸,而在所述第二方向上不进行拉伸或者进行较小比例的拉伸。Specifically, the sensor image may be stretched in a larger proportion in the first direction through step S120, but not stretched in the second direction or stretched in a smaller proportion.
在一些实施方式中,所述方法应用于对所述第一方向的视角范围需求大于对所述第二方向的视角范围需求的场景。对传感器图像进行拉伸得到的目标图像在第一方向上具有更长的画幅,可以体现更宽的视角。In some embodiments, the method is applied to a scene where the requirement for the viewing angle range in the first direction is greater than the requirement for the viewing angle range in the second direction. The target image obtained by stretching the sensor image has a longer frame in the first direction, which can reflect a wider viewing angle.
示例性的,可以通过像素插值对所述传感器图像在所述第一方向和所述第二方向上进行拉伸处理。通过像素插值的方式对传感器图像进行拉伸处理可以得到细节更丰富的目标图像,增加目标图像包含的红外信息。Exemplarily, the sensor image may be stretched in the first direction and the second direction through pixel interpolation. Stretching the sensor image through pixel interpolation can get a more detailed target image and increase the infrared information contained in the target image.
示例性的,可以通过cubic插值、滤波器插值、高斯插值、双线性插值等方法对传感器图像进行拉伸处理。Exemplarily, the sensor image may be stretched through methods such as cubic interpolation, filter interpolation, Gaussian interpolation, bilinear interpolation, and the like.
在一些实施方式中,所述第一压缩比例与所述第一方向上拉伸比例的比值等于所述第二压缩比例与所述第二方向上拉伸比例的比值。以保证目标图像在第一方向和第二方向上的比例与真实的被拍摄物体一致。In some embodiments, the ratio of the first compression ratio to the stretching ratio in the first direction is equal to the ratio of the second compression ratio to the stretching ratio in the second direction. To ensure that the ratio of the target image in the first direction and the second direction is consistent with the real object being photographed.
示例性的,若第一压缩比例为三倍压缩,第二压缩比例为一倍压缩,若传感器图像的长、宽之比为1:1,则传感器图像在第一方向上的视角为第二方向上视角的三倍。在S120对传感器图像进行拉伸时,如果第二方向上的拉伸比例 为一倍拉伸,则第一方向上的拉伸比例为三倍拉伸。Exemplarily, if the first compression ratio is triple compression, and the second compression ratio is double compression, if the ratio of length to width of the sensor image is 1:1, the viewing angle of the sensor image in the first direction is the second Three times the viewing angle in the direction. When the sensor image is stretched in S120, if the stretch ratio in the second direction is one-fold stretch, the stretch ratio in the first direction is three-fold stretch.
可以理解的,所述第一压缩比例可以等于所述第一方向上的拉伸比例。此时目标图像在第一方向和第二方向上的比例与真实的被拍摄物体完全一致。It can be understood that the first compression ratio may be equal to the stretching ratio in the first direction. At this time, the ratio of the target image in the first direction and the second direction is completely consistent with the real object being photographed.
在一些实施方式中,所述方法还包括:对所述传感器图像进行预处理,得到预处理后的传感器图像。In some embodiments, the method further includes: preprocessing the sensor image to obtain a preprocessed sensor image.
示例性的,可以通过预处理对传感器图像的数据进行矫正和/或去除瑕疵,例如可以得到更干净、更平滑的传感器图像,减少噪声的影响。Exemplarily, the data of the sensor image can be rectified and/or defects can be removed through preprocessing, for example, a cleaner and smoother sensor image can be obtained, and the influence of noise can be reduced.
示例性的,所述预处理包括以下至少一种:响应率矫正处理、偏置矫正处理、坏点去除处理、噪声去除处理。当然也可以采用其他数据处理方法进行预处理。Exemplarily, the preprocessing includes at least one of the following: response rate correction processing, offset correction processing, dead pixel removal processing, and noise removal processing. Of course, other data processing methods can also be used for preprocessing.
示例性的,步骤S120根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,包括:根据所述第一压缩比例对预处理后的传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对预处理后的传感器图像在所述第二方向上进行拉伸,得到目标图像。对经过预处理的传感器图像进行拉伸得到的目标图像可以更精确的体现被拍摄物体的红外信息。Exemplarily, step S120 stretches the sensor image in the first direction according to the first compression ratio, and stretches the sensor image in the second direction according to the second compression ratio. Stretching to obtain the target image includes: stretching the preprocessed sensor image in the first direction according to the first compression ratio, and performing the preprocessing on the preprocessed sensor image according to the second compression ratio. Stretching is performed in the second direction to obtain a target image. The target image obtained by stretching the preprocessed sensor image can more accurately reflect the infrared information of the object being photographed.
在一些实施方式中,所述方法还包括:对所述目标图像进行以下处理中的至少一项:全局直方图拉伸、局部直方图拉伸、细节增强、伪彩映射。In some embodiments, the method further includes: performing at least one of the following processing on the target image: global histogram stretching, local histogram stretching, detail enhancement, and pseudo-color mapping.
示例性的,对红外成像的目标图像进行直方图统计和概率密度函数累加,在给定阈值的条件下完成目标图像的直方图拉伸,生成基体图,可以提高目标图像的整体对比度。Exemplarily, performing histogram statistics and probability density function accumulation on an infrared imaging target image, completing the histogram stretching of the target image under a given threshold, and generating a matrix image can improve the overall contrast of the target image.
示例性的,可以利用梯度滤波算子对目标图像进行滤波处理,提取目标图像的细节信息并进行直方图统计拉伸,生成细节图。Exemplarily, a gradient filter operator may be used to filter the target image, extract detailed information of the target image, and perform statistical stretching of the histogram to generate a detailed map.
示例性的,还可以对基体图和细节图进行伽马变换,将基体图和细节图以加权的方式进行求和,生成细节增强的目标图像。Exemplarily, gamma transformation may be performed on the base image and the detail image, and the base image and the detail image may be summed in a weighted manner to generate a target image with enhanced detail.
示例性的,对目标图像进行伪彩色处理,可以得到伪彩色的图像。伪彩色的图像可以提高图像的温度表示的能力。Exemplarily, pseudo-color processing is performed on the target image to obtain a pseudo-color image. Pseudo-color images can improve the ability of the image's temperature representation.
在一些实施方式中,所述方法还包括:根据所述目标图像输出伪彩色的图像进行显示。In some embodiments, the method further includes: outputting a pseudo-color image for display according to the target image.
示例性的,图像处理系统20可以搭载显示设备,可以通过显示设备显示伪 彩色的图像。或者图像处理系统20还可以将伪彩映射后的红外图像传输给其他设备,例如终端进行显示。Exemplarily, the image processing system 20 may be equipped with a display device, and a pseudo-color image may be displayed through the display device. Or the image processing system 20 may also transmit the infrared image after the pseudo-color mapping to other devices, such as a terminal, for display.
伪彩色的图像可以提高图像的温度表示的能力,例如能够使得工程人员通过观察温度高低差别,快速、准确地判断被拍摄物体,如输电线路等潜在的问题,及时地采取措施,降低被拍摄物体发生故障而导致的危害和损失。由于目标图像在一方向上具有更宽的视角,所以可以更全面的观察被拍摄物体;而且标图像在另一方向上具有较高的精度,伪彩色的图像可以保留足够多的温度细节。Pseudo-color images can improve the ability of image temperature representation. For example, engineers can quickly and accurately determine the potential problems of the photographed objects, such as power transmission lines, by observing the temperature difference, and take timely measures to reduce the photographed objects. Damage and loss caused by failure. Because the target image has a wider angle of view in one direction, the object can be observed more comprehensively; and the target image has higher accuracy in the other direction, and the pseudo-color image can retain enough temperature details.
在一些实施方式中,所述方法还包括:根据所述目标图像确定所述目标图像中物体的温度信息。基于红外图像传感器感应的传感器图像包含被拍摄景物的在相应温度时辐射出的红外线的强度,可以根据传感器图像拉伸得到的目标图像,确定被拍摄景物的温度信息。可选的,还可以将图像中的温度信息传输给其他设备进行显示。In some embodiments, the method further includes: determining temperature information of an object in the target image according to the target image. The sensor image sensed by the infrared image sensor contains the intensity of the infrared rays radiated by the photographed scene at a corresponding temperature, and the temperature information of the photographed scene can be determined according to the target image obtained by stretching the sensor image. Optionally, the temperature information in the image can also be transmitted to other devices for display.
示例性的,可以根据目标图像中若干像素对应的温度确定物体的温度信息。例如在目标图像中确定多个像素各自的温度,求取的平均值可以确定为物体的温度信息。Exemplarily, the temperature information of the object may be determined according to the temperature corresponding to several pixels in the target image. For example, the temperature of a plurality of pixels is determined in the target image, and the average value obtained can be determined as the temperature information of the object.
示例性的,物体的温度信息可以包括物体的温度分布,例如某一区域温度明显高于其他区域。Exemplarily, the temperature information of the object may include the temperature distribution of the object, for example, the temperature of a certain area is significantly higher than that of other areas.
示例性的,物体的温度信息还可以包括物体温度随时间的变化趋势等。Exemplarily, the temperature information of the object may also include the change trend of the temperature of the object over time.
在一些实施方式中,所述方法还包括:根据所述物体的温度信息执行预设任务。In some embodiments, the method further includes: executing a preset task according to the temperature information of the object.
示例性的,可以在物体的温度过高、温度不均匀、温度持续升高等情况时发出告警信号,例如控制指示灯亮、扬声器发出响声等。Exemplarily, an alarm signal can be issued when the temperature of the object is too high, the temperature is uneven, or the temperature continues to rise, for example, the control indicator light is on, the speaker makes a sound, and so on.
示例性的,可以确定目标图像中最高温度点的第一坐标,根据所述最高温度点的第一坐标及目标图像中目标位置的坐标,确定搭载所述拍摄装置的云台的旋转角度,根据所述旋转角度,控制所述云台旋转以调整当前时刻目标图像中最高温度点位于所述目标位置。因此可以实现自动跟踪最高温度点拍摄,无论最高温度点如何变化,最高温度点将处于目标图像中的目标位置,便于使用者观察最高温度点。Exemplarily, the first coordinates of the highest temperature point in the target image can be determined, and the rotation angle of the pan/tilt equipped with the camera can be determined according to the first coordinates of the highest temperature point and the coordinates of the target position in the target image, according to The rotation angle controls the rotation of the pan-tilt to adjust the highest temperature point in the target image at the current moment to be located at the target position. Therefore, it is possible to automatically track the highest temperature point and shoot, no matter how the highest temperature point changes, the highest temperature point will be at the target position in the target image, which is convenient for the user to observe the highest temperature point.
由于目标图像在一方向上具有更宽的视角范围,可以观测更大范围的温度, 从而可以提高测温的准确性和执行预设任务的可靠性。Since the target image has a wider viewing angle in one direction, a wider range of temperature can be observed, thereby improving the accuracy of temperature measurement and the reliability of performing preset tasks.
本说明书实施例提供的图像处理系统和图像处理方法,通过采用在第一方向上的第一压缩比例大于第二方向上的第二压缩比例的红外变形镜头组件,使得红外图像传感器可以感应在第一方向上具有更宽视角范围的红外传感器图像,通过对该红外传感器图像进行拉伸使得目标图像在第一方向和第二方向上的比例能够与真实的被拍摄物体一致,因此可以充分的利用镜头、红外图像传感器的能力,实现对更宽的范围进行红外成像或测温。The image processing system and image processing method provided by the embodiments of this specification adopt an infrared anamorphic lens assembly whose first compression ratio in the first direction is greater than the second compression ratio in the second direction, so that the infrared image sensor can sense in the first direction. An infrared sensor image with a wider viewing angle in one direction. By stretching the infrared sensor image, the ratio of the target image in the first direction and the second direction can be consistent with the real object, so it can be fully utilized The ability of the lens and infrared image sensor to realize infrared imaging or temperature measurement in a wider range.
请结合上述实施例参阅图6,图6是本说明书一实施例提供的拍摄装置600的示意性框图。Please refer to FIG. 6 in conjunction with the foregoing embodiment. FIG. 6 is a schematic block diagram of a photographing device 600 according to an embodiment of the present specification.
如图6所示,该拍摄装置600包括红外变形镜头组件610和红外图像传感器620,红外变形镜头组件610在第一方向上的第一压缩比例大于红外变形镜头组件610在第二方向上的第二压缩比例。As shown in FIG. 6, the photographing device 600 includes an infrared anamorphic lens assembly 610 and an infrared image sensor 620. The first compression ratio of the infrared anamorphic lens assembly 610 in the first direction is greater than the first compression ratio of the infrared anamorphic lens assembly 610 in the second direction. 2. Compression ratio.
该拍摄装置600还包括一个或多个处理器630,一个或多个处理器630可单独地或共同地工作,用于执行前述实施例的图像处理方法的步骤。The photographing device 600 further includes one or more processors 630, and the one or more processors 630 can work individually or together to execute the steps of the image processing method of the foregoing embodiment.
示例性的,处理器630用于:Exemplarily, the processor 630 is used for:
获取所述红外图像传感器感应的传感器图像;Acquiring a sensor image sensed by the infrared image sensor;
根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,所述第一方向上的拉伸比例大于所述第二方向上的拉伸比例。Stretch the sensor image in the first direction according to the first compression ratio, and stretch the sensor image in the second direction according to the second compression ratio to obtain a target image , The stretching ratio in the first direction is greater than the stretching ratio in the second direction.
示例性的,所述拍摄装置600应用于对所述第一方向的视角范围需求大于对所述第二方向的视角范围需求的场景。Exemplarily, the photographing device 600 is applied to a scene where the requirement for the viewing angle range in the first direction is greater than the requirement for the viewing angle range in the second direction.
示例性的,所述第一压缩比例大于1。Exemplarily, the first compression ratio is greater than one.
示例性的,所述第一方向和所述第二方向的夹角大于30度且小于120度。Exemplarily, the included angle between the first direction and the second direction is greater than 30 degrees and less than 120 degrees.
示例性的,所述第一方向和所述第二方向垂直。Exemplarily, the first direction and the second direction are perpendicular.
示例性的,所述第一方向为水平方向,所述第二方向为垂直方向。Exemplarily, the first direction is a horizontal direction, and the second direction is a vertical direction.
示例性的,所述传感器图像在所述第一方向上的视角大于所述传感器图像在所述第二方向上的视角。Exemplarily, the viewing angle of the sensor image in the first direction is greater than the viewing angle of the sensor image in the second direction.
示例性的,通过像素插值对所述传感器图像在所述第一方向和所述第二方向上进行拉伸处理。Exemplarily, the sensor image is stretched in the first direction and the second direction through pixel interpolation.
示例性的,所述第一压缩比例与所述第一方向上拉伸比例的比值等于所述 第二压缩比例与所述第二方向上拉伸比例的比值。Exemplarily, the ratio of the first compression ratio to the stretching ratio in the first direction is equal to the ratio of the second compression ratio to the stretching ratio in the second direction.
示例性的,所述第一压缩比例等于所述第一方向上的拉伸比例。Exemplarily, the first compression ratio is equal to the stretching ratio in the first direction.
示例性的,所述处理器630还用于执行如下步骤:对所述传感器图像进行预处理,得到预处理后的传感器图像。Exemplarily, the processor 630 is further configured to perform the following steps: preprocessing the sensor image to obtain a preprocessed sensor image.
所述根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,包括:The stretching of the sensor image in the first direction according to the first compression ratio, and the stretching of the sensor image in the second direction according to the second compression ratio, to obtain Target image, including:
根据所述第一压缩比例对预处理后的传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对预处理后的传感器图像在所述第二方向上进行拉伸,得到目标图像。Stretch the preprocessed sensor image in the first direction according to the first compression ratio, and stretch the preprocessed sensor image in the second direction according to the second compression ratio , Get the target image.
示例性的,所述预处理包括以下至少一种:Exemplarily, the preprocessing includes at least one of the following:
响应率矫正处理、偏置矫正处理、坏点去除处理、噪声去除处理。Response rate correction processing, offset correction processing, dead pixel removal processing, noise removal processing.
示例性的,所述红外变形镜头组件包括红外变形透镜,所述红外变形透镜在所述第一方向上的第一压缩比例大于所述红外变形透镜在所述第二方向上的第二压缩比例。Exemplarily, the infrared anamorphic lens assembly includes an infrared anamorphic lens, and a first compression ratio of the infrared anamorphic lens in the first direction is greater than a second compression ratio of the infrared anamorphic lens in the second direction .
示例性的,所述红外变形镜头组件包括红外透镜和变形透镜,所述变形透镜在所述第一方向上的第一压缩比例大于所述变形透镜在所述第二方向上的第二压缩比例。Exemplarily, the infrared anamorphic lens assembly includes an infrared lens and an anamorphic lens, and a first compression ratio of the anamorphic lens in the first direction is greater than a second compression ratio of the anamorphic lens in the second direction .
示例性的,所述处理器630还用于执行如下步骤:Exemplarily, the processor 630 is further configured to execute the following steps:
根据所述目标图像输出伪彩色的图像进行显示。According to the target image, a pseudo-color image is output for display.
示例性的,所述处理器630还用于执行如下步骤:Exemplarily, the processor 630 is further configured to execute the following steps:
对所述目标图像进行以下处理中的至少一项:Perform at least one of the following processing on the target image:
全局直方图拉伸、局部直方图拉伸、细节增强、伪彩映射。Global histogram stretching, local histogram stretching, detail enhancement, false color mapping.
示例性的,所述处理器630还用于执行如下步骤:Exemplarily, the processor 630 is further configured to execute the following steps:
根据所述目标图像确定所述目标图像中物体的温度信息。The temperature information of the object in the target image is determined according to the target image.
示例性的,所述处理器630还用于执行如下步骤:Exemplarily, the processor 630 is further configured to execute the following steps:
根据所述物体的温度信息执行预设任务。Perform a preset task according to the temperature information of the object.
示例性的,所述拍摄装置600包括如下至少一种:相机、手机、电脑、热成像设备、红外测温设备等。Exemplarily, the photographing device 600 includes at least one of the following: a camera, a mobile phone, a computer, a thermal imaging device, an infrared temperature measuring device, and the like.
本说明书实施例提供的拍摄装置的具体原理和实现方式均与前述实施例的 图像处理方法类似,此处不再赘述。The specific principles and implementation of the photographing device provided in the embodiment of this specification are similar to the image processing method of the foregoing embodiment, and will not be repeated here.
请参阅图7,图7是本说明书一实施例提供的可移动平台700的示意性框图。该可移动平台700能够搭载拍摄装置800。Please refer to FIG. 7, which is a schematic block diagram of a movable platform 700 according to an embodiment of the present specification. The movable platform 700 can be equipped with a camera 800.
可以理解的,拍摄装置800与可移动平台700一体设置,或者拍摄装置800能够可拆卸的连接于可移动平台700。It can be understood that the camera 800 and the movable platform 700 are integrally provided, or the camera 800 can be detachably connected to the movable platform 700.
具体的,拍摄装置800包括红外变形镜头组件810和红外图像传感器820,红外变形镜头组件810在第一方向上的第一压缩比例大于红外变形镜头组件810在第二方向上的第二压缩比例。Specifically, the photographing device 800 includes an infrared anamorphic lens assembly 810 and an infrared image sensor 820. A first compression ratio of the infrared anamorphic lens assembly 810 in a first direction is greater than a second compression ratio of the infrared anamorphic lens assembly 810 in a second direction.
如图7所示,可移动平台700还包括一个或多个处理器701,一个或多个处理器701可单独地或共同地工作,用于执行前述实施例的图像处理方法的步骤。As shown in FIG. 7, the movable platform 700 further includes one or more processors 701, and the one or more processors 701 can work individually or collectively to execute the steps of the image processing method of the foregoing embodiment.
示例性的,拍摄装置800与可移动平台700一体设置时,可以仅在拍摄装置800上设有处理器701、仅在可移动平台700上设有处理器701,或者可以在拍摄装置800和可移动平台700上均设有处理器701。Exemplarily, when the photographing device 800 and the movable platform 700 are integrated, the processor 701 may be provided on the photographing device 800 only, the processor 701 may be provided on the movable platform 700 only, or the photographing device 800 and the movable platform 700 may be provided with the processor 701. A processor 701 is provided on the mobile platform 700.
示例性的,处理器701用于:Exemplarily, the processor 701 is used to:
获取所述红外图像传感器感应的传感器图像;Acquiring a sensor image sensed by the infrared image sensor;
根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,所述第一方向上的拉伸比例大于所述第二方向上的拉伸比例。Stretch the sensor image in the first direction according to the first compression ratio, and stretch the sensor image in the second direction according to the second compression ratio to obtain a target image , The stretching ratio in the first direction is greater than the stretching ratio in the second direction.
示例性的,所述可移动平台700应用于对所述第一方向的视角范围需求大于对所述第二方向的视角范围需求的场景。Exemplarily, the movable platform 700 is applied to a scene where the requirement for the viewing angle range in the first direction is greater than the requirement for the viewing angle range in the second direction.
示例性的,所述第一压缩比例大于1。Exemplarily, the first compression ratio is greater than one.
示例性的,所述第一方向和所述第二方向的夹角大于30度且小于120度。Exemplarily, the included angle between the first direction and the second direction is greater than 30 degrees and less than 120 degrees.
示例性的,所述第一方向和所述第二方向垂直。Exemplarily, the first direction and the second direction are perpendicular.
示例性的,所述第一方向为水平方向,所述第二方向为垂直方向。Exemplarily, the first direction is a horizontal direction, and the second direction is a vertical direction.
示例性的,所述传感器图像在所述第一方向上的视角大于所述传感器图像在所述第二方向上的视角。Exemplarily, the viewing angle of the sensor image in the first direction is greater than the viewing angle of the sensor image in the second direction.
示例性的,通过像素插值对所述传感器图像在所述第一方向和所述第二方向上进行拉伸处理。Exemplarily, the sensor image is stretched in the first direction and the second direction through pixel interpolation.
示例性的,所述第一压缩比例与所述第一方向上拉伸比例的比值等于所述 第二压缩比例与所述第二方向上拉伸比例的比值。Exemplarily, the ratio of the first compression ratio to the stretching ratio in the first direction is equal to the ratio of the second compression ratio to the stretching ratio in the second direction.
示例性的,所述第一压缩比例等于所述第一方向上的拉伸比例。Exemplarily, the first compression ratio is equal to the stretching ratio in the first direction.
示例性的,所述处理器701还用于执行如下步骤:对所述传感器图像进行预处理,得到预处理后的传感器图像。Exemplarily, the processor 701 is further configured to perform the following steps: preprocessing the sensor image to obtain a preprocessed sensor image.
所述根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,包括:The stretching of the sensor image in the first direction according to the first compression ratio, and the stretching of the sensor image in the second direction according to the second compression ratio, to obtain Target image, including:
根据所述第一压缩比例对预处理后的传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对预处理后的传感器图像在所述第二方向上进行拉伸,得到目标图像。Stretch the preprocessed sensor image in the first direction according to the first compression ratio, and stretch the preprocessed sensor image in the second direction according to the second compression ratio , Get the target image.
示例性的,所述预处理包括以下至少一种:Exemplarily, the preprocessing includes at least one of the following:
响应率矫正处理、偏置矫正处理、坏点去除处理、噪声去除处理。Response rate correction processing, offset correction processing, dead pixel removal processing, noise removal processing.
示例性的,所述红外变形镜头组件包括红外变形透镜,所述红外变形透镜在所述第一方向上的第一压缩比例大于所述红外变形透镜在所述第二方向上的第二压缩比例。Exemplarily, the infrared anamorphic lens assembly includes an infrared anamorphic lens, and a first compression ratio of the infrared anamorphic lens in the first direction is greater than a second compression ratio of the infrared anamorphic lens in the second direction .
示例性的,所述红外变形镜头组件包括红外透镜和变形透镜,所述变形透镜在所述第一方向上的第一压缩比例大于所述变形透镜在所述第二方向上的第二压缩比例。Exemplarily, the infrared anamorphic lens assembly includes an infrared lens and an anamorphic lens, and a first compression ratio of the anamorphic lens in the first direction is greater than a second compression ratio of the anamorphic lens in the second direction .
示例性的,所述处理器701还用于执行如下步骤:Exemplarily, the processor 701 is further configured to execute the following steps:
根据所述目标图像输出伪彩色的图像进行显示。According to the target image, a pseudo-color image is output for display.
示例性的,所述处理器701还用于执行如下步骤:Exemplarily, the processor 701 is further configured to execute the following steps:
对所述目标图像进行以下处理中的至少一项:Perform at least one of the following processing on the target image:
全局直方图拉伸、局部直方图拉伸、细节增强、伪彩映射。Global histogram stretching, local histogram stretching, detail enhancement, false color mapping.
示例性的,所述处理器701还用于执行如下步骤:Exemplarily, the processor 701 is further configured to execute the following steps:
根据所述目标图像确定所述目标图像中物体的温度信息。The temperature information of the object in the target image is determined according to the target image.
示例性的,所述处理器701还用于执行如下步骤:Exemplarily, the processor 701 is further configured to execute the following steps:
根据所述物体的温度信息执行预设任务。Perform a preset task according to the temperature information of the object.
示例性的,可移动平台700包括如下至少一种:云台、无人飞行器、无人驾驶车辆或无人驾驶船艇等。Exemplarily, the movable platform 700 includes at least one of the following: a cloud platform, an unmanned aerial vehicle, an unmanned vehicle, or an unmanned boat.
本说明书实施例提供的可移动平台的具体原理和实现方式均与前述实施例 的图像处理方法类似,此处不再赘述。The specific principles and implementation of the movable platform provided in the embodiments of this specification are similar to the image processing methods of the foregoing embodiments, and will not be repeated here.
示例性的,如图8所示,可移动平台700通过搭载的摄像装置800实时获取红外图像传感器820感应的传感器图像,并根据图像处理方法对传感器图像进行处理;然后将处理后的图像,如输出伪彩色的图像发送给与可移动平台700通信连接的终端设备900。终端设备900例如可以为手机、电脑、FPV(First Person View,第一人称主视角)眼镜等。终端设备900包括的显示装置910可以显示从可移动平台700接收的图像,以供用户观看。Exemplarily, as shown in FIG. 8, the movable platform 700 obtains the sensor image sensed by the infrared image sensor 820 in real time through the mounted camera device 800, and processes the sensor image according to the image processing method; then, the processed image is, for example, The pseudo-color output image is sent to the terminal device 900 that is communicatively connected with the movable platform 700. The terminal device 900 may be, for example, a mobile phone, a computer, FPV (First Person View, First Person View) glasses, and the like. The display device 910 included in the terminal device 900 can display the image received from the movable platform 700 for the user to view.
本说明书实施例提供的拍摄装置和可移动平台,通过采用在第一方向上的第一压缩比例大于第二方向上的第二压缩比例的红外变形镜头组件,使得红外图像传感器可以感应在第一方向上具有更宽视角范围的红外传感器图像,通过对该红外传感器图像进行拉伸使得目标图像在第一方向和第二方向上的比例能够与真实的被拍摄物体一致,因此可以充分的利用镜头、红外图像传感器的能力,实现对更宽的范围进行红外成像或测温。The photographing device and the movable platform provided in the embodiments of this specification adopt an infrared anamorphic lens assembly with a first compression ratio in the first direction greater than the second compression ratio in the second direction, so that the infrared image sensor can sense in the first direction. An infrared sensor image with a wider viewing angle in the direction. By stretching the infrared sensor image, the ratio of the target image in the first direction and the second direction can be consistent with the real object, so the lens can be fully utilized , The ability of infrared image sensor to realize infrared imaging or temperature measurement in a wider range.
本说明书的实施例中还提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现前述实施例的图像处理方法。The embodiments of this specification also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the image processing method of the foregoing embodiment is implemented.
就本说明书而言,所述计算机可读介质可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。As far as this specification is concerned, the computer-readable medium can be any device that can contain, store, communicate, propagate, or transmit a program for use by the instruction execution system, device, or device or in combination with these instruction execution systems, devices, or devices. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) with one or more wiring, portable computer disk cases (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable and editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because it can be used, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable media if necessary. The program is processed in a manner to obtain the program electronically, and then stored in the computer memory.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。For the device embodiment, since it basically corresponds to the method embodiment, the relevant part can refer to the part of the description of the method embodiment.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也 可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. Those of ordinary skill in the art can understand and implement it without creative work.
应当理解,在此本说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本说明书。It should be understood that the terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit the specification.
还应当理解,在本说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
以上所述,仅为本说明书的具体实施方式,但本说明书的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本说明书揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本说明书的保护范围之内。因此,本说明书的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this specification, but the protection scope of this specification is not limited to this. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in this specification. Modifications or replacements, these modifications or replacements shall be covered within the protection scope of this manual. Therefore, the protection scope of this specification should be subject to the protection scope of the claims.

Claims (56)

  1. 一种图像处理方法,其特征在于,用于图像处理系统,所述图像处理系统包括红外变形镜头组件和红外图像传感器,所述红外变形镜头组件在第一方向上的第一压缩比例大于所述红外变形镜头组件在第二方向上的第二压缩比例;An image processing method, characterized in that it is used in an image processing system. The image processing system includes an infrared anamorphic lens assembly and an infrared image sensor. The infrared anamorphic lens assembly has a first compression ratio in a first direction greater than that of the The second compression ratio of the infrared anamorphic lens assembly in the second direction;
    所述方法包括:The method includes:
    获取所述红外图像传感器感应的传感器图像;Acquiring a sensor image sensed by the infrared image sensor;
    根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,所述第一方向上的拉伸比例大于所述第二方向上的拉伸比例。Stretch the sensor image in the first direction according to the first compression ratio, and stretch the sensor image in the second direction according to the second compression ratio to obtain a target image , The stretching ratio in the first direction is greater than the stretching ratio in the second direction.
  2. 根据权利要求1所述的方法,其特征在于,所述方法应用于对所述第一方向的视角范围需求大于对所述第二方向的视角范围需求的场景。The method according to claim 1, wherein the method is applied to a scene in which a requirement for a viewing angle range in the first direction is greater than a requirement for a viewing angle range in the second direction.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一压缩比例大于1。The method according to claim 1 or 2, wherein the first compression ratio is greater than one.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述第一方向和所述第二方向的夹角大于30度且小于120度。The method according to any one of claims 1 to 3, wherein the angle between the first direction and the second direction is greater than 30 degrees and less than 120 degrees.
  5. 根据权利要求4所述的方法,其特征在于,所述第一方向和所述第二方向垂直。The method of claim 4, wherein the first direction and the second direction are perpendicular.
  6. 根据权利要求5所述的方法,其特征在于,所述第一方向为水平方向,所述第二方向为垂直方向。The method according to claim 5, wherein the first direction is a horizontal direction, and the second direction is a vertical direction.
  7. 根据权利要求1所述的方法,其特征在于,所述传感器图像在所述第一方向上的视角大于所述传感器图像在所述第二方向上的视角。The method according to claim 1, wherein the viewing angle of the sensor image in the first direction is greater than the viewing angle of the sensor image in the second direction.
  8. 根据权利要求1所述的方法,其特征在于,通过像素插值对所述传感器图像在所述第一方向和所述第二方向上进行拉伸处理。The method of claim 1, wherein the sensor image is stretched in the first direction and the second direction through pixel interpolation.
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述第一压缩比例与所述第一方向上拉伸比例的比值等于所述第二压缩比例与所述第二方向上拉伸比例的比值。The method according to any one of claims 1 to 8, wherein the ratio of the first compression ratio to the stretching ratio in the first direction is equal to the second compression ratio and the second direction The ratio of the upper stretch ratio.
  10. 根据权利要求9所述的方法,其特征在于,所述第一压缩比例等于所述第一方向上的拉伸比例。The method according to claim 9, wherein the first compression ratio is equal to the stretching ratio in the first direction.
  11. 根据权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:对所述传感器图像进行预处理,得到预处理后的传感器图像;The method according to any one of claims 1 to 8, wherein the method further comprises: preprocessing the sensor image to obtain a preprocessed sensor image;
    所述根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,包括:The stretching of the sensor image in the first direction according to the first compression ratio, and the stretching of the sensor image in the second direction according to the second compression ratio, to obtain Target image, including:
    根据所述第一压缩比例对预处理后的传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对预处理后的传感器图像在所述第二方向上进行拉伸,得到目标图像。Stretch the preprocessed sensor image in the first direction according to the first compression ratio, and stretch the preprocessed sensor image in the second direction according to the second compression ratio , Get the target image.
  12. 根据权利要求11所述的方法,其特征在于,所述预处理包括以下至少一种:The method according to claim 11, wherein the preprocessing comprises at least one of the following:
    响应率矫正处理、偏置矫正处理、坏点去除处理、噪声去除处理。Response rate correction processing, offset correction processing, dead pixel removal processing, noise removal processing.
  13. 根据权利要求1至12中任一项所述的方法,其特征在于,所述红外变形镜头组件包括红外变形透镜,所述红外变形透镜在所述第一方向上的第一压缩比例大于所述红外变形透镜在所述第二方向上的第二压缩比例。The method according to any one of claims 1 to 12, wherein the infrared anamorphic lens assembly comprises an infrared anamorphic lens, and a first compression ratio of the infrared anamorphic lens in the first direction is greater than that of the infrared anamorphic lens. The second compression ratio of the infrared anamorphic lens in the second direction.
  14. 根据权利要求1至12中任一项所述的方法,其特征在于,所述红外变形镜头组件包括红外透镜和变形透镜,所述变形透镜在所述第一方向上的第一压缩比例大于所述变形透镜在所述第二方向上的第二压缩比例。The method according to any one of claims 1 to 12, wherein the infrared anamorphic lens assembly comprises an infrared lens and an anamorphic lens, and a first compression ratio of the anamorphic lens in the first direction is greater than that of the anamorphic lens. The second compression ratio of the anamorphic lens in the second direction.
  15. 根据权利要求1至14中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 14, wherein the method further comprises:
    根据所述目标图像输出伪彩色的图像进行显示。According to the target image, a pseudo-color image is output for display.
  16. 根据权利要求1至14中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 14, wherein the method further comprises:
    对所述目标图像进行以下处理中的至少一项:Perform at least one of the following processing on the target image:
    全局直方图拉伸、局部直方图拉伸、细节增强、伪彩映射。Global histogram stretching, local histogram stretching, detail enhancement, false color mapping.
  17. 根据权利要求1至14中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 14, wherein the method further comprises:
    根据所述目标图像确定所述目标图像中物体的温度信息。The temperature information of the object in the target image is determined according to the target image.
  18. 根据权利要求17所述的方法,其特征在于,所述方法还包括:The method according to claim 17, wherein the method further comprises:
    根据所述物体的温度信息执行预设任务。Perform a preset task according to the temperature information of the object.
  19. 一种拍摄装置,其特征在于,所述拍摄装置包括红外变形镜头组件和红 外图像传感器,所述红外变形镜头组件在第一方向上的第一压缩比例大于所述红外变形镜头组件在第二方向上的第二压缩比例;A photographing device, characterized in that the photographing device comprises an infrared anamorphic lens assembly and an infrared image sensor, and a first compression ratio of the infrared anamorphic lens assembly in a first direction is greater than that of the infrared anamorphic lens assembly in a second direction The second compression ratio on
    所述拍摄装置还包括一个或多个处理器,单独地或共同地工作,用于执行如下步骤:The photographing device also includes one or more processors, which work individually or collectively, and are used to perform the following steps:
    获取所述红外图像传感器感应的传感器图像;Acquiring a sensor image sensed by the infrared image sensor;
    根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,所述第一方向上的拉伸比例大于所述第二方向上的拉伸比例。Stretch the sensor image in the first direction according to the first compression ratio, and stretch the sensor image in the second direction according to the second compression ratio to obtain a target image , The stretching ratio in the first direction is greater than the stretching ratio in the second direction.
  20. 根据权利要求19所述的拍摄装置,其特征在于,所述拍摄装置应用于对所述第一方向的视角范围需求大于对所述第二方向的视角范围需求的场景。22. The photographing device according to claim 19, wherein the photographing device is applied to a scene where a requirement for a viewing angle range in the first direction is greater than a requirement for a viewing angle range in the second direction.
  21. 根据权利要求19或20所述的拍摄装置,其特征在于,所述第一压缩比例大于1。The photographing device according to claim 19 or 20, wherein the first compression ratio is greater than one.
  22. 根据权利要求19至21中任一项所述的拍摄装置,其特征在于,所述第一方向和所述第二方向的夹角大于30度且小于120度。The photographing device according to any one of claims 19 to 21, wherein the angle between the first direction and the second direction is greater than 30 degrees and less than 120 degrees.
  23. 根据权利要求22所述的拍摄装置,其特征在于,所述第一方向和所述第二方向垂直。The photographing device according to claim 22, wherein the first direction and the second direction are perpendicular.
  24. 根据权利要求23所述的拍摄装置,其特征在于,所述第一方向为水平方向,所述第二方向为垂直方向。The photographing device according to claim 23, wherein the first direction is a horizontal direction, and the second direction is a vertical direction.
  25. 根据权利要求19所述的拍摄装置,其特征在于,所述传感器图像在所述第一方向上的视角大于所述传感器图像在所述第二方向上的视角。The photographing device according to claim 19, wherein the viewing angle of the sensor image in the first direction is greater than the viewing angle of the sensor image in the second direction.
  26. 根据权利要求19所述的拍摄装置,其特征在于,通过像素插值对所述传感器图像在所述第一方向和所述第二方向上进行拉伸处理。The photographing device according to claim 19, wherein the sensor image is stretched in the first direction and the second direction through pixel interpolation.
  27. 根据权利要求19至26中任一项所述的拍摄装置,其特征在于,所述第一压缩比例与所述第一方向上拉伸比例的比值等于所述第二压缩比例与所述第二方向上拉伸比例的比值。The photographing device according to any one of claims 19 to 26, wherein the ratio of the first compression ratio to the stretching ratio in the first direction is equal to the second compression ratio and the second compression ratio. The ratio of the stretch ratio in the direction.
  28. 根据权利要求27所述的拍摄装置,其特征在于,所述第一压缩比例等于所述第一方向上的拉伸比例。The photographing device according to claim 27, wherein the first compression ratio is equal to the stretching ratio in the first direction.
  29. 根据权利要求19至26中任一项所述的拍摄装置,其特征在于,所述处理器还用于执行如下步骤:对所述传感器图像进行预处理,得到预处理后的传感器图像;The photographing device according to any one of claims 19 to 26, wherein the processor is further configured to perform the following steps: preprocessing the sensor image to obtain a preprocessed sensor image;
    所述根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,包括:The stretching of the sensor image in the first direction according to the first compression ratio, and the stretching of the sensor image in the second direction according to the second compression ratio, to obtain Target image, including:
    根据所述第一压缩比例对预处理后的传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对预处理后的传感器图像在所述第二方向上进行拉伸,得到目标图像。Stretch the preprocessed sensor image in the first direction according to the first compression ratio, and stretch the preprocessed sensor image in the second direction according to the second compression ratio , Get the target image.
  30. 根据权利要求29所述的拍摄装置,其特征在于,所述预处理包括以下至少一种:The photographing device according to claim 29, wherein the preprocessing comprises at least one of the following:
    响应率矫正处理、偏置矫正处理、坏点去除处理、噪声去除处理。Response rate correction processing, offset correction processing, dead pixel removal processing, noise removal processing.
  31. 根据权利要求19至30中任一项所述的拍摄装置,其特征在于,所述红外变形镜头组件包括红外变形透镜,所述红外变形透镜在所述第一方向上的第一压缩比例大于所述红外变形透镜在所述第二方向上的第二压缩比例。The photographing device according to any one of claims 19 to 30, wherein the infrared anamorphic lens assembly comprises an infrared anamorphic lens, and the first compression ratio of the infrared anamorphic lens in the first direction is greater than that of the infrared anamorphic lens. The second compression ratio of the infrared anamorphic lens in the second direction.
  32. 根据权利要求19至30中任一项所述的拍摄装置,其特征在于,所述红外变形镜头组件包括红外透镜和变形透镜,所述变形透镜在所述第一方向上的第一压缩比例大于所述变形透镜在所述第二方向上的第二压缩比例。The photographing device according to any one of claims 19 to 30, wherein the infrared anamorphic lens assembly comprises an infrared lens and an anamorphic lens, and a first compression ratio of the anamorphic lens in the first direction is greater than The second compression ratio of the anamorphic lens in the second direction.
  33. 根据权利要求19至32中任一项所述的拍摄装置,其特征在于,所述处理器还用于执行如下步骤:The photographing device according to any one of claims 19 to 32, wherein the processor is further configured to execute the following steps:
    根据所述目标图像输出伪彩色的图像进行显示。According to the target image, a pseudo-color image is output for display.
  34. 根据权利要求19至32中任一项所述的拍摄装置,其特征在于,所述处理器还用于执行如下步骤:The photographing device according to any one of claims 19 to 32, wherein the processor is further configured to execute the following steps:
    对所述目标图像进行以下处理中的至少一项:Perform at least one of the following processing on the target image:
    全局直方图拉伸、局部直方图拉伸、细节增强、伪彩映射。Global histogram stretching, local histogram stretching, detail enhancement, false color mapping.
  35. 根据权利要求19至32中任一项所述的拍摄装置,其特征在于,所述处理器还用于执行如下步骤:The photographing device according to any one of claims 19 to 32, wherein the processor is further configured to execute the following steps:
    根据所述目标图像确定所述目标图像中物体的温度信息。The temperature information of the object in the target image is determined according to the target image.
  36. 根据权利要求35所述的拍摄装置,其特征在于,所述处理器还用于执行如下步骤:The photographing device according to claim 35, wherein the processor is further configured to execute the following steps:
    根据所述物体的温度信息执行预设任务。Perform a preset task according to the temperature information of the object.
  37. 一种可移动平台,其特征在于,搭载拍摄装置,所述拍摄装置包括红外变形镜头组件和红外图像传感器,所述红外变形镜头组件在第一方向上的第一 压缩比例大于所述红外变形镜头组件在第二方向上的第二压缩比例;A movable platform, characterized in that it is equipped with a photographing device, the photographing device includes an infrared anamorphic lens assembly and an infrared image sensor, and the first compression ratio of the infrared anamorphic lens assembly in a first direction is greater than that of the infrared anamorphic lens The second compression ratio of the component in the second direction;
    所述可移动平台还包括一个或多个处理器,单独地或共同地工作,用于执行如下步骤:The movable platform also includes one or more processors, which work individually or collectively, and are used to perform the following steps:
    获取所述红外图像传感器感应的传感器图像;Acquiring a sensor image sensed by the infrared image sensor;
    根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,所述第一方向上的拉伸比例大于所述第二方向上的拉伸比例。Stretch the sensor image in the first direction according to the first compression ratio, and stretch the sensor image in the second direction according to the second compression ratio to obtain a target image , The stretching ratio in the first direction is greater than the stretching ratio in the second direction.
  38. 根据权利要求37所述的可移动平台,其特征在于,所述可移动平台应用于对所述第一方向的视角范围需求大于对所述第二方向的视角范围需求的场景。The movable platform according to claim 37, wherein the movable platform is applied to a scene in which a requirement for a viewing angle range in the first direction is greater than a requirement for a viewing angle range in the second direction.
  39. 根据权利要求37或38所述的可移动平台,其特征在于,所述第一压缩比例大于1。The movable platform according to claim 37 or 38, wherein the first compression ratio is greater than one.
  40. 根据权利要求37至39中任一项所述的可移动平台,其特征在于,所述第一方向和所述第二方向的夹角大于30度且小于120度。The movable platform according to any one of claims 37 to 39, wherein the angle between the first direction and the second direction is greater than 30 degrees and less than 120 degrees.
  41. 根据权利要求40所述的可移动平台,其特征在于,所述第一方向和所述第二方向垂直。The movable platform of claim 40, wherein the first direction and the second direction are perpendicular.
  42. 根据权利要求41所述的可移动平台,其特征在于,所述第一方向为水平方向,所述第二方向为垂直方向。The movable platform according to claim 41, wherein the first direction is a horizontal direction, and the second direction is a vertical direction.
  43. 根据权利要求37所述的可移动平台,其特征在于,所述传感器图像在所述第一方向上的视角大于所述传感器图像在所述第二方向上的视角。The movable platform of claim 37, wherein the viewing angle of the sensor image in the first direction is larger than the viewing angle of the sensor image in the second direction.
  44. 根据权利要求37所述的可移动平台,其特征在于,通过像素插值对所述传感器图像在所述第一方向和所述第二方向上进行拉伸处理。The movable platform of claim 37, wherein the sensor image is stretched in the first direction and the second direction through pixel interpolation.
  45. 根据权利要求37至44中任一项所述的可移动平台,其特征在于,所述第一压缩比例与所述第一方向上拉伸比例的比值等于所述第二压缩比例与所述第二方向上拉伸比例的比值。The movable platform according to any one of claims 37 to 44, wherein the ratio of the first compression ratio to the stretching ratio in the first direction is equal to the second compression ratio and the first compression ratio. The ratio of the stretching ratio in the two directions.
  46. 根据权利要求45所述的可移动平台,其特征在于,所述第一压缩比例等于所述第一方向上的拉伸比例。The movable platform according to claim 45, wherein the first compression ratio is equal to the stretching ratio in the first direction.
  47. 根据权利要求37至44中任一项所述的可移动平台,其特征在于,所述处理器还用于执行如下步骤:对所述传感器图像进行预处理,得到预处理后的传感器图像;The movable platform according to any one of claims 37 to 44, wherein the processor is further configured to perform the following steps: preprocessing the sensor image to obtain a preprocessed sensor image;
    所述根据所述第一压缩比例对所述传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对所述传感器图像在所述第二方向上进行拉伸,得到目标图像,包括:The stretching of the sensor image in the first direction according to the first compression ratio, and the stretching of the sensor image in the second direction according to the second compression ratio, to obtain Target image, including:
    根据所述第一压缩比例对预处理后的传感器图像在所述第一方向上进行拉伸,以及根据所述第二压缩比例对预处理后的传感器图像在所述第二方向上进行拉伸,得到目标图像。Stretch the preprocessed sensor image in the first direction according to the first compression ratio, and stretch the preprocessed sensor image in the second direction according to the second compression ratio , Get the target image.
  48. 根据权利要求47所述的可移动平台,其特征在于,所述预处理包括以下至少一种:The movable platform according to claim 47, wherein the preprocessing comprises at least one of the following:
    响应率矫正处理、偏置矫正处理、坏点去除处理、噪声去除处理。Response rate correction processing, offset correction processing, dead pixel removal processing, noise removal processing.
  49. 根据权利要求37至48中任一项所述的可移动平台,其特征在于,所述红外变形镜头组件包括红外变形透镜,所述红外变形透镜在所述第一方向上的第一压缩比例大于所述红外变形透镜在所述第二方向上的第二压缩比例。The movable platform according to any one of claims 37 to 48, wherein the infrared anamorphic lens assembly comprises an infrared anamorphic lens, and a first compression ratio of the infrared anamorphic lens in the first direction is greater than The second compression ratio of the infrared anamorphic lens in the second direction.
  50. 根据权利要求37至48中任一项所述的可移动平台,其特征在于,所述红外变形镜头组件包括红外透镜和变形透镜,所述变形透镜在所述第一方向上的第一压缩比例大于所述变形透镜在所述第二方向上的第二压缩比例。The movable platform according to any one of claims 37 to 48, wherein the infrared anamorphic lens assembly comprises an infrared lens and an anamorphic lens, and the anamorphic lens has a first compression ratio in the first direction Greater than the second compression ratio of the anamorphic lens in the second direction.
  51. 根据权利要求37至50中任一项所述的可移动平台,其特征在于,所述处理器还用于执行如下步骤:The movable platform according to any one of claims 37 to 50, wherein the processor is further configured to execute the following steps:
    根据所述目标图像输出伪彩色的图像进行显示。According to the target image, a pseudo-color image is output for display.
  52. 根据权利要求37至50中任一项所述的可移动平台,其特征在于,所述处理器还用于执行如下步骤:The movable platform according to any one of claims 37 to 50, wherein the processor is further configured to execute the following steps:
    对所述目标图像进行以下处理中的至少一项:Perform at least one of the following processing on the target image:
    全局直方图拉伸、局部直方图拉伸、细节增强、伪彩映射。Global histogram stretching, local histogram stretching, detail enhancement, false color mapping.
  53. 根据权利要求37至50中任一项所述的可移动平台,其特征在于,所述处理器还用于执行如下步骤:The movable platform according to any one of claims 37 to 50, wherein the processor is further configured to execute the following steps:
    根据所述目标图像确定所述目标图像中物体的温度信息。The temperature information of the object in the target image is determined according to the target image.
  54. 根据权利要求53所述的可移动平台,其特征在于,所述处理器还用于执行如下步骤:The movable platform according to claim 53, wherein the processor is further configured to execute the following steps:
    根据所述物体的温度信息执行预设任务。Perform a preset task according to the temperature information of the object.
  55. 根据权利要求37至50中任一项所述的可移动平台,其特征在于,所述可移动平台包括以下至少一种:云台、无人飞行器、无人驾驶车辆或无人驾驶 船艇。The movable platform according to any one of claims 37 to 50, wherein the movable platform comprises at least one of the following: a cloud platform, an unmanned aerial vehicle, an unmanned vehicle, or an unmanned boat.
  56. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求1-18中任一项所述的图像处理方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes as described in any one of claims 1-18. The image processing method described.
PCT/CN2020/085993 2020-04-21 2020-04-21 Image processing method, camera device, movable platform and storage medium WO2021212342A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/085993 WO2021212342A1 (en) 2020-04-21 2020-04-21 Image processing method, camera device, movable platform and storage medium
CN202080005679.7A CN112956185A (en) 2020-04-21 2020-04-21 Image processing method, photographing apparatus, movable platform, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/085993 WO2021212342A1 (en) 2020-04-21 2020-04-21 Image processing method, camera device, movable platform and storage medium

Publications (1)

Publication Number Publication Date
WO2021212342A1 true WO2021212342A1 (en) 2021-10-28

Family

ID=76236225

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/085993 WO2021212342A1 (en) 2020-04-21 2020-04-21 Image processing method, camera device, movable platform and storage medium

Country Status (2)

Country Link
CN (1) CN112956185A (en)
WO (1) WO2021212342A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833164A (en) * 2009-03-10 2010-09-15 鸿富锦精密工业(深圳)有限公司 Infrared mage pickup lens
KR101127905B1 (en) * 2012-01-04 2012-03-22 국방과학연구소 An infrared camera applying optical and mechanical athermalization mechanisms
CN104364694A (en) * 2012-05-31 2015-02-18 索尼公司 Infrared optical assembly and infrared image capture device
US20160037022A1 (en) * 2014-07-31 2016-02-04 Panasonic Intellectual Property Management Co., Ltd. Imaging apparatus and imaging system
CN207557561U (en) * 2017-11-22 2018-06-29 东莞市美光达光学科技有限公司 A kind of passive infrared sensor wide-angle optics

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833164A (en) * 2009-03-10 2010-09-15 鸿富锦精密工业(深圳)有限公司 Infrared mage pickup lens
KR101127905B1 (en) * 2012-01-04 2012-03-22 국방과학연구소 An infrared camera applying optical and mechanical athermalization mechanisms
CN104364694A (en) * 2012-05-31 2015-02-18 索尼公司 Infrared optical assembly and infrared image capture device
US20160037022A1 (en) * 2014-07-31 2016-02-04 Panasonic Intellectual Property Management Co., Ltd. Imaging apparatus and imaging system
CN207557561U (en) * 2017-11-22 2018-06-29 东莞市美光达光学科技有限公司 A kind of passive infrared sensor wide-angle optics

Also Published As

Publication number Publication date
CN112956185A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
CN109167924B (en) Video imaging method, system, device and storage medium based on hybrid camera
CN109387186B (en) Surveying and mapping information acquisition method and device, electronic equipment and storage medium
US20180322658A1 (en) Camera Calibration
JP2020535758A (en) Image processing methods, devices, and devices
KR101470831B1 (en) Appatatus for image dehazing using the user controllable radical root operation
CN107024339B (en) Testing device and method for head-mounted display equipment
CN107113376A (en) A kind of image processing method, device and video camera
CN102509261A (en) Distortion correction method for fisheye lens
WO2022000300A1 (en) Image processing method, image acquisition apparatus, unmanned aerial vehicle, unmanned aerial vehicle system, and storage medium
CN102143305A (en) Image pickup method and system
US9336607B1 (en) Automatic identification of projection surfaces
CN112595496B (en) Method, device, equipment and storage medium for detecting faults of near-eye display equipment
EP2600314A1 (en) Simulation of three-dimensional (3d) cameras
CN110376725B (en) Fisheye lens system
CN110915193B (en) Image processing system, server device, image processing method, and recording medium
WO2021212342A1 (en) Image processing method, camera device, movable platform and storage medium
CN109883414B (en) Vehicle navigation method and device, electronic equipment and storage medium
JP7021036B2 (en) Electronic devices and notification methods
US10497100B2 (en) Image cancellation from video
WO2022126430A1 (en) Auxiliary focusing method, apparatus and system
CN110581977A (en) video image output method and device and three-eye camera
US20210072518A1 (en) Omnidirectional catadioptric lens with odd aspheric contour or multi-lens
CN106643665A (en) Camera shooting and measuring apparatus with converted light path based on reflector
WO2021134715A1 (en) Control method and device, unmanned aerial vehicle and storage medium
JPH0863618A (en) Image processor

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

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

Country of ref document: EP

Kind code of ref document: A1