Commit Graph

19 Commits

Author SHA1 Message Date
Sylvain Pion 5fda817f95 Remove a few "warning: extra ';'" with g++ -pedantic. 2009-11-14 11:49:52 +00:00
Stéphane Tayeb 86527359ed Minor Bug Fix: trilinear interpolation may crash when querying with coordinates between -1 and 0. Add a test on real coordinates to exit interpolation if it is < 0. 2009-07-08 11:22:48 +00:00
Laurent Rineau fba90014b9 Remove an assertion. I am not sure that assertion is theorically correct. 2008-11-19 19:24:31 +00:00
Laurent Rineau 1bcac34f28 - Test the trilinear interpolation with a real image, taken from
examples/Surface_mesher/data/.
- Fix the trilinear interpolation when vx/vy/vz are not all equal to 1.
2008-11-17 13:34:21 +00:00
Laurent Rineau eeac591e0f Add and test a trilinear interpolation for labellized images. 2008-11-10 17:38:35 +00:00
Laurent Rineau 54fd823261 Add benches, and improve the implementation of trilinear_interpolation. 2008-10-30 15:20:04 +00:00
Laurent Rineau a63ed4f05f Fix the trilinear interpolation, and its test. 2008-10-30 14:11:01 +00:00
Laurent Rineau b714f4cd32 Add a trilinear interpolation, and a test for it. 2008-10-30 09:48:22 +00:00
Laurent Rineau de29665fc0 - License modification: now LGPL v2.1.
- Pierre has not modified include/CGAL/Image_3_vtk_interface.h: I am the
  only author.
2008-10-17 08:39:19 +00:00
Laurent Rineau 43cc745311 Commit work of previous days (week-end, yesterday and this morning):
The surface mesher Qt4 demo can now deal with labellized images.
2008-10-07 13:00:59 +00:00
Laurent Rineau e78c6b9855 image's vx, vy, vz are in double (not float). 2008-04-17 10:11:30 +00:00
Laurent Rineau 8ea291d1fd Add a default value for point requests outside of the image viewport.
That breaks the ABI (which is already incompatible with CGAL-3.3 anyway).

MOTE: That also gives a slightly different semantic, in the default case!
2008-04-16 12:15:56 +00:00
Laurent Rineau 56057487d5 - Add a class CGAL::Image_3, that summarize useful features of CGALimageIO.
- Add VTK import/export functions to CGALimageIO.
- Add a CGALimageIO+VTK demo: open an image file with CGALimageIO then
  use VTK's marching cubes to display an isolevel.
2008-04-16 11:05:15 +00:00
Laurent Rineau a9ccb7251e Reduce the amount of code, by using a macro CGAL_IMAGE_IO_CASE that
implements a switch for all image type cases (similar to
vtkTemplateMacroCase in VTK).
2008-04-16 11:00:54 +00:00
Laurent Rineau 09a919365f Move most of Gray_level_image_3 to a new class <CGAL/Image_3.h>. 2008-04-08 08:59:13 +00:00
Laurent Rineau f0226fd8a2 Add three new parameteres to _readImage_raw, to specify the spacing of the
image (vx, vy, vz).
2008-04-08 08:58:00 +00:00
Laurent Rineau 4f66ba21b8 Fix the license header, that was referring to a non-existent file. 2008-04-01 09:06:34 +00:00
Andreas Fabri c2fc0798a0 Added autolinking 2008-02-08 13:52:47 +00:00
Laurent Rineau 093d93d73d - CGALimageIO now has a header <CGAL/ImageIO.h>,
- all files and headers have a copyright header,
- CGALimageIO no longer need the cpp flag -I. (use #include "..." instead
  of #include <...>.

Checked: local compilation of libCGALimageIO works. I assume the
install_cgal will be able to compile it as well.
2008-01-24 14:42:03 +00:00