Apr 21, 2026

US12607433 - Method, apparatus, terminal, and storage medium for image processing

A method and device for image processing, a terminal and a storage medium. The method includes acquiring an image generated by an infrared sighting telescope arranged on a firearm; determining a grey level dynamic range of a preset first portion of the image; if a difference value between the grey level dynamic range value and the grey level of the preset second portion reaches a preset starting processing threshold, performing mean filtering processing on each pixel of the preset second portion to obtain a filtered grey level; and if the filtered grey level is greater than a preset grey level expectation threshold, processing the pixel, so that the grey level of the pixel is close to the grey level expectation value.

imageprocessingfirearminfraredsighting

This patent describes a method for processing images captured by an infrared sighting telescope mounted on a firearm, focusing on adjusting pixel gray levels based on dynamic range comparisons. The process involves determining specific regions of the image, applying mean filtering, and ensuring pixel values align with a predetermined gray level expectation to enhance image clarity.

Claim 1

1 . A method for image processing, characterized by comprising the steps of: acquiring an image generated by an infrared sighting telescope arranged on a firearm; determining a gray level dynamic range of a preset first portion of the image, wherein the image is composed of a preset first portion and a preset second portion, the preset first portion and the preset second portion respectively correspond to a half region of the image; and the position of the preset first portion relative to the image is the same as the position of the infrared sighting telescope relative to the firearm; determining a non-barrel influence region in the preset first portion based on a preset barrel influence region threshold; and determining a background threshold based on a mean gray level of the non-barrel influence region; determining the gray level of each pixel in each row or each column in the preset second portion; and selecting a mean value of gray levels of pixels closest to the background threshold as a gray level expectation value; if a difference value between the gray level dynamic range value and the gray level of the preset second portion reaches a preset starting processing threshold, performing mean filtering processing on each pixel of the preset second portion to obtain a filtered gray level, wherein the preset starting processing threshold is determined by the difference value in gray level between the normal image and the image to be processed; and if the filtered gray level is greater than a preset gray level expectation threshold, processing the pixel, so that the gray level of the pixel is close to the gray level expectation value, wherein the gray level expectation threshold is a mean value of the smallest gray level of pixels in each row. acquiring an image generated by an infrared sighting telescope arranged on a firearm; determining a gray level dynamic range of a preset first portion of the image, wherein the image is composed of a preset first portion and a preset second portion, the preset first portion and the preset second portion respectively correspond to a half region of the image; and the position of the preset first portion relative to the image is the same as the position of the infrared sighting telescope relative to the firearm; determining a non-barrel influence region in the preset first portion based on a preset barrel influence region threshold; and determining a background threshold based on a mean gray level of the non-barrel influence region; determining the gray level of each pixel in each row or each column in the preset second portion; and selecting a mean value of gray levels of pixels closest to the background threshold as a gray level expectation value; if a difference value between the gray level dynamic range value and the gray level of the preset second portion reaches a preset starting processing threshold, performing mean filtering processing on each pixel of the preset second portion to obtain a filtered gray level, wherein the preset starting processing threshold is determined by the difference value in gray level between the normal image and the image to be processed; and if the filtered gray level is greater than a preset gray level expectation threshold, processing the pixel, so that the gray level of the pixel is close to the gray level expectation value, wherein the gray level expectation threshold is a mean value of the smallest gray level of pixels in each row.

Google Patents

https://patents.google.com/patent/US12607433

USPTO PDF

https://image-ppubs.uspto.gov/dirsearch-public/print/downloadPdf/12607433

Use the arrows to move through the archive in gazette order.