Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Voxels to Line

  1. #1
    Intern Newbie
    Join Date
    Jan 2001
    Posts
    48

    Voxels to Line

    I have a set of voxels that I have identified as an edge and I can convert it into a line, but when the edge is a couple voxels thick my algorithm produces junk.
    Here's a 2D example:
    (this I have no problem)
    ___X
    __X
    _X
    X
    (this I have a problem)
    ______XX
    _____XX
    __XXX
    _XX
    XX

    I need to strip away the voxels and make it one voxel thick. How can I do this?

  2. #2
    Intern Contributor
    Join Date
    Sep 2003
    Location
    Jersey, Channel Islands
    Posts
    68

    Re: Voxels to Line

    Hi

    This sounds like a typical line fitting problem. Try a search on line fitting to see how this is done. This problem is quite common in fitting lines (or other curves in its generla case) over scientific data. It should apply to what you're doing, unless you've got some sort of special situation there.

    madmortigan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •