View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004229VTK(No Category)public2006-12-19 07:232016-08-12 09:54
ReporterMichael Knopke 
Assigned ToBerk Geveci 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004229: vtkMarchingCubes and vtkImageMarchingCubes fail on large Datasets
Descriptionusing both of these classes can result in a blank screen if the dataset is too big and the threshold value produces alot of "hits" (e.g. CT-scan with threashold around 1000 (bones)). It is not a problem of the amount of Ram, since swap file was set to extreme large value (10GB) for testing.

pipeline is very simple:

// vtkVolume16Reader
v16->SetDataDimensions (lVolumeInfo.XDim,lVolumeInfo.YDim);
 v16->SetImageRange (0,lVolumeInfo.ZDim);
 v16->SetDataSpacing (lVolumeInfo.XSpacing, lVolumeInfo.YSpacing, lVolumeInfo.ZSpacing);

// marching cubes
  iso_Extractor->SetValue(0, 1068);

// the mapper for the iso_extractor

// the actor for the iso_extractor

DataSet is 431 slices CT-Data with 512px. (works with oder classes without problems). This behaviour happens on most big DataSets.

Using vtkImageMarchingCubes with Streaming didn't help either.
TagsNo tags attached.
Attached Files


Michael Knopke (reporter)
2006-12-19 07:30

If the size of the volume is reduced (e.g. with vtkImageRescale or vtkImageShrinker3D) it shows the correct result (with loss of quality of course). So this seems to be a memory problem, but as said swap file is large.
Jeff Baumes (administrator)
2008-02-06 10:28

With a 32-bit build, the size of the swap does not matter. The max is 2GB. Did you try this with a 64-bit build?
Michael Knopke (reporter)
2008-02-06 11:09

No, didn't try 64Build yet, but I guess it's really a 2GB issue and the filter is working fine. There should be some kind of memory management in VTK, since it is quite hard to track the amount of memory that's being used in a complex pipeline and will be used by a filter when updating. Right now alot of filters just crash when exceeding the limit or is there something I missed? Simple Try-catch doesn't prevent crashing.
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

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

 Issue History
Date Modified Username Field Change
2008-02-06 10:28 Jeff Baumes Note Added: 0010388
2008-02-06 10:30 Jeff Baumes Assigned To Will Schroeder => Berk Geveci
2008-02-06 10:30 Jeff Baumes Severity major => minor
2008-02-06 11:09 Michael Knopke Note Added: 0010394
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036898
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved

Copyright © 2000 - 2018 MantisBT Team