[Paraview] Image Mathematics

Jérôme jerome.velut at gmail.com
Thu Mar 31 04:36:05 EDT 2011


Hi again,
I found the origin of the pipeline issue: The XML description of the filter
must set the name of one input to "Input". The 2-inputs ImageMathematics
works well with first input name="Input" rather than name="Input1".
Second input name="Input2" does not have to be changed.

Should I fill a bug entry for that? Is it a design constraint?

Best regards,
Jerome

2011/3/29 Jérôme <jerome.velut at gmail.com>:
> Dear all,
> I am trying to embed the vtkImageMathematics filter in ParaView, but I
> have a pipeline issue (attached are the corresponding XML
> servermanagers).
> For "one input" operations (add K, invert, sin, cos,...) everything
> works well. But for "two inputs" operations (Add, Multiply, Min,
> Max,...) the pipeline browser does not show the connections between
> the input images and the ImageMathematics filter. Note that updating
> the pipeline produces the right output! The only problem is that I
> cannot right-click and choose "change input". Another consequence is
> that a python-scripted state is not able to rebuild the pipeline.
>
> FYI, I already developed a two-image-inputs filter (image convolution
> with a kernel represented by another vtkImageData:
> http://github.com/jeromevelut/vtkKinship) for which this issue doesn't
> occur. Could it be the way the input informations are provided at the
> VTK side of the filter ?
>
> Thanks a lot,
> Jerome
>


More information about the ParaView mailing list