[Insight-users] drawing a line

David Doria daviddoria at gmail.com
Thu Apr 21 11:30:13 EDT 2011


2011/4/21 LaMoOsH .. <xlolla28x at hotmail.com>

>  Hi,
>
> what does this part do ?
> it is specifying two points in the region? right?
> i already have both my points.
>
> thanks
>

Right, but (170.910,144.438) is not anything to a c++ compiler

It needs to be like this:

  ImageType::IndexType point;
  point0[0] = 170.91;
  point1[1] = 144.438;

// same idea for point 0

LineIteratorType it( reader, point0, point1);

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110421/4dac0b9b/attachment.htm>


More information about the Insight-users mailing list