CN106649474B - Storage method of infrared image data - Google Patents

Storage method of infrared image data Download PDF

Info

Publication number
CN106649474B
CN106649474B CN201610862396.XA CN201610862396A CN106649474B CN 106649474 B CN106649474 B CN 106649474B CN 201610862396 A CN201610862396 A CN 201610862396A CN 106649474 B CN106649474 B CN 106649474B
Authority
CN
China
Prior art keywords
visible light
image data
frame
infrared image
storage block
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
CN201610862396.XA
Other languages
Chinese (zh)
Other versions
CN106649474A (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.)
Shanghai Thermal Image Science And Technology Co ltd
Original Assignee
Shanghai Thermal Image Science And Technology Co 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 Shanghai Thermal Image Science And Technology Co ltd filed Critical Shanghai Thermal Image Science And Technology Co ltd
Priority to CN201610862396.XA priority Critical patent/CN106649474B/en
Publication of CN106649474A publication Critical patent/CN106649474A/en
Application granted granted Critical
Publication of CN106649474B publication Critical patent/CN106649474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

The invention relates to a storage method of infrared image data. The storage method comprises the following steps: firstly, establishing storage blocks, respectively storing the storage blocks in the storage blocks according to categories, namely file header information, a basic temperature lookup table, a frame list, frame data, a frame index, a visible light image, an audio stream, a mark list and the like; when reading the infrared image data stream and storing, storing the number of the stored infrared image data frames in a frame list storage block every time reading a frame of data, storing the size and the relative position of the frame in a frame index storage block, and storing the data of the frame in a frame data storage block; if the visible light image with the fused region or the visible light image corresponding to the infrared image exists, the position of the infrared image in the corresponding visible light image and JPEG compressed image data of the visible light image are stored in a visible light image storage block; if the infrared image data stream contains the mark information, uniformly storing the infrared image data stream in a mark list storage block; the infrared image data may be voice annotated, with the annotated voice being stored in an audio stream storage block. The invention can store single infrared image data and infrared image video stream, can acquire visible light images with fused regions or corresponding regions, can quickly position and read required images, and unifies various functions contained in the infrared image data.

Description

Storage method of infrared image data
Technical Field
The invention relates to the field of data storage, in particular to a storage method for infrared image data. .
Background
As a non-contact temperature measurement technology, thermal infrared imagers have been widely used in military applications and increasingly paid attention in the field of civilian use. The infrared image data cannot be compressed and stored in a conventional image storage mode due to the fact that the infrared image data carries accurate temperature information, otherwise, the temperature information is compressed to be consistent and cannot accurately reflect the temperature information of the target area. The present invention therefore proposes a method of storing infrared image data to change this situation. The method can store single infrared image data and infrared image video streams, can acquire visible light images with fused areas or corresponding areas, can quickly position and read the required images, and unifies various functions contained in the infrared image data.
Disclosure of Invention
At the present stage that infrared image storage is not standardized, the invention provides an infrared image data storage method, and by adopting the storage method, infrared and visible light images can be quickly positioned, so that subsequent analysis and display are facilitated.
In order to achieve the above object, the present invention provides a method for storing infrared image data, comprising the following steps: establishing a data storage block: and storing the file header information, the basic temperature lookup table, the frame list, the frame data, the frame index, the visible light image, the audio stream and the mark list in the storage block according to the types. The mark list is divided into rectangle marks, ellipse marks, broken line marks, point marks and polygon marks. When reading the infrared image data stream and storing the infrared image data stream, firstly adding file head information and a basic temperature lookup table; the file header information comprises a thermal imager name, a thermal imager serial number, a color palette, environment parameters, storage categories, visible light categories and the like; the basic temperature lookup table refers to a corresponding array of analog values and temperature values, and the analog values correspond to initial values of the environmental parameters. When reading a frame of infrared image data stream, adding 1 to the number of frames in the frame list storage block, storing the infrared analog data of the frame in the frame data storage block, and storing the size and the relative position of the frame in the frame index storage block. If the visible light type in the file header information storage block indicates that the visible light type comprises visible light, storing the position of the infrared image in the corresponding visible light image and JPEG compressed image data of the visible light image in the visible light image storage block; and if the visible light type in the file header information storage block indicates that the visible light is not contained, not saving the information in the visible light image storage block. If the infrared image data stream contains the mark information, uniformly storing the infrared image data stream in a mark list storage block; different mark information such as rectangular mark and oval mark are stored in different memory blocks respectively. Voice annotations may be added or modified while reading or after the infrared image data stream of each frame is stored, and the annotated voices are stored in the audio stream storage block.
According to the embodiment of the present invention, the creating of the data storage blocks refers to setting an identifier for each storage block, for example, setting the file header information as IRFH, creating a file stream, and writing the file stream in a reserved space after each identifier. Where locations for quickly finding relevant memory blocks are identified.
According to an embodiment of the present invention, the storage category of the file header information therein refers to whether to save as one image or a sequence of images. Wherein the visible light category refers to whether a visible light image is included or not included.
According to the embodiment of the invention, if the visible light type in the file header information indicates that the visible light is contained, the size and the relative position of the infrared simulation data frame and the visible light are stored; if the indication does not contain visible light, only the size and relative position of the infrared analog data frame is stored. Where relative position refers to an index in the file stream.
According to the embodiment of the invention, the storing of the position of the infrared image in the corresponding visible light image in the visible light image storage block means that if the thermal infrared imager and the visible light camera are registered, the registered position information is saved; and if the thermal infrared imager and the visible light imager are not registered, storing the position information as (0, 0).
According to an embodiment of the invention, wherein the infrared image data stream comprises marker information, wherein the marker information is used for marking a highest analog value, a lowest analog value and an average analog value of the infrared image data in the marker.
According to an embodiment of the invention, the voice annotation is added or modified when each frame of the infrared image data stream is read or after the storage is finished. When the voice annotation is modified, the original voice annotation needs to be deleted and replaced by a new voice annotation.
Drawings
FIG. 1 is a flow chart of a storage method according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are described in further detail below with reference to the embodiments and the drawings. Again, the exemplary embodiments of the present invention and the description thereof are only for explaining the present invention, but not as limiting the present invention.
The invention provides the infrared image data storage method, so that the storage unification of the single image and the image video is realized, the visible light image with fused areas or corresponding to infrared can be obtained, and the required image can be quickly positioned and read.
Fig. 1 is a flowchart of a method for storing infrared image data according to an embodiment of the present invention. As shown in fig. 1, the present invention provides a method for storing infrared image data, comprising the steps of:
s1, establishing a data storage block: and storing the file header information, the basic temperature lookup table, the frame list, the frame data, the frame index, the visible light image, the audio stream and the mark list in the storage block according to the types. The mark list is divided into rectangle marks, ellipse marks, broken line marks, point marks and polygon marks.
S2, when reading the infrared image data flow and storing, firstly adding the file head information and the basic temperature lookup table; the file header information comprises a thermal imager name, a thermal imager serial number, a color palette, environment parameters, storage categories, visible light categories and the like; the basic temperature lookup table refers to a corresponding array of analog values and temperature values, wherein the analog values correspond to initial values of the environmental parameters. Wherein the storage category of the file header information refers to whether to save as one image or a sequence of images. Wherein the visible light category refers to whether a visible light image is included or not included.
And S3, adding 1 to the frame number in the frame list storage block when reading a frame of infrared image data stream, storing the infrared analog data of the frame in the frame data storage block, and storing the size and the relative position of the frame in the frame index storage block. If the visible light type in the file header information storage block indicates that the visible light type comprises visible light, storing the position of the infrared image in the corresponding visible light image and JPEG compressed image data of the visible light image in the visible light image storage block; and if the visible light type in the file header information storage block indicates that the visible light is not contained, not saving the information in the visible light image storage block. If the visible light type in the file header information indicates that the visible light is contained, storing the size and the relative position of the infrared simulation data frame and the visible light; if the indication does not contain visible light, only the size and relative position of the infrared analog data frame is stored. Where relative position refers to an index in the file stream. The infrared image storage block is used for storing the position of the infrared image in the corresponding visible image, namely the registered position information is stored if the thermal infrared imager and the visible camera are registered; and if the thermal infrared imager and the visible light imager are not registered, storing the position information as (0, 0).
S4, if the infrared image data stream contains the mark information, the infrared image data stream is stored in a mark list storage block; different mark information such as rectangular mark and oval mark are stored in different memory blocks respectively. Voice annotations may be added or modified while reading or after the infrared image data stream of each frame is stored, and the annotated voices are stored in the audio stream storage block. Wherein the voice annotation is added or modified when each frame of infrared image data stream is read or after the storage is finished. When the voice annotation is modified, the original voice annotation needs to be deleted and replaced by a new voice annotation.
In summary, the method for storing infrared image data provided by the invention realizes the unified storage of single images and image videos, and can acquire visible light images with fused regions or corresponding to infrared, and can quickly position and read the required images.

Claims (7)

1. A method for storing infrared image data is characterized by comprising the following steps:
establishing a data storage block: respectively storing the file header information, a basic temperature lookup table, a frame list, frame data, a frame index, a visible light image, an audio stream and a mark list in a storage block according to categories, wherein the mark list is divided into an ellipse mark, a broken line mark, a point mark and a polygon mark;
when reading the infrared image data stream and storing the infrared image data stream, firstly adding file head information and a basic temperature lookup table; the file header information comprises a thermal imager name, a thermal imager serial number, a color palette, environment parameters, a storage category and a visible light category; the basic temperature lookup table refers to a corresponding array of analog values and temperature values, and the analog values correspond to initial values of the environmental parameters;
when reading a frame of infrared image data stream, adding 1 to the number of frames in a frame list storage block, storing infrared analog data of the frame in a frame data storage block, and storing the size and the relative position of the frame in a frame index storage block, if the visible light type in a file header information storage block indicates that the visible light type contains visible light, storing the position of the infrared image in the corresponding visible light image and JPEG compressed image data of the visible light image in a visible light image storage block; if the visible light type in the file header information storage block indicates that the visible light is not contained, the information is not stored in the visible light image storage block;
if the infrared image data stream contains the mark information, uniformly storing the infrared image data stream in a mark list storage block; different marking information is respectively stored in different storage blocks;
and adding or modifying a voice annotation when reading or storing each frame of infrared image data stream, wherein the annotated voice is stored in the audio stream storage block.
2. The method of claim 1, wherein the establishing of the data storage blocks comprises setting an identifier for each storage block, for example, setting the header information of the file to IRFH, and establishing a file stream, and writing the file stream in a reserved space after each identifier, wherein the identifier is used to quickly find the location of the associated storage block.
3. A method of storing infrared image data according to claim 1, wherein the storage category of the file header information refers to whether to save as an image or a sequence of images, wherein the visible light category refers to whether to include visible light images or not.
4. The method according to claim 1, wherein said frame index storage block stores the size and relative position of the infrared analog data frame and the visible light if the frame index storage block contains the visible light, wherein the relative position refers to an index in the file stream.
5. The method for storing infrared image data as claimed in claim 1, wherein the storing the position of the infrared image in the corresponding visible light image in the visible light image storage block means storing the registered position information if the thermal infrared imager and the visible light camera are registered; and if the thermal infrared imager and the visible light imager are not registered, storing the position information as (0, 0).
6. A method as claimed in claim 1, wherein the ir image data stream contains flag information for marking the highest analog value, the lowest analog value and the average analog value of the ir image data.
7. The method according to claim 1, wherein the voice note is added or modified when reading or after finishing the storage of each frame of infrared image data stream, and when modifying the voice note, the original voice note is deleted and replaced with a new voice note.
CN201610862396.XA 2016-09-29 2016-09-29 Storage method of infrared image data Active CN106649474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610862396.XA CN106649474B (en) 2016-09-29 2016-09-29 Storage method of infrared image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610862396.XA CN106649474B (en) 2016-09-29 2016-09-29 Storage method of infrared image data

Publications (2)

Publication Number Publication Date
CN106649474A CN106649474A (en) 2017-05-10
CN106649474B true CN106649474B (en) 2020-11-03

Family

ID=58854787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610862396.XA Active CN106649474B (en) 2016-09-29 2016-09-29 Storage method of infrared image data

Country Status (1)

