Nothing Special   »   [go: up one dir, main page]

CN111191656A - Behavior identification method and system based on multispectral image information - Google Patents

Behavior identification method and system based on multispectral image information Download PDF

Info

Publication number
CN111191656A
CN111191656A CN201911318478.8A CN201911318478A CN111191656A CN 111191656 A CN111191656 A CN 111191656A CN 201911318478 A CN201911318478 A CN 201911318478A CN 111191656 A CN111191656 A CN 111191656A
Authority
CN
China
Prior art keywords
image
infrared
candidate
resolution processing
infrared image
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.)
Pending
Application number
CN201911318478.8A
Other languages
Chinese (zh)
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.)
Datasea Inc
Original Assignee
Datasea Inc
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 Datasea Inc filed Critical Datasea Inc
Priority to CN201911318478.8A priority Critical patent/CN111191656A/en
Publication of CN111191656A publication Critical patent/CN111191656A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/403Edge-driven scaling; Edge-based scaling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4053Scaling of whole images or parts thereof, e.g. expanding or contracting based on super-resolution, i.e. the output image resolution being higher than the sensor resolution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Psychiatry (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a behavior identification method based on multispectral image information, which comprises the following steps: acquiring a visible spectrum image and an infrared spectrum image by a local terminal; the local terminal performs high-resolution processing on the infrared spectrum image and sends the infrared spectrum image subjected to the high-resolution processing to the server, or the local terminal sends the infrared spectrum image to the server so that the server performs the high-resolution processing on the infrared spectrum image; identifying, by the server, the object in the image based on the high-resolution processed infrared spectral image and the visible spectral image; performing, by the server, hazard identification based on the identified object; when a dangerous condition occurs, the server sends out early warning to an alarm center; in response to receiving the early warning, the warning center gives an alarm; wherein the high resolution processing of the infrared spectral image comprises at least the step of comparing the visible spectral image with the interpolated infrared spectral image.

Description

Behavior identification method and system based on multispectral image information
Technical Field
The invention relates to the technical field of infrared image processing and identification, in particular to a behavior identification method and system based on multispectral image information.
Background
The infrared imaging technology is a high and new technology with a wide prospect. Electromagnetic waves longer than 0.78 microns are outside the red color of the visible spectrum and are called infrared, also known as infrared radiation. It means an electromagnetic wave having a wavelength of 0.78 to 1000 μm, wherein a portion having a wavelength of 0.78 to 2.0 μm is called near infrared and a portion having a wavelength of 2.0 to 1000 μm is called thermal infrared.
The prior art CN109034272A discloses the technical field of power inspection, in particular relates to the infrared temperature measurement compensation technology of power equipment, and specifically relates to an automatic identification method for a heating component of a power transmission line. The identification method comprises the following steps: selecting a real-time infrared video sequence shot by helicopter power inspection, carrying out Hough transformation on the real-time infrared video sequence, and detecting a power transmission line to identify an insulator in an infrared image by SIFT feature matching; and segmenting the hot spot region in the infrared image by adopting an Otsu self-adaptive threshold algorithm, extracting a defect region, and classifying and grading the defect region.
The prior art CN107043000B discloses a belt conveyor safety intelligent guarantee system based on machine vision, which comprises a giant foreign matter identification system, a fixed suspension type robot monitoring system consisting of a fixed suspension type robot and a foreign matter identification module; the coal flow monitoring system adopts a suspension type track inspection robot monitoring system consisting of a suspension type track inspection robot and a coal flow monitoring module; the carrier roller temperature monitoring system adopts a track inspection robot monitoring system consisting of a carrier roller temperature monitoring module based on infrared thermal imagery and a track inspection robot; the belt monitoring system adopts a belt damage monitoring module based on machine vision and a suspended track inspection robot monitoring system formed by a suspended track inspection robot.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The invention aims to provide a behavior identification method and system based on multispectral image information, which can overcome the defects of the prior art.
In order to achieve the above object, the present invention provides a behavior recognition method based on multispectral image information, which is characterized in that: the behavior identification method based on the multispectral image information comprises the following steps:
acquiring a visible spectrum image and an infrared spectrum image by a local terminal;
the local terminal performs high-resolution processing on the infrared spectrum image and sends the infrared spectrum image subjected to the high-resolution processing to the server, or the local terminal sends the infrared spectrum image to the server so that the server performs the high-resolution processing on the infrared spectrum image;
identifying, by the server, the object in the image based on the high-resolution processed infrared spectral image and the visible spectral image;
performing, by the server, hazard identification based on the identified object;
when a dangerous condition occurs, the server sends out early warning to an alarm center;
in response to receiving the early warning, the warning center gives an alarm;
wherein the high resolution processing of the infrared spectral image comprises at least the step of comparing the visible spectral image with the interpolated infrared spectral image.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
utilizing a bicubic interpolation method to perform upsampling on the infrared spectrum image so as to enable the infrared spectrum image and the visible spectrum image to have the same size;
taking the up-sampled infrared spectrum image as an initial infrared image;
s1: establishing a cost function based on the initial infrared image or the candidate infrared image, wherein the cost function is as follows:
Figure 402656DEST_PATH_IMAGE001
wherein,
Figure 447973DEST_PATH_IMAGE003
is a function of the cost of the received signal,
Figure 374340DEST_PATH_IMAGE004
is a custom constant value, d is a candidate infrared image,
Figure 329658DEST_PATH_IMAGE005
is the infrared image resulting from the current iteration, and wherein, when i =0,
Figure 417700DEST_PATH_IMAGE006
is the initial infrared image.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s2: obtaining an image of a red channel in the visible spectrum image based on the visible spectrum image;
s3: setting a correlation threshold value;
s4: in a given region of the image, calculating the cross correlation between a plurality of pixel points of the image of the red channel and a plurality of pixel points of the initial infrared image or a plurality of pixel points of the candidate infrared image;
s5: and if the cross correlation between the multiple pixel points of the image of the red channel and the multiple pixel points of the initial infrared image or the multiple pixel points of the candidate infrared image is greater than the correlation threshold value, determining that the given area of the image is a cross correlation area.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s6: filtering a cost function in the cross-correlation, wherein filtering the cost function in the cross-correlation is based on the following formula:
Figure 950312DEST_PATH_IMAGE007
wherein,
Figure 414792DEST_PATH_IMAGE008
is a function of the cost of performing the filtering process,
Figure 224616DEST_PATH_IMAGE009
is a custom window, wherein the size of the custom window is smaller than the size of the cross-correlation region,
Figure 483559DEST_PATH_IMAGE011
is an image of the red channel, where,
Figure 503467DEST_PATH_IMAGE012
and
Figure 506058DEST_PATH_IMAGE013
defined by the following formula;
Figure 170389DEST_PATH_IMAGE014
Figure 865813DEST_PATH_IMAGE015
wherein,
Figure 373017DEST_PATH_IMAGE016
is the initial infrared image or the candidate infrared image
Figure 913720DEST_PATH_IMAGE017
The average value of (a) is,
Figure 462251DEST_PATH_IMAGE018
is the initial infrared image or the candidate infrared image
Figure 62997DEST_PATH_IMAGE017
The variance in (a) is greater than or equal to,
Figure 57497DEST_PATH_IMAGE019
is a constant value that is self-defined,
Figure 100002_DEST_PATH_IMAGE020
is defined by the following equation:
Figure 542836DEST_PATH_IMAGE021
wherein,
Figure 306393DEST_PATH_IMAGE023
is the total number of pixel points in the user-defined window;
s7: by making
Figure 343619DEST_PATH_IMAGE008
And minimizing the function to obtain the updated candidate infrared image d.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s8: performing sub-pixel level interpolation on the updated candidate infrared image d to obtain a finished candidate infrared image
Figure 435203DEST_PATH_IMAGE024
The sub-pixel-level interpolation of the updated candidate infrared image d is specifically performed by the following method:
Figure 583288DEST_PATH_IMAGE025
wherein,
Figure 201351DEST_PATH_IMAGE026
Figure 550424DEST_PATH_IMAGE028
and wherein the first and second end portions of the first and second,
Figure 253938DEST_PATH_IMAGE029
s9: to complete candidate infrared images
Figure 940134DEST_PATH_IMAGE024
Replacing the initial infrared image or the candidate infrared image;
and (5) iterating steps S1-S9 until the change of the cost function reaches a convergence standard, thereby obtaining the infrared image processed by high resolution.
The invention provides a behavior recognition system based on multispectral image information, which is characterized in that: wherein the behavior recognition system based on the multispectral image information is completed at the server, wherein the behavior recognition system based on the multispectral image information comprises:
means for identifying an object in an image based on a high resolution processed infrared spectral image and a visible spectral image, wherein the visible spectral image and the infrared spectral image are acquired by a local terminal, and wherein the local terminal is configured to: carrying out high-resolution processing on the infrared spectrum image and sending the infrared spectrum image subjected to the high-resolution processing to a server, or sending the infrared spectrum image to the server so as to carry out the high-resolution processing on the infrared spectrum image by the server;
means for performing hazard identification based on the identified object;
the module is used for sending out early warning to the alarm center when a dangerous condition occurs;
wherein the high resolution processing of the infrared spectral image comprises at least the step of comparing the visible spectral image with the interpolated infrared spectral image.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
utilizing a bicubic interpolation method to perform upsampling on the infrared spectrum image so as to enable the infrared spectrum image and the visible spectrum image to have the same size;
taking the up-sampled infrared spectrum image as an initial infrared image;
s1: establishing a cost function based on the initial infrared image or the candidate infrared image, wherein the cost function is as follows:
Figure 678283DEST_PATH_IMAGE001
wherein,
Figure 431213DEST_PATH_IMAGE003
is a function of the cost of the received signal,
Figure 622023DEST_PATH_IMAGE004
is a custom constant value, d is a candidate infrared image,
Figure 111910DEST_PATH_IMAGE005
the infrared image resulting from the current iteration, and wherein, when i =0,
Figure 438986DEST_PATH_IMAGE005
is the initial infrared image.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s2: obtaining an image of a red channel in the visible spectrum image based on the visible spectrum image;
s3: setting a correlation threshold value;
s4: in a given region of the image, calculating the cross correlation between a plurality of pixel points of the image of the red channel and a plurality of pixel points of the initial infrared image or a plurality of pixel points of the candidate infrared image;
s5: and if the cross correlation between the multiple pixel points of the image of the red channel and the multiple pixel points of the initial infrared image or the multiple pixel points of the candidate infrared image is greater than the correlation threshold value, determining that the given area of the image is a cross correlation area.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s6: filtering a cost function in the cross-correlation, wherein filtering the cost function in the cross-correlation is based on the following formula:
Figure 864282DEST_PATH_IMAGE007
wherein,
Figure 542388DEST_PATH_IMAGE008
is a function of the cost of performing the filtering process,
Figure 101546DEST_PATH_IMAGE009
is a custom window, wherein the size of the custom window is smaller than the size of the cross-correlation region,
Figure 283128DEST_PATH_IMAGE011
is an image of the red channel, where,
Figure 613747DEST_PATH_IMAGE012
and
Figure 779149DEST_PATH_IMAGE013
defined by the following formula;
Figure 876418DEST_PATH_IMAGE014
Figure 319031DEST_PATH_IMAGE015
wherein,
Figure 945185DEST_PATH_IMAGE016
is the initial infrared image or the candidate infrared image
Figure 597883DEST_PATH_IMAGE017
The average value of (a) is,
Figure 233264DEST_PATH_IMAGE018
is the initial infrared image or the candidate infrared image
Figure 757481DEST_PATH_IMAGE017
The variance in (a) is greater than or equal to,
Figure 820114DEST_PATH_IMAGE019
is a custom constant value,
Figure 694530DEST_PATH_IMAGE020
Is defined by the following equation:
Figure 133601DEST_PATH_IMAGE021
wherein,
Figure 285228DEST_PATH_IMAGE023
is the total number of pixel points in the user-defined window;
s7: by making
Figure 518763DEST_PATH_IMAGE008
And minimizing the function to obtain the updated candidate infrared image d.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s8: performing sub-pixel level interpolation on the updated candidate infrared image d to obtain a finished candidate infrared image
Figure 880474DEST_PATH_IMAGE024
The sub-pixel-level interpolation of the updated candidate infrared image d is specifically performed by the following method:
Figure 857658DEST_PATH_IMAGE025
wherein,
Figure 863791DEST_PATH_IMAGE026
Figure 268227DEST_PATH_IMAGE028
and wherein the first and second end portions of the first and second,
Figure 382814DEST_PATH_IMAGE029
s9: to finishCandidate infrared image
Figure 773475DEST_PATH_IMAGE024
Replacing the initial infrared image or the candidate infrared image;
and (5) iterating steps S1-S9 until the change of the cost function reaches a convergence standard, thereby obtaining the infrared image processed by high resolution.
Compared with the prior art, the invention has the following advantages that due to the limitation of hardware technology, the size of the sensor of most current infrared photographic devices is significantly smaller than that of the sensor of visible photographic equipment, which means that the resolution of the visible photographic equipment can be 3-4 times higher than that of the infrared equipment at the same price, and no matter whether the visible photographic equipment is identified by human eyes or applied to machine vision, the high resolution and definition of images are prerequisites, and the problem of information loss in low-resolution images cannot be well solved in the world. At present, high-resolution infrared images can be obtained by increasing the purchase cost of equipment, but the equipment cost is strictly controlled in many application occasions, and the compromise between the cost and the image quality is a technical problem. The method for simply increasing the nominal resolution of the image (i.e. although the resolution of the image is increased, the amount of information carried by the image is not changed) includes an interpolation method, and this method cannot obtain an image with a larger amount of information, and the unchanged amount of information means that the image recognition effect is not changed, so the method for simply increasing the nominal resolution of the image is not a method for really increasing the resolution of the image. The invention provides a behavior identification method based on multispectral image information, and the method integrates an interpolation method and a cost function method through a mode of comparing the difference value of a low-resolution infrared image and a high-resolution visible light image, and obtains the high-resolution infrared image with clearer edges and sharper images.
Drawings
Fig. 1 is a flowchart of a method of behavior recognition based on multispectral image information according to an embodiment of the present invention.
FIG. 2 is a flow chart of a method for high resolution processing of infrared spectral images in accordance with an embodiment of the present invention.
FIG. 3 is a photograph of an untreated visible spectrum according to one embodiment of the present invention.
FIG. 4 is a photograph of an infrared spectrum having undergone high resolution processing in accordance with one embodiment of the present invention.
FIG. 5 is a photograph of an infrared spectrum subjected to bicubic interpolation according to an embodiment of the present invention.
FIG. 6 is a photograph of an untreated visible spectrum according to one embodiment of the present invention.
FIG. 7 is a photograph of an infrared spectrum having undergone high resolution processing in accordance with one embodiment of the present invention.
FIG. 8 is a photograph of an infrared spectrum subjected to bicubic interpolation according to an embodiment of the present invention.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
Fig. 1 is a flowchart of a method of behavior recognition based on multispectral image information according to an embodiment of the present invention. As shown in the figure, the behavior identification method based on multispectral image information includes the following steps:
step 101: acquiring a visible spectrum image and an infrared spectrum image by a local terminal;
step 102: the local terminal performs high-resolution processing on the infrared spectrum image and sends the infrared spectrum image subjected to the high-resolution processing to the server, or the local terminal sends the infrared spectrum image to the server so that the server performs the high-resolution processing on the infrared spectrum image;
step 103: identifying, by the server, the object in the image based on the high-resolution processed infrared spectral image and the visible spectral image;
step 104: performing, by the server, hazard identification based on the identified object;
step 105: when a dangerous condition occurs, the server sends out early warning to an alarm center;
step 106: in response to receiving the early warning, the warning center gives an alarm;
the high-resolution processing of the infrared spectrum image at least comprises a step of comparing the visible spectrum image with the infrared spectrum image subjected to interpolation, wherein the risk identification method adopted by the invention can be a method in the prior art, and the method in the prior art can be, for example, a method adopted by a document in the background art of the application, and the details are not repeated in the application.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
up-sampling the infrared spectrum image by using a bicubic interpolation (bicubic interpolation) method so as to enable the infrared spectrum image and the visible spectrum image to have the same size;
taking the up-sampled infrared spectrum image as an initial infrared image;
s1: establishing a cost function based on the initial infrared image or the candidate infrared image, wherein the cost function is as follows:
Figure 24328DEST_PATH_IMAGE001
wherein,
Figure 599666DEST_PATH_IMAGE003
is a function of the cost of the received signal,
Figure 935969DEST_PATH_IMAGE004
is a custom constant value (the size of the value can be determined by trial and error, which is not described in detail in this application), d is a candidate infrared image,
Figure 628856DEST_PATH_IMAGE030
is the infrared image resulting from the current iteration, and wherein, when i =0,
Figure 734216DEST_PATH_IMAGE006
is the initial infrared image.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s2: obtaining an image of a red channel in the visible spectrum image based on the visible spectrum image;
s3: setting a correlation threshold value;
s4: in a given region of the image, calculating the cross correlation between a plurality of pixel points of the image of the red channel and a plurality of pixel points of the initial infrared image or a plurality of pixel points of the candidate infrared image;
s5: and if the cross correlation between the multiple pixel points of the image of the red channel and the multiple pixel points of the initial infrared image or the multiple pixel points of the candidate infrared image is greater than the correlation threshold value, determining that the given area of the image is a cross correlation area.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s6: filtering a cost function in the cross-correlation, wherein filtering the cost function in the cross-correlation is based on the following formula:
Figure 480455DEST_PATH_IMAGE007
wherein,
Figure 38475DEST_PATH_IMAGE008
is a function of the cost of performing the filtering process,
Figure 36518DEST_PATH_IMAGE009
is a self-defined window (the window size can be determined by trial and error, if the window is large, the algorithm is runThe calculation is faster, but the result is coarser, if the window is smaller, the result is finer, but the calculation speed is slower, and the improvement degree of the processing effect is weakened as the window size is reduced, wherein the size of the self-defined window is smaller than the size of the cross-correlation area,
Figure 261963DEST_PATH_IMAGE011
is an image of the red channel, where,
Figure 179103DEST_PATH_IMAGE012
and
Figure 365365DEST_PATH_IMAGE013
defined by the following formula;
Figure 26154DEST_PATH_IMAGE014
Figure 840526DEST_PATH_IMAGE015
wherein,
Figure 194147DEST_PATH_IMAGE016
is the initial infrared image or the candidate infrared image
Figure 602126DEST_PATH_IMAGE017
The average value of (a) is,
Figure 66605DEST_PATH_IMAGE018
is the initial infrared image or the candidate infrared image
Figure 735484DEST_PATH_IMAGE017
The variance in (a) is greater than or equal to,
Figure 260006DEST_PATH_IMAGE019
is a constant value that is self-defined,
Figure 653816DEST_PATH_IMAGE020
is defined by the following equation:
Figure 656407DEST_PATH_IMAGE021
wherein,
Figure 445372DEST_PATH_IMAGE023
is the total number of pixel points in the user-defined window;
s7: by making
Figure 140795DEST_PATH_IMAGE008
And minimizing the function to obtain the updated candidate infrared image d.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s8: performing sub-pixel level interpolation on the updated candidate infrared image d to obtain a finished candidate infrared image
Figure 257787DEST_PATH_IMAGE024
The sub-pixel-level interpolation of the updated candidate infrared image d is specifically performed by the following method:
Figure 64069DEST_PATH_IMAGE025
wherein,
Figure 238698DEST_PATH_IMAGE026
Figure 714810DEST_PATH_IMAGE028
and wherein the first and second end portions of the first and second,
Figure 709311DEST_PATH_IMAGE029
s9: to complete candidate infrared images
Figure 53705DEST_PATH_IMAGE024
Replacing the initial infrared image or the candidate infrared image;
and (5) iterating steps S1-S9 until the change of the cost function reaches a convergence standard, thereby obtaining the infrared image processed by high resolution.
The invention provides a behavior recognition system based on multispectral image information, which is characterized in that: wherein the behavior recognition system based on the multispectral image information is completed at the server, wherein the behavior recognition system based on the multispectral image information comprises:
means for identifying an object in an image based on a high resolution processed infrared spectral image and a visible spectral image, wherein the visible spectral image and the infrared spectral image are acquired by a local terminal, and wherein the local terminal is configured to: carrying out high-resolution processing on the infrared spectrum image and sending the infrared spectrum image subjected to the high-resolution processing to a server, or sending the infrared spectrum image to the server so as to carry out the high-resolution processing on the infrared spectrum image by the server;
means for performing hazard identification based on the identified object;
the module is used for sending out early warning to the alarm center when a dangerous condition occurs;
wherein the high resolution processing of the infrared spectral image comprises at least the step of comparing the visible spectral image with the interpolated infrared spectral image.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
utilizing a bicubic interpolation method to perform upsampling on the infrared spectrum image so as to enable the infrared spectrum image and the visible spectrum image to have the same size;
taking the up-sampled infrared spectrum image as an initial infrared image;
s1: establishing a cost function based on the initial infrared image or the candidate infrared image, wherein the cost function is as follows:
Figure 817261DEST_PATH_IMAGE001
wherein,
Figure 464274DEST_PATH_IMAGE003
is a function of the cost of the received signal,
Figure 946071DEST_PATH_IMAGE004
is a custom constant value, d is a candidate infrared image,
Figure 94156DEST_PATH_IMAGE005
the infrared image resulting from the current iteration, and wherein, when i =0,
Figure 712219DEST_PATH_IMAGE005
is the initial infrared image.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s2: obtaining an image of a red channel in the visible spectrum image based on the visible spectrum image;
s3: setting a correlation threshold value;
s4: in a given region of the image, calculating the cross correlation between a plurality of pixel points of the image of the red channel and a plurality of pixel points of the initial infrared image or a plurality of pixel points of the candidate infrared image;
s5: and if the cross correlation between the multiple pixel points of the image of the red channel and the multiple pixel points of the initial infrared image or the multiple pixel points of the candidate infrared image is greater than the correlation threshold value, determining that the given area of the image is a cross correlation area.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s6: filtering a cost function in the cross-correlation, wherein filtering the cost function in the cross-correlation is based on the following formula:
Figure 294248DEST_PATH_IMAGE007
wherein,
Figure 997762DEST_PATH_IMAGE008
is a function of the cost of performing the filtering process,
Figure 683958DEST_PATH_IMAGE009
is a custom window, wherein the size of the custom window is smaller than the size of the cross-correlation region,
Figure 422107DEST_PATH_IMAGE011
is an image of the red channel, where,
Figure 410922DEST_PATH_IMAGE012
and
Figure 601732DEST_PATH_IMAGE013
defined by the following formula;
Figure 357199DEST_PATH_IMAGE014
Figure 825220DEST_PATH_IMAGE015
wherein,
Figure 375150DEST_PATH_IMAGE016
is the initial infrared image or the candidate infrared image
Figure 53256DEST_PATH_IMAGE017
The average value of (a) is,
Figure 81255DEST_PATH_IMAGE018
is the initial infrared image or the candidate infrared image
Figure 403783DEST_PATH_IMAGE017
The variance in (a) is greater than or equal to,
Figure 124615DEST_PATH_IMAGE019
is a constant value that is self-defined,
Figure 290017DEST_PATH_IMAGE020
is defined by the following equation:
Figure 121706DEST_PATH_IMAGE021
wherein,
Figure 803136DEST_PATH_IMAGE023
is the total number of pixel points in the user-defined window;
s7: by making
Figure 694868DEST_PATH_IMAGE008
And minimizing the function to obtain the updated candidate infrared image d.
In a preferred embodiment, the high resolution processing of the infrared spectral image comprises the following steps:
s8: performing sub-pixel level interpolation on the updated candidate infrared image d to obtain a finished candidate infrared image
Figure 347566DEST_PATH_IMAGE024
The sub-pixel-level interpolation of the updated candidate infrared image d is specifically performed by the following method:
Figure 717368DEST_PATH_IMAGE025
wherein,
Figure 14488DEST_PATH_IMAGE026
Figure 77122DEST_PATH_IMAGE028
and wherein the first and second end portions of the first and second,
Figure 217116DEST_PATH_IMAGE029
s9: to complete candidate infrared images
Figure 531554DEST_PATH_IMAGE024
Replacing the initial infrared image or the candidate infrared image;
and (5) iterating steps S1-S9 until the change of the cost function reaches a convergence standard, thereby obtaining the infrared image processed by high resolution.
FIG. 3 is a photograph of an untreated visible spectrum according to one embodiment of the present invention. FIG. 4 is a photograph of an infrared spectrum having undergone high resolution processing in accordance with one embodiment of the present invention. FIG. 5 is a photograph of an infrared spectrum subjected to bicubic interpolation according to an embodiment of the present invention. The basic technical problem of the present invention is how to obtain a high resolution infrared image without changing the hardware of the infrared image capturing device, the simplest method is to actually interpolate the original infrared image and "force up" the nominal resolution of the image, and fig. 5 shows the result of this processing. By comparing the results of this simple method of fig. 5 with those of the present application (fig. 4), it can be seen that the method of the present application has clearer and smoother edges. The results of the other set of treatments of fig. 6-8 also show the same effect.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain certain principles of the invention and its practical application to enable one skilled in the art to make and use various exemplary embodiments of the invention and various alternatives and modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims and their equivalents.

Claims (10)

1. A behavior identification method based on multispectral image information is characterized in that: the behavior identification method based on the multispectral image information comprises the following steps:
acquiring a visible spectrum image and an infrared spectrum image by a local terminal;
the infrared spectrum image is subjected to high-resolution processing by the local terminal and is sent to the server, or the infrared spectrum image is sent to the server by the local terminal so as to be subjected to high-resolution processing by the server;
identifying, by a server, an object in an image based on the high-resolution processed infrared spectral image and the visible spectral image;
performing, by the server, hazard identification based on the identified object;
when a dangerous condition occurs, the server sends out early warning to an alarm center;
in response to receiving the early warning, an alarm is made by an alarm center;
wherein the high resolution processing of the infrared spectral image comprises at least the step of comparing the visible spectral image with the interpolated infrared spectral image.
2. The method for behavior recognition based on multispectral image information according to claim 1, wherein: the high-resolution processing of the infrared spectrum image comprises the following steps:
upsampling the infrared spectrum image using a bicubic interpolation method so as to make the infrared spectrum image and the visible spectrum image have the same size;
taking the up-sampled infrared spectrum image as an initial infrared image;
s1: establishing a cost function based on the initial infrared image or the candidate infrared image, wherein the cost function is as follows:
Figure DEST_PATH_IMAGE001
wherein,
Figure 351805DEST_PATH_IMAGE002
is a function of the cost of the received signal,
Figure DEST_PATH_IMAGE003
is a custom constant value, d is a candidate infrared image,
Figure 920321DEST_PATH_IMAGE004
is the infrared image resulting from the current iteration, and wherein, when i =0,
Figure DEST_PATH_IMAGE005
is the initial infrared image.
3. The method for behavior recognition based on multispectral image information according to claim 2, wherein: the high-resolution processing of the infrared spectrum image comprises the following steps:
s2: obtaining an image of a red channel in the visible spectrum image based on the visible spectrum image;
s3: setting a correlation threshold value;
s4: in a given region of an image, calculating the cross correlation between a plurality of pixel points of the image of the red channel and a plurality of pixel points of the initial infrared image or a plurality of pixel points of the candidate infrared image;
s5: and if the cross correlation between the multiple pixel points of the image of the red channel and the multiple pixel points of the initial infrared image or the multiple pixel points of the candidate infrared image is greater than the correlation threshold value, determining that the given area of the image is a cross correlation area.
4. The method for behavior recognition based on multispectral image information according to claim 3, wherein: the high-resolution processing of the infrared spectrum image comprises the following steps:
s6: filtering a cost function in the cross-correlation, wherein filtering the cost function in the cross-correlation is based on the following formula:
Figure 450659DEST_PATH_IMAGE006
wherein,
Figure DEST_PATH_IMAGE007
is a function of the cost of performing the filtering process,
Figure 328485DEST_PATH_IMAGE008
is a custom window, wherein the size of the custom window is smaller than the size of the cross-correlation region,
Figure 475433DEST_PATH_IMAGE009
is an image of the red channel, wherein,
Figure DEST_PATH_IMAGE010
and
Figure DEST_PATH_IMAGE012
defined by the following formula;
Figure 80595DEST_PATH_IMAGE013
Figure DEST_PATH_IMAGE014
wherein,
Figure DEST_PATH_IMAGE016
is the initial infrared image or the candidate infrared image
Figure 731019DEST_PATH_IMAGE008
Middle panelThe average value of the average value is calculated,
Figure 779747DEST_PATH_IMAGE017
is the initial infrared image or the candidate infrared image
Figure 413991DEST_PATH_IMAGE008
The variance in (a) is greater than or equal to,
Figure DEST_PATH_IMAGE018
is a constant value that is self-defined,
Figure DEST_PATH_IMAGE020
is defined by the following equation:
Figure 58730DEST_PATH_IMAGE021
wherein,
Figure DEST_PATH_IMAGE022
is the total number of pixel points in the user-defined window;
s7: by making the
Figure 829240DEST_PATH_IMAGE023
And minimizing the function to obtain the updated candidate infrared image d.
5. The method for behavior recognition based on multispectral image information as recited in claim 4, wherein: the high-resolution processing of the infrared spectrum image comprises the following steps:
s8: performing sub-pixel level interpolation on the updated candidate infrared image d to obtain a finished candidate infrared image
Figure DEST_PATH_IMAGE024
Performing sub-pixel-level interpolation on the updated candidate infrared image d specifically by the following method:
Figure 783289DEST_PATH_IMAGE025
wherein,
Figure DEST_PATH_IMAGE026
Figure 639250DEST_PATH_IMAGE027
and wherein the first and second end portions of the first and second,
Figure DEST_PATH_IMAGE028
s9: to complete candidate infrared images
Figure 851794DEST_PATH_IMAGE024
Replacing the initial infrared image or the candidate infrared image;
and (5) iterating steps S1-S9 until the change of the cost function reaches a convergence standard, thereby obtaining the infrared image processed by high resolution.
6. A behavior recognition system based on multispectral image information is characterized in that: wherein the multispectral image information based behavior identification system is completed at a server, wherein the multispectral image information based behavior identification system comprises:
means for identifying an object in an image based on a high resolution processed infrared spectral image and a visible spectral image, wherein the visible spectral image and the infrared spectral image are acquired by a local terminal, and wherein the local terminal is configured to: carrying out high-resolution processing on the infrared spectrum image and sending the infrared spectrum image subjected to the high-resolution processing to a server, or sending the infrared spectrum image to the server so as to carry out the high-resolution processing on the infrared spectrum image by the server;
means for performing hazard identification based on the identified object;
the module is used for sending out early warning to the alarm center when a dangerous condition occurs;
wherein the high resolution processing of the infrared spectral image comprises at least the step of comparing the visible spectral image with the interpolated infrared spectral image.
7. The multispectral image information-based behavior recognition system of claim 6, wherein: the high-resolution processing of the infrared spectrum image comprises the following steps:
upsampling the infrared spectrum image using a bicubic interpolation method so as to make the infrared spectrum image and the visible spectrum image have the same size;
taking the up-sampled infrared spectrum image as an initial infrared image;
s1: establishing a cost function based on the initial infrared image or the candidate infrared image, wherein the cost function is as follows:
Figure 476810DEST_PATH_IMAGE001
wherein,
Figure 8286DEST_PATH_IMAGE002
is a function of the cost of the received signal,
Figure 351543DEST_PATH_IMAGE003
is a custom constant value, d is a candidate infrared image,
Figure 384089DEST_PATH_IMAGE004
the infrared image resulting from the current iteration, and wherein, when i =0,
Figure 129192DEST_PATH_IMAGE004
is the initial infrared image.
8. The multispectral image information-based behavior recognition system of claim 7, wherein: the high-resolution processing of the infrared spectrum image comprises the following steps:
s2: obtaining an image of a red channel in the visible spectrum image based on the visible spectrum image;
s3: setting a correlation threshold value;
s4: in a given region of an image, calculating the cross correlation between a plurality of pixel points of the image of the red channel and a plurality of pixel points of the initial infrared image or a plurality of pixel points of the candidate infrared image;
s5: and if the cross correlation between the multiple pixel points of the image of the red channel and the multiple pixel points of the initial infrared image or the multiple pixel points of the candidate infrared image is greater than the correlation threshold value, determining that the given area of the image is a cross correlation area.
9. The multispectral image information-based behavior recognition system of claim 8, wherein: the high-resolution processing of the infrared spectrum image comprises the following steps:
s6: filtering a cost function in the cross-correlation, wherein filtering the cost function in the cross-correlation is based on the following formula:
Figure 97148DEST_PATH_IMAGE006
wherein,
Figure 927700DEST_PATH_IMAGE023
is a function of the cost of performing the filtering process,
Figure 373725DEST_PATH_IMAGE029
is a custom window, wherein the size of the custom window is smaller than the size of the cross-correlation region,
Figure 848700DEST_PATH_IMAGE009
is an image of the red channel, wherein,
Figure 721978DEST_PATH_IMAGE010
and
Figure 39827DEST_PATH_IMAGE012
defined by the following formula;
Figure 23963DEST_PATH_IMAGE013
Figure 868292DEST_PATH_IMAGE014
wherein,
Figure 912471DEST_PATH_IMAGE016
is the initial infrared image or the candidate infrared image
Figure 717616DEST_PATH_IMAGE008
The average value of (a) is,
Figure 505443DEST_PATH_IMAGE017
is the initial infrared image or the candidate infrared image
Figure 453546DEST_PATH_IMAGE008
The variance in (a) is greater than or equal to,
Figure 668626DEST_PATH_IMAGE018
is a constant value that is self-defined,
Figure 695488DEST_PATH_IMAGE020
is defined by the following equation:
Figure 287006DEST_PATH_IMAGE021
wherein,
Figure 981293DEST_PATH_IMAGE022
is the total number of pixel points in the user-defined window;
s7: by making the
Figure 491909DEST_PATH_IMAGE023
And minimizing the function to obtain the updated candidate infrared image d.
10. The multispectral image information-based behavior recognition system of claim 9, wherein: the high-resolution processing of the infrared spectrum image comprises the following steps:
s8: performing sub-pixel level interpolation on the updated candidate infrared image d to obtain a finished candidate infrared image
Figure 6067DEST_PATH_IMAGE024
Performing sub-pixel-level interpolation on the updated candidate infrared image d specifically by the following method:
Figure 135697DEST_PATH_IMAGE025
wherein,
Figure 684490DEST_PATH_IMAGE026
Figure 382318DEST_PATH_IMAGE027
and wherein the first and second end portions of the first and second,
Figure 383772DEST_PATH_IMAGE028
s9: to complete candidate infrared images
Figure 317093DEST_PATH_IMAGE024
Replacing the initial infrared image or the candidate infrared image;
and (5) iterating steps S1-S9 until the change of the cost function reaches a convergence standard, thereby obtaining the infrared image processed by high resolution.
CN201911318478.8A 2019-12-20 2019-12-20 Behavior identification method and system based on multispectral image information Pending CN111191656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911318478.8A CN111191656A (en) 2019-12-20 2019-12-20 Behavior identification method and system based on multispectral image information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911318478.8A CN111191656A (en) 2019-12-20 2019-12-20 Behavior identification method and system based on multispectral image information

Publications (1)

Publication Number Publication Date
CN111191656A true CN111191656A (en) 2020-05-22

Family

ID=70707375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911318478.8A Pending CN111191656A (en) 2019-12-20 2019-12-20 Behavior identification method and system based on multispectral image information

Country Status (1)

Country Link
CN (1) CN111191656A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130201342A1 (en) * 2012-02-02 2013-08-08 Xerox Corporation Estimating a visible vector representation for pixels in an infrared image
CN106447630A (en) * 2016-09-18 2017-02-22 清华大学 High-spectral image sharpening method based on probability matrix decomposition
CN107918748A (en) * 2017-10-27 2018-04-17 南京理工大学 A kind of multispectral two-dimension code recognition device and method
CN110533620A (en) * 2019-07-19 2019-12-03 西安电子科技大学 The EO-1 hyperion and panchromatic image fusion method of space characteristics are extracted based on AAE
US20200304732A1 (en) * 2019-03-20 2020-09-24 Apple Inc. Multispectral image decorrelation method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130201342A1 (en) * 2012-02-02 2013-08-08 Xerox Corporation Estimating a visible vector representation for pixels in an infrared image
CN106447630A (en) * 2016-09-18 2017-02-22 清华大学 High-spectral image sharpening method based on probability matrix decomposition
CN107918748A (en) * 2017-10-27 2018-04-17 南京理工大学 A kind of multispectral two-dimension code recognition device and method
US20200304732A1 (en) * 2019-03-20 2020-09-24 Apple Inc. Multispectral image decorrelation method and system
CN110533620A (en) * 2019-07-19 2019-12-03 西安电子科技大学 The EO-1 hyperion and panchromatic image fusion method of space characteristics are extracted based on AAE

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李旭;高雅楠;SHIGANG YUE;: "一种尺度感知型遥感图像融合新方法", 宇航学报 *
胡永利;王亮;刘蓉;张丽;段福庆;: "一种从粗到精的红外和可见光卫星图像配准方法", 光谱学与光谱分析 *

Similar Documents

Publication Publication Date Title
Eigen et al. Restoring an image taken through a window covered with dirt or rain
You et al. Adherent raindrop modeling, detection and removal in video
CN106780486B (en) Steel plate surface defect image extraction method
US9030559B2 (en) Constrained parametric curve detection using clustering on Hough curves over a sequence of images
TWI607901B (en) Image inpainting system area and method using the same
US10043090B2 (en) Information processing device, information processing method, computer-readable recording medium, and inspection system
KR20180109665A (en) A method and apparatus of image processing for object detection
EP1892666A1 (en) A method, an apparatus and a computer-readable medium for processing an image dataset
CN108710910A (en) A kind of target identification method and system based on convolutional neural networks
Paul et al. Application of HDR algorithms to solve direct sunlight problems when autonomous vehicles using machine vision systems are driving into sun
CN118195902B (en) Super-resolution image processing method and processing system based on interpolation algorithm
EP3113107A1 (en) Static soiling detection and correction
CN109544535B (en) Peeping camera detection method and system based on optical filtering characteristics of infrared cut-off filter
CN108399617B (en) Method and device for detecting animal health condition
Shit et al. An encoder‐decoder based CNN architecture using end to end dehaze and detection network for proper image visualization and detection
CN106657816A (en) ORB algorithm based multipath rapid video splicing algorithm with image registering and image fusion in parallel
CN109410160B (en) Infrared polarization image fusion method based on multi-feature and feature difference driving
CN114332655A (en) Vehicle self-adaptive fusion detection method and system
CN102609710A (en) Smoke and fire object segmentation method aiming at smog covering scene in fire disaster image video
CN111191656A (en) Behavior identification method and system based on multispectral image information
Thepade et al. Improved haze removal method using proportionate fusion of color attenuation prior and edge preserving
Lin et al. Face detection based on skin color segmentation and SVM classification
Kristanto et al. Forensic analysis of faces on low-quality images using detection and recognition methods
Jayanthi et al. Underwater haze removal using contrast boosted grayscale image
Sasikala et al. An adaptive edge detecting method for satellite imagery based on canny edge algorithm

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200522