Skip to content

Fixed the document of alphamat tutorial #2743

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

Closed
Closed
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions modules/alphamat/tutorials/alphamat_tutorial.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Alphamatting is the problem of extracting the foreground from an image. The extr

Given an input image and its corresponding trimap, we try to extract the foreground from the background. Following is an example:

Input Image: ![](samples/input_images/plant.jpg)
Input Trimap: ![](samples/trimaps/plant.png)
Output alpha Matte: ![](samples/output_mattes/plant_result.jpg)
|Input Image|Input Trimap|Output alpha Matte|
|:---:|:---:|:---:|
|![](../samples/input_images/plant.jpg)|![](../samples/trimaps/plant.png)|![](../samples/output_mattes/plant_result.jpg)|
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take a look on Doxygen demo page for this PR.

Avoid using of relative paths, please use alphamat/samples/... prefix (<opencv_contrib>/modules is added to a search list of base image paths).

Also please revert table layout for this, it is not handled properly by Doxygen.


This project is implementation of @cite aksoy2017designing . It required implementation of parts of other papers [2,3,4].

Expand Down