[Paraview] Image Mathematics
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Thu Mar 31 09:56:22 EDT 2011
I'm not surprised. A lot of code assumes the primary input to be named
"Input", although midway in the ParaView development lifespan we
decided to abondon that notion, yet there may be code that assumes
that. Feel free to file a bug, but I have a feeling it will be while
before we attempt to fix this.
Utkarsh
On Thu, Mar 31, 2011 at 4:36 AM, Jérôme <jerome.velut at gmail.com> wrote:
> 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
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
More information about the ParaView
mailing list