8000 Test alphamatte by muskaankularia · Pull Request #2247 · opencv/opencv_contrib · GitHub
[go: up one dir, main page]

Skip to content

Test alphamatte #2247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 82 commits into
base: 4.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
17207fa
Add files via upload
muskaankularia Sep 2, 2019
41ceff9
Add files via upload
muskaankularia Sep 2, 2019
5e3e999
Add files via upload
muskaankularia Sep 2, 2019
0847836
Delete doll.png
muskaankularia Sep 2, 2019
c67a32f
Delete donkey.png
8000 muskaankularia Sep 2, 2019
d782987
Delete elephant.png
muskaankularia Sep 2, 2019
158e938
Delete net.png
muskaankularia Sep 2, 2019
2477942
Delete pineapple.png
muskaankularia Sep 2, 2019
3fe589e
Delete plant.png
muskaankularia Sep 2, 2019
b056e35
Delete plasticbag.png
muskaankularia Sep 2, 2019
f994020
Delete troll.png
muskaankularia Sep 2, 2019
4359adc
Delete elephant.png
muskaankularia Sep 2, 2019
491b51f
Delete net.png
muskaankularia Sep 2, 2019
fac36ae
Delete pineapple.png
muskaankularia Sep 2, 2019
0b06ed5
Delete plant.png
muskaankularia Sep 2, 2019
8cb8c13
Delete plasticbag.png
muskaankularia Sep 2, 2019
8dca8a5
Delete alphamat.bib
muskaankularia Sep 2, 2019
1a38add
Delete summary_Information_Flow.docx
muskaankularia Sep 2, 2019
2727519
Update README.md
muskaankularia Sep 2, 2019
9b2e395
Update README.md
muskaankularia Sep 2, 2019
09db622
Update README.md
muskaankularia Sep 2, 2019
c5056ca
Update README.md
muskaankularia Sep 2, 2019
0e55f0e
Update README.md
muskaankularia Sep 2, 2019
7a775a7
Create CMakeLists.txt
muskaankularia Sep 2, 2019
08d9f30
removed bits/stdc++.h header
muskaankularia Sep 3, 2019
f13088e
updated headers in precomp.h
muskaankularia Sep 3, 2019
f22a069
edit headers
muskaankularia Sep 3, 2019
db41d5b
updated header
muskaankularia Sep 3, 2019
4127d49
updated infoflow
muskaankularia Sep 3, 2019
b6b2c49
Delete alphac.cpp
muskaankularia Sep 3, 2019
0c38534
Eigen added for compiling
muskaankularia Sep 3, 2019
d7a2ef9
Merge branch 'test_alphamatte' of https://github.com/muskaankularia/o…
muskaankularia Sep 3, 2019
c16e565
test file header updated
muskaankularia Sep 3, 2019
c5cd238
test file header updated
muskaankularia Sep 3, 2019
2459b38
code changed acc to codeing style
muskaankularia Sep 3, 2019
6fba3df
added include and doc
muskaankularia Sep 3, 2019
2b90c69
edit in namespace
muskaankularia Sep 3, 2019
3e49d7c
namespace added
muskaankularia Sep 3, 2019
5035eb9
cv::cv - corrected, dim - corrected
muskaankularia Sep 3, 2019
95a8c8c
compilation errors removed
muskaankularia Sep 3, 2019
2146461
header file incl in .hpp
muskaankularia Sep 3, 2019
18b14b2
path to Eigen added
muskaankularia Sep 3, 2019
0f8fcf2
test error function added
muskaankularia Sep 3, 2019
18b248e
edit in test file
muskaankularia Sep 3, 2019
504533c
test update
muskaankularia Sep 3, 2019
93db368
edit test
muskaankularia Sep 3, 2019
0ceff2e
edit test
muskaankularia Sep 3, 2019
cb59bf0
edit test
muskaankularia Sep 3, 2019
873beb2
edit test
muskaankularia Sep 3, 2019
5d30eaa
edit cmake
muskaankularia Sep 3, 2019
0cf5ae8
cv removed
muskaankularia Sep 3, 2019
46e66ae
warning in KtoU removed
muskaankularia Sep 4, 2019
66e80cb
warnings removed
muskaankularia Sep 4, 2019
1be1340
remove warnings and errors
muskaankularia Sep 4, 2019
f5b51b9
ifndef conditions addded
muskaankularia Sep 4, 2019
7be17ed
globals moved from header to cpp
muskaankularia Sep 4, 2019
aefdf7e
typedef moved to header
muskaankularia Sep 4, 2019
3ca82b1
error in test resolved
muskaankularia Sep 4, 2019
26cfa9c
added path to opencv_extra
muskaankularia Sep 4, 2019
0509d25
comment last 4 lines
muskaankularia Sep 4, 2019
b02c158
Eigen removed
muskaankularia Sep 4, 2019
77f5ac4
cmake updated
muskaankularia Sep 4, 2019
cd9d3ee
include Eigen updated
muskaankularia Sep 4, 2019
26458a6
Removed whitespaces and updated CMakeLists.txt
sunitanyk Sep 4, 2019
00c1b87
Removed empty line at EOF of CMakeLists.txt
sunitanyk Sep 5, 2019
d2d2f97
Merge pull request #2 from sunitanyk/test_alphamatte_sn
muskaankularia Sep 5, 2019
9232b73
added samples and tutorials
sunitanyk Sep 6, 2019
3de7d53
included opencv.hpp
sunitanyk Sep 6, 2019
e7e793b
included headers
sunitanyk Sep 6, 2019
0ea3bce
included headers
sunitanyk Sep 6, 2019
db50a05
edited cpp sample
sunitanyk Sep 6, 2019
2c0b495
edited markdown files
sunitanyk Sep 6, 2019
61d2b18
Merge pull request #3 from sunitanyk/test_alphamatte_sn
muskaankularia Sep 6, 2019
0c16f1e
uncommented test_infoflow
muskaankularia Sep 6, 2019
22ae638
tutorials update
sunitanyk Sep 6, 2019
ea342d6
removed blank line
sunitanyk Sep 7, 2019
a39bd46
included tutorial images
sunitanyk Sep 7, 2019
4551de6
removed whitespaces
sunitanyk Sep 7, 2019
07dafff
added paper info
sunitanyk Sep 8, 2019
393f752
Merge pull request #4 from sunitanyk/test_alphamatte_sn
muskaankularia Sep 8, 2019
ccb6c9e
Update README.md
muskaankularia Sep 10, 2019
bb477a2
Update README.md
muskaankularia Sep 10, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
included tutorial images
  • Loading branch information
sunitanyk committed Sep 7, 2019
commit a39bd4657bfca1e7bfcedf0d8ce0e253e8efbe0d
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
Information Flow AlphaMatting {#tutorial_alphamat_information_flow}
======================
=======================

Alphamatting is the problem of extracting the foreground from an image. Given the input of image and its corresponding trimap, we try to extract the foreground from the background. Following is an example -

Input Image: ![](images/net_input_image.jpg)
Input Trimap: ![](images/net_trimap.jpg)
Output alpha Matte: ![](images/net_result.jpg)

Source Code of the sample
-----------

@includelineno alphamat/samples/alphamat_information_flow.cpp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions modules/alphamat/tutorials/table_of_content_alphamat.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ Information Flow Alpha Matting {#tutorial_table_of_content_alphamat}

- @subpage tutorial_alphamat_information_flow

*Author:* Muskaan Kularia

*Mentor:* Sunita Nayak

This project was part of Google Summer of Code 2019.

In several applications, we need to extract foreground for further operations like changing the background in an image. Information-Flow Matting is a computer vision approach to compute alphamatte of objects in images.
0