Country Link
CN (1) CN106649474B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135365B (en) * 2017-05-19 2019-05-21 湖北三江航天红林探控有限公司 A kind of high speed image missile-borne data recording equipment
CN109618172A (en) * 2018-05-07 2019-04-12 杭州新瀚光电科技有限公司 Infrared image storage transmission compression algorithm
CN110853108B (en) * 2019-10-11 2020-07-10 中国南方电网有限责任公司超高压输电公司天生桥局 Compression storage method of infrared chart data
CN111026708B (en) * 2019-11-25 2023-04-14 烟台艾睿光电科技有限公司 Thermal imager image file storage method, device, equipment and storage medium
CN111651630B (en) * 2020-05-31 2023-12-26 广西电网有限责任公司南宁供电局 Method for improving storage efficiency of acquisition dynamic infrared thermal map by adopting key data frame
CN112004093B (en) * 2020-09-02 2022-07-12 烟台艾睿光电科技有限公司 Infrared data compression method, device and equipment
CN112199358B (en) * 2020-09-04 2022-12-09 天津津航技术物理研究所 Infrared image-oriented database management method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103674255A (en) * 2012-09-21 2014-03-26 杭州美盛红外光电技术有限公司 Thermal image processing apparatus and thermal image processing method
CN104215336A (en) * 2013-05-29 2014-12-17 杭州美盛红外光电技术有限公司 Thermal-image device, thermal-image analyzing device, thermal-image shooting method and thermal-image analyzing method
CN104660922A (en) * 2013-11-25 2015-05-27 杭州美盛红外光电技术有限公司 Thermal image arranging device, recording device, arranging system as well as thermal image arranging method and recording method
CN105447838A (en) * 2014-08-27 2016-03-30 北京计算机技术及应用研究所 Method and system for infrared and low-level-light/visible-light fusion imaging
CN105794203A (en) * 2013-12-04 2016-07-20 拉姆伯斯公司 High dynamic-range image sensor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8363098B2 (en) * 2008-09-16 2013-01-29 Plantronics, Inc. Infrared derived user presence and associated remote control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103674255A (en) * 2012-09-21 2014-03-26 杭州美盛红外光电技术有限公司 Thermal image processing apparatus and thermal image processing method
CN104215336A (en) * 2013-05-29 2014-12-17 杭州美盛红外光电技术有限公司 Thermal-image device, thermal-image analyzing device, thermal-image shooting method and thermal-image analyzing method
CN104660922A (en) * 2013-11-25 2015-05-27 杭州美盛红外光电技术有限公司 Thermal image arranging device, recording device, arranging system as well as thermal image arranging method and recording method
CN105794203A (en) * 2013-12-04 2016-07-20 拉姆伯斯公司 High dynamic-range image sensor
CN105447838A (en) * 2014-08-27 2016-03-30 北京计算机技术及应用研究所 Method and system for infrared and low-level-light/visible-light fusion imaging

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
可见光与红外图像融合研究现状及展望;任海鸥;《舰船电子工程》;20131231(第223期);第16-19页 *

Also Published As

Publication number Publication date
CN106649474A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106649474B (en) Storage method of infrared image data
US9569873B2 (en) Automated iterative image-masking based on imported depth information
CN108174097B (en) Picture shooting method and device, and picture shooting parameter providing method and device
US9020940B2 (en) Method and device for modifying meta data of media objects
KR101165415B1 (en) Method for recognizing human face and recognizing apparatus
WO2016145844A1 (en) Picture sorting method and corresponding picture storage and display device
CN105027553A (en) Image processing device, image processing method, and storage medium on which image processing program is stored
CN102496147A (en) Image processing device, image processing method and image processing system
US20150098608A1 (en) Management of electronic racks
WO2021227919A1 (en) Method and device for image data encoding, display method and device, and electronic device
CN106610983A (en) Picture management method and apparatus, and terminal
CN110427949A (en) The method, apparatus of list verification calculates equipment and medium
CN101277394A (en) Information processing method, information processing apparatus and program
CN106233283A (en) Image processing apparatus, communication system and communication means and camera head
US9621859B2 (en) Time-lapse photography method, its computer program product, and electronic device with image-capturing function thereof
CN108769781A (en) A kind of video tab localization method
CN112132644A (en) Intelligent commodity display method and updating system for VR (virtual reality) shopping mall
US20170289522A1 (en) Light-field camera and controlling method
CN105760867A (en) Method and device for extracting two-dimension code and/or text in image
CN103559871A (en) Bright chroma information collecting and storing method for LED display module
CN110719382B (en) Color replacement method and device
KR101762349B1 (en) Method for providing augmented reality in outdoor environment, augmented reality providing server performing the same, and storage medium storing the same
CN104574448A (en) Method for identifying connected pixel blocks
CN111833456A (en) Image processing method, device, equipment and computer readable storage medium
US9525857B2 (en) Color processing device, color processing system, and non-transitory computer readable medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 200436, room 238, No. three, 703-704 Shanghai Road, Zhabei District, China

Applicant after: SHANGHAI THERMAL IMAGE SCIENCE AND TECHNOLOGY Co.,Ltd.

Address before: 200436, room 238, No. three, 703-704 Shanghai Road, Zhabei District, China

Applicant before: SHANGHAI IRSIGHT MECHANICAL & ELECTRICAL TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant