[Insight-users] Pipeline
Bill Lorensen
bill.lorensen at gmail.com
Mon May 28 13:22:47 EDT 2012
Please post the entire error message.
Better yet, please post a small, self contained compilable example
that illustrates the problem.
On Mon, May 28, 2012 at 12:12 PM, Mirco Serra <mirco9091 at hotmail.it> wrote:
> Hi guys,
>
> I got an error i cannot figure out: I'm creating a pipeline to crop a volume
> of interest and give this volume to a threshold connected filter in order to
> segment only this new volume. here is my pipeline:
>
> ...
> filter->SetRegionOfInterest( DesiredRegion );
> filter->SetInput( reader->GetOutput() );
> newVolume->SetInput( filter->GetOutput() );
>
> thresholdConnected->SetInput( filter->GetOutput() );
> caster->SetInput( thresholdConnected->GetOutput() );
> label->SetInput( caster->GetOutput() );
> label->SetUseCompression(1);
> ...
>
> Building it, I get this error, though:
>
> Error 1 error C2664: 'void
> itk::ImageToImageFilter<TInputImage,TOutputImage>::SetInput(const
> itk::Image<TPixel,VImageDimension> *)' : cannot convert parameter 1 from
> 'itk::Image<TPixel,VImageDimension> *' to 'const
> itk::Image<TPixel,VImageDimension> *'
>
> Does anyone know a way to solve this problem?
>
>
> Thanks,
>
> Mirco
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
--
Unpaid intern in BillsBasement at noware dot com
More information about the Insight-users
mailing list