Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Image_3 from a std::vector

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Image_3 from a std::vector


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Image_3 from a std::vector
  • Date: Thu, 12 Apr 2012 22:00:39 +0200
  • Organization: GeometryFactory

Le jeudi 12 avril 2012 12:49:20 slaughter a écrit :
> Thanks for the quick response.
>
> Which members are required?
> I am assuming the following: xdim, ydim, zdim, size, vx, vy, vz
> Are there others and how to you set these values?

xdmin, ydmin, and zdim are the three dimensions of your 3D array.
vx, vy, vz are the three lengths, in world coordinates, of a single pixel.

Have a look at include/CGAL/ImageIO.h for the details.

From a Image_3 object, 'im', you can access the low level struct _image by:

im.image().

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.16.

Top of Page