Method for eliminating red eye in image

An image-in-red-eye technology, applied in instruments, computing, character and pattern recognition, etc., can solve the problems of RGB image occupation, multi-memory space, affecting the processing speed of red-eye removal, etc., to improve accuracy, improve processing speed, and improve The effect of detection accuracy

Active Publication Date: 2010-01-06
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006]The existing red-eye removal technology is mostly based on the RGB color space for red-eye removal processing, so when it is necessary to perform red-eye removal processing on YUV images, all YUV images must be Convert to RGB image for processing
The converted RGB image will inevitably occupy more memory space, and the conversion of a large amount of image data will also affect the processing speed of red-eye removal

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 for eliminating red eye in image
  • Method for eliminating red eye in image
  • Method for eliminating red eye in image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The invention relates to a red-eye elimination method, which comprises acquiring a human face image in a YUV format, and performing red-eye positioning and red-eye correction on the human face image in the YUV format.

[0036] Wherein, the red-eye positioning operation includes an image segmentation step, a closing operation step and a geometric feature definition step;

[0037] In the image segmentation step, according to the selected V component threshold (ThresholdV) and Y component threshold (ThresholdY), the pixel position of the V component in the face image is greater than ThresholdV and the Y component is less than ThresholdY is represented by the first pixel, and other pixel positions Mark with the second pixel to generate a binary image; preferably, the first pixel can be a white pixel with a pixel value of 255; the second pixel can be a black pixel with a pixel value of 0;

[0038] In the closing operation step, a morphological closing operation is performed ...

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 discloses an automatic method for eliminating a red eye, directly utilizing a human face image of a YUV format to eliminate and revise the red eye. A red-eye positioning operation comprises an image dividing step, a closed calculation step and a geometric characteristic limiting step, wherein in the image dividing step, redness division is carried out on an input YUV format drawing by directly utilizing an Y quantity and a V quantity to obtain a binary image of a plurality of communicating regions. For removing an isolating noise point and filling a hole of a division region, closed calculation operation can be carried out on each divided region, and a value of a mask size m is determined through size self-adaptation of the human face image in the invention. In the geometric characteristic limiting step, geometric characteristic detection is carried out on each communicating region in the binary image containing a plurality of communicating regions, and each communicating region which accords with the geometric characteristic of the red eye is determined as a red-eye region; and red-eye revision is carried out on the red-eye region in the human face image. The treatment speed of red-eye elimination can be enhanced by using the invention.

Description

technical field [0001] The invention relates to digital image processing technology, in particular to a method for eliminating red eyes in images. Background technique [0002] "Red eye effect" is a phenomenon that occurs when taking pictures. It refers to the red dot phenomenon formed in the center of the pupil of the human eye caused by the reflection of the blood vessels in the fundus of the subject when the flashlight is used to take photos of people. When the ambient light is relatively dark, it will magnify, and the strong light from the short-distance flash will shine on the microvascular tissue behind the retina through the enlarged pupil, and reflect back red light, causing the actual imaged photo to appear "red-eye". Red eye is very different from the color of commonly recognized eyes and degrades the quality of the photo, so it is not necessary to remove red eye in photos. [0003] The red-eye removal method in the prior art is mainly based on RGB (Red, Green, Bl...

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): G06K9/00
Inventor 郭怀印王瑞崔跃利
Owner BEIJING DAJIA INTERNET INFORMATION TECH 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