Commit Graph

146 Commits

Author SHA1 Message Date
snoppy 685bb4a18e
chore: fix typos
Signed-off-by: snoppy <michaleli@foxmail.com>
2024-04-27 22:36:04 +08:00
Andreas Fabri 468f4530d0 Compute strlen using snprintf 2024-01-08 12:13:22 +00:00
Andreas Fabri c984905745 Image_IO: sprintf -> snprintf 2024-01-04 09:17:40 +00:00
Laurent Rineau 0803718aa1 Merge pull request #7677 from rdengate/size_overflow_imread
Fixes overflow when reading in large images
2023-09-06 11:54:08 +02:00
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
Sébastien Loriot b66afab814 Merge remote-tracking branch 'sloriot/CGAL-using_c++17_stl' into HEAD 2023-07-05 11:29:35 +02:00
Sébastien Loriot f936680600 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 18:48:39 +02:00
Sébastien Loriot 9cdfe70abb Merge remote-tracking branch 'sloriot/CGAL-toward_6.0' 2023-06-15 11:34:09 +02:00
Sébastien Loriot 9a0bdb5d96 boost::variant ---> std::variant 2023-06-15 10:57:10 +02:00
Andreas Fabri 939002b1ec Add functions that enable to change the origin 2023-05-02 13:09:47 +01:00
Sébastien Loriot a88af6c0c6 boost::array -> std::array 2023-04-23 22:37:07 +02:00
Sébastien Loriot 99e7f4806a boost::int -> std::int 2023-04-23 18:43:10 +02:00
Sébastien Loriot fc034c6a5d boost::unit -> std::uint 2023-04-23 18:40:39 +02: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