Skip to content

Integration issue with alphamat module #2535

@sunitanyk

Description

@sunitanyk
System information (version)
  • OpenCV => 4.3
  • Operating System / Platform => Mac OS Catalina (10.15.3)
Detailed description

There is a runtime issue while using the alphamat module in OpenCV4.3. It seems to be some resizing/cropping issue. Looks like only the top right of the input image is being processed.

The module works fine offline with the included example code, but does not give right results while being called directly as an OpenCV function call: cv::alphamat::infoFlow (InputArray image, InputArray tmap, OutputArray result) using OpenCV4.3 installation.

Input Images(RGB and trimap):
plant

plant_trimap

Expected Output(as is obtained from testing the module code offline)
plant_result_expected

Current Output from OpenCV4.3 function call :
plant_result_Opencv4 3

This looks somewhat similar to images reported in an earlier issue( dynamic fusion running error! #2521)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions