Click here to Skip to main content
12,506,733 members (57,539 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# Image-Processing
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 5-Feb-13 8:25am
Comments
skydger 5-Feb-13 14:46pm
   
What are these objects raster or vector? How much memory does the largest one consume?
   
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?
   
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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160927.1 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100