Hair Region Image Processing with Direction-Aware Smoothing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current image processing technologies for portrait photos focus primarily on facial features and body posture beautification, with limited advancements in enhancing hair appearance, leading to a need for improved methods to smooth and beautify hair regions in images.

Innovation Solution

A method that recognizes hair regions in images, acquires the hairline direction of each pixel point, smoothes the hair region based on this direction, and superimposes virtual hairlines to enhance hair appearance, achieving a softer and more continuous look while clearly presenting hairlines.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If traditional smoothing algorithms are applied to hair regions, then the processing speed is fast, but the hair appearance becomes blurry and loses texture details

Engineering Contradiction:
Improvehair appearance qualityVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent segments the hair region into multiple sub-regions based on hairline directions, allowing different processing strategies to be applied to different areas. This segmentation enables the algorithm to preserve texture details in certain regions while still providing smoothing effects in others, thereby improving overall hair appearance quality without requiring excessive processing time across the entire region.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by using direction-aware filtering that adapts to the local hairline orientation at each pixel. Instead of applying a uniform smoothing filter, the algorithm adjusts the filtering strength and direction based on local hair texture characteristics, preserving edges and fine details in critical areas while maintaining smoothing benefits in less critical regions.

Inventive Principle:
Principle #3Local quality

2Manufacturing precision

If strong smoothing is applied to hair regions, then the mix-color filtering effect is improved, but the hairline direction and texture orientation are lost

Engineering Contradiction:
Improvemix-color filtering effectVSAvoidhairline direction information
Core Design Contradiction:
Manufacturing precisionVSLoss of information

Solution Approach 1:

The patent performs preliminary action by first detecting and analyzing hairline directions and texture orientations before applying the smoothing filter. This pre-analysis step creates a directional map that guides the subsequent filtering process, ensuring that smoothing operations are aligned with the natural hair flow and do not blur important directional features. The directional information is preserved and used to constrain the filtering operation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies parameter changes by dynamically adjusting the filtering parameters based on local hairline directions and texture characteristics. The filter strength, kernel size, and orientation are modified pixel-by-pixel or region-by-region according to the detected hair structure, allowing strong smoothing in areas where it benefits mix-color filtering while maintaining hairline direction integrity in areas where preservation is critical.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If conventional beautification algorithms are used, then facial features and body posture are enhanced, but hair region enhancement is insufficient

Engineering Contradiction:
Improvebeautification coverageVSAvoidhair enhancement quality
Core Design Contradiction:
Adaptability or versatilityVSManufacturing precision

Solution Approach 1:

The patent applies universality by extending the beautification system to handle multiple types of regions with different processing requirements. The same overall framework that processes facial features and body posture is extended to also process hair regions, but with specialized hair-aware filtering algorithms. This multi-functional approach allows the system to provide comprehensive beautification across all portrait regions while maintaining high quality in each specific domain.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces an intermediary step of hair region detection and characterization before applying beautification filters. This intermediary module identifies hair boundaries, determines hairline directions, and characterizes local texture properties, which then inform the subsequent filtering operations. This intermediary layer enables the beautification system to adapt its processing to the specific characteristics of hair regions, achieving superior enhancement quality compared to direct application of conventional filters.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11403789B2Method and electronic device for processing images
Publication Date: 2022.08.02 BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
  • US11403789B2 patent drawing
  • US11403789B2 patent drawing
  • US11403789B2 patent drawing

AI summary

A method for processing images includes recognizing a hair region in a target image; acquiring a hairline direction of each pixel point in the hair region; acquiring an intermediate image by smoothing the hair region based on the hairline direction; and acquiring a virtual hairline along the hairline direction, and acquiring a first image by superimposing the virtual hairline to the hair region in the intermediate image.