| OpenCV 4.3.0 Open Source Computer Vision

Functions
Alpha Matting

## Functions
void | cv::alphamat::infoFlow (InputArray image, InputArray tmap, OutputArray result)

## Detailed Description

Information Flow algorithm implementaton for alphamatting

This module is dedicated to compute alpha matting of images, given the input image and an input trimap. The samples directory includes easy examples of how to use the module.

## Function Documentation

## ◆ infoFlow()

void cv::alphamat::infoFlow | ( | InputArray | image,
|  | InputArray | tmap,
|  | OutputArray | result
| ) |  |

`#include <opencv2/alphamat.hpp>`

The implementation is based on Designing Effective Inter-Pixel Information Flow for Natural Image Matting by Yağız Aksoy, Tunç Ozan Aydın and Marc Pollefeys, CVPR 2019.

This module has been originally developed by Muskaan Kularia and Sunita Nayak as a project for Google Summer of Code 2019 (GSoC 19).