Infrared remote sensing image moving ship detection method, device, equipment and storage medium

Through the time domain feature map and track detection model, weak and small ship targets in infrared remote sensing images are converted into obvious tracks. Combining artificial and intelligent features solves the problem of moving ship detection in infrared remote sensing images and achieves efficient position detection.

CN117830296BActive Publication Date: 2024-10-01AEROSPACE INFORMATION RES INST CAS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410229799.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-29
Publication Date
2024-10-01
Estimated Expiration
2044-02-29

AI Technical Summary

Technical Problem

The low resolution and low image quality of infrared remote sensing images make it difficult to detect moving vessels, and traditional methods are difficult to apply. Deep learning methods are limited by the difficulty of data annotation and the small amount of data.

Method used

By obtaining the frame difference image of the infrared remote sensing image sequence, forming a time domain feature map, labeling the track samples, training the track detection model, using lightweight networks such as YOLOv4-TINY for position detection, combining artificial feature enhancement and intelligent network features, Convert weak targets into obvious track targets.

Benefits of technology

It effectively improves the detectability of moving ships in infrared remote sensing images, reduces the difficulty of annotation, solves the problem of small data volume, and achieves efficient detection at low resolution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117830296B_ABST
    Figure CN117830296B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, equipment and storage medium for detecting moving ships in infrared remote sensing images, which can be applied to the field of remote sensing image processing technology. The method includes: collecting a continuous infrared remote sensing image sequence for moving ships; obtaining a frame difference image sequence in the continuous infrared remote sensing image sequence, each frame difference image in the frame difference image sequence contains change information of the infrared remote sensing image; obtaining the maximum gray value of each pixel position in the frame difference image sequence within a corresponding time period to form a time domain feature map; marking the track of the moving ship on the time domain feature map to obtain a marked track sample; training a detection model based on the marked track sample to obtain a trained detection model; using the detection model to perform position detection on the moving ship to be detected, so as to realize low-resolution infrared remote sensing image moving ship detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of remote sensing image processing, and in particular to a method, device, equipment and storage medium for detecting moving ships using infrared remote sensing images. Background Art

[0002] Observing ships on the sea surface with the help of remote sensing images has been widely used in the fields of sea area monitoring, environmental protection, marine operations, etc. In particular, infrared remote sensing images, due to their advantages of all-day imaging, provide convenience for nighttime marine environment monitoring, ship management, dock monitoring, etc. However, the resolution of infrared remote sensing images is far inferior to that of visible light remote sensing images, which results in the pixel area of ​​the ship only occupying 1-2 pixels after imaging. At the same time, since the movement speed of the ship is generally slow, the movement distance of the ship is not obvious in the low-resolution continuous frame images. On the other hand, infrared imaging is affected by atmospheric transmission, ground clutter, sea clutter, cirrus clouds and the sensor's own noise, resulting in low image quality after imaging, which further weakens the detectability of the target. Therefore, the detection of moving ships in low-resolution infrared remote sensing images is still a challenging problem.

[0003] At present, the methods for detecting ships in remote sensing images mainly include methods based on traditional detection frameworks and detection methods based on deep learning. Among them, the idea based on the traditional detection framework is mainly to separate the target based on the sea-land segmentation by using the shape, texture, color and other features of the ship itself, or the difference in features between the ship and the sea surface in different domains. The method based on deep learning mainly uses neural networks to extract deeper features of sample ships in remote sensing images, such as context information, attention mechanism, semantics, etc., thereby training a detection model to achieve ship detection. However, the method based on the traditional detection framework is difficult to apply to infrared remote sensing images with low resolution and no color, texture, and obvious contour morphological features. On the other hand, the quality of infrared remote sensing images is poor, and the number of pixels in ship imaging is small, which makes it difficult to identify ships, making the process of manually annotating samples very difficult, and also hindering the development of deep learning methods. Summary of the invention

[0004] In view of the above problems, the present invention provides a method, device, equipment and storage medium for detecting moving ships in infrared remote sensing images.

[0005] According to a first aspect of the present invention, there is provided a method for detecting moving ships in infrared remote sensing images, comprising:

[0006] Collect continuous infrared remote sensing image sequences of moving ships;

[0007] Acquire a frame difference image sequence from the continuous infrared remote sensing image sequence, wherein each frame difference image in the frame difference image sequence contains change information of the infrared remote sensing image;

[0008] Obtaining the maximum grayscale value of each pixel position in the frame difference image sequence within a corresponding time period to form a time domain feature map;

[0009] Marking the track of the moving vessel on the time domain characteristic graph to obtain a marked track sample;

[0010] Training a track detection model based on the labeled track samples to obtain a trained track detection model, wherein the track detection model is used to perform position detection on a moving vessel to be detected in an infrared remote sensing image sequence;

[0011] The track detection model is used to detect the position of the moving vessel to be detected.

[0012] In some embodiments, the detecting the position of the moving vessel using the track detection model includes:

[0013] Acquiring a continuous sequence of infrared remote sensing images of the moving vessel;

[0014] A frame difference image sequence is acquired from the continuous infrared remote sensing image sequence, and each frame difference image in the frame difference image sequence contains change information of the infrared remote sensing image.

[0015] In some embodiments, the track detection model is a YOLOv4-TINY network model.

[0016] In some embodiments, the infrared remote sensing image includes a static background area and a changing area, and acquiring a frame difference image sequence from the continuous infrared remote sensing image sequence includes:

[0017] The frame difference image sequence is obtained by subtracting the consecutive frames before and after the infrared remote sensing image sequence and eliminating the static background area in all infrared remote sensing images.

[0018] The maximum grayscale value of each pixel position in the frame difference image sequence within a corresponding time period is obtained to form a time domain feature map for the moving vessel.

[0019] In some embodiments, the time domain feature map :

[0020]

[0021] in, Indicates finding each pixel position along the time t direction The maximum grayscale, is the frame difference image sequence.

[0022] In some embodiments, the training of the track detection model based on the labeled track samples to obtain the trained track detection model includes:

[0023] Flipping or rotating each marked track sample to increase the sample size of the marked track sample;

[0024] Based on the amplified labeled track samples, a track detection model is trained to obtain a trained track detection model.

[0025] In some embodiments, the time domain feature graph has a strip-shaped track, the strip-shaped track indicates the motion track of the moving vessel, and marking the track of the moving vessel on the time domain feature graph to obtain the marked track sample includes:

[0026] The strip-shaped tracks on the time domain feature graph are labeled to obtain the labeled track samples.

[0027] A second aspect of the present invention provides an infrared remote sensing image moving ship detection device, comprising:

[0028] An acquisition module, used for acquiring a continuous infrared remote sensing image sequence of a moving vessel;

[0029] A frame difference image sequence acquisition module, used for acquiring a frame difference image sequence from the continuous infrared remote sensing image sequence, wherein each frame difference image in the frame difference image sequence contains change information of the infrared remote sensing image;

[0030] A time domain feature map forming module, used to obtain the maximum gray value of each pixel position in the frame difference image sequence within a corresponding time period to form a time domain feature map;

[0031] A track marking module, used for marking the track of the moving vessel on the time domain characteristic graph to obtain a marked track sample;

[0032] A model training module, used for training a track detection model based on the labeled track samples to obtain a trained track detection model, wherein the track detection model is used for position detection of a moving vessel in an infrared remote sensing image sequence;

[0033] The position detection module is used to detect the position of the moving vessel using the track detection model.

[0034] A third aspect of the present invention provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above method.

[0035] The fourth aspect of the present invention also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above method.

[0036] According to the present invention, a method, device, equipment and medium for detecting moving ships in infrared remote sensing images are provided, which have at least one of the following technical effects:

[0037] (1) The present invention utilizes the maximum grayscale feature in the time domain of the sequence to transform the problem of detecting small, slow-moving ships into a problem of detecting tracks with high radiation and obvious morphological contours that are easy to detect, thereby effectively improving the detectability of the target and realizing the detection of moving ships in low-resolution infrared remote sensing images.

[0038] (2) The track samples in the present invention have a larger pixel area than the ship itself, and the difficulty of labeling is effectively reduced. At the same time, the track of the ship has stronger contrast and geometric features than the ship itself, which can provide effective features for the neural network. On the other hand, the lightweight network and sample amplification method used in the present invention can effectively solve the difficulty of small amount of infrared remote sensing image data. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The above contents and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0040] Figure 1 A flow chart of a method for detecting moving ships in infrared remote sensing images according to an embodiment of the present invention is schematically shown;

[0041] Figure 2 Schematically shows a flow chart of detecting moving ships in infrared remote sensing images according to an embodiment of the present invention;

[0042] Figure 3 A schematic diagram shows a structural block diagram of a moving ship detection device using infrared remote sensing images according to an embodiment of the present invention;

[0043] Figure 4 The block diagram of an electronic device suitable for implementing a method for detecting moving ships in infrared remote sensing images according to an embodiment of the present invention is schematically shown. DETAILED DESCRIPTION

[0044] Below, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of concepts of the present invention.

[0045] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "include", "comprises", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0046] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0047] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0048] In the technical solution of the present invention, the collection, storage, use, processing, transmission, provision, invention and application of user personal information involved are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures are taken, and do not violate public order and good morals.

[0049] In the technical solution of the present invention, the acquisition, collection, storage, use, processing, transmission, provision, invention and application of data all comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.

[0050] The present invention proposes a method for detecting moving ships in infrared remote sensing images, which adopts a combination of artificial and intelligent neural networks. First, the problem of slow ship movement and small imaging area is considered. On the basis of obtaining frame difference motion information using infrared remote sensing image sequences, the pixel position with the largest time domain contrast in the frame difference image sequence is extracted to form a time domain feature map. Therefore, the moving ship will form a brighter track in the time domain feature map due to its relatively strong radiation characteristics. On this basis, the present invention combines the advantages of the intelligent track detection model to label these bright tracks as samples, thereby converting the problem of detecting dim, slow-moving small targets into the problem of detecting the navigation track of the target.

[0051] Figure 1 The flowchart of the method for detecting moving ships in infrared remote sensing images according to an embodiment of the present invention is schematically shown.

[0052] like Figure 1 As shown, the infrared remote sensing image moving ship detection method of this embodiment includes operations S110 to S160.

[0053] In operation S110 , a continuous sequence of infrared remote sensing images of a moving vessel is acquired.

[0054] In operation S120, a frame difference image sequence is acquired from the continuous infrared remote sensing image sequence, and each frame difference image in the frame difference image sequence contains change information of the infrared remote sensing image.

[0055] In operation S130, the maximum grayscale value of each pixel position in the frame difference image sequence within a corresponding time period is obtained to form a time domain feature map.

[0056] In operation S140, the track of the moving vessel is marked on the time domain characteristic graph to obtain a marked track sample.

[0057] In operation S150, a track detection model is trained based on the labeled track samples to obtain a trained track detection model, and the track detection model is used to perform position detection on a moving vessel to be detected in an infrared remote sensing image sequence.

[0058] In operation S160, the track detection model is used to detect the position of the moving vessel to be detected.

[0059] Figure 2 The flowchart of infrared remote sensing image moving ship detection according to an embodiment of the present invention is schematically shown.

[0060] In some embodiments, the infrared remote sensing image includes a static background area and a changing area, and obtaining a frame difference image sequence in the continuous infrared remote sensing image sequence includes: subtracting consecutive frames before and after the infrared remote sensing image sequence, eliminating the static background area in all infrared remote sensing images, and obtaining the frame difference image sequence.

[0061] It can be understood that the static background area refers to a static and unchanged area in the infrared remote sensing image sequence, and the changing area refers to a changing area in the infrared remote sensing image sequence, which contains change information.

[0062] According to the embodiment of the present invention, since the ship moves slowly and the imaging area is small, in the frame difference image sequence obtained by S120, the changing and moving pixels only occupy 1-2 pixels, and the contrast is still low. Therefore, it is difficult to obtain a relatively accurate target pixel position when only the threshold of the spatial domain is used for distinction. The present invention considers that a moving ship generally has a relatively stable radiation characteristic, and its changing information is continuous and uninterrupted. Therefore, the present invention combines the time domain motion characteristics to obtain the maximum grayscale value of each pixel position in the entire frame difference image sequence within the time period to form a time domain feature map. The time domain feature map is used to obtain the trajectory formed by the moving ship, solve the problem that the moving ship target itself has low contrast and poor detectability, and convert the ship target detection into a highlighted track detection problem with morphological characteristics.

[0063] In some embodiments, the time domain feature map :

[0064]

[0065] in, Indicates finding each pixel position along the time t direction The maximum grayscale, is the frame difference image sequence.

[0066] In some embodiments, the time domain characteristic graph has a strip-shaped track, and the strip-shaped track indicates the movement track of the moving vessel. Marking the track of the moving vessel on the time domain characteristic graph to obtain the marked track sample includes: marking the strip-shaped track on the time domain characteristic graph to obtain the marked track sample.

[0067] Based on the time domain feature map, the more obvious strip-shaped tracks formed by moving ships are marked. Combined with the traditional artificial feature enhancement method, the dim and slow ship targets are transformed into bright and stable track targets, which effectively improves the detectability of the targets.

[0068] In some embodiments, operation S150 trains a track detection model based on the labeled track samples to obtain a trained track detection model, including: flipping or rotating each labeled track sample to increase the sample size of the labeled track sample; and training the track detection model based on the amplified labeled track samples to obtain a trained track detection model.

[0069] The present invention first performs operations such as flipping the marked track samples upside down, flipping left and right, rotating 90 degrees, rotating 180 degrees, rotating 270 degrees, etc. to expand the sample size and solve the problem that the infrared remote sensing image has less data volume than the visible light remote sensing image. After that, a lightweight network with a small sample, such as the YOLOv4-TINY network, is used to train the sample multiple times, such as 50,000 times, 100,000 times, etc., to obtain a trained track detection model.

[0070] In some embodiments, the use of the track detection model to detect the position of the moving vessel includes: collecting a continuous infrared remote sensing image sequence for the moving vessel to be detected; obtaining a frame difference image sequence in the continuous infrared remote sensing image sequence, each frame difference image in the frame difference image sequence contains change information of the infrared remote sensing image; obtaining the maximum gray value of each pixel position in the frame difference image sequence within a corresponding time period to form a time domain feature map for the moving vessel to be detected; inputting the time domain feature map for the moving vessel to be detected into the track detection model to obtain a moving ship position detection result.

[0071] On the basis of combining artificial feature enhancement and intelligent network model, the moving vessel to be detected is preprocessed according to S110 to S130 to obtain the time domain feature map of the moving vessel to be detected. Optionally, the infrared remote sensing image with a larger size can be processed in blocks, and then input into the detection model to obtain the detection result of each image block, and then restored to obtain the detection result of the entire image. In this way, the position report of the moving vessel is realized.

[0072] Based on the above infrared remote sensing image moving ship detection method, the present invention also provides an infrared remote sensing image moving ship detection device. Figure 2 The device is described in detail.

[0073] Figure 3 The structure block diagram of the infrared remote sensing image moving ship detection device according to an embodiment of the present invention is schematically shown.

[0074] like Figure 3 As shown, the infrared remote sensing image moving ship detection device 300 of this embodiment includes an acquisition module 310, a frame difference image sequence acquisition module 320, a time domain feature map formation module 330, a track annotation module 340, a model training module 350 and a position detection module 360.

[0075] The acquisition module 310 is used to acquire a continuous sequence of infrared remote sensing images of a moving vessel. In one embodiment, the acquisition module 310 can be used to perform the operation S110 described above, which will not be described in detail herein.

[0076] The frame difference image sequence acquisition module 320 is used to acquire a frame difference image sequence from the continuous infrared remote sensing image sequence, wherein each frame difference image in the frame difference image sequence contains change information of the infrared remote sensing image. In one embodiment, the frame difference image sequence acquisition module 320 can be used to perform the operation S120 described above, which will not be described in detail here.

[0077] The temporal feature map forming module 330 is used to obtain the maximum grayscale value of each pixel position in the frame difference image sequence within the corresponding time period to form a temporal feature map. In one embodiment, the temporal feature map forming module 330 can be used to perform the operation S130 described above, which will not be repeated here.

[0078] The track marking module 340 is used to mark the track of the moving vessel on the time domain characteristic graph to obtain a marked track sample. In one embodiment, the track marking module 340 can be used to perform the operation S140 described above, which will not be described in detail here.

[0079] The model training module 350 is used to train a track detection model based on the labeled track samples to obtain a trained track detection model, and the track detection model is used to detect the position of the moving ship to be detected in the infrared remote sensing image sequence. In one embodiment, the model training module 350 can be used to perform the operation S150 described above, which will not be repeated here.

[0080] The position detection module 360 ​​is used to use the detection model to perform position detection on the moving vessel to be detected. In one embodiment, the position detection module 360 ​​can be used to perform the operation S160 described above, which will not be described in detail here.

[0081] According to an embodiment of the present invention, the step of performing position detection on the moving vessel to be detected by using the track detection model includes:

[0082] Acquiring a continuous sequence of infrared remote sensing images of the moving vessel;

[0083] Acquire a frame difference image sequence from the continuous infrared remote sensing image sequence, wherein each frame difference image in the frame difference image sequence contains change information of the infrared remote sensing image;

[0084] Acquire the maximum gray value of each pixel position in the frame difference image sequence within a corresponding time period to form a time domain feature map for the moving ship to be detected;

[0085] The time domain characteristic graph of the moving ship to be detected is input into the track detection model to obtain the moving ship position detection result.

[0086] According to an embodiment of the present invention, the track detection model is a YOLOv4-TINY network model.

[0087] According to an embodiment of the present invention, the infrared remote sensing image includes a static background area and a changing area, and acquiring a frame difference image sequence in the continuous infrared remote sensing image sequence includes:

[0088] The frame difference image sequence is obtained by subtracting the consecutive frames before and after the infrared remote sensing image sequence and eliminating the static background area in all infrared remote sensing images.

[0089] According to an embodiment of the present invention, the time domain characteristic map :

[0090]

[0091] in, Indicates finding each pixel position along the time t direction The maximum grayscale, is the frame difference image sequence.

[0092] According to an embodiment of the present invention, the step of training a track detection model based on the labeled track samples to obtain a trained track detection model includes:

[0093] Flipping or rotating each marked track sample to increase the sample size of the marked track sample;

[0094] Based on the amplified labeled track samples, a track detection model is trained to obtain a trained track detection model.

[0095] According to an embodiment of the present invention, the time domain feature graph has a strip-shaped track, the strip-shaped track indicates the motion track of the moving vessel, and marking the track of the moving vessel on the time domain feature graph to obtain the marked track sample includes:

[0096] The strip-shaped tracks on the time domain feature graph are labeled to obtain the labeled track samples.

[0097] According to an embodiment of the present invention, any multiple modules among the acquisition module 310, the frame difference image sequence acquisition module 320, the time domain feature map formation module 330, the track annotation module 340, the model training module 350 and the position detection module 360 ​​can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present invention, at least one of the acquisition module 310, the frame difference image sequence acquisition module 320, the time domain feature map formation module 330, the track annotation module 340, the model training module 350 and the position detection module 360 ​​can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation modes of software, hardware and firmware or in a proper combination of any of them. Alternatively, at least one of the acquisition module 310, the frame difference image sequence acquisition module 320, the time domain feature map formation module 330, the track annotation module 340, the model training module 350 and the position detection module 360 ​​can be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function can be executed.

[0098] Figure 4 The block diagram of an electronic device suitable for implementing a method for detecting moving ships in infrared remote sensing images according to an embodiment of the present invention is schematically shown.

[0099] like Figure 4 As shown, the electronic device 600 according to an embodiment of the present invention includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 to a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.

[0100] In RAM 603, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other through bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present invention by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present invention by executing the program stored in the one or more memories.

[0101] According to an embodiment of the present invention, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The electronic device 600 may further include one or more of the following components connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 608 including a hard disk, etc.; and a communication portion 609 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage portion 608 as needed.

[0102] The present invention also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiment; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present invention is implemented.

[0103] According to an embodiment of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present invention, the computer-readable storage medium may include the ROM 602 and / or RAM 603 described above and / or one or more memories other than ROM 602 and RAM 603.

[0104] The embodiment of the present invention also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method provided by the embodiment of the present invention.

[0105] The computer program executes the above functions defined in the system / device of the embodiment of the present invention when it is executed by the processor 601. According to the embodiment of the present invention, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0106] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 609, and / or installed from a removable medium 611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0107] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above functions defined in the system of the embodiment of the present invention are performed. According to the embodiment of the present invention, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0108] According to an embodiment of the present invention, the program code for executing the computer program provided by the embodiment of the present invention can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0109] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0110] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present invention may be combined and / or combined in various ways, even if such combinations and / or combinations are not explicitly described in the present invention. In particular, without departing from the spirit and teachings of the present invention, the features described in the various embodiments of the present invention may be combined and / or combined in various ways. All of these combinations and / or combinations fall within the scope of the present invention.

[0111] The embodiments of the present invention are described above. However, these embodiments are only for the purpose of illustration, and are not intended to limit the scope of the present invention. Although each embodiment is described above, it does not mean that the measures in each embodiment cannot be used in combination advantageously. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

Claims

1. A method for detecting moving ships in infrared remote sensing images, characterized in that: include: Collect continuous infrared remote sensing image sequences of moving ships; Acquire a frame difference image sequence from the continuous infrared remote sensing image sequence, wherein each frame difference image in the frame difference image sequence contains change information of the infrared remote sensing image; Obtaining the maximum grayscale value of each pixel position in the frame difference image sequence within a corresponding time period to form a time domain feature map; Marking the track of the moving vessel on the time domain characteristic graph to obtain a marked track sample; Training a track detection model based on the labeled track samples to obtain a trained track detection model, wherein the track detection model is used to perform position detection on a moving vessel to be detected in an infrared remote sensing image sequence; Using the track detection model, the position of the moving vessel to be detected is detected. Among them, the time domain feature map : in, Indicates finding the position of each pixel along the time t direction The maximum grayscale, is the frame difference image sequence; The time domain feature graph has a strip-shaped track, the strip-shaped track indicates the motion track of the moving vessel, and marking the track of the moving vessel on the time domain feature graph to obtain the marked track sample includes: The strip-shaped tracks on the time domain feature graph are labeled to obtain the labeled track samples.

2. The infrared remote sensing image moving ship detection method according to claim 1, characterized in that: The step of performing position detection on the moving vessel to be detected by using the track detection model comprises: Acquiring a continuous sequence of infrared remote sensing images of the moving vessel; Acquire a frame difference image sequence from the continuous infrared remote sensing image sequence, wherein each frame difference image in the frame difference image sequence contains change information of the infrared remote sensing image; Acquire the maximum gray value of each pixel position in the frame difference image sequence within a corresponding time period to form a time domain feature map for the moving ship to be detected; The time domain characteristic graph of the moving ship to be detected is input into the track detection model to obtain the moving ship position detection result.

3. The infrared remote sensing image moving ship detection method according to claim 1, characterized in that: The track detection model is a YOLOv4-TINY network model.

4. The method for detecting moving ships using infrared remote sensing images according to claim 1, characterized in that: The infrared remote sensing image includes a static background area and a changing area, and acquiring a frame difference image sequence from the continuous infrared remote sensing image sequence includes: The frame difference image sequence is obtained by subtracting the consecutive frames before and after the infrared remote sensing image sequence and eliminating the static background area in all infrared remote sensing images.

5. The method for detecting moving ships using infrared remote sensing images according to claim 1, characterized in that: The step of training the track detection model based on the labeled track samples to obtain the trained track detection model comprises: Flipping or rotating each marked track sample to increase the sample size of the marked track sample; Based on the amplified labeled track samples, a track detection model is trained to obtain a trained track detection model.

6. An infrared remote sensing image moving ship detection device, characterized in that: include: An acquisition module, used for acquiring a continuous infrared remote sensing image sequence of a moving vessel; A frame difference image sequence acquisition module, used for acquiring a frame difference image sequence from the continuous infrared remote sensing image sequence, wherein each frame difference image in the frame difference image sequence contains change information of the infrared remote sensing image; A time domain feature map forming module, used to obtain the maximum gray value of each pixel position in the frame difference image sequence within a corresponding time period to form a time domain feature map; A track marking module, used for marking the track of the moving vessel on the time domain characteristic graph to obtain a marked track sample; A model training module, used for training a track detection model based on the labeled track samples to obtain a trained track detection model, wherein the track detection model is used for position detection of a moving vessel in an infrared remote sensing image sequence; A position detection module is used to detect the position of the moving vessel using the track detection model. Among them, the time domain feature map : in, Indicates finding each pixel position along the time t direction The maximum grayscale, is the frame difference image sequence; The time domain feature graph has a strip-shaped track, the strip-shaped track indicates the motion track of the moving vessel, and marking the track of the moving vessel on the time domain feature graph to obtain the marked track sample includes: The strip-shaped tracks on the time domain feature graph are labeled to obtain the labeled track samples.

7. An electronic device, characterized in that: include: one or more processors; as well as a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors execute the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: Executable instructions are stored thereon, and when the instructions are executed by a processor, the processor executes the method according to any one of claims 1 to 5.