Skip to content

Commit 3c74b02

Browse files
Merge branch 'opencv:4.x' into update_mcc_CCHecker
2 parents bc1a50a + bbce2ef commit 3c74b02

File tree

164 files changed

+8935
-2321
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+8935
-2321
lines changed

.github/workflows/PR-4.x.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,10 @@ jobs:
2626

2727
macOS-X64:
2828
uses: opencv/ci-gha-workflow/.github/workflows/OCV-Contrib-PR-4.x-macOS-x86_64.yaml@main
29+
30+
Linux-RISC-V-Clang:
31+
uses: opencv/ci-gha-workflow/.github/workflows/OCV-Contrib-PR-4.x-RISCV.yaml@main
32+
33+
openEuler2203-x64:
34+
if: "${{ contains(github.event.pull_request.labels.*.name, 'category: cann') }}"
35+
uses: opencv/ci-gha-workflow/.github/workflows/OCV-Contrib-PR-4.x-O22-CANN.yaml@main

modules/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ $ cmake -D OPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules -D BUILD_opencv_<r
7272

7373
- **saliency**: Saliency API -- Where humans would look in a scene. Has routines for static, motion and "objectness" saliency.
7474

75+
- **signal**: Signal processing algorithms
76+
7577
- **sfm**: Structure from Motion -- This module contains algorithms to perform 3d reconstruction from 2d images. The core of the module is a light version of Libmv.
7678

7779
- **shape**: Shape Distance and Matching

modules/alphamat/README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# Computer Vision based Alpha Matting
22

3+
![Trimap Alphamat Example from Askoy et al 2017](https://github.com/opencv/opencv_contrib/assets/810997/5cafae51-18e1-4e75-9035-6b40c9a064cb)
4+
5+
6+
37
This project was part of the Google Summer of Code 2019.
48

5-
####Student: Muskaan Kularia
6-
####Mentor: Sunita Nayak
9+
#### Student: Muskaan Kularia
10+
#### Mentor: Sunita Nayak
11+
712
***
813
Alphamatting is the problem of extracting the foreground from an image. Given the input of an image and its corresponding trimap, we try to extract the foreground from the background.
914

@@ -20,4 +25,4 @@ This project is implementation of "[Designing Effective Inter-Pixel Information
2025

2126
[4] Qifeng Chen, Dingzeyu Li, Chi-Keung Tang, "[KNN Matting](http://dingzeyu.li/files/knn-matting-tpami.pdf)", IEEE TPAMI, 2013.
2227

23-
[5] Yagiz Aksoy, "[Affinity Based Matting Toolbox](https://github.com/yaksoy/AffinityBasedMattingToolbox)".
28+
[5] Yagiz Aksoy, "[Affinity Based Matting Toolbox](https://github.com/yaksoy/AffinityBasedMattingToolbox)".

modules/aruco/CMakeLists.txt

-29
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,2 @@
11
set(the_description "ArUco Marker Detection")
22
ocv_define_module(aruco opencv_core opencv_imgproc opencv_calib3d opencv_objdetect WRAP python java objc js)
3-
ocv_include_directories(${CMAKE_CURRENT_BINARY_DIR})
4-
5-
ocv_add_testdata(samples/ contrib/aruco
6-
FILES_MATCHING PATTERN "*yml"
7-
)
8-
9-
ocv_add_testdata(tutorials/aruco_detection/images/ contrib/aruco
10-
FILES_MATCHING PATTERN "singlemarkersoriginal.jpg"
11-
)
12-
13-
ocv_add_testdata(tutorials/aruco_board_detection/images/ contrib/aruco
14-
FILES_MATCHING PATTERN "gboriginal.png"
15-
)
16-
17-
ocv_add_testdata(tutorials/charuco_detection/images/ contrib/aruco
18-
FILES_MATCHING PATTERN "choriginal.jpg"
19-
)
20-
21-
ocv_add_testdata(tutorials/charuco_detection/images/ contrib/aruco
22-
FILES_MATCHING PATTERN "chocclusion_original.jpg"
23-
)
24-
25-
ocv_add_testdata(tutorials/charuco_diamond_detection/images/ contrib/aruco
26-
FILES_MATCHING PATTERN "diamondmarkers.png"
27-
)
28-
29-
ocv_add_testdata(tutorials/aruco_calibration/images/ contrib/aruco
30-
FILES_MATCHING REGEX "img_[0-9]+.jpg"
31-
)

modules/aruco/README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ ArUco Marker Detection
33

44
**ArUco**
55

6+
![markers](https://github.com/opencv/opencv_contrib/assets/810997/8d587456-f27f-49e4-9540-28a0477d43fc)
7+
68
ArUco markers are easy to detect pattern grids that yield up to 1024 different patterns. They were built for augmented reality and later used for camera calibration. Since the grid uniquely orients the square, the detection algorithm can determing the pose of the grid.
79

810
**ChArUco**
911

12+
![screen_charuco](https://github.com/opencv/opencv_contrib/assets/810997/64610da1-ee06-406c-a19b-006b02ac44fd)
13+
14+
1015
ArUco markers were improved by interspersing them inside a checkerboard called ChArUco. Checkerboard corner intersections provide more stable corners because the edge location bias on one square is countered by the opposite edge orientation in the connecting square. By interspersing ArUco markers inside the checkerboard, each checkerboard corner gets a label which enables it to be used in complex calibration or pose scenarios where you cannot see all the corners of the checkerboard.
1116

12-
The smallest ChArUco board is 5 checkers and 4 markers called a "Diamond Marker".
17+
The smallest ChArUco board is 5 checkers and 4 markers called a "Diamond Marker".

modules/aruco/samples/create_marker.cpp

-116
This file was deleted.

0 commit comments

Comments
 (0)