View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008162ParaView(No Category)public2008-11-25 06:322016-08-12 09:57
ReporterF Wheeler 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008162: float to Calculator to double to Median problem
Description[FYI, I have sent this as an email to the paraview list several times over the past week without it appearing in the archives. I even sent it once or twice after I subscribed to the list.]

I'm using Paraview 3.4.0 in Windows to process and view a float attribute of a Uniform Rectilinear Grid. I'm able to apply a Median filter to the float attribute and view the result, which is also floats. However, when I use the Calculator filter, the calculator output is of type double. It looks like the Median filter will not operate on doubles. I get the following error:

ERROR: In ..\..\..\ParaView3\VTK\Imaging\vtkImageMedian3D.cxx, line 395 vtkImageMedian3D (06B19448): Execute: input data type, 11, must match out ScalarType 10

Is this a limitation/bug in ParaView? Is there a way to get the calculator to produce floats as its output? Is there a way to tell the Median filter that its output should be doubles so the input and output types match up?

I'm using abs(11000-ImageFile) in the calculator now. I've tried fabs(11000-ImageFile), float(abs(11000-ImageFile)), and (float)abs(11000-ImageFile), but no joy.

Paraview is a fine tool - many thanks.

Regards,
Fred Wheeler
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0037610)
Kitware Robot (administrator)
2016-08-12 09:57

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2008-11-25 06:32 F Wheeler New Issue
2009-12-09 14:49 Berk Geveci Project @3@ => ParaView
2011-06-16 13:10 Zack Galbreath Category => (No Category)
2016-08-12 09:57 Kitware Robot Note Added: 0037610
2016-08-12 09:57 Kitware Robot Status expired => closed
2016-08-12 09:57 Kitware Robot Resolution open => moved
2016-08-12 09:57 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team