Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for weakening image

An image and current image technology, applied in the field of image processing, can solve the problems of difficult to accurately locate strong light sources, the driver cannot see the front and surrounding environment clearly, and the original image cannot be weakened, so as to reduce traffic accidents and avoid excessive enhancement. , the effect of improving the safety factor

Active Publication Date: 2015-01-28
CHERY AUTOMOBILE CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The biggest disadvantage of active infrared night vision technology: when there is strong light on the opposite side, especially when the opposite car uses high beams, huge light spots will appear in the night vision image, making it impossible for the driver to see clearly through active infrared night vision technology Ahead and Surroundings
However, in the process of image weakening, the most important thing is the detection and positioning of strong light sources. Due to the particularity of night vision images, it is difficult for the classic Hough transform to accurately locate the center of strong light sources, so the original image cannot be weakened or the weakening effect is very poor.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for weakening image
  • Method and device for weakening image
  • Method and device for weakening image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] This embodiment provides an image weakening method, including the following steps:

[0033] S101, randomly select a pixel point A with a grayscale value of X in the current image, where X is the maximum grayscale value allowed by the image, and for an n-bit image system, its value is 2 n -1; the value is 255 for an 8-bit image system, and 2 for a 16-bit image system 16 -1, of course, you can also choose other digital image systems; on the first straight line passing through point A, use point A as the reference and then search to both ends respectively, and find the first pixel whose gray value is not X B and C, the midpoint of B and C is D; on the second straight line that passes through point D and is perpendicular to the first straight line, search for the two ends with D as the reference, and find the first gray value that is not The pixel points E and F of X, the midpoint of E and F is O, and the distance between point B and point O is d 1 , the distance between ...

Embodiment 2

[0039] The present embodiment provides a kind of image weakening method, and this image weakening method is preferably used in infrared image, especially vehicle-mounted night vision infrared image (the present embodiment takes 8-bit image system as an example), comprising the following steps:

[0040] S201, extract the gray value of each pixel in the current image; wherein the maximum gray value allowed by the image is X, and for an n-bit image system, its value is 2 n -1; the value is 255 for an 8-bit image system, and 2 for a 16-bit image system 16 -1, of course other digital image systems can also be selected. The point with a gray value of 255 is the brightest point in the 8-bit image system. Extracting all the brightest points in the current image system is to select the center of the strong light source of the image.

[0041] S202, counting the number of pixels with a grayscale value of 255 in the current image as Y, and if the Y value is smaller than a set value (the ...

Embodiment 3

[0058] Such as figure 1 As shown, the present embodiment provides an image weakening method, which is preferably used for infrared images, especially for vehicle-mounted night vision infrared images (this embodiment takes an 8-bit image system as an example), including the following steps:

[0059] S301, extract the gray value of each pixel in the current image; wherein the maximum gray value allowed by the image is X, and for an n-bit image system, its value is 2 n -1; the value is 255 for an 8-bit image system, and 2 for a 16-bit image system 16 -1, of course other digital image systems can also be selected. The point with a gray value of 255 is the brightest point in the 8-bit image system. Extracting all the brightest points in the current image system is to select the center of the strong light source of the image.

[0060] S302, counting the number of pixels with a grayscale value of 255 in the current image as Y, if the Y value is less than the set value (the set valu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a device for weakening an image. The method comprises the following steps of: (1) randomly selecting a pixel point A of which a gray value is X in the current image, wherein X is the maximum gravy value which is allowed by the image; respectively searching pixel points from two ends of a first straight line by using the point A as a reference on the first straight line on which the pixel point A is passed through; respectively finding out a pixel point B and a pixel point C of which the first gray values are not X, wherein a midpoint of the pixel point B and the pixel point C is D; searching pixel points from two ends of a second straight line by using the midpoint D as the reference on a second straight line on which the pixel point D is passed through and which is perpendicular to the first straight line; and respectively finding out a pixel point E and a pixel point F of which the first gray values are not X, wherein a midpoint of the pixel point E and the pixel point F is zero; and (2) acquiring a strong light circle center according to a set condition; and (3) weakening the gray value of the original image by using the strong light circle center as the circle center. By the method and the device, the strong light circle center in the image can be accurately found out, a strong light area of the original image is effectively weakened, and a requirement on real-time processing of a vehicle-mounted night vision imaging system is met.

Description

technical field [0001] The invention belongs to the field of image processing, and in particular relates to an image weakening method and device. Background technique [0002] In recent years, with the development of the automobile industry, the number of automobiles has increased rapidly. According to the statistics of the U.S. National Highway Traffic Safety Administration (NHTSA), the proportion of driving at night only accounts for a quarter of the entire highway traffic, but traffic fatal accidents occur when driving at night account for half. The reason is that in addition to the impact of vehicle conditions and driving skills, poor vision at night is the most important factor causing traffic accidents. How to improve the safety of drivers, passengers and third parties has become a topic of increasing concern in recent years. [0003] The irradiation range of the low beam of the headlights of ordinary cars is only 30 meters away, so the light of the car lights does n...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T5/00
Inventor 王继贞陈军刘博张绍勇
Owner CHERY AUTOMOBILE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products