Commit Graph

135 Commits

Author SHA1 Message Date
Laurent Rineau 3527e8e8d0 prefer std::size_t 2023-08-29 09:37:51 +02:00
Rebecca Dengate 256c87d986 Fixes overflow when reading in large images, see issue #7664 2023-08-29 13:34:39 +10:00
Andreas Fabri 939002b1ec Add functions that enable to change the origin 2023-05-02 13:09:47 +01:00
Jane Tournois e8e3eaa7b4 Merge remote-tracking branch 'cgal/master' into Mesh_3-triple_line_extraction-GF
# Conflicts:
#	Mesh_3/test/Mesh_3/CMakeLists.txt
2023-02-21 11:05:30 +01:00
Mael 4d22c90474
Merge branch 'master' into feature/bug_documentation_spell_20221113 2023-01-04 10:06:45 +01:00
Laurent Rineau ae3ae6e8d6 Merge pull request #7083 from afabri/Demo-readBMP-GF
3d Demo: Try to read bmp files
2022-12-14 10:39:53 +01:00
Mael Rouxel-Labbé 282166307c Misc minor changes 2022-12-07 12:20:39 +01:00
Mael 0ff7882997
Merge branch 'master' into feature/bug_documentation_spell_20221113 2022-12-06 22:21:06 +01:00
Mael Rouxel-Labbé 45c0ecfe42 Add an extra assertion 2022-11-28 12:05:59 +01:00
Mael Rouxel-Labbé 76c695dfc1 Fix assertion that G & B colors are the same as R (only gray is supported) 2022-11-28 12:01:12 +01:00
Mael Rouxel-Labbé 0f0bd3ff6d WIP bmp reading 2022-11-25 01:04:45 +01:00
Andreas Fabri b2f3eedb2f 3d Demo: Try to read bmp files 2022-11-24 16:14:11 +00:00
Mael Rouxel-Labbé b5c21e1f5d Http -> https + update some dead links 2022-11-23 18:54:37 +01:00
albert-github 7a62583efa spelling corrections
Some spelling corrections (Directories starting with `C`)
2022-11-14 19:14:33 +01:00
Jane Tournois 106f9e7f92 use std number types and add 64 bits word types 2022-06-30 10:20:16 +01:00
Sébastien Loriot 4ffc949199 replace boost::unordered by std::unordered
but in T3, Mesh_3, TDS_3, P3[TM]3
2022-02-03 19:11:12 +01:00
Laurent Rineau 973187d353 Merge pull request #6206 from sloriot/demo-boost_spirit_deprecated_headers
include non-deprecated headers
2022-01-03 16:22:37 +01:00
Sébastien Loriot ef59128253 include non-deprecated headers 2021-12-27 11:08:34 +01:00
Laurent Rineau ca89949169 Merge pull request #5597 from lrineau/Mesh_3-weighted_images-GF
Mesh_3: Add weighted images
2021-10-29 17:01:33 +02:00
Sébastien Loriot 44df66485d move images 2021-10-07 14:47:15 +02:00
Jane Tournois 4b3fee813f ITK is not needed in c3t3_item, and find with the required components only 2021-09-23 14:46:40 +02:00
Jane Tournois 6be3be61de make constructor explicit to avoid implicit conversions
that would also take the own of the data in `im`
2021-09-23 10:47:20 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Jane Tournois 89a227af80 make 'weights' a boost named parameter of create_labeled_image_mesh_domain() 2021-06-25 17:09:32 +02:00
Mael Rouxel-Labbé 78ff9185b3 Harmonize ASCII usage across all packages 2021-06-23 23:34:32 +02:00
Jane Tournois 83c40f2c34 fix return type 2021-06-21 09:54:48 +02:00
Laurent Rineau 91d66354f2 Merge pull request #5769 from alefy/ImageIO-Fix_inline_vtk-alefy
Add inline vtk_image_sharing_same_data_pointer
2021-06-16 15:04:45 +02:00
Adrien Lefieux 9723f5e68e Add inline vtk_image_sharing_same_data_pointer
Fix possible duplicate symbol.
2021-06-08 17:38:27 +02:00
Laurent Rineau 26ad68e486 Merge pull request #5649 from sloriot/CGAL-no_boost_shared_ptr
Replace internal use of boost shared_ptr
2021-05-18 18:14:12 +02:00
Sébastien Loriot 22be8671f7 move read_vtk_image_data to IO 2021-05-04 14:59:28 +02:00
Sébastien Loriot 1faa0e2992 replace internal use of boost::shared_ptr by std::shared_ptr 2021-04-28 10:55:26 +02:00
Laurent Rineau ab1c30a9a5 Add support for tx/ty/tz (the origin) in Image_3_vtk_interface.h 2021-04-02 12:06:20 +02:00
Raphael Grimm 6acef1b8b1 Fix define clashes with dirent.h which is included by some boost headers
Use prefix CGAL_analyze_impl_ to avoid clashing and breaking dirent.h.
Also fix potential bug when including
"CGAL/Classification/TensorFlow/Neural_network_classifier.h"
after this header
2020-10-20 14:18:12 +02:00
Raphael Grimm bdecbc9511 Rename the define DEBUG to CGAL_GIF_IMPL_DEBUG
Having such a general term defined in a header can cause issues in downstream projects (e.g. if DEBUG is used as member of an enum).
2020-10-16 10:47:54 +02:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot cf99ea072d Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2020-03-16 16:19:38 +01:00
Sebastien Loriot 715e8e3e8b
fix leak
Co-Authored-By: Laurent Rineau <Laurent.Rineau@cgal.org>
2020-02-27 10:52:23 +01:00
Sébastien Loriot 844bfddcac avoid crash if the file is corrupted or empty 2020-02-27 10:19:35 +01:00
Jane Tournois adeb6b391e add error message
when zlib version is < 1.2.9, it is not possible to save an image as .inr,
it has to be .inr.gz
no matter if zlib is available or not

this commit adds an error message to help the user understand the error
2019-12-05 16:29:11 +01:00
Laurent Rineau 436d5cba52 Merge pull request #4326 from lrineau/ImageIO-fix_warnings-lrineau
ImageIO: fix warnings
2019-11-06 17:45:28 +01:00
Laurent Rineau 5e1fe8a0b0 fix warnings 2019-10-29 15:39:57 +01:00
Laurent Rineau 5d1704b9d1 Fix typo 2019-10-24 09:29:16 +02:00
Sébastien Loriot 07c4ada6ec update SPDX flags and remove license notice of ImageIO files 2019-10-19 15:50:09 +02:00
Sébastien Loriot 52164b1fba First pass on removing license notice in header for LGPL files 2019-10-19 15:40:30 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Maxime Gimeno 8cffe1e8e7 Check if spacings are null when reading a vtk image. If they are, set them to 1. 2019-10-03 16:36:20 +02:00
Laurent Rineau 084d534949 Fix conversion warnings in the Surface_mesher testsuite 2019-09-04 10:36:17 +02:00
Laurent Rineau 64bc3bc96e Fix conversion warnings of the testsuite of CGAL_ImageIO 2019-09-04 10:22:46 +02:00
Laurent Rineau dc4e41c13e Fix the code of extract_a_sub_image, conversion warnings 2019-09-04 10:22:27 +02:00