[Insight-users] Bresenham Line Iterator
Miller, James V (Research)
millerjv at crd.ge.com
Thu Jun 2 13:06:24 EDT 2005
Thanks Benjamin,
For scan conversion, I am mostly interested scan converting (filling) a 2D polygon
parallel to one of the imaging axes. 2D polygon in a 2D plane. A 2D polygon
on a z=5 plane of a 3D volume. A 2D polygon on a x=5 plane of a 3D volume, etc.
So the polygon would not have to be arbitrarily oriented but it would be nice if
it could be parallel to any of the imaging axes.
Any less scared?
Jim
-----Original Message-----
From: Benjamin King [mailto:king.benjamin at mh-hannover.de]
Sent: Thursday, June 02, 2005 9:47 AM
To: Miller, James V (Research); ITK
Subject: Re: [Insight-users] Bresenham Line Iterator
Hi Jim,
thanks for fixing the code and checking it in! There is a small typo in the
header documentations:
"... The iterator is constructor similar to other ..."
should be
"... The iterator is constructed similar to other ..."
Concerning your question on scan conversion:
I could modify the iterator to trace a polyline, but if you want a filled
polygon in ND-space, I'd rather run and hide =)
cheers,
Benjamin
Am Donnerstag, 2. Juni 2005 15:14 schrieben Sie:
> Benjamin,
>
> I checked in your code to the ITK repository. Here are the list of
> modifications I did.
>
> 1) Added standard header to the files for ITK.
> 2) Added some doxygen documentation to the two headers
> 3) Changed the location of the {'s is loops and conditions to match ITK
> style (which places them on the next line)
> 4) Fixed a minor bug in the operator=() method
> 5) Modified the test to be a regression test and simplified it to a 2D
> test.
>
> Again, thanks a lot.
>
> Jim
More information about the Insight-users
mailing list