# US 11,120,288 B2 · Extended particle swarm band selection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,120,288 B2
- Document ID: US11120288B2
- Status: Granted
- Kind: B2
- Application number: 16/791,634
- Filed: 2020-02-14
- Published: 2020-10-15
- Granted: 2021-09-14
- Earliest claimed: 2019-02-14
- Assignees: ChemImage Corporation
- Applicants: ChemImage Corporation
- Inventors: Shashank R. Deshpande; Lucas P. Zbur; Christopher D. Anderson; Patrick J. Treado
- Web page: https://patentgrep.com/patent/US11120288B2

## CPC

- G16C 20/20: Identification of molecular entities, parts thereof or of chemical compositions
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06T 7/20: Analysis of motion (motion estimation for coding, decoding, compressing or decompressing digital video signals H04N19/43, H04N19/51)
- G06V 10/143: Sensing or illuminating at different wavelengths
- G06V 20/693: {Acquisition}
- G16C 20/70: Machine learning, data mining or chemometrics
- G16C: COMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

The disclosure provides methods, systems, and computer program products for detecting compounds of interest that are deposited on or associated with objects of interest. The compounds of interest are not limited and include drugs, alcohol, cannabis, narcotics, controlled substances as defined by state, federal, or international law, ammonium-based explosives, MGE-based explosives, toxic compounds, organic compounds, inorganic compounds, nerve agents, or biological compounds. The disclosure increases the speed and efficiency of processing hyperspectral images, especially on low-power or portable devices.

## Claims

### Claim 1

A system for detecting compounds of interest using hyperspectral imaging, the system comprising:
a processor which, upon detection of a hyperspectral image:
collects a hypercube;
initializes at least one particle from the hypercube and repeats the following until a combined reward exceeds a threshold for each particle;
applies an objective function that is a product of a Modified Fischer's ratio and a Z-Score to the hypercube to calculate a reward for each particle;
aggregates at least one reward,
mutates those particles having lesser rewards to increase the length of the lesser rewards;
updates a velocity of each particle, wherein the updated velocity is based on a past velocity position, the current direction of motion of each particle, the individual particle best position, and the global particle best position; and
outputs a combined reward to be compared with a threshold for each particle; and
outputs an image of a compound of interest if the combined reward exceeds the threshold for each particle.

### Claim 2 (depends on 1)

The system of claim 1, wherein the hypercube is imaged by an image detector from wavelengths of electromagnetic radiation that include one or more of about 0.01 nm to about 10 nm (X-ray), about 180 nm to about 380 nm (ultraviolet) (UV), about 380 nm to about 720 nm (visible) (VIS), about 720 nm to about 1100 nm (near infrared) (NIR), about 400 nm to about 1100 nm (visible to near infrared) (VIS-NIR), about 850 nm to about 1800 nm (short wave infrared) (SWIR), about 1200 nm to about 2450 nm (extended shortwave infrared) (eSWIR), about 720 nm to about 2500 nm (near infrared to extended shortwave infrared) (NIR-eSWIR), about 3 μm to about 8 μm (mid-wavelength infrared) (MWIR), about 8 μm to about 15 μm (long-wavelength infrared) (LWIR), about 15 μm to about 1 mm (far infrared) (FIR), about 720 nm to about 1 mm (infrared) (IR), or about 100 μm to about 1 mm (terahertz), combinations of adjacent contiguous ranges thereof, combinations of overlapping ranges thereof, or combinations of ranges thereof that do not overlap.

### Claim 3 (depends on 1)

The system of claim 1, wherein the compounds of interest are one or more of drugs, alcohol, cannabis, narcotics, ammonium-based explosives, MGE-based explosives, toxic compounds, organic compounds, inorganic compounds, nerve agents, biological compounds, and combinations thereof.

### Claim 4 (depends on 3)

The system of claim 3, wherein the drugs are selected from the group consisting of suboxone, heroin, methamphetamine, methadone, cocaine, ketamine, PCP, acetyl fentanyl, fentanyl citrate, D-amphetamine, lidocaine, cocaine freebase, caffeine, and combinations thereof.

### Claim 5 (depends on 3)

The system of claim 3, wherein the ammonium-based explosives are selected from the group consisting of ammonium sulfate, ammonium nitrate fuel oil (ANFO), dynamite, and dyno AP, and combinations thereof.

### Claim 6 (depends on 3)

The system of claim 3, wherein the MGE-based explosives are selected from the group consisting of TNT, HMX Octol, RDX, C4, Comp B, and combinations thereof.

### Claim 7 (depends on 1)

The system of claim 1, wherein the particle is initialized from a band size of about 1 nm to about 20 nm.

### Claim 8 (depends on 1)

The method of claim 1, wherein the particle is initialized from a band size of about 1 nm to about 20 nm.

### Claim 9

A method for detecting compounds of interest using hyperspectral imaging, the method comprising:
collecting a hypercube from an image detector;
initializing at least one particle from the hypercube and repeating the following until a combined reward exceeds a threshold for each particle;
applying an objective function that is a product of a Modified Fischer's ratio and a Z-Score to the hypercube to calculate a reward for each particle;
aggregating at least one reward,
mutating those particles having lesser rewards to increase the length of the lesser rewards;
updating the velocity of each particle, wherein the updated velocity is based on a past velocity position, the current direction of motion of each particle, the individual particle best position, and the global particle best position; and
outputting a combined reward to be compared with a threshold for each particle; and
outputting an image of a compound of interest if the combined reward exceeds the threshold for each particle.

### Claim 10 (depends on 9)

The method of claim 9, wherein the hypercube is imaged by an image detector from wavelengths of electromagnetic radiation that include one or more of about 0.01 nm to about 10 nm (X-ray), about 180 nm to about 380 nm (ultraviolet) (UV), about 380 nm to about 720 nm (visible) (VIS), about 720 nm to about 1100 nm (near infrared) (NIR), about 400 nm to about 1100 nm (visible to near infrared) (VIS-NIR), about 850 nm to about 1800 nm (short wave infrared) (SWIR), about 1200 nm to about 2450 nm (extended shortwave infrared) (eSWIR), about 720 nm to about 2500 nm (near infrared to extended shortwave infrared) (NIR-eSWIR), about 3 μm to about 8 μm (mid-wavelength infrared) (MWIR), about 8 μm to about 15 μm (long-wavelength infrared) (LWIR), about 15 μm to about 1 mm (far infrared) (FIR), about 720 nm to about 1 mm (infrared) (IR), or about 100 μm to about 1 mm (terahertz), combinations of adjacent contiguous ranges thereof, combinations of overlapping ranges thereof, or combinations of ranges thereof that do not overlap.

### Claim 11 (depends on 9)

The method of claim 9, wherein the compounds of interest are one or more of drugs, alcohol, cannabis, narcotics, ammonium-based explosives, MGE-based explosives, toxic compounds, organic compounds, inorganic compounds, nerve agents, biological compounds, and combinations thereof.

### Claim 12 (depends on 11)

The method of claim 11, wherein the drugs are selected from the group consisting of suboxone, heroin, methamphetamine, methadone, cocaine, ketamine, PCP, acetyl fentanyl, fentanyl citrate, D-amphetamine, lidocaine, cocaine freebase, caffeine, and combinations thereof.

### Claim 13 (depends on 11)

The method of claim 11, wherein the ammonium-based explosives are selected from the group consisting of ammonium sulfate, ammonium nitrate fuel oil (ANFO), dynamite, and dyno AP, and combinations thereof.

### Claim 14 (depends on 11)

The method of claim 11, wherein the MGE-based explosives are selected from the group consisting of TNT, HMX Octol, RDX, C4, Comp B, and combinations thereof.

### Claim 15

A computer program product for detecting compounds of interest using hyperspectral imaging, the computer program product comprising a non-transitory computer readable storage medium having program instruction embodied therewith, the program instructions executable by a processor to cause the processor to:
collect a hypercube;
initialize at least one particle from the hypercube and repeat the following until a combined reward exceeds a threshold for each particle;
apply an objective function that is a product of a Modified Fischer's ratio and a Z-Score to the hypercube to calculate a reward for each particle;
aggregate at least one reward,
mutate those particles having lesser rewards to increase the length of the lesser rewards;
update a velocity of each particle, wherein the updated velocity is based on a past velocity position, the current direction of motion of each particle, the individual particle best position, and the global particle best position; and
output a combined reward to be compared with a threshold for each particle; and output an image of a compound of interest if the combined reward exceeds the threshold for each particle.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the hypercube is imaged by an image detector from wavelengths of electromagnetic radiation that include one or more of about 0.01 nm to about 10 nm (X-ray), about 180 nm to about 380 nm (ultraviolet) (UV), about 380 nm to about 720 nm (visible) (VIS), about 720 nm to about 1100 nm (near infrared) (NIR), about 400 nm to about 1100 nm (visible to near infrared) (VIS-NIR), about 850 nm to about 1800 nm (short wave infrared) (SWIR), about 1200 nm to about 2450 nm (extended shortwave infrared) (eSWIR), about 720 nm to about 2500 nm (near infrared to extended shortwave infrared) (NIR-eSWIR), about 3 μm to about 8 μm (mid-wavelength infrared) (MWIR), about 8 μm to about 15 μm (long-wavelength infrared) (LWIR), about 15 μm to about 1 mm (far infrared) (FIR), about 720 nm to about 1 mm (infrared) (IR), or about 100 μm to about 1 mm (terahertz), combinations of adjacent contiguous ranges thereof, combinations of overlapping ranges thereof, or combinations of ranges thereof that do not overlap.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the compounds of interest are one or more of drugs, alcohol, cannabis, narcotics, ammonium-based explosives, MGE-based explosives, toxic compounds, organic compounds, inorganic compounds, nerve agents, biological compounds, and combinations thereof.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the drugs are selected from the group consisting of suboxone, heroin, methamphetamine, methadone, cocaine, ketamine, PCP, acetyl fentanyl, fentanyl citrate, D-amphetamine, lidocaine, cocaine freebase, caffeine, and combinations thereof.

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein the ammonium-based explosives are selected from the group consisting of ammonium sulfate, ammonium nitrate fuel oil (ANFO), dynamite, and dyno AP, and combinations thereof.

### Claim 20 (depends on 17)

The computer program product of claim 17, wherein the MGE-based explosives are selected from the group consisting of TNT, HMX Octol, RDX, C4, Comp B, and combinations thereof.

### Claim 21 (depends on 15)

The computer program product of claim 15, wherein the particle is initialized from a band size of about 1 nm to about 20 nm.
