[Paraview] Image filters & extent

Bryn Lloyd blloyd at vision.ee.ethz.ch
Tue Mar 10 05:23:47 EDT 2009


Still no progress on this.


I have tried to integrate vtkImageConstantPad as a plugin. The displayed 
outline of the image (in paraview) suggests that the extent of the 
enlarged image is correct, but the information printed in the 
information tab shows the same extent as the input, rather than the one 
I expect at the output of vtkImageConstantPad.

say the input is an 10x10x10 image. I set the output extent to be 
12x12x12 in the vtkImageConstantPad. However, Paraview tells me the 
output still has dimensions 10x10x10.


I have modified vtkImageConstantPad and tried different parent classes
  - vtkImageToImageFilter
  - vtkImageAlgorithm
  - vtkDataSetAlgorithm
  - vtkTrivialProducer

... hoping to break up the pipeline somehow, i.e. simply producing a new 
image, which is displayed and can be used subsequently for other operations.

Sofar with no success. I have written a test, which runs as a separate 
program. The test proves to me that the filter DOES work as expected. 
But in Paraview the extent is screwed-up for some reason.


I have seen similar reports by John Biddiscombe, from around 2005 and 
more recent. Was there any solution to this?


Thanks


Bryn





More information about the ParaView mailing list