Advertisement
ASP_Volume2 OLE/ COM/ DCOM/ Active-X #42625

Find objects and label them in a thresholded image

This code finds objects in a thresholded image, labels them and reports their total number by using 4-connectedness labeling. The background is labeled as zero "0" and objects are labeled accordingly. The process is done by scanning the image top to bottom, left to right. The result is saved to a text file as digits representing the objects as labels; each digit in the text file represents a pixel of the image. To run the program first load an image by first choosing one from the combo box and then clicking the Load_Picture button, then to process the image click the Find_Objects button. This code was written by me and my friend Onur Seran, the reason we are posting it here, is that we needed this code for our project but could not find any similar code on internet, so we decided that if we write it our selves we are going to post it here, so that any one working on image processing can use it. We really hope it would be of any use to you.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine