Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i'm working on image processing operation as I've image of buildings and i'm working on detecting this objects and give each one an ID to deal with later , so how can i give each one an ID ?
Posted
Comments
skydger 5-Feb-13 14:46pm    
What are these objects raster or vector? How much memory does the largest one consume?
Sergey Alexandrovich Kryukov 5-Feb-13 15:48pm    
How is this related to the question (which is of course itself unclear)?
—SA
skydger 6-Feb-13 1:49am    
I just wonder what are these objects to force asking such a question?.. :) The second question is... what is the reason of these IDs?.. Is there any tracking of them etc?
Sergey Alexandrovich Kryukov 6-Feb-13 1:57am    
Yee... no idea is explained...
—SA
z3ngew 5-Feb-13 15:58pm    
by giving the detected feature an id, do you mean object recognition or just give a sequential id?

1 solution

The ID is the easy part, just take the next number off a list or use an incrementing counter.
The hard part is usefully creating the objects from an image in the first place. I guess you're doing edge detection and then coverting the edges to vectors, comparing the normals of the vectors to find parallel lines and computing the intersections or some kind of averaged cross product of the intersections to try and establish 1 or more vanishing points in your image? Im just guessing here but if you've already got all that on the go I wouldn'y worry overly about ID's until you're dealing with moving images and trying to track the same object across multiple frames; then the ID becomes important and the job a lot harder. If that's were you're at you're going to need to serious specialist help and a lot of reading. I wish you well but object tracking through a video stream is out of my league.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900