Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] isosurface construction from signed distance function point set

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] isosurface construction from signed distance function point set


Chronological Thread 
  • From: Pádraig Ó Conbhuí <>
  • To:
  • Subject: Re: [cgal-discuss] isosurface construction from signed distance function point set
  • Date: Mon, 16 Nov 2015 16:58:16 +0000
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:9tNImxJeORwTDYGDdNmcpTZWNBhigK39O0sv0rFitYgUI/vxwZ3uMQTl6Ol3ixeRBMOAu68C1rWd4vmocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWC0oLqiKvjotX6WEZhunmUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD86FpyshbTK+vf7gkVacKS3M9ImUt7YvqswPCRE2B/DwHQ2AOm11JBQbCqxr1V5O0virhvfdmw3qmOpj9QrkwHDij9Kx2UwTAiSEdNjd//nuEpNZ3ifdjKR67rh1wizWcS4aTPvpj++uJZdQRQmxLXttQfyNEC4K4KYAICrxSbq5js4Dhqg5W/lOFDg62Cba3xw==

This is what I used for info in the INR format: http://serdis.dis.ulpgc.es/~krissian/InrView1/IOformat.html

Each point of your data will be treated as a voxel. But I think that might be smoothed out with trilinear(?) interpolation in the Image_3 class. I'm not too sure of that since I haven't used it in a while.

It's been a while since I've played with the image types, so I'm not sure if CGAL will do signed data. I've only ever used unsigned.

I wrote my own crappy file writers for my project, so I have no idea exactly what CGAL's IO supports.

If you set up a basic mesher from the example and play around with the INR file, you should get some better answers.

Regards,
Paddy

On Sun, Nov 15, 2015 at 6:51 PM, vimarsh <> wrote:
Thanks Padraig, i've looked at the example and that approach should do what i
want, after making a few modifications.
Unfortunately i know only very basic details about the inr format, and i'm
not able to find a lot of information.
I know that we can give scalar data for each voxel in a cubical image, which
is called its grey value.

Since i have a uniform grid of points on which i know scalar function
values, should i treat the points as voxels? (because voxels, according to
the int file documentation have a height, width and breadth, so that may not
be right for me)

Secondly can this gray value be negative, or should i shift the origin for
the data and give an adjusted isovalue?  because the domain of my scalar
function values is the real number space (same goes for the coordinates of
the grid of points i have), and in the inr file i inspected after loading in
matlab, i only saw positive values

Lastly should i use INRIA's zinrimage library(or cgal if it can write inr
files) to write an inr file, or should i follow what has been suggested by
someone in this approach (since i have points in cgal's data structures
already)
link:
http://cgal-discuss.949826.n4.nabble.com/reading-3D-array-as-image-td4178913.html
In the link above, the person has tried to eliminate the step where we write
to an int file and read from it again in cgal, by using the image_3
class(after changing it i think)

Thanks again!



--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/isosurface-construction-from-signed-distance-function-point-set-tp4661319p4661340.html
Sent from the cgal-discuss mailing list archive at Nabble.com.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page