Skip to content

How I can run this app? #20

@albingit70

Description

@albingit70

Hi @cheind
I downloaded your code to my computer(Windows 10, Visual Studio 2015, OpenCV 4.1), and compiled successfully.
When i try to run inpaint_image_criminisi.exe, I couldn't see the final image.

After building you might want to try out inpaint_image_criminisi

Launch inpaint_image_criminisi <image>.
Use the sliders on top of the UI to adjust patch and stencil size. Patch size refers to the size of texels that will be used during inpainting. It should be roughly the size of minimum texture feature size you intend to inpaint. Stencil size refers to radius of the interactive drawing tools explained in the following 2 steps.
While holding your left mouse button pressed, move your mouse to mark the target area to be inpainted.
While holding your right mouse button pressed, move your mouse to mark the source area from which samples can be copied to target area. If you skip this step, the entire image without source region is used as source area.
Press e to toggle between editing / inpaint mode.
Press x to quit.

My steps:
1). Open command prompt and move to the folder which contain inpaint_image_criminisi.exe
2). Run inpaint_image_criminisi.exe test1.jpg
3). It showing an window. I select some region with mouse left click. Also select some region with mouse right click.
4). Press e key. But there is no any result or change.
image

What I am wrong?
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions