Quick image stain removing method based on image inpainting technology

An image and stain technology, applied in the field of quickly removing image stains, can solve problems such as time-consuming and labor-intensive, and achieve the effect of improving efficiency, avoiding the generation of redundant pixels, and reducing search space.

Inactive Publication Date: 2012-09-26
BEIHANG UNIV
View PDF2 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But the disadvantage is that it is necessary to manually select the small stains to be

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
  • Quick image stain removing method based on image inpainting technology
  • Quick image stain removing method based on image inpainting technology
  • Quick image stain removing method based on image inpainting technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Step 1 Take a lens-contaminated camera, open its aperture to the minimum, and shoot against a piece of white paper or any completely white object.

[0021] In step 2, the image captured in step 1 is combined with Sobel operator and morphological expansion operation to effectively detect the position of the stain, which is used as a mask for subsequent image repair. As long as the image is taken by the same camera, the same mask is applied to mark the position of the stain in the image.

[0022] Step 2.1 uses the Sobel operator to automatically detect the edge of the stain by overcoming the brightness variation in the image.

[0023] Since the brightness of the stain in the image is relatively small, the edge of the stain can be detected by using the first order differential, that is, the gradient operation. The principle is to use the gradient operation to enhance the ability of small and discontinuous points and to remove the slowly changing background, and the Sobel ...

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 quick image stain removing method based on the image inpainting technology. Firstly, the camera with a stained lens is used for shooting a white paper image, the Sobel operator and extensive operation are combined to detect the position of the stain, and the white paper image serves as a shade; the shade is used for covering the image shot by the same camera to mark the stain area in the image; for every pixel on the stain area contour, a patch block is defined and the priority of each patch block is calculated; the patch block with the biggest priority is selected to search and find the most matched block to replace and repair; and the repair image information is updated and re-repaired till the whole stain area of the image is repaired. Through the adoption of the image stain removing method, the stained image can be quickly and automatically repaired, and the linear structure of the image can be satisfactorily retained.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a method for quickly removing image stains based on image repair technology. Background technique [0002] Due to long-term exposure to harsh environments and uneven dust coverage, the lens is polluted, resulting in a decrease in image quality and causing images to contain smudges. These smudges are mainly formed due to the obstruction of various pollutants (such as fingerprint pollutants, dust, dirt) accumulated on the lens during the process of light traveling along a straight line. However, machine vision systems sometimes have to use cameras that are dusty during work, and the resulting smudged images greatly interfere with subsequent image analysis and understanding. [0003] At present, there are also some methods to study the method of removing stains on the image, such as: median filter, although it can handle the general pulse impurities very well, but the noise caused b...

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
IPC IPC(8): G06T5/50
Inventor 百晓王俊秀郭周晓魏韡
Owner BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products