Hi!<br><br>I've build a pipeline using vtkImageMapToColors and
vtkImageBlend and it works fine. However, when a large vtkImageData
[such as 3] is used as input and "Update()" is called in one of these
classes, my application is interrupted. <br>
<br>This problem occurs only under Windows (tested under XP
Professional SP). The same pipeline and input worked under Linux
(Ubuntu and Fedora) and Mac OS X (Leopard).<br><br>I'm using VTK 5.2
and I've written the code both in Python and C++. In the first case the
error message was [1] . In the second case, the error message was [2].<br>
<br>Is there a way of processing parallely these filters? I need to load and manipulate all this data at the same time.<br><br>Thanks!<br><br>Paulo<br><span style="background-color: rgb(255, 255, 0);"></span><b style="background-color: rgb(255, 255, 0);"><br>
</b><div class="Ih2E3d">[1] -<br>Window with:<br><br>Unhandled exception<br>An unhandled exception occured. Press "Abort" to terminate the program,<br>"Retry" to exit the program normally and "Ignory" to try to continue.<br>
<br>[2] -<br>ERROR: In c:\temp\wrapper\vtk\vtk-5.2.0\</div><div><div class="Ih2E3d">common\vtkDataArrayTemplate.txx, line 137<br>vtkUnsignedCharArray (02118E20): Unable to allocate 315621376 elements of size 1 bytes. <br>
<br>ERROR: In ..\..\Filtering\vtkImageData.cxx, line 2117<br>
vtkImageData (02116C10): Coordinate (0, 0, 0) out side of array (max = -1<br><br></div>[3] -<span id="q_11d87ba4b476b722_5" class="WQ9l9c"></span><br><div><div class="Ih2E3d">vtkImageData (053978D8)<br> Debug: Off<br> Modified Time: 223689<br>
Reference Count: 3<br> Registered Events: (none)<br> Source: (none)<br>
Information: 05387508<br> Data Released: False<br> Global Release Data: Off<br> UpdateTime: 223298<br> Release Data: Off<br> UpdateExtent: Not Initialized<br> UpdateExtent: 0, 511, 0, 511, 0, 399<br> WholeExtent: 0, 511, 0, 511, 0, 399<br>
ExtentTranslator: (053969D8)<br> RequestExactExtent: Off<br> Field Data:<br> Debug: Off<br> Modified Time: 223256<br> Reference Count: 1<br> Registered Events: (none)<br> Number Of Arrays: 0<br> Number Of Components: 0<br>
Number Of Tuples: 0<br> Number Of Points: 104857600<br> Number Of Cells: 104187279<br> Cell Data:<br> Debug: Off<br> Modified Time: 223243<br> Reference Count: 1<br> Registered Events: (none)<br> Number Of Arrays: 0<br>
Number Of Components: 0<br> Number Of Tuples: 0<br> Copy Tuple Flags: ( 1 1 1 1 1 0 1 )<br> Interpolate Flags: ( 1 1 1 1 1 0 0 )<br> Pass Through Flags: ( 1 1 1 1 1 1 1 )<br> Scalars: (none)<br> Vectors: (none)<br>
Normals: (none)<br> TCoords: (none)<br> Tensors: (none)<br> GlobalIds: (none)<br> PedigreeIds: (none)<br> Point Data:<br> Debug: Off<br> Modified Time: 223689<br> Reference Count: 1<br> Registered Events: (none)<br>
Number Of Arrays: 1<br> Array 0 name = GDCMImage<br> Number Of Components: 1<br> Number Of Tuples: 104857600<br> Copy Tuple Flags: ( 1 1 1 1 1 0 1 )<br> Interpolate Flags: ( 1 1 1 1 1 0 0 )<br> Pass Through Flags: ( 1 1 1 1 1 1 1 )<br>
Scalars: <br> Debug: Off<br> Modified Time: 223689<br> Reference Count: 1<br> Registered Events: (none)<br> Name: GDCMImage<br> Data type: short<br> Size: 104857600<br> MaxId: 104857599<br>
NumberOfComponents: 1<br> Information: 0538FDF8<br> Debug: Off<br> Modified Time: 223691<br> Reference Count: 1<br> Registered Events: (none)<br> PER_COMPONENT: vtkInformationVector(05396EB0)<br>
Name: GDCMImage<br> Number Of Components: 1<br> Number Of Tuples: 104857600<br> Size: 104857600<br> MaxId: 104857599<br> LookupTable: (none)<br> Array: 1E210020<br> Vectors: (none)<br>
Normals: (none)<br> TCoords: (none)<br> Tensors: (none)<br> GlobalIds: (none)<br> PedigreeIds: (none)<br> Bounds: <br> Xmin,Xmax: (-107.5, 148)<br> Ymin,Ymax: (111.125, 366.625)<br> Zmin,Zmax: (1760, 1880.1)<br>
Compute Time: 0<br> ScalarType: 4<br> NumberOfScalarComponents: 1<br> Spacing: (0.5, 0.5, 0.301)<br> Origin: (-107.5, 111.125, 1760)<br> Dimensions: (512, 512, 400)<br> Increments: (1, 512, 262144)<br> Extent: (0, 511, 0, 511, 0, 399)</div>
</div></div>