Terminal and method and device for repairing image

A repair method and image technology, applied in the field of image processing, can solve the problems of large amount of calculation and poor repair effect of digital images, achieve strong self-adaptive ability, achieve simple and fast, and ensure overall consistency

Active Publication Date: 2013-07-17
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The problem to be solved by the technical scheme of the present invention is that the amount of calculation for repairing digital images is large and the repairing effect is not good

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
  • Terminal and method and device for repairing image
  • Terminal and method and device for repairing image
  • Terminal and method and device for repairing image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] In this embodiment, a grayscale image is taken as an example for illustration, please refer to figure 2 , figure 2 It is a schematic diagram of an example of an image area to be repaired in a specific embodiment of an image repair method of the present invention. The gray area as the background area accounts for the main part, and the black and white areas represent the contaminated parts. When repairing the image area, its gray level needs to be adjusted to be nearly consistent with the background area, so that the entire area looks homogeneous. It should be noted figure 2 It is just a hint. The actual gray and white levels will change within a certain range, and the transition between them is not very obvious, but the overall performance is still that the background is in the majority, and the polluted ones are a few, and the ones distributed in the background area are brighter or brighter. dark extremes.

[0047] Step S1: First, count the grayscale distribution...

Embodiment 2

[0063] In this embodiment, a color image is taken as an example for illustration. Since human eyes are not as sensitive to the brightness of an area color, this embodiment only adjusts the polluted area of ​​the image according to the statistical data of the brightness component.

[0064] Step S1: First, count the luminance components of each pixel in the entire area including the polluted area, and establish a luminance histogram of the color image.

[0065] Step S2: According to the statistics of the densest background area in the brightness histogram, the brightness segmentation threshold of the polluted area can be determined. In this embodiment, the brightness segmentation threshold may include an upper limit of brightness segmentation and a lower limit of brightness segmentation.

[0066]Step S3: Segment the color image into a background area and a pollution area according to the brightness segmentation threshold. According to the brightness segmentation upper limit and...

Embodiment 3

[0081] In this embodiment, a color image in YUV color space is taken as an example for illustration. In this embodiment, not only according to the brightness component, but also according to the statistical data of the chrominance component, the pollution area of ​​the image is adjusted.

[0082] In the YUV color space, the luminance component Y and the chrominance components U, V are separated. If there is only the Y component but no U and V components, then the image represented in this way is a black and white grayscale image. For example, if color TV adopts YUV space, the brightness component Y can be used to solve the compatibility problem between color TV and black and white TV, so that black and white TV can also receive color signals.

[0083] The restoration method of the luminance component Y in the color image in this embodiment is the same as that described in Embodiment 2, and will not be repeated here. The chrominance components U and V can be adjusted according...

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

Provided are a terminal and a method and device for repairing an image. A method includes collecting the character parameter of each pixel point to build a histogram of the image, determining a characteristic parameter segmentation threshold based on a histogram determination area, segmenting the histogram into a background area and a pollution area according to the characteristic parameter segmentation threshold and adjusting the characteristic parameters of the pixel points in the pollution area based on a mean value of the characteristic parameters of the pollution area and a mean value and a variance of the characteristic parameters of the background area. By means of the technical scheme, the method greatly reduces calculated quantity, is simple and quick to achieve, has strong self-adapting capability, is suitable for occasions with low processing performance, simultaneously is capable of avoiding effects on integral impression caused by inconsistent local color caused by the fact that repairing is conducted with the pixel as the unit in the existing image repairing method, ensures area integral consistency and reserves natural texture and detailed impression in the areas.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a terminal, an image restoration method and a device. Background technique [0002] Image restoration refers to the restoration of digital images with data loss or damage in local areas according to certain rules to restore the integrity of the image. This technology is widely used in repairing cultural relics, calligraphy and painting, repairing image incompleteness caused by network transmission, removing text and scratches in images and videos, and removing objects in images. Typically, in digital images, due to factors such as sensor defects, smudges on the lens, and uneven exposure, regional color or brightness unevenness will appear. The redness is uneven, that is, it needs to be repaired by area, so that the whole eye area looks even and natural after repair. [0003] At present, digital image restoration techniques can be roughly divided into two categories: [0004] On...

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 Applications(China)
IPC IPC(8): G06T5/40
Inventor 黄玉春林福辉彭晓峰
Owner SPREADTRUM COMM (SHANGHAI) CO LTD
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