Connected Component Analysis Label Reuse
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing CCA methods require a large label buffer and cannot reuse labels, leading to inefficient handling of label collisions in real-time applications.
Innovation Solution
A CCA method that reuses labels by defining a label pattern with a center label and neighboring labels, and handles collisions without increasing the label buffer size by replacing labels and updating reference values accordingly.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If traditional CCA methods use separate memory for translator, merger or collision table to handle label collisions, then label collision handling capability is improved, but memory resource consumption increases
Solution Approach 1:
The patent merges the collision table with the label buffer, making them share the same memory space. The label buffer serves dual purposes: storing current labels and acting as the collision table for resolving label conflicts. This eliminates the need for separate memory resources for collision handling while maintaining the capability to resolve label collisions effectively.
Solution Approach 2:
The label buffer is designed to perform multiple functions: it stores labels for current pixels, serves as a collision table for resolving label conflicts, and enables label reuse after processing. This multi-functional design eliminates the need for dedicated separate memory for collision handling, reducing overall memory resource consumption while maintaining reliable collision handling.
2Quantity of substance
If traditional CCA methods allocate large label buffer to accommodate all labels, then label storage capacity is improved, but memory efficiency deteriorates
Solution Approach 1:
The patent implements label reuse by allowing labels to be discarded from the label buffer after they have been used for processing. When a label is no longer needed (after its connected component has been fully processed), it can be reused for new connected components. This recovering mechanism ensures that the label buffer maintains sufficient storage capacity while efficiently reusing available label indices, thereby improving memory efficiency.
Solution Approach 2:
The label buffer size and label availability are made dynamic rather than static. Labels are allocated and released based on the actual processing needs and progress. This dynamic management allows the system to maintain adequate label storage capacity while optimizing memory usage by releasing labels that are no longer needed, thus improving overall memory efficiency.
Data Source
AI summary
A connected component analysis (CCA) method, which can use labels repeatedly, comprising: defining a label pattern comprising a label and a plurality of neighboring labels; setting a center label of a current pixel of a target binary image according to a binary value of the current pixel and the neighboring pixels; setting at least two of the neighboring labels according to whether the current pixel is in any one of a first row, a first column and a last column; and recording the center label to a label buffer. Labels for marking pixels of the target binary image are first center labels, and then are second center labels, and are the first center labels again after the labels are the second center labels.


