I’m experimenting with the G’MIC inpainting algorithm to remove objects from image. I used this command:
-input image.png mask.png +inpaint_matchpatch ,10,15,10,5,1,1 -output[-1] output.png
it works perfectly in a C++ project on mac, but when I used the exactly same command in an iOS project on iPhone, the application crashed on Cimg.h - compile() method.
I have also tried other inpainting commands, such as:
-input image.png mask.png +inpaint ,15,15,1.0,2,2,0.5,0.01,1,1 output[-1] -output[-1] output.png
this command works in iOS project.
Does it mean that the command “inpaint_matchpatch” is not supported on iOS? What should I do to make the command work on iOS? Thank you!