CN107770445B - Infrared image sharing method and device - Google Patents

Infrared image sharing method and device Download PDF

Info

Publication number
CN107770445B
CN107770445B CN201711037211.2A CN201711037211A CN107770445B CN 107770445 B CN107770445 B CN 107770445B CN 201711037211 A CN201711037211 A CN 201711037211A CN 107770445 B CN107770445 B CN 107770445B
Authority
CN
China
Prior art keywords
infrared image
data
preset
image
pixel points
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711037211.2A
Other languages
Chinese (zh)
Other versions
CN107770445A (en
Inventor
袁剑敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen City Huasheng Technology Industry Ltd By Share Ltd
Original Assignee
Shenzhen City Huasheng Technology Industry Ltd By Share Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen City Huasheng Technology Industry Ltd By Share Ltd filed Critical Shenzhen City Huasheng Technology Industry Ltd By Share Ltd
Priority to CN201711037211.2A priority Critical patent/CN107770445B/en
Publication of CN107770445A publication Critical patent/CN107770445A/en
Application granted granted Critical
Publication of CN107770445B publication Critical patent/CN107770445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)

Abstract

The invention is suitable for the technical field of communication, and provides an infrared image sharing method and an infrared image sharing device, wherein the infrared image sharing device comprises the following steps: acquiring a target infrared image to be shared; compressing the target infrared image by adopting a preset image compression method to generate compressed data; and packing the compressed data according to a preset packing protocol to generate packed data, so that the image redundancy and the image data volume of the external image in the storage and transmission processes are reduced. And sending the packed data to terminal equipment connected with the infrared imaging device by adopting a Bluetooth low energy consumption technology BLE, reducing energy consumption and time delay when the infrared imaging device shares the infrared image to the terminal equipment, and realizing instant sharing of the infrared image.

Description

Infrared image sharing method and device
Technical Field
The invention belongs to the technical field of communication, and particularly relates to an infrared image sharing method and device.
Background
The infrared imaging device records the current environment by shooting images, and transmits the shot images to terminal equipment or a computer connected with the infrared imaging device in a wireless or wired mode to realize image transmission or sharing.
In the prior art, wireless fidelity WIFI equipment is arranged on a high-end infrared imaging device body, and an image is transmitted to a computer or a mobile phone in real time through a WIFI real-time image transmission technology, but a WIFI module has high electric quantity demand in work and has low practicability in an infrared imaging device powered by a battery; in the prior art, images are stored through a secure digital memory card SD card installed in a body of the infrared imaging device, the images in the SD card are transferred to intelligent equipment such as a computer or a mobile phone, and then data processing or analysis can be carried out.
Disclosure of Invention
In view of this, embodiments of the present invention provide an image sharing method and apparatus, so as to solve the problems of high cost and high power consumption caused by time delay during image sharing in the prior art.
A first aspect of an embodiment of the present invention provides an infrared image sharing method, including:
acquiring a target infrared image to be shared;
compressing the target infrared image by adopting a preset image compression method to generate compressed data;
packing the compressed data according to a preset packing protocol to generate packed data;
and sending the packed data to terminal equipment which establishes BLE connection with the infrared imaging device by adopting a Bluetooth low energy consumption technology BLE.
A second aspect of the embodiments of the present invention provides an infrared image sharing method, including:
acquiring packed data sent by an infrared imaging device which establishes BLE connection with terminal equipment by adopting a Bluetooth low energy consumption technology BLE;
unpacking the packed data according to a preset unpacking protocol to generate compressed data;
decompressing the compressed data by adopting a preset image decompression method to generate a target infrared image;
and displaying the target infrared image.
A third aspect of the embodiments of the present invention provides an infrared image sharing apparatus, including:
the image acquisition unit is used for acquiring a target infrared image to be shared;
the data compression unit is used for compressing the target infrared image by adopting a preset image compression method to generate compressed data;
the data packing unit is used for packing the compressed data according to a preset packing protocol to generate packed data;
and the data transmission unit is used for transmitting the packed data to terminal equipment which establishes BLE connection with the infrared imaging device by adopting a Bluetooth low energy consumption technology BLE.
A fourth aspect of the embodiments of the present invention provides an infrared image sharing apparatus, including:
the data acquisition unit is used for acquiring packed data sent by an infrared imaging device which establishes BLE connection with the terminal equipment by adopting a Bluetooth low energy consumption technology BLE;
the data unpacking unit is used for unpacking the packed data according to a preset unpacking protocol to generate compressed data;
the data decompression unit is used for decompressing the compressed data by adopting a preset image decompression method to generate a target infrared image;
and the image display unit is used for displaying the target infrared image.
A fifth aspect of embodiments of the present invention provides an infrared image sharing apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method of the first aspect.
A sixth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program is configured to implement the method of the first aspect when executed by a processor.
A seventh aspect of the embodiments of the present invention provides an infrared image sharing apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method of the second aspect.
An eighth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program is configured to implement the method of the second aspect when executed by a processor.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: by reducing the image redundancy and the image data quantity of the infrared image in the storage and transmission processes, the energy consumption and the time delay when the infrared imaging equipment shares the infrared image to the terminal equipment are reduced, and the instant sharing of the infrared image is realized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an infrared image sharing method according to an embodiment of the present invention;
fig. 2 is a flowchart of an infrared image sharing method according to another embodiment of the present invention;
fig. 3 is a flowchart of an infrared image sharing method according to still another embodiment of the present invention;
fig. 4 is a schematic diagram of an infrared image sharing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an infrared image sharing apparatus according to another embodiment of the present invention;
FIG. 6 is a diagram illustrating an infrared image sharing apparatus according to still another embodiment of the present invention;
fig. 7 is a schematic diagram of an infrared image sharing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an infrared image sharing apparatus according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, fig. 1 is a flowchart of an infrared image sharing method according to an embodiment of the present invention. The main executing body in this embodiment is a device having an infrared image sharing function, and the device may be an infrared imaging device, such as a thermal infrared imager, a thermal infrared detector, a night vision device, and the like, but is not limited thereto, and may also be other devices having an infrared image sharing function. As shown in fig. 1, the infrared image sharing method provided in the embodiment of the present invention includes the following steps:
s101: and acquiring an infrared image of the target to be shared.
The infrared imaging device utilizes an infrared detector and an optical imaging objective lens to receive an infrared radiation energy distribution pattern of a detected target and reflect the infrared radiation energy distribution pattern on a photosensitive element of the infrared detector so as to obtain an infrared image, and the infrared image corresponds to a thermal distribution field on the surface of an object. The infrared imaging device converts invisible infrared energy emitted by an object into visible infrared images, and different colors on the infrared images represent different temperatures of the measured object.
The infrared imaging device expresses the difference of the object temperature by color, but cannot recognize the object when the surface temperature of the object is consistent with or close to the ambient temperature. After the infrared imaging device captures an infrared image of an object, it is stored in a storage device, which may be a memory card such as an SD card installed in the infrared imaging device. The infrared image is stored in the SD card, so that the infrared imaging device can share the shot infrared image to other terminals at any time.
The target infrared image to be shared may be an infrared image that the infrared imaging apparatus is taking, in addition to an infrared image stored in the infrared imaging apparatus in advance.
Illustratively, when a user presses a trigger button on the infrared imaging device, the infrared imaging device freezes a real-time video or infrared image picture at a current frame, and the infrared image is interesting for the user and is a key infrared image, so that the infrared image is a target infrared image, and the frame of infrared image is transmitted to the terminal for further infrared image analysis and research.
It should be noted that the trigger button may be a key such as a trigger key or a switch key on the infrared imaging apparatus, and the user may set the trigger button according to the habit of the user or the structure of the infrared imaging apparatus, which is not limited herein.
By means of the method for selecting the target infrared image, each infrared image in the infrared imaging device can be shared, and particularly the infrared image which is being shot. The purpose of sharing the infrared image between the infrared imaging device and the terminal is achieved by comprehensively acquiring the infrared image.
S102: and compressing the target infrared image by adopting a preset image compression method to generate compressed data.
The data volume of the infrared image is large, and different colors in the infrared image represent different temperatures of a measured object. Because the color in the infrared image has a certain gradual change trend in the change process, the information of surrounding pixel points can be presumed or calculated through the information of the pixel points at a certain position. By the unique characteristics of the infrared image, after the target infrared image to be shared is acquired, pixel points in the infrared image are properly compressed.
Illustratively, if the color of a part of area of an infrared image is gradually changed to purple, the representative information is stored in a compressed file by acquiring the information of the pixel points in the center of the area, acquiring the information of the pixel points at the edge of the area and the number of all the pixel points in the area. The data volume in the compressed file is less than that of the original infrared image, so that the occupied storage space is less, and further, the time for sending the compressed data is shorter.
Further, a compression threshold value of the infrared image is set in advance so that the ratio of the amount of image data after compression to the amount of image data before compression is smaller than the compression threshold value. The compression threshold is set for measuring the compression degree of the infrared image, so that the situation that the original image cannot be restored due to the fact that the compression is excessive and necessary image pixel point information is lacked is avoided; or the compression degree is not enough, the infrared image data volume after compression is still large, and the purpose of compression is not achieved.
S103: and packing the compressed data according to a preset packing protocol to generate packed data.
After the features in the infrared image are extracted, the extracted compressed data are packaged and encapsulated through a preset packaging protocol.
Furthermore, in order to distinguish whether the unpacked data is compressed or not when the packed data is unpacked, a compression mark is added to the packet header of the data packet when the packed data is packed. So that the data acquired after unpacking can be judged whether the data is subjected to compression processing or not.
S104: and sending the packed data to a terminal which establishes BLE connection with the infrared imaging device by adopting a Bluetooth low energy consumption technology BLE.
Bluetooth Low Energy (BLE) technology is a Low-cost, short-range, interoperable, robust wireless technology that employs variable connection time intervals, which may be set to milliseconds to seconds, depending on the particular application.
The battery life is drastically reduced if not for as long as the bluetooth is on, and therefore any necessary transmission or reception tasks need to be completed very quickly. The BLE technology in this embodiment adopts a very fast connection mode, and may be in a "non-connection" state when the infrared imaging device does not need to share an image, or during the process of taking an infrared image at ordinary times, and at this time, the infrared imaging devices and the terminals at both ends of the link only know each other, and only open the link when the image needs to be shared, and then transmit a data packet, and close the link in as short a time as possible. The connection mode of the BLE technology can greatly reduce the power consumption of the infrared imaging device, reduce useless network connection or useless program use in the shooting process, and improve the working efficiency and the standby time of the infrared imaging device.
The BLE connection is established between the infrared imaging device and the terminal, and the infrared imaging device transmits the packed data to the terminal through the BLE connection. Through BLE technique transmission packing data, reduce the electric quantity consumption speed of infrared imaging device in transmission data process, promote infrared imaging device's standby time and data transmission efficiency.
According to the scheme, the target infrared image to be shared is acquired, the target infrared image is compressed by adopting a preset image compression method to generate compressed data, the compressed data are packaged, and then the packaged data are sent to the terminal connected with the infrared imaging device through the Bluetooth low energy consumption technology BLE. The energy consumption of the infrared imaging device during infrared image processing is reduced, and the data transmission efficiency during infrared image sharing is improved.
Referring to fig. 2, fig. 2 is a flowchart of an infrared image sharing method according to another embodiment of the present invention, and the difference between fig. 2 and fig. 1 is that step S202 in fig. 2 further includes steps S2021-S2024. The main executing body in this embodiment is a device having an infrared image sharing function, and the device may be an infrared imaging device, such as a thermal infrared imager, a thermal infrared detector, a night vision device, and the like, but is not limited thereto, and may also be other devices having an infrared image sharing function. As shown in fig. 2, the infrared image sharing method provided in the embodiment of the present invention includes the following steps:
s201: and acquiring an infrared image of the target to be shared.
It should be noted that S201 in this embodiment is the same as S101 in the first embodiment, and specific reference is made to the detailed description of S101 in the first embodiment, which is not repeated herein.
S202: and compressing the target infrared image by adopting a preset image compression method to generate compressed data.
After the target infrared image needing to be shared is acquired, before the target infrared image is compressed to generate compressed data, the data volume of the target infrared image is acquired, and whether the data volume is larger than or equal to a preset data volume threshold value or not is detected.
Each target infrared image is composed of pixel points, and the value of each pixel point represents the brightness, i.e., the resolution, of the point image. Resolution refers to an array of horizontal and vertical pixels that can be displayed, the values of which generally correspond to several display modes. Illustratively, when the resolution is 1366 × 768, 1366 pixel points are divided in the horizontal direction and 768 pixel points are divided in the vertical direction of the plasma screen. The higher the resolution is, the larger the range of receivable resolution is, the wider the signal reception range of the plasma is, and the higher the degree of definition of the target infrared image is.
The data size of the target infrared image may be a product of the number of pixel points and the number of bytes of each pixel. Illustratively, a digital image with true color (24 bits) and resolution bits of 1024 × 768 has a data size of about 1024 × 768 × 24 bits of 18874368 bits and 18874368 bits/8 bytes of 2359296 bytes without data compression.
Therefore, the resolution of the visible image plays an important role in the size of the space occupied by the image, and the problems of large memory occupied by the target infrared image, and high bandwidth and time delay occupied by transmission can be solved by reasonably compressing the target infrared image.
And presetting a data volume threshold of the target infrared image according to the configuration parameters of the infrared imaging device or the image parameter requirements of the current shooting environment. The data volume threshold is used for judging whether the acquired target infrared image needs to be compressed or not. And if the data volume of the target infrared image is greater than or equal to the preset data volume threshold value, compressing the target infrared image by adopting a preset image compression method to generate compressed data.
And if the data volume of the target infrared image is smaller than the preset data volume threshold, indicating that the data volume of the target infrared image meets the transmission condition. When the target infrared image is compressed, the target infrared image may be compressed too much, such as an insufficient amount of data or an inability to recover after compression, and therefore, the target infrared image is directly transmitted to the terminal through BLE.
And compressing the target infrared image by adopting a preset image compression method to generate compressed data, wherein the image compression method comprises the steps of S2021-S2024.
S2021: acquiring a characteristic value of a pixel point in the target infrared image; and searching a first pixel point corresponding to the characteristic value matched with the characteristic value.
Because the target infrared image is obtained by measuring the heat radiated by the object, compared with the light image, the target infrared image has the defects of poor resolution, low contrast, low signal-to-noise ratio, fuzzy visual effect, wireless relation between gray level distribution and target reflection characteristics and the like, and the characteristic values of the pixel points in the target infrared image are gradually changed. The attributes of the target infrared image mainly comprise color features, texture features, shape features and spatial relationship features of the image, the feature values of pixel points with the same attributes are the same, and the pixel points with the same attributes are also points which are closer to each other in the target infrared image area. By obtaining the characteristic values of the pixel points in the target infrared image, the first pixel point corresponding to the characteristic value which is the same as a certain characteristic value can be searched.
Further, by obtaining the characteristic value of the pixel point in the target infrared image, a first pixel point corresponding to the characteristic value matched with a certain characteristic value is searched.
In this embodiment, the degree of similarity between the feature value corresponding to one pixel point and the feature value corresponding to another pixel point is measured by setting the calculation matching degree. Illustratively, the matching degree is preset to be 0.9, and when the ratio of the characteristic value corresponding to one pixel point a to the characteristic value corresponding to another pixel point B is greater than or equal to 0.9, it is indicated that the pixel points corresponding to the two characteristic values are matched, that is, the pixel point a and the pixel point B are the first pixel point.
It should be noted that, in the scheme, the first pixel point is only a generic name of a type of pixel points having the same or similar characteristics, and includes different pixel sets corresponding to different characteristic values, which is not limited herein.
And determining the characteristic points matched with the characteristics in the target infrared image by searching the first pixel points corresponding to the characteristic values matched with a certain characteristic value in the target infrared image, and further determining the gradual change trend and the gradual change range of the target infrared image.
S2022: determining a continuous pixel region, and acquiring a first number of first pixel points contained in the continuous pixel region; the continuous pixel area is composed of a plurality of continuous first pixel points.
After determining a first pixel point corresponding to a characteristic value matched with a certain characteristic value in a target infrared image, the pixel point corresponding to the characteristic value with the same matching degree is a pixel point with matched attributes, namely the first pixel point, and the characteristic of the first pixel point in the image is represented by characteristics such as color, texture and the like, namely, infrared radiation of electromagnetic waves with different wavelengths is emitted outwards by a shooting object due to different self temperatures, and a gradual change region also exists in an image region displayed in the target infrared image due to gradual change of the temperature.
And finding out a first pixel point corresponding to the characteristic value matched with a certain characteristic value by searching the characteristic value matched with the characteristic value, wherein all continuous or adjacent first pixel points form a gradually-changed image area, and the image area is a continuous pixel area. The characteristics of the pixel points in the continuous pixel region are relatively close, and the image in the whole continuous pixel region is almost unchanged.
The method comprises the steps of determining a continuous pixel area in an infrared image, further determining a similar or identical image expression area in the whole infrared image, and obtaining a first number of first pixel points contained in the continuous pixel area, so that the first pixel points in the area can be represented by one or more representative pixel points.
S2023: if the first number is larger than or equal to a preset threshold value, compressing the first pixel points of the first number in the continuous pixel region into second pixel points according to a preset compression ratio, and storing the information of the second pixel points and the first number into compressed data.
After determining a first number of consecutive pixel regions and first pixels contained therein, determining a size of the first number of first pixels in the region by comparing the first number to a preset threshold. And if the first number is larger than or equal to the preset threshold value, compressing the first pixel points with the first number in the continuous pixel area into second pixel points according to a preset compression ratio.
Because the first pixel points in the continuous pixel region all have attributes such as similar or identical characteristic values, and the like, after the continuous pixel region is determined, some representative pixel points in the first pixel points can be selected as second pixel points to directly represent the attributes such as the pixels, the shapes and the like of the continuous pixel region. Meanwhile, the information of the first pixel points which are not selected as the second pixel points is equivalent to redundant information, the information of the first pixel points in the areas in the continuous pixel areas is deleted, the information redundancy of the infrared image is reduced, and further the memory occupation of the infrared image, and the energy and time consumed in the transmission process are reduced.
The preset compression ratio is the compression ratio of the target infrared image which is preset according to information such as configuration parameters of the infrared imaging device, image parameter requirements of the current shooting environment or transmission requirements of the infrared image. The preset compression ratio may be one data point or one data segment. Illustratively, the infrared image data compression ratio relationship is K ═ OUT/IN, IN is data before compression, OUT is data after compression, and K is distributed IN the interval of 0.4-0.9.
After the first pixel points with the first number in the continuous pixel area are compressed into the second pixel points according to the preset compression ratio, the information of the second pixel points and the first number are stored in the compressed data. The information of the second pixel points is used for determining the characteristic value of the pixel points in the area, and the first number is used for determining the number of the first pixel points corresponding to the characteristic value.
Furthermore, a compression identifier is added to the compressed data, and the compression identifier is added to the compressed data only when the second pixel points are extracted from the first pixel points with the first number in the infrared image, and the compression identifier is used for marking the compressed data obtained by extracting the second pixel points from the first pixel points.
S2024: and if the first number is smaller than the preset threshold value, storing the information of the first pixel point and the first number into compressed data.
If the first number of the first pixel points in the continuous pixel region is smaller than the preset threshold value, the region is smaller in the whole infrared image, and insufficient data information is not available for extraction, otherwise, part of information is lost, and the problem of over compression is caused. The information and the first number of the first pixel points are directly stored in the compressed data, and the integrity of the infrared image information in the compression process is ensured.
S203: and packing the compressed data according to a preset packing protocol to generate packed data.
It should be noted that S203 in this embodiment is the same as S103 in the first embodiment, and please refer to the detailed description of S103 in the first embodiment, which is not repeated here.
S204: and sending the packed data to a terminal which establishes BLE connection with the infrared imaging device by adopting a Bluetooth low energy consumption technology BLE.
The BLE connection is established between the infrared imaging device and the terminal, and the infrared imaging device transmits the packed data to the terminal through the BLE connection. Through BLE technique transmission packing data, reduce the electric quantity consumption speed of infrared imaging device in transmission data process, promote infrared imaging device's standby time and data transmission efficiency.
According to the scheme, a continuous pixel area is formed by acquiring the characteristic values of the target infrared image to be shared and the pixel points of the target infrared image to be shared and searching the first pixel points corresponding to the characteristic values matched with the characteristic values, if the first number of the first pixel points contained in the continuous pixel area is larger than or equal to a preset threshold value, the first pixel points with the first number in the continuous pixel area are compressed into the second pixel points according to a preset compression ratio, and the information of the second pixel points and the first number are stored into compressed data; and if the first number is smaller than the threshold value, storing the information of the first pixel point and the first number into the compressed data. Packing the compressed data according to a preset packing protocol to generate packed data; and image redundancy and image data quantity of the infrared image in the storage and transmission processes are reduced. And finally, transmitting the packed data to a terminal connected with the infrared imaging device by adopting a Bluetooth low energy consumption technology BLE, reducing energy consumption and time delay when the infrared imaging device shares the infrared image to the terminal, and realizing instant sharing of the infrared image.
Referring to fig. 3, fig. 3 is a flowchart of an infrared image sharing method according to still another embodiment of the present invention. The execution main body of the infrared image sharing method in the embodiment is a terminal. The terminal may be a mobile phone, a tablet computer, a computer, or the like, but is not limited thereto, and may also be another terminal. The infrared image sharing method as shown in fig. 3 may include the steps of:
s301: and acquiring the packed data sent by the infrared imaging device connected with the terminal by adopting the Bluetooth low energy consumption technology BLE.
The BLE connection is established with the infrared imaging device through the terminal, and the terminal receives the packed data sent by the infrared imaging device through a BLE signal. The packed data includes compressed data of the infrared image.
The terminal establishes connection with the infrared imaging device through BLE, and the periodic connection characteristic of a BLE network is utilized. The method comprises the steps that the terminal disconnects BLE connection with the infrared imaging device when no shared task exists, and establishes BLE connection with the infrared imaging device when a BLE connection request of the infrared imaging device is received. By the method, the power consumption of the terminal in the process of sharing the infrared image is reduced, and unnecessary energy consumption loss is avoided.
S302: unpacking the packed data according to a preset unpacking protocol to generate compressed data;
unpacking the packed data according to a preset unpacking protocol to generate unpacked data, wherein the unpacked data comprises compressed data.
The preset unpacking protocol corresponds to the packing protocol in the second embodiment, and is used for unpacking the packed data obtained by the packing protocol, so as to obtain the compressed data.
The compressed data comprises compressed identifications, the compressed identifications comprise compressed identifications and uncompressed identifications, only when the second pixel points are extracted from the first pixel points with the first number in the infrared image, the compressed identifications are added into the compressed data, and the compressed identifications are used for marking the compressed data and are obtained by extracting the second pixel points from the first pixel points.
Further, the compression ratio is added to the compression identifier, or the compression ratio may be directly used as the compression identifier. The compression ratio is used to determine the ratio by which the data packet is extracted from the original image features.
S303: and decompressing the compressed data by adopting a preset image decompression method to generate a target infrared image.
The preset image decompression method corresponds to the preset compression method in the second embodiment, and is used for decompressing the compressed data obtained by compression to obtain decompressed data.
S303 may specifically include: and decompressing the compressed data according to a preset decompression proportion to obtain decompressed data. The object of the decompression process is that compressed data contains compressed identification, and the compressed identification is used for marking the compressed data obtained by extracting a second pixel point in the first pixel point.
The preset decompression proportion corresponds to the compression proportion in the second embodiment S2023, and is configured to restore the second pixel point information extracted according to the compression proportion to the first pixel point information, so as to obtain the information of the first pixel point and the first number of the pixel points through decompressing data.
Illustratively, when the compression ratio is 0.8, the corresponding decompression ratio is 1.25, and the compression ratio and the decompression ratio are opposite numbers to each other, so as to restore the compressed data through the decompression ratio.
The information of the first pixel includes information such as a coordinate of the first pixel in the infrared image, a feature value of the pixel, or a pixel value, and is not limited herein. The pixel position and information in the area can be determined through the information of the first pixel point.
The number of pixels in the region can be determined from the first data, determining the shape and characteristics of the continuous pixel region. And determining the target infrared image according to the determined shapes and characteristics of the plurality of continuous pixel areas.
S304: and displaying the target infrared image.
After the shapes and the characteristics of a plurality of continuous pixel areas are determined, the information of the target infrared image is determined, the target infrared image is displayed on a display screen of the terminal, and infrared image sharing from the infrared imaging device to the terminal is completed.
According to the scheme, the Bluetooth low energy consumption technology BLE is adopted to obtain the packed data sent by the infrared imaging device connected with the terminal through the BLE, the packed data are unpacked according to the preset unpacking protocol to generate compressed data, the compressed data are decompressed by adopting the preset image decompression method to generate a target infrared image, and finally the target infrared image is displayed to finish the infrared image sharing from the infrared imaging device to the terminal. The energy consumption of the infrared imaging device during infrared image processing is reduced, and the data transmission efficiency during infrared image sharing is improved.
Referring to fig. 4, fig. 4 is a schematic diagram of an infrared image sharing apparatus according to an embodiment of the present invention. The ir image sharing device 400 may be a thermal infrared imager, a thermal infrared detector, a night vision device, etc., but is not limited thereto, and may also be other devices having an ir image sharing function. The infrared image sharing apparatus 400 of the present embodiment includes units for performing the steps in the embodiment corresponding to fig. 1, please refer to fig. 1 and the related description in the embodiment corresponding to fig. 1, which are not repeated herein. The infrared image sharing apparatus 400 of the present embodiment includes an image acquisition unit 401, a data compression unit 402, a data packing unit 403, and a data transmission unit 404.
The image acquisition unit 401 is configured to acquire an infrared image of a target to be shared.
The data compression unit 402 is configured to compress the target infrared image by using a preset image compression method, so as to generate compressed data.
The data compression unit 402 may include a feature value obtaining unit, a continuous pixel region determining unit, a first pixel compression unit, and a first pixel storage unit.
The characteristic value acquisition unit is used for acquiring the characteristic value of a pixel point in the target infrared image; and searching a first pixel point corresponding to the characteristic value matched with the characteristic value.
The continuous pixel region determining unit is used for determining a continuous pixel region and acquiring a first number of first pixel points contained in the continuous pixel region; the continuous pixel area is composed of a plurality of continuous first pixel points.
The first pixel point compression unit is used for compressing the first pixel points of the first number in the continuous pixel area into second pixel points according to a preset compression ratio if the first number is larger than or equal to a preset threshold value, and storing the information of the second pixel points and the first number into compressed data.
The data compression unit 402 may further include:
the data volume acquisition unit is used for acquiring the data volume of the target infrared image and detecting whether the data volume is greater than or equal to a preset data volume threshold value;
the data compression unit 402 may further include:
and the compression judging unit is used for compressing the target infrared image by adopting a preset image compression method to generate compressed data if the data volume is greater than or equal to a preset data volume threshold value.
The data packing unit 403 is configured to pack the compressed data according to a preset packing protocol, so as to generate packed data.
The data transmission unit 404 is configured to transmit the packed data to a terminal that establishes a BLE connection with the infrared imaging device by using a bluetooth low energy technology BLE.
According to the scheme, the target infrared image to be shared is acquired, the target infrared image is compressed by adopting a preset image compression method to generate compressed data, the compressed data are packaged, and then the packaged data are sent to the terminal connected with the infrared imaging device through the Bluetooth low energy consumption technology BLE. The energy consumption of the infrared imaging device during infrared image processing is reduced, and the data transmission efficiency during infrared image sharing is improved.
Referring to fig. 5, fig. 5 is a schematic diagram of an infrared image sharing apparatus according to another embodiment of the present invention. The infrared image sharing device 500 may be a thermal infrared imager, a thermal infrared detector, a night vision device, etc., but is not limited thereto, and may also be other devices having an infrared image sharing function. The infrared image sharing apparatus 500 of the present embodiment includes units for performing the steps in the embodiment corresponding to fig. 2, and please refer to fig. 2 and the related description in the embodiment corresponding to fig. 2 for details, which are not repeated herein. The infrared image sharing apparatus 500 of the present embodiment includes an image acquisition unit 501, a data compression unit 502, a data packing unit 503, and a data transmission unit 504. The data compression unit 502 includes a feature value obtaining unit 5021, a continuous pixel region determining unit 5022, a first pixel compression unit 5023, and a first pixel storage unit 5024.
The image acquiring unit 501 is used for acquiring an infrared image of a target to be shared.
The data compression unit 502 is configured to compress the target infrared image by using a preset image compression method, so as to generate compressed data.
The characteristic value acquiring unit 5021 is used for acquiring characteristic values of pixel points in the target infrared image; and searching a first pixel point corresponding to the characteristic value matched with the characteristic value.
The continuous pixel region determining unit 5022 is configured to determine a continuous pixel region and obtain a first number of first pixels included in the continuous pixel region; the continuous pixel area is composed of a plurality of continuous first pixel points.
The first pixel compression unit 5023 is configured to compress the first pixels of the first number in the continuous pixel region into second pixels according to a preset compression ratio if the first number is greater than or equal to a preset threshold, and store the information of the second pixels and the first number into compressed data.
The first pixel storage unit 5024 is configured to store the information of the first pixel and the first number into compressed data if the first number is smaller than the preset threshold.
The data compression unit 502 may further include:
the data volume acquisition unit is used for acquiring the data volume of the target infrared image and detecting whether the data volume is greater than or equal to a preset data volume threshold value;
the data compression unit 502 may further include:
and the compression judging unit is used for compressing the target infrared image by adopting a preset image compression method to generate compressed data if the data volume is greater than or equal to a preset data volume threshold value.
The data packing unit 503 is configured to pack the compressed data according to a preset packing protocol, so as to generate packed data.
The data transmission unit 504 is configured to transmit the packed data to a terminal that establishes BLE connection with the infrared imaging device by using a bluetooth low energy technology BLE.
According to the scheme, a continuous pixel area is formed by acquiring the characteristic values of the target infrared image to be shared and the pixel points of the target infrared image to be shared and searching the first pixel points corresponding to the characteristic values matched with the characteristic values, if the first number of the first pixel points contained in the continuous pixel area is larger than or equal to a preset threshold value, the first pixel points with the first number in the continuous pixel area are compressed into the second pixel points according to a preset compression ratio, and the information of the second pixel points and the first number are stored into compressed data; and if the first number is smaller than the threshold value, storing the information of the first pixel point and the first number into the compressed data. Packing the compressed data according to a preset packing protocol to generate packed data; the image redundancy and the image data volume of the infrared image in the storage and transmission processes are reduced. And finally, the Bluetooth low energy consumption technology BLE is adopted to send the packed data to the terminal which is connected with the infrared imaging device to establish BLE, so that the energy consumption and time delay of the infrared imaging device when the infrared image is shared to the terminal are reduced, and the instant sharing of the infrared image is realized.
Referring to fig. 6, fig. 6 is a schematic diagram of an infrared image sharing apparatus according to still another embodiment of the present invention. The infrared image sharing apparatus 600 may be a computer, a mobile phone, a tablet computer, or the like, but is not limited thereto, and may be another apparatus having an infrared image sharing function. The infrared image sharing apparatus 600 of the present embodiment includes units for performing the steps in the embodiment corresponding to fig. 3, and please refer to fig. 3 and the related description in the embodiment corresponding to fig. 3 for details, which are not repeated herein. The infrared image sharing apparatus 600 of the present embodiment includes a data acquisition unit 601, a data unpacking unit 602, a data decompression unit 603, and an image display unit 604.
The data acquisition unit 601 is configured to acquire packed data sent by an infrared imaging device that establishes a BLE connection with a terminal using a bluetooth low energy technology BLE.
The data unpacking unit 602 is configured to unpack the packed data according to a preset unpacking protocol, so as to generate compressed data.
The data decompression unit 603 is configured to decompress the compressed data by using a preset image decompression method to generate a target infrared image.
The image display unit 604 is configured to display the target infrared image.
According to the scheme, the Bluetooth low energy consumption technology BLE is adopted to obtain the packed data sent by the infrared imaging device connected with the terminal through the BLE, the packed data are unpacked according to the preset unpacking protocol to generate compressed data, the compressed data are decompressed by adopting the preset image decompression method to generate a target infrared image, and finally the target infrared image is displayed to finish the infrared image sharing from the infrared imaging device to the terminal. The energy consumption of the infrared imaging device during infrared image processing is reduced, and the data transmission efficiency during infrared image sharing is improved.
Referring to fig. 7, fig. 7 is a schematic diagram of an infrared image sharing apparatus according to an embodiment of the present invention. The infrared image sharing apparatus 700 in the present embodiment as shown in fig. 7 may include: one or more processors 701, one or more input devices 702, one or more output devices 703, and one or more memories 704. The processor 701, the input device 702, the output device 703 and the memory 704 are in communication with each other via a communication bus 705.
The memory 704 is used to store program instructions.
The processor 701 is configured to perform the following operations in accordance with program instructions stored in the memory 704:
the processor 701 is configured to acquire an infrared image of a target to be shared.
The processor 701 is further configured to compress the target infrared image by using a preset image compression method, so as to generate compressed data.
The processor 701 is further configured to pack the compressed data according to a preset packing protocol, so as to generate packed data.
The processor 701 is further configured to transmit the packed data to a terminal that establishes a BLE connection with the infrared imaging device by using a bluetooth low energy technology BLE.
The processor 701 is specifically configured to obtain a feature value of a pixel point in the target infrared image; and searching a first pixel point corresponding to the characteristic value matched with the characteristic value.
The processor 701 is specifically configured to determine a continuous pixel region, and obtain a first number of first pixels included in the continuous pixel region; the continuous pixel area is composed of a plurality of continuous first pixel points.
The processor 701 is specifically configured to compress the first pixel points of the first number in the continuous pixel region into second pixel points according to a preset compression ratio if the first number is greater than or equal to a preset threshold, and store information of the second pixel points and the first number in compressed data.
The processor 701 is specifically configured to store the information of the first pixel point and the first number into compressed data if the first number is smaller than the preset threshold.
The processor 701 is specifically configured to acquire a data amount of the target infrared image, and detect whether the data amount is greater than or equal to a preset data amount threshold.
The processor 701 is specifically configured to compress the target infrared image by using a preset image compression method to generate compressed data, and includes:
the processor 701 is specifically configured to, if the data amount is greater than or equal to a preset data amount threshold, compress the target infrared image by using a preset image compression method to generate compressed data.
According to the scheme, a continuous pixel area is formed by acquiring the characteristic values of the target infrared image to be shared and the pixel points of the target infrared image to be shared and searching the first pixel points corresponding to the characteristic values matched with the characteristic values, if the first number of the first pixel points contained in the continuous pixel area is larger than or equal to a preset threshold value, the first pixel points with the first number in the continuous pixel area are compressed into the second pixel points according to a preset compression ratio, and the information of the second pixel points and the first number are stored into compressed data; and if the first number is smaller than the threshold value, storing the information of the first pixel point and the first number into the compressed data. Packing the compressed data according to a preset packing protocol to generate packed data; the image redundancy and the image data volume of the infrared image in the storage and transmission processes are reduced. And finally, the Bluetooth low energy consumption technology BLE is adopted to send the packed data to the terminal which is connected with the infrared imaging device to establish BLE, so that the energy consumption and time delay of the infrared imaging device when the infrared image is shared to the terminal are reduced, and the instant sharing of the infrared image is realized.
It should be understood that, in the present embodiment, the Processor 701 may be a Central Processing Unit (CPU), and the Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 702 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 703 may include a display (LCD, etc.), a speaker, etc.
The memory 704 may include both read-only memory and random-access memory, and provides instructions and data to the processor 701. A portion of the memory 704 may also include non-volatile random access memory. For example, the memory 704 may also store device type information.
In a specific implementation, the processor 701, the input device 702, and the output device 703 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the method for processing information provided in this embodiment of the present invention, and may also execute the implementation manners of the terminal described in this embodiment of the present invention, which is not described herein again.
In another embodiment of the invention, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, implements:
acquiring a target infrared image to be shared;
compressing the target infrared image by adopting a preset image compression method to generate compressed data;
packing the compressed data according to a preset packing protocol to generate packed data;
and sending the packed data to a terminal which establishes BLE connection with the infrared imaging device by adopting a Bluetooth low energy consumption technology BLE.
Further, the computer program when executed by the processor further implements:
acquiring a characteristic value of a pixel point in the target infrared image; searching a first pixel point corresponding to the characteristic value matched with the characteristic value;
determining a continuous pixel region, and acquiring a first number of first pixel points contained in the continuous pixel region; the continuous pixel area consists of a plurality of continuous first pixel points;
if the first number is larger than or equal to a preset threshold value, compressing the first pixel points of the first number in the continuous pixel region into second pixel points according to a preset compression ratio, and storing the information of the second pixel points and the first number into compressed data;
and if the first number is smaller than the preset threshold value, storing the information of the first pixel point and the first number into compressed data.
Further, the computer program when executed by the processor further implements:
acquiring the data volume of the target infrared image, and detecting whether the data volume is greater than or equal to a preset data volume threshold value;
the compressing the target infrared image by adopting a preset image compression method to generate compressed data comprises the following steps:
and if the data volume is greater than or equal to a preset data volume threshold value, compressing the target infrared image by adopting a preset image compression method to generate compressed data.
The computer readable storage medium may be an internal storage unit of the terminal according to any of the foregoing embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
Referring to fig. 8, fig. 8 is a schematic diagram of an infrared image sharing apparatus according to another embodiment of the present invention. The infrared image sharing apparatus 800 in the present embodiment as shown in fig. 8 may include: one or more processors 801; one or more input devices 802, one or more output devices 803, and memory 840. The processor 801, the input device 802, the output device 803, and the memory 840 described above are connected by a bus 850.
The memory 840 is used to store program instructions.
The processor 801 is configured to perform the following operations according to program instructions stored by the memory 840:
the processor 801 is configured to acquire packed data sent by an infrared imaging device establishing BLE connection with a terminal by using a bluetooth low energy technology BLE;
the processor 801 is further configured to unpack the packed data according to a preset unpacking protocol to generate compressed data;
the processor 801 is further configured to decompress the compressed data by using a preset image decompression method to generate a target infrared image;
the processor 801 is also configured to display the target infrared image.
The processor 801 is specifically configured to decompress the compressed data according to a preset decompression ratio to obtain decompressed data; the decompressed data comprises information of pixel points and a first number of the pixel points;
the processor 801 is specifically configured to determine a continuous pixel region according to the information of the pixel points and the first number;
the processor 801 is specifically configured to determine the target infrared image according to the continuous pixel area.
According to the scheme, the Bluetooth low energy consumption technology BLE is adopted to obtain the packed data sent by the infrared imaging device connected with the terminal through the BLE, the packed data are unpacked according to the preset unpacking protocol to generate compressed data, the compressed data are decompressed by adopting the preset image decompression method to generate a target infrared image, and finally the target infrared image is displayed to finish the infrared image sharing from the infrared imaging device to the terminal. The energy consumption of the infrared imaging device during infrared image processing is reduced, and the data transmission efficiency during infrared image sharing is improved.
In a further embodiment of the invention, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, implements:
acquiring packed data sent by an infrared imaging device which establishes BLE connection with a terminal by adopting a Bluetooth low energy consumption technology BLE;
unpacking the packed data according to a preset unpacking protocol to generate compressed data;
decompressing the compressed data by adopting a preset image decompression method to generate a target infrared image;
and displaying the target infrared image.
Decompressing the compressed data according to a preset decompression proportion to obtain decompressed data; the decompressed data comprises information of pixel points and a first number of the pixel points;
determining a continuous pixel area according to the information of the pixel points and the first number;
and determining the target infrared image according to the continuous pixel area.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the terminal and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program instructions.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. An infrared image sharing method is characterized by comprising the following steps:
acquiring a target infrared image to be shared; the target infrared image is determined based on a current frame triggered and acquired by a trigger button on an infrared imaging device;
acquiring a characteristic value of a pixel point in the target infrared image; searching a first pixel point corresponding to the characteristic value matched with the characteristic value;
determining a continuous pixel region, and acquiring a first number of first pixel points contained in the continuous pixel region; the continuous pixel area consists of a plurality of continuous first pixel points;
if the first number is larger than or equal to a preset threshold value, compressing the first pixel points of the first number in the continuous pixel region into second pixel points according to a preset compression ratio, and storing the information of the second pixel points and the first number into compressed data;
if the first number is smaller than the preset threshold value, storing the information of the first pixel point and the first number into compressed data;
packing the compressed data according to a preset packing protocol to generate packed data;
and sending the packed data to terminal equipment which establishes BLE connection with the infrared imaging device by adopting a Bluetooth low energy consumption technology BLE.
2. The infrared image sharing method of claim 1, wherein before compressing the target infrared image to generate compressed data, further comprising:
acquiring the data volume of the target infrared image, and detecting whether the data volume is greater than or equal to a preset data volume threshold value;
the compressing the target infrared image by adopting a preset image compression method to generate compressed data comprises the following steps:
and if the data volume is greater than or equal to a preset data volume threshold value, compressing the target infrared image by adopting a preset image compression method to generate compressed data.
3. An infrared image sharing method is characterized by comprising the following steps:
acquiring packed data sent by an infrared imaging device which establishes BLE connection with terminal equipment by adopting a Bluetooth low energy consumption technology BLE;
unpacking the packed data according to a preset unpacking protocol to generate compressed data;
decompressing the compressed data according to a preset decompression proportion to obtain decompressed data; the decompressed data comprises information of pixel points and a first number of the pixel points;
determining a continuous pixel area according to the information of the pixel points and the first number;
determining a target infrared image according to the continuous pixel area;
and displaying the target infrared image.
4. An infrared image sharing apparatus, comprising:
the image acquisition unit is used for acquiring a target infrared image to be shared; the target infrared image is determined based on a current frame triggered and acquired by a trigger button on an infrared imaging device;
the data compression unit is used for acquiring the characteristic values of the pixel points in the target infrared image; searching a first pixel point corresponding to the characteristic value matched with the characteristic value;
determining a continuous pixel region, and acquiring a first number of first pixel points contained in the continuous pixel region; the continuous pixel area consists of a plurality of continuous first pixel points;
if the first number is larger than or equal to a preset threshold value, compressing the first pixel points of the first number in the continuous pixel region into second pixel points according to a preset compression ratio, and storing the information of the second pixel points and the first number into compressed data;
if the first number is smaller than the preset threshold value, storing the information of the first pixel point and the first number into compressed data;
the data packing unit is used for packing the compressed data according to a preset packing protocol to generate packed data;
and the data transmission unit is used for transmitting the packed data to terminal equipment which establishes BLE connection with the infrared imaging device by adopting a Bluetooth low energy consumption technology BLE.
5. An infrared image sharing apparatus, comprising:
the data acquisition unit is used for acquiring packed data sent by an infrared imaging device which establishes BLE connection with the terminal equipment by adopting a Bluetooth low energy consumption technology BLE;
the data unpacking unit is used for unpacking the packed data according to a preset unpacking protocol to generate compressed data;
the data decompression unit is used for decompressing the compressed data according to a preset decompression proportion to obtain decompressed data; the decompressed data comprises information of pixel points and a first number of the pixel points;
determining a continuous pixel area according to the information of the pixel points and the first number;
determining a target infrared image according to the continuous pixel area;
and the image display unit is used for displaying the target infrared image.
6. An infrared image sharing apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 2 when executing the computer program.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 2.
8. An infrared image sharing apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method of claim 3 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method as claimed in claim 3.
CN201711037211.2A 2017-10-30 2017-10-30 Infrared image sharing method and device Active CN107770445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711037211.2A CN107770445B (en) 2017-10-30 2017-10-30 Infrared image sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711037211.2A CN107770445B (en) 2017-10-30 2017-10-30 Infrared image sharing method and device

Publications (2)

Publication Number Publication Date
CN107770445A CN107770445A (en) 2018-03-06
CN107770445B true CN107770445B (en) 2020-01-07

Family

ID=61270954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711037211.2A Active CN107770445B (en) 2017-10-30 2017-10-30 Infrared image sharing method and device

Country Status (1)

Country Link
CN (1) CN107770445B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787386A (en) * 2020-06-01 2020-10-16 深圳市战音科技有限公司 Animation compression method, animation display method, animation compression device, animation processing system, and storage medium
CN112822495B (en) * 2020-12-31 2023-10-13 广州科易光电技术有限公司 Infrared image compression method and device, electronic equipment and storage medium
CN113360447A (en) * 2021-07-06 2021-09-07 浙江天铂云科光电股份有限公司 Method for realizing transmission of infrared data, temperature-sensitive data and other data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497489A (en) * 2011-12-05 2012-06-13 优视科技有限公司 Image compression method, image compression device and mobile terminal
CN104218976A (en) * 2013-06-03 2014-12-17 飞比特公司 Self-adaptive data transmission using Bluetooth
CN105307105A (en) * 2015-10-13 2016-02-03 北京奇虎科技有限公司 Intelligent vehicle-mounted terminal triggering system and method
CN105427513A (en) * 2015-11-20 2016-03-23 华迪计算机集团有限公司 Fire-proof video infrared monitoring system for large-area remote sensing forest
CN105763855A (en) * 2016-04-22 2016-07-13 微景天下(北京)科技有限公司 Image transmission system and image transmission method
CN105788232A (en) * 2016-04-29 2016-07-20 镇江惠通电子有限公司 Infrared encoding data calibration method and device and control terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729840A (en) * 2009-12-17 2010-06-09 于培宁 Storage processing method utilizing video image characteristic sequence

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497489A (en) * 2011-12-05 2012-06-13 优视科技有限公司 Image compression method, image compression device and mobile terminal
CN104218976A (en) * 2013-06-03 2014-12-17 飞比特公司 Self-adaptive data transmission using Bluetooth
CN105307105A (en) * 2015-10-13 2016-02-03 北京奇虎科技有限公司 Intelligent vehicle-mounted terminal triggering system and method
CN105427513A (en) * 2015-11-20 2016-03-23 华迪计算机集团有限公司 Fire-proof video infrared monitoring system for large-area remote sensing forest
CN105763855A (en) * 2016-04-22 2016-07-13 微景天下(北京)科技有限公司 Image transmission system and image transmission method
CN105788232A (en) * 2016-04-29 2016-07-20 镇江惠通电子有限公司 Infrared encoding data calibration method and device and control terminal

Also Published As

Publication number Publication date
CN107770445A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN107609514B (en) Face recognition method and related product
KR102287043B1 (en) Electronic device for processing image acquired by using camera and method for operating thefeof
CN107770445B (en) Infrared image sharing method and device
CN107197146B (en) Image processing method and device, mobile terminal and computer readable storage medium
CN107862265B (en) Image processing method and related product
US10769464B2 (en) Facial recognition method and related product
CN111339822B (en) Living body detection method and related products
CN107038681B (en) Image blurring method and device, computer readable storage medium and computer device
US20170041540A1 (en) Energy-efficient secure vision processing applying object detection algorithms
CN110225237B (en) Image acquisition method and device and mobile terminal
CN107566749B (en) Shooting method and mobile terminal
CN108038825B (en) Image processing method and mobile terminal
CN107633499B (en) Image processing method and related product
CN112703530B (en) Image processing method, device, computer equipment and storage medium
US11393078B2 (en) Electronic device and method for correcting image on basis of image transmission state
WO2018037665A1 (en) Information-processing device, information-processing system, control method, and program
US11082612B2 (en) Electronic device and image acquisition method thereof
US10706282B2 (en) Method and mobile terminal for processing image and storage medium
CN108647566B (en) Method and terminal for identifying skin characteristics
CN107566654B (en) Unlocking control method and related product
US10970587B2 (en) Electronic device for notifying of update of image signal processing and method for operating the same
CN108769529B (en) Image correction method, electronic equipment and computer readable storage medium
CN104238979B (en) Parameter adjustment method, information transmission method and electronic equipment
CN110598156B (en) Drawing data processing method, drawing data processing device, terminal, server and storage medium
CN107194363B (en) Image saturation processing method and device, storage medium and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant