Olena issueshttps://gitlab.lre.epita.fr/groups/olena/-/issues2023-08-03T13:05:56+02:00https://gitlab.lre.epita.fr/olena/pylena/-/issues/6"Abandon (core dumped)" while importing pylena2023-08-03T13:05:56+02:00Gwenn-LR"Abandon (core dumped)" while importing pylenaHello @besteban & @Sefray,
First of all, thanks for the amazing work you've done on this project!
While I was using the ```pylena``` library, I stumbled on an issue which avoided me to use it. I had no problem using it in a notebook bu...Hello @besteban & @Sefray,
First of all, thanks for the amazing work you've done on this project!
While I was using the ```pylena``` library, I stumbled on an issue which avoided me to use it. I had no problem using it in a notebook but when I tried to convert it in a module, there seemed to have a problem during import.
After many experiments (on the execution, my environment and your code), I've finally found the problem having no error with the execution of your _Line detection example_ code in the docs : if I don't import ```matplotlib``` __before__ ```pylena```, the problem appears.
I think it comes from a dependency loaded by ```matplotlib``` that ```pylena``` use, but I'm not a C++ developper so I can't be sure of that.
Here is last calls outputed by ```strace``` before the issue raise, hope it can be useful to you and if you need further informations do not hesitate to ask me:
```
openat(AT_FDCWD, "/home/../lib/libgomp.so.1", O_RDONLY|O_CLOEXEC) = 12
read(12, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
pread64(12, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\1\0\1\300\4\0\0\0\t\0\0\0\0\0\0\0"..., 48, 268936) = 48
newfstatat(12, "", {st_mode=S_IFREG|0775, st_size=1265616, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 276816, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 12, 0) = 0x7f527a1bc000
mmap(0x7f527a1c7000, 176128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0xb000) = 0x7f527a1c7000
mmap(0x7f527a1f2000, 49152, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x36000) = 0x7f527a1f2000
mmap(0x7f527a1fe000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x41000) = 0x7f527a1fe000
close(12) = 0
mprotect(0x7f527a1fe000, 4096, PROT_READ) = 0
mprotect(0x7f527a5b9000, 12288, PROT_READ) = 0
mprotect(0x7f524fce6000, 307200, PROT_READ) = 0
brk(0x1721000) = 0x1721000
brk(0x1761000) = 0x1761000
mprotect(0x7f525a066000, 1560576, PROT_READ) = 0
openat(AT_FDCWD, "/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 12
newfstatat(12, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
getdents64(12, 0x16c26d0 /* 24 entries */, 32768) = 704
getdents64(12, 0x16c26d0 /* 0 entries */, 32768) = 0
close(12) = 0
sched_getaffinity(91246, 8, [0, 1, 2, 3, 4, 5]) = 8
writev(2, [{iov_base="free(): invalid pointer", iov_len=23}, {iov_base="\n", iov_len=1}], 2) = 24
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5280a67000
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
gettid() = 91246
getpid() = 91246
tgkill(91246, 91246, SIGABRT) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=91246, si_uid=1000} ---
```
Also I've had some issues while exploring the problem, especially bulding bindings following the _Contribute to the project_, but I haven't spent to much time on it and I think it would be better discussing it in another issue.
Have a nice day!
EDIT: My problem appeared trying to use `pln.scribo.line_detector`method after `import pylena as pln` (and other variants).https://gitlab.lre.epita.fr/olena/pylene/-/issues/105Scribo: Extend line detection to signal detection2023-06-11T05:04:19+02:00PhilippeScribo: Extend line detection to signal detectionAdd parameters to Scribo line detector method technique to allow the detection of curved lines (such as a signal).
![image](/uploads/8e69278efcb2ee1fbedf6bcea43b0ea7/image.png)
Those new parameters would allow the detection of a line a...Add parameters to Scribo line detector method technique to allow the detection of curved lines (such as a signal).
![image](/uploads/8e69278efcb2ee1fbedf6bcea43b0ea7/image.png)
Those new parameters would allow the detection of a line as the one above or in Electrocardiograms.PhilippePhilippehttps://gitlab.lre.epita.fr/olena/pylene/-/issues/104Scribo: superposition vector2023-04-20T05:51:28+02:00PhilippeScribo: superposition vectorUsing the label output, the superposition vector may contain:
- label values greater than max label value
- position where the label is not 1 in the imageUsing the label output, the superposition vector may contain:
- label values greater than max label value
- position where the label is not 1 in the imagePhilippePhilippehttps://gitlab.lre.epita.fr/olena/pylene/-/issues/102Watershed + transform views does not work properly2022-09-29T18:13:41+02:00Michaël RoynardWatershed + transform views does not work properlyBaptiste EstebanBaptiste Estebanhttps://gitlab.lre.epita.fr/olena/pylene/-/issues/101Compile option in CMake not propagated in Windows2022-06-23T16:11:58+02:00Baptiste EstebanCompile option in CMake not propagated in WindowsThe compile options are not propagated when consumming the Pylene Conan package, resulting in Conan error.
This is due to the fact Conan is a package manager and not a build system ([ref](https://github.com/conan-io/conan/issues/7479))....The compile options are not propagated when consumming the Pylene Conan package, resulting in Conan error.
This is due to the fact Conan is a package manager and not a build system ([ref](https://github.com/conan-io/conan/issues/7479)).
In the title, it is precised on Windows because it is the case encountered but the behavior should be the same on Linux.Baptiste EstebanBaptiste Estebanhttps://gitlab.lre.epita.fr/olena/pylene/-/issues/100Initialize type-erased ndbuffer_image with value2022-05-20T16:54:16+02:00Edwin CarlinetInitialize type-erased ndbuffer_image with valueThe ".init_value" from extra params given to mln::ndbuffer_image constructor is ignored with no message/warning.
It should at least issue a warning and enable initialization when the type is not OTHER.The ".init_value" from extra params given to mln::ndbuffer_image constructor is ignored with no message/warning.
It should at least issue a warning and enable initialization when the type is not OTHER.https://gitlab.lre.epita.fr/olena/pylene/-/issues/99CI Update + Maintenance2022-09-01T11:10:05+02:00Baptiste EstebanCI Update + MaintenanceThe CI should be updated to support more compilers and C++ libs.
Use all the compiler (gcc + clang) available on Ubuntu LTS (Jammy). Furthermore, add support to LLVM libc++
#### Dependencies management
- [X] Add [FreeImage](https://fr...The CI should be updated to support more compilers and C++ libs.
Use all the compiler (gcc + clang) available on Ubuntu LTS (Jammy). Furthermore, add support to LLVM libc++
#### Dependencies management
- [X] Add [FreeImage](https://freeimage.sourceforge.io/) as a [conan dependency](https://conan.io/center/freeimage)
Bug on freeimage dependency OpenJPEG, with GCC 11 in Release (documentation job), cause by `-ffast-math` option, leading to an `undefined behavior` (Solved 058f983e)
#### Windows CI
- [X] Fix Windows CI tests not running
This error can be solved by the following command:
```
$ cmake --build . --target RUN_TESTS
```
However, this produces an error with all algorithms using `TBB` and `FreeImage`.
#### Linux CI
- [X] Create new docker image based on Ubuntu LTS (Jammy)
- [ ] Write the new gitlab-ci.ymlv 1.0Baptiste EstebanBaptiste Estebanhttps://gitlab.lre.epita.fr/olena/pylene/-/issues/97Emit an error when the compiler version is not supported2022-04-08T08:58:09+02:00Edwin CarlinetEmit an error when the compiler version is not supportedIn CMake and in the conanfile, we should check that the compiler version is OK for the given compiler.
* [x] GCC >= 10
* [X] conanfile.py
* [x] CMakeLists.txt
* [x] Clang >= 10
* [X] conanfile.py
* [x] CMakeLists.txt
* [ ] libst...In CMake and in the conanfile, we should check that the compiler version is OK for the given compiler.
* [x] GCC >= 10
* [X] conanfile.py
* [x] CMakeLists.txt
* [x] Clang >= 10
* [X] conanfile.py
* [x] CMakeLists.txt
* [ ] libstdc++ >= ???
* [ ] libc++ >= ???
* [ ] check the C++ featuresv 1.0Baptiste EstebanBaptiste Estebanhttps://gitlab.lre.epita.fr/olena/pylene/-/issues/95Missing doc for mln::filters::nms2022-04-02T09:11:01+02:00Edwin CarlinetMissing doc for mln::filters::nmsThis function has no doc.This function has no doc.https://gitlab.lre.epita.fr/olena/pylene/-/issues/94Update install with conan documentation2022-04-01T19:07:05+02:00Edwin CarlinetUpdate install with conan documentationUpdate the Install section with the new CMakeDeps generator.Update the Install section with the new CMakeDeps generator.https://gitlab.lre.epita.fr/olena/pylena/-/issues/2Documentation: use autosummary2021-11-16T14:27:11+01:00Baptiste EstebanDocumentation: use autosummaryRight now, the documentation is using docstring to be generated thanks to `autodoc`. However, a reference to each function have to be put in the body of the documentation.
In the past, a first attempt has already been done to use `autos...Right now, the documentation is using docstring to be generated thanks to `autodoc`. However, a reference to each function have to be put in the body of the documentation.
In the past, a first attempt has already been done to use `autosummary`, but it was detecting and generating documentation for the "private" interface.
The objective would be to generate a correct documentation without this "private" API.Baptiste EstebanBaptiste Estebanhttps://gitlab.lre.epita.fr/olena/pylene/-/issues/84Request for documentation (install/compilation part)2022-01-26T18:00:07+01:00Jonathan FabrizioRequest for documentation (install/compilation part)Dear all!
Could you improve the documentation for the installation/compilation of pylene:
Some points are not in the documentation but it could be helpful to add them, especially:
* the option `--build missing` should be add to conan i...Dear all!
Could you improve the documentation for the installation/compilation of pylene:
Some points are not in the documentation but it could be helpful to add them, especially:
* the option `--build missing` should be add to conan invokation
* for dev: the dependency to `pybind-dev` must be added in the documentation
* for dev: the option `compiler.libcxx=libstdc++11` must be added in `~/.conan/profile/default`
* for dev: `conan install .. -s compiler.cppstd=20`
* to build: `cmake .. -DCMAKE_BUILD_TYPE=Release -DPYLENE_BUILD_PYTHON=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON`
Thanks!
J.F.https://gitlab.lre.epita.fr/olena/pylene/-/issues/83SSL Issue with conan2022-01-26T18:02:15+01:00Jonathan FabrizioSSL Issue with conanHi,
I have a problem with pylene installation using conan (installed with the .deb from the official website)
`conan install pylene/head@lrde/stable -g cmake_find_package -s compiler.cppstd=20`
ends with:
`ERROR: HTTPSConnectionPool(h...Hi,
I have a problem with pylene installation using conan (installed with the .deb from the official website)
`conan install pylene/head@lrde/stable -g cmake_find_package -s compiler.cppstd=20`
ends with:
`ERROR: HTTPSConnectionPool(host='center.conan.io', port=443): Max retries exceeded with url: /v1/ping (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),))`
`Unable to connect to conancenter=https://center.conan.io`
I am obliged to disable certificat checking:
`conan remote update lrde-public https://artifactory.lrde.epita.fr/artifactory/api/conan/lrde-public False`
`conan remote update conancenter https://center.conan.io False`
But it is not an acceptable solution.
Thanks,
J.F.https://gitlab.lre.epita.fr/olena/pylene/-/issues/81MToS: Optimisations2021-10-18T09:04:41+02:00Baptiste EstebanMToS: OptimisationsThe MToS implemented and merged by !123 is a naive implementation of the MToS. Some optimisations can be done, to make it faster.The MToS implemented and merged by !123 is a naive implementation of the MToS. Some optimisations can be done, to make it faster.Baptiste EstebanBaptiste Estebanhttps://gitlab.lre.epita.fr/olena/pylene/-/issues/73No warning when the number of labels exceeds the int range when labelizing.2021-01-19T11:28:26+01:00Edwin CarlinetNo warning when the number of labels exceeds the int range when labelizing.``mln::labeling::local_extrema`` does not warn the number of labels exceeds the label type range.``mln::labeling::local_extrema`` does not warn the number of labels exceeds the label type range.https://gitlab.lre.epita.fr/olena/pylene/-/issues/71Bad constructor selection in ndimage.2020-11-29T18:35:26+01:00Edwin CarlinetBad constructor selection in ndimage.```
mln::image2d<uint8_t> b = ...;
mln::ndbuffer_image a{b};
```
Selects the constructor by list-initialization instead of the copy-constructor. Better match between
``initializer_list<T>`` and **Conversion from Dervied to Base**```
mln::image2d<uint8_t> b = ...;
mln::ndbuffer_image a{b};
```
Selects the constructor by list-initialization instead of the copy-constructor. Better match between
``initializer_list<T>`` and **Conversion from Dervied to Base**https://gitlab.lre.epita.fr/olena/pylene/-/issues/70Doc and Tests for BufferPrimitives2021-05-19T11:40:30+02:00Edwin CarlinetDoc and Tests for BufferPrimitivesThese functions have no documentation:
* [ ] mln::bp::swap
* [ ] mln::bp::transpose
* [ ] mln::bp::copy
* [ ] mln::bp::alloc
These functions have no tests:
* [ ] mln::bp::swap
* [ ] mln::bp::copy
* [ ] mln::bp::allocThese functions have no documentation:
* [ ] mln::bp::swap
* [ ] mln::bp::transpose
* [ ] mln::bp::copy
* [ ] mln::bp::alloc
These functions have no tests:
* [ ] mln::bp::swap
* [ ] mln::bp::copy
* [ ] mln::bp::allochttps://gitlab.lre.epita.fr/olena/pylene/-/issues/21Fail to compile cli/dilate-cli2018-03-21T18:14:18+01:00Michaël RoynardFail to compile cli/dilate-cliReproduce steps :
```bash
git clone (pylene) && cd pylene
mkdir build && cd build
cmake .. && cd cli && make dilate-cli
```
Error :
```bash
[100%] Building CXX object cli/CMakeFiles/dilate-cli.dir/dilate.cpp.o
/Users/dutiona/Dev/LRDE...Reproduce steps :
```bash
git clone (pylene) && cd pylene
mkdir build && cd build
cmake .. && cd cli && make dilate-cli
```
Error :
```bash
[100%] Building CXX object cli/CMakeFiles/dilate-cli.dir/dilate.cpp.o
/Users/dutiona/Dev/LRDE/pylene/cli/dilate.cpp:6:10: fatal error: 'mln/core/se/ball.hpp' file not found
#include <mln/core/se/ball.hpp>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [cli/CMakeFiles/dilate-cli.dir/build.make:63: cli/CMakeFiles/dilate-cli.dir/dilate.cpp.o] Fehler 1
make[2]: *** [CMakeFiles/Makefile2:5019: cli/CMakeFiles/dilate-cli.dir/all] Fehler 2
make[1]: *** [CMakeFiles/Makefile2:5026: cli/CMakeFiles/dilate-cli.dir/rule] Fehler 2
make: *** [Makefile:253: cli/CMakeFiles/dilate-cli.dir/rule] Fehler 2
```https://gitlab.lre.epita.fr/olena/pylene/-/issues/45Remove IndexableAndAccessible concept2019-02-27T14:31:15+01:00Michaël RoynardRemove IndexableAndAccessible conceptPut IndexableAndAccessible concept into impl detail and check its availability directly into Accessible and Indexable concepts (via A => B property check).Put IndexableAndAccessible concept into impl detail and check its availability directly into Accessible and Indexable concepts (via A => B property check).Michaël RoynardMichaël Roynardhttps://gitlab.lre.epita.fr/olena/pylene/-/issues/1RGB/LSH color conversion rounding issues.2017-11-07T14:37:38+01:00Edwin CarlinetRGB/LSH color conversion rounding issues.RGB/LSH has rounding issues.
See the disabled tests in tests/color/lsh.cpp.RGB/LSH has rounding issues.
See the disabled tests in tests/color/lsh.cpp.