[Insight-users] create a line in itk

Dan Mueller dan.muel at gmail.com
Mon Mar 29 04:03:34 EDT 2010


Hi Edoardo,

Please have a look at the following classes:
    Code/Common/itkPolyLineParametricPath
    Code/Common/itkPathIterator
    Code/BasicFilters/itkPathToImageFilter

You can find examples on how to use these classes:
    Examples\DataRepresentation\Path\PolyLineParametricPath1.cxx
    Testing\Code\Common\itkPathIteratorTest.cxx
    Testing\Code\BasicFilters\itkPathToImageFilterTest.cxx

Please let us know if you have further questions.

Regards, Dan

On 28 March 2010 18:34,  <edoardo.belletti at alice.it> wrote:
> Hi
> Is there someone who can explain me  how can I write a line in an image?
> For exaple I have two pixel and I whant to link this two pixel with a white
> line:
> // Index of the two pixel
> ImageType::IndexType pixelIndex1;
> ImageType::IndexType pixelIndex2;
>
> Thank you very much
> Edoardo


More information about the Insight-users mailing list