• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting the pixel-coördinates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting the pixel-coördinates


  • Subject: Getting the pixel-coördinates
  • From: Bastiaan Roos <email@hidden>
  • Date: Wed, 2 Nov 2005 14:57:21 +0100

Dear readers,

I just signed up for this mailinglist and i hope there will be people outthere who can help me with some pointers or examples.

But before i will get to my question you have to understand what it is for, so here it goes!

I am building a 3d scanner, i am using a laser which makes a straight line onto an object. With a digital camera i make a photograph. By turning the table a degree at the time i will end-up with 360 images. These images need to be processed, but first they need to be cleaned from unwanted information, so with a bit of tweaking the end result should be a black and white image with no tones in between. This i can manage myself.

Now the part that i am having a question about. a laserline is nice but it ends up in a photograph as a thik line. so i want to filter that and make it 1 pixel for each row, meaning i only want the outer pixel to remain in the image so i'll end-up with the contour or shape of the object as a 1 pixel line.

example as a demonstration.


original file

XXX
XXX
XX
XXXX

After Filtering (read removing everything on the left accept the outer right pixels)

   X
   X
 X
       X


Hope this makes sence, the X are ofcourse white pixels presenting the laserline captured in a digital file. If i can manage to filter all unwanted pixels i will end-up with a much more cleaner data file which will end in a better quality 3d object.


Anyway if somebody can help me point out on how to approach such a filter that would be very much appreciated.

Question number 2:

If i can manage to filter out all unwanted pixels, how can one capture the coordinates of those "white pixels", i need the coordinates to be written in a textfile.

If anyone has a cleu on how to approach this or can point me towards sample source then i would really appreciate it

kind regards Bastiaan
Sorry for the bad english!


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Whocalls utility
  • Next by Date: RE: How to get the Image From QCView
  • Previous by thread: Whocalls utility
  • Next by thread: Is it a bad idea to invoke "init..." over and over on the same object?
  • Index(es):
    • Date
    • Thread