Skip to content

Commit 908b1bc

Browse files
committed
Delete doll.png
Delete doll.png Adopted the correct file structure Added the lines required at every source file in the beginning. Adopted the correct file structure Added the license header Rename modules/Matting/Global-Sampling-Method-for-Alpha-Matting/globalmatting.h to modules/global_matting/include/opencv2/globalmatting.h Rename modules/global-matting/src/globalmatting.cpp to modules/global_matting/src/globalmatting.cpp Rename modules/Matting/Global-Sampling-Method-for-Alpha-Matting/README.md to modules/global_matting/README.md Update README.md Update README.md Update README.md
1 parent a6c5cc6 commit 908b1bc

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed
Binary file not shown.
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Global-Sampling-Method-for-Alpha-Matting
2-
This is a C++ implementation of "A Global Sampling Method for Alpha Matting" by Kaiming He, Christoph Rhemann, Carsten Rother, Xiaoou Tang,JianSun presented at CVPR 2011.
2+
This is a C++ implementation of <b>"A Global Sampling Method for Alpha Matting"</b> by Kaiming He, Christoph Rhemann, Carsten Rother, Xiaoou Tang, JianSun presented at CVPR 2011.
33

44

55
### Steps ###
@@ -15,7 +15,7 @@ To run the executable file, use the following command
1515

1616
### Results ###
1717

18-
After evaluating this implementation on alphamatting.com, the results are almost as good as the original implementation.
18+
After evaluating this implementation on <b>alphamatting.com</b>, the results are almost as good as the original implementation.
1919

2020
Following were the results:
2121

modules/Matting/Global-Sampling-Method-for-Alpha-Matting/globalmatting.h renamed to modules/global_matting/include/opencv2/globalmatting.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// This file is part of OpenCV project.
2+
// It is subject to the license terms in the LICENSE file found in the top-level directory
3+
// of this distribution and at http://opencv.org/license.html.
4+
5+
6+
17
#ifndef GLOBAL_MATTING_H
28
#define GLOBAL_MATTING_H
39

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// This file is part of OpenCV project.
2+
// It is subject to the license terms in the LICENSE file found in the top-level directory
3+
// of this distribution and at http://opencv.org/license.html.
4+
15
#include "globalmatting.h"
26
#include "opencv2/imgproc.hpp"
37
#include "opencv2/highgui.hpp"

0 commit comments

Comments
 (0)