Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Meshing isosurfaces defined as gray levels in 3D images not possible for large images?

Subject: CGAL users discussion list

List archive

[cgal-discuss] Meshing isosurfaces defined as gray levels in 3D images not possible for large images?


Chronological Thread 
  • From: Joan Hensen <>
  • To: "" <>
  • Subject: [cgal-discuss] Meshing isosurfaces defined as gray levels in 3D images not possible for large images?
  • Date: Mon, 6 Jun 2016 20:49:17 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Importance: Normal
  • Ironport-phdr: 9a23:+oX1whTSUjdl9bEtAgAiCCfz1Npsv+yvbD5Q0YIujvd0So/mwa64bB2N2/xhgRfzUJnB7Loc0qyN4/GmBz1LuM/R+Fk5M7VyFDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3CwN5K6zPF5LIiIzvjqbpq8yVPVQD3WPtKZpJbzyI7izp/vEMhoVjLqtjgjDomVBvP9ps+GVzOFiIlAz97MrjtLRq8iBXpu5zv5UYCfaySZ8lVqRVBygKNGU85cuj9UWSDFjH2nxJGG4Zmx4NDwne5wzhRb/wtDH7v6xzwmPSacb5RLRxVTW55LpwUzfpjj0GPng36jeEpNZ3ifd5pxun7zxyxZXZZsnBNv13eOXdcNUBSGxpWdtNUytGAcWwYt1cXKI6Ie9Eotyl9BM1phykCFzwVe4=

Hey guys,

I'm using the example Surface_mesher/mesh_a_3d_gray_image.cpp in order to triangulate some 3D images.

Apparently, there are problems when the images get to large. I have generated a test image and tried to apply 'mesh_a_3d_gray_image' on it:

./mesh_a_3d_gray_image
zlib error: data/test.inr: requested length does not fit in int
_readImage: error: invalid data encountered in 'data/test.inr'

The image has a size of 2009 x 2009 x 400 voxel.

I have uploaded all data that you need to reproduce the error: https://www.dropbox.com/s/ki5vfqivj1qnsxs/data.zip?dl=0

Can you help me? I assume that more people would like to triangulate large images :-).

Joan



Archive powered by MHonArc 2.6.18.

Top of Page