Fan-Shaped Image Frame Segmentation for Paper Cup Models
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for obtaining a fan-shaped image frame of a paper cup are imprecise due to susceptibility to noise interference and require high image processing skills, making them inefficient and not generally applicable.
Innovation Solution
A method and device that utilize pre-trained fan-shaped image detection and segmentation models to detect and segment a fan-shaped image frame, adjusting the bounding rectangle based on hit_num algorithm to achieve precise segmentation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If conventional image processing means are used to obtain fan-shaped image frame according to geometric features and template matching, then the method can process images with clear geometric features, but the method becomes susceptible to noise interference and produces unstable output results
Solution Approach 1:
The patent segments the image processing task into multiple stages: rough positioning using geometric features, followed by precise positioning using template matching and feature point matching. This multi-stage segmentation allows each stage to focus on specific aspects, improving overall precision while maintaining stability through the coordinated operation of multiple processing steps.
Solution Approach 2:
The patent performs preliminary rough positioning using geometric features before conducting precise template matching. This preliminary action prepares the image data by establishing initial boundaries and reducing the search space, which stabilizes subsequent processing and prevents noise from causing extreme deviations in final results.
2Ease of manufacture
If manual annotation or general automated annotation tools are used for neural network training data, then the process is simpler to implement, but the annotation precision is insufficient and results in imprecise data
Solution Approach 1:
The patent introduces an intermediary automated annotation system that bridges manual annotation and final precise annotation. This intermediary system uses pre-trained neural networks to generate initial annotations, which are then refined through automated correction algorithms. This intermediary layer maintains ease of implementation while significantly improving annotation precision, as it combines automated processing with targeted manual verification only where needed.
Solution Approach 2:
The patent replaces purely manual mechanical annotation processes with an automated system based on neural networks and algorithmic processing. This substitution maintains simplicity of operation while dramatically improving precision, as the automated system can consistently apply complex geometric and photogrammetric calculations without the variability and errors inherent in manual processes.
3Extent of automation
If direct fitting of segmentation mask edges from deep neural network output is used, then the process is automated, but the precision of obtaining fan-shaped image frame is imprecise
Solution Approach 1:
The patent implements a feedback mechanism where the initial segmentation mask from the neural network is evaluated, and its boundaries are refined through iterative adjustment. The system compares the initial automatic segmentation with expected geometric constraints and template matching results, then feeds this information back to correct the segmentation boundaries. This feedback loop maintains full automation while significantly improving precision by correcting systematic errors in the initial neural network output.
Solution Approach 2:
The patent changes key parameters of the segmentation process by adjusting the neural network output through geometric constraints and template matching. Instead of directly using the raw network output, the system modifies parameters such as boundary positions, angles, and dimensions based on additional processing steps. This parameter transformation maintains automation while improving precision by incorporating multiple sources of information and correcting deviations from expected geometric properties.
Data Source
AI summary
Disclosed are a method and device for precisely obtaining a fan-shaped image frame of a paper cup. The method includes: outputting a rectangular detection box and a binary mask of a fan-shaped image; obtaining a binary fan-shaped image; determining a number of times that a side line of the rectangular detection box passes through a frame communication area of the binary fan-shaped image, and adjusting a side line position of the rectangular detection box, to obtain a minimum bounding rectangle; obtaining a rough contour of the fan-shaped image; determining a target paper cup model; importing a template image of the target paper cup model; cropping the image to be processed to obtain a processing area image; and scaling the processing area image, and performing a bitwise AND operation between the precise binary mask and the processing area image to obtain a fan-shaped image precisely segmented and its corresponding frame.


