From 97df136d322e2f04c838a97fa77c8fd372a695ab Mon Sep 17 00:00:00 2001 From: Kumataro Date: Wed, 21 Jan 2026 22:17:19 +0900 Subject: [PATCH] Merge pull request #28441 from Kumataro:fix28440 Properly preserve KAZE/AKAZE license as mandated by BSD-3-Clause #28441 Close https://github.com/opencv/opencv/issues/28440 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake --- modules/features2d/CMakeLists.txt | 1 + modules/features2d/src/kaze/LICENSE | 5 +++++ modules/features2d/src/kaze/LICENSE.AKAZE | 26 +++++++++++++++++++++++ modules/features2d/src/kaze/LICENSE.KAZE | 26 +++++++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 modules/features2d/src/kaze/LICENSE create mode 100644 modules/features2d/src/kaze/LICENSE.AKAZE create mode 100644 modules/features2d/src/kaze/LICENSE.KAZE diff --git a/modules/features2d/CMakeLists.txt b/modules/features2d/CMakeLists.txt index 91fea8bcc8..872251ca50 100644 --- a/modules/features2d/CMakeLists.txt +++ b/modules/features2d/CMakeLists.txt @@ -9,3 +9,4 @@ endif() ocv_define_module(features2d opencv_imgproc ${debug_modules} OPTIONAL opencv_flann WRAP java objc python js) ocv_install_3rdparty_licenses(mscr "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/mscr/chi_table_LICENSE.txt") +ocv_install_3rdparty_licenses(features2d "${CMAKE_CURRENT_SOURCE_DIR}/src/kaze/LICENSE.KAZE" "${CMAKE_CURRENT_SOURCE_DIR}/src/kaze/LICENSE.AKAZE") diff --git a/modules/features2d/src/kaze/LICENSE b/modules/features2d/src/kaze/LICENSE new file mode 100644 index 0000000000..d1dd030519 --- /dev/null +++ b/modules/features2d/src/kaze/LICENSE @@ -0,0 +1,5 @@ +This folder contains both KAZE and AKAZE sources. +For license details, please refer to the following files: + +- KAZE: LICENSE.KAZE +- AKAZE: LICENSE.AKAZE diff --git a/modules/features2d/src/kaze/LICENSE.AKAZE b/modules/features2d/src/kaze/LICENSE.AKAZE new file mode 100644 index 0000000000..7c633bb061 --- /dev/null +++ b/modules/features2d/src/kaze/LICENSE.AKAZE @@ -0,0 +1,26 @@ +Copyright (c) 2014, Pablo Fernandez Alcantarilla, Jesus Nuevo +All Rights Reserved + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the copyright holders nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/modules/features2d/src/kaze/LICENSE.KAZE b/modules/features2d/src/kaze/LICENSE.KAZE new file mode 100644 index 0000000000..a5e13ce836 --- /dev/null +++ b/modules/features2d/src/kaze/LICENSE.KAZE @@ -0,0 +1,26 @@ +Copyright (c) 2012, Pablo Fernández Alcantarilla +All Rights Reserved + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the copyright holders nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.