MantisBT - ITK
View Issue Details
0008369ITKpublic2009-01-13 10:482009-03-11 10:03
Bradley Lowekamp 
Bradley Lowekamp 
normalminorhave not tried
closedfixed 
 
ITK-3-12 
0008369: Some VectorImage filters set output information in AllocateOutputs
Algorithms/itkBayesianClassifierImageFilter
BasicFilters/itkImageToVectorImageFilter

Call SetVectorLength (and other output information) in the AllocateOutputs method. This should be called in the UpdateOutputInformation method so that filters down stream know the size of the vectors and other information.
Karthik Krishnan confirmed this but at the NAMIC project week in SLC 2009
No tags attached.
related to 0008323closed Bradley Lowekamp An Implementation of streaming for ImageFileWriter with collaboration from ImageIOBase 
Issue History
2009-01-13 10:48Bradley LowekampNew Issue
2009-01-13 10:50Bradley LowekampNote Added: 0014545
2009-01-13 10:50Bradley LowekampStatusnew => confirmed
2009-01-13 10:56Bradley LowekampNote Edited: 0014545
2009-01-13 10:56Bradley LowekampRelationship addedrelated to 0008323
2009-01-13 13:19Bradley LowekampStatusconfirmed => acknowledged
2009-01-13 13:22Bradley LowekampAssigned To => Bradley Lowekamp
2009-01-13 13:22Bradley LowekampStatusacknowledged => confirmed
2009-01-13 13:23Bradley LowekampNote Added: 0014548
2009-01-13 13:59Bradley LowekampNote Added: 0014549
2009-01-28 11:10Bradley LowekampNote Added: 0014696
2009-02-25 13:31Bradley LowekampNote Added: 0015381
2009-02-25 13:31Bradley LowekampStatusconfirmed => resolved
2009-02-25 13:31Bradley LowekampResolutionopen => fixed
2009-03-11 10:03Bradley LowekampStatusresolved => closed
2009-03-11 10:03Bradley LowekampFixed in Version => ITK-3-12

Notes
(0014545)
Bradley Lowekamp   
2009-01-13 10:50   
(edited on: 2009-01-13 10:56)
This bug is causing a test to fail on the dashboard
http://www.cdash.org/CDash/testSummary.php?project=2&name=itkImageToVectorImageFilterTest&date=2009-01-13 [^]

(0014548)
Bradley Lowekamp   
2009-01-13 13:23   
Experimental build with implementation of ImageToVectorImageFilter::GenerateOutputInformation:

http://www.cdash.org/CDash/viewSite.php?siteid=1201&project=2&currenttime=1231808400 [^]
(0014549)
Bradley Lowekamp   
2009-01-13 13:59   
Algorithms/itkBayesianClassifierImageFilter still has this issue. It is unfortunately a more problematic case because the even the image region, origin, spacing and direction is set the in AllocateOutput methods. There are currently no tests which execute this class!

There also appears to be problems with respecting the requested region and not overloading the GenerateInputRequestedRegion method when using the smoothing filter.
(0014696)
Bradley Lowekamp   
2009-01-28 11:10   
Fix for ImageToVectorImageFilter::GenerateOutputInformation was committed

http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkImageToVectorImageFilter.txx?root=Insight&r1=1.2&r2=1.3&sortby=date [^]

http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkImageToVectorImageFilter.h?root=Insight&r1=1.6&r2=1.7&sortby=date [^]
(0015381)
Bradley Lowekamp   
2009-02-25 13:31   
Fix itkBayesianClassifierImageFilter:

http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/Algorithms/itkBayesianClassifierImageFilter.h?root=Insight&r1=1.12&r2=1.13&sortby=date [^]
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/Algorithms/itkBayesianClassifierImageFilter.txx?root=Insight&r1=1.7&r2=1.8&sortby=date [^]

Test was updated to execute filter:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Testing/Code/Algorithms/itkBayesianClassifierImageFilterTest.cxx?root=Insight&r1=1.5&r2=1.6&sortby=date [^]