Abstract:
A method for labeling connected components and a computer system using the method are provided. With the method, during a process of scanning an image for the first time, each object pixel in the image is assigned a temporary label, and a relationship between each temporary label and a representative label is established after the completion of the process of scanning the image for the first time. Thereafter, the temporary label of each object pixel is replaced by the corresponding representative label during a process of scanning the image for the second time. As a result, the labeling of the connected components can be accomplished by only scanning the image twice such that the efficiency of labeling the connected components can be significantly improved.
Abstract:
The present invention provides a lead-free brass alloy, including 0.3 to 0.8 wt % of aluminum, 0.01 to 0.4 wt % of bismuth, 0.05 to 1.5 wt % of iron and more than 96 wt % of copper and zinc, wherein the copper is present in an amount ranging from 58 to 75 wt %. The brass alloy of the present invention meets the standard of the environmental regulation, wherein the lead content is less than 0.25 wt % based on the weight of the alloy. Further, the brass alloy of the present invention has 0.05 to 1.5 wt % of iron and less than 0.4% of bismuth, so as to lower production cost, eliminate cracks and increase production yield.
Abstract:
A method for labeling connected components and a computer system using the method are provided. With the method, during a process of scanning an image for the first time, each object pixel in the image is assigned a temporary label, and a relationship between each temporary label and a representative label is established after the completion of the process of scanning the image for the first time. Thereafter, the temporary label of each object pixel is replaced by the corresponding representative label during a process of scanning the image for the second time. As a result, the labeling of the connected components can be accomplished by only scanning the image twice such that the efficiency of labeling the connected components can be significantly improved.