[Insight-users] ImageIO or FILeReader or FIleWrite's problem,
Mathieu Malaterre
Mathieu . Malaterre at creatis . insa-lyon . fr
Tue, 01 Jul 2003 10:07:46 +0200
Shunming Fang wrote:
> If I just use one ImageIO to reader and
> writer(supposed the input file and out file format is
> the same), no problem. Only implmenting like the
> following way, the segmentation happen before
> writer->Update(), Yes, it is before writer->Update()
Shunming,
Are you sure you don't use any 'Update()' before this one ?
Because setting up a pipeline doesn't do anything at all...until an
'Update()' is call on a filter.
So please send us the whole code you are using. You can also send us
the backtrace of a gdb session.
Thanks,
Mathieu
> because try..Catch didn't catch the segmenataion.
> I wander whether in itk, there are just one ImageIO
> instance allowed?
> Fang