[Insight-users] Flood fill and Face-vertex representations for surfaces
Dan Mueller
dan.muel at gmail.com
Fri Jul 23 21:34:44 EDT 2010
Hi Sid,
Indeed, I had misunderstood what you meant by "flood fill".
You might want to investigate
BasicFilters\itkTriangleMeshToBinaryImageFilter. This filter converts
a (triangle) mesh to binary mask.
If you are not bound to ITK and require conversion of general polydata
to image (ie. not just triangles), you may want to investigate the
following class in VTK: Hybrid\vtkPolyDataToImageStencil.
HTH
Cheers, Dan
On 23 July 2010 19:08, Siddharth Srivastava <siddys at gmail.com> wrote:
> Hi Dan, list,
> I wanted to create a binary volume from the region enclosed
> by the surface, the definition of which i have in the face-vertex
> representation, and of which i know that it is closed.
> Any suggestions?
> sid.
>
> On Fri, Jul 23, 2010 at 9:42 AM, Dan Mueller <dan.muel at gmail.com> wrote:
>>
>> Hi Sid,
>>
>> Doesn't the front iterator implement the "flood filling" you are
>> referring to? Maybe I misunderstand what you mean by "flood
>> filling"...
>>
>> On 23 July 2010 18:37, Siddharth Srivastava <siddys at gmail.com> wrote:
>> > Thanks, Dan. Interesting extensions to ::Mesh, and I will
>> > certainly start with this now.
>> > Any ideas about flood filling? Or maybe just getting a region bound
>> > by the manifold?
>> > sid.
>> >
>> > On Thu, Jul 22, 2010 at 9:26 PM, Dan Mueller <dan.muel at gmail.com> wrote:
>> >>
>> >> Hi Sid,
>> >>
>> >> You may be interested in the following Insight Journal paper
>> >> (especially section 3.3):
>> >> ItkQuadEdgeMesh: A Discrete Orientable 2-Manifold Data Structure
>> >> for Image Processing
>> >> http://www.insight-journal.org/browse/publication/122
>> >>
>> >> itk::QuadEdgeMeshFrontIterator has made it into the toolkit, found
>> >> here:
>> >> Code/Review/itkQuadEdgeMeshFrontIterator.h
>> >>
>> >> Example usage can be found in the test code here:
>> >> Testing/Review/itkQuadEdgeMeshFrontIteratorTest.cxx
>> >>
>> >> HTH
>> >>
>> >> Cheers, Dan
>> >>
>> >> On 22 July 2010 23:06, Siddharth Srivastava <siddys at gmail.com> wrote:
>> >> > Hi Everyone,
>> >> > Are there any filter(s) in itk that I can use in isolation or in
>> >> > combination to implement
>> >> > a flood fill of a volume bound by a closed surface, where the latter
>> >> > is
>> >> > represented as
>> >> > a face-vertex set?
>> >> > Also, what is the best way to represent surfaces in itk, given
>> >> > that
>> >> > I
>> >> > can generate
>> >> > face-vertex set externally?
>> >> > thanks,
>> >> > sid.
>> >
>> >
>
>
More information about the Insight-users
mailing list