Re: x y coordinates of image pixels for an image outline
- To: mathgroup at smc.vnet.net
- Subject: [mg118114] Re: x y coordinates of image pixels for an image outline
- From: Oliver Ruebenkoenig <ruebenko at wolfram.com>
- Date: Tue, 12 Apr 2011 06:53:44 -0400 (EDT)
On Tue, 12 Apr 2011, william parr wrote: > Dear Mathgroup, > > I think this problem is fairly straight forward, but I'm struggling with it! > > essentially, I want to; > 1) determine/assign x y coordinate values to the black pixels in a binarised image. > 2) select the outline black pixels (and get their x y coordinates) on each line of the image. > > This falls within a larger project of wanting to recover the outside > outline (ie surface outline with x y coordinates) of a bone from a CT > slice image. I would then probably aim to create a 3D point cloud for > the > external bone surface by assigning each slice a z coordinate value. > However, unless anyone has a very clever (ie not processor intensive) > way > of of creating a polygon mesh from the 3D point cloud, I will probably > export the point cloud for surface meshing in another program. > > thanks in advance, > > Will > > Hi Will, with that point cloud, you could use TetGenConvexHull to create a 3D surface and then use other TetGenLink` functionality to make a (refined/surface) mesh. Hth, Oliver