Mouth Image Segmentation Using Ternary Pixel Classification
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image recognition technologies struggle to accurately recognize the edge of a mouth in a target image, leading to poor subsequent processing outcomes.
Innovation Solution
Implementing a ternary classification system for pixel points in an image, determining probabilities for three categories (face, mouth, and background) to enhance accuracy in identifying the mouth region.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If binary classification is used to simplify the recognition process, then the device complexity is reduced, but the measurement precision of mouth edge recognition deteriorates
Solution Approach 1:
The patent segments the binary classification problem into multiple sub-classifications by introducing intermediate categories (mouth internal pixel points, mouth boundary pixel points, face region pixel points). This segmentation allows the system to handle the complexity of mouth edge recognition through staged classification, improving precision without requiring a single complex binary classifier.
Solution Approach 2:
The patent transitions from a one-dimensional binary classification (mouth vs. non-mouth) to a multi-dimensional classification system with multiple categories and probability scores. By adding dimensional depth through probability values and multiple classification levels, the system achieves higher recognition accuracy while managing complexity through structured dimensionality.
2Measurement precision
If ternary classification is implemented to improve recognition accuracy, then the measurement precision of mouth edge recognition is improved, but the device complexity increases
Solution Approach 1:
The classification system is segmented into distinct stages: first classifying pixel points into three categories (mouth internal, mouth boundary, face region), then applying different processing rules to each category. This segmentation reduces the apparent complexity by breaking down the complex ternary classification into manageable, rule-based decisions for each category.
Solution Approach 2:
The patent changes the parameter space by introducing probability values and category-specific processing rules. Instead of a simple multi-class classifier, the system uses probability thresholds and category-based decision rules, which simplifies the implementation complexity while maintaining the benefits of ternary classification for improved accuracy.
Data Source
AI summary
Disclosed in embodiments of the present invention are an image recognition method and apparatus, an electronic device, and a computer-readable medium. One specific embodiment of the method comprises: obtaining a target image with a mouth displayed; for each of preset at least three target categories, determining a probability that each pixel point in the target image is the target category, and obtaining at least three probability maps; and determining the category of each pixel point in the target image on the basis of the at least three probability maps. According to the embodiment, the target image with the mouth displayed is classified into at least three target categories, so that the pixel points have more accurate categories, and the recognition of the edge of a target area in the image is more accurate.


