Semi-automatic Image Labeling with Iterative Grabcut and Edge Tracking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing grabcut image cutting algorithm faces challenges in achieving high precision when segmenting foreground images with complex contour shapes, leading to inclusion of background pixels and reduced accuracy.

Innovation Solution

A semi-automatic image data labeling method is introduced, which executes the grabcut algorithm multiple times to acquire the outline coordinates of a foreground image, and employs an edge tracking algorithm to update local coordinate sets, thereby improving labeling data precision.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the grabcut algorithm is used with a single frame drawn on the foreground image, then the operation is simple and fast, but the frame range becomes very large for images with special contour shapes, resulting in many background pixels and decreased segmentation precision

Engineering Contradiction:
Improveoperation simplicityVSAvoidsegmentation precision
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent divides the segmentation process into multiple iterative stages. Instead of drawing one large frame, the system performs multiple grabcut algorithms with progressively refined frames, segmenting the foreground more precisely in each iteration until the desired precision is achieved.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamic adjustment of the frame range through iterative optimization. The frame is dynamically refined in each iteration based on the previous segmentation result, allowing the system to adapt to complex contour shapes while maintaining operational simplicity through automation.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If multiple frames are drawn to improve segmentation precision for complex shapes, then the segmentation accuracy improves, but the operation complexity and time consumption increase

Engineering Contradiction:
Improvesegmentation precisionVSAvoidoperation complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements automatic frame optimization where the system self-adjusts the frame range in each iteration based on the previous segmentation result. The automatic frame optimization module refines the frame without requiring manual redrawing, allowing multiple iterations while keeping operation complexity low.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent uses feedback from previous segmentation results to guide subsequent iterations. The system analyzes the segmentation outcome and automatically adjusts the frame for the next iteration, creating a closed-loop process that improves precision while minimizing manual intervention.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If multiple iterations of the grabcut algorithm are performed, then the labeling data precision improves, but the time consumption increases

Engineering Contradiction:
Improvelabeling data precisionVSAvoidtime consumption
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies partial action by performing the full iterative process only when necessary. The system can stop after one iteration if the initial segmentation is sufficient, or continue with additional iterations only when complex shapes require higher precision, thus balancing time consumption with precision requirements.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent performs preliminary assessment of the image characteristics to determine the appropriate number of iterations needed. By analyzing the complexity of the foreground shape and background patterns before full segmentation, the system can pre-determine the optimal iteration count, avoiding unnecessary time consumption while ensuring sufficient precision.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12272113B2Semi-automatic image data labeling method, electronic apparatus, and storage medium
Publication Date: 2025.04.08 WUYI UNIV
  • US12272113B2 patent drawing
  • US12272113B2 patent drawing
  • US12272113B2 patent drawing

AI summary

Disclosed are a semi-automatic image data labeling method, an electronic apparatus and a non-transitory computer-readable storage medium. The semi-automatic image data labeling method may include: displaying a to-be-labeled image, the to-be-labeled image comprising a selected area and an unselected area; acquiring a coordinate point of the unselected area and a first range value; executing a grabcut algorithm based on the coordinate point of the unselected area and the first range value acquired, and obtaining a binarized image divided by the grabcut algorithm; executing an edge tracking algorithm on the binarized image to acquire current edge coordinates; updating a local coordinate set based on the current edge coordinates acquired; updating the selected area of the to-be-labeled image based on the local coordinate set acquired.