I have multiple images imported into an array. My issue begins with using this array for an image manipulation function such as Inpaint. Inpaint only accepts a single image at a time.

Here's how I imported it.

compositeimage = Table[Import["C:\\Users\\paull\\Desktop\\" <> ToString[i] <> ".jpg"], {i, 7}]

Here's my issue:

Inpaint[compositieimage, maskimage]

I've tried messing around with Part[composite,[i]], however to no avail.

  • 6
    $\begingroup$ try Inpaint[#, maskimage]&/@compositieimage? $\endgroup$ – kglr Jun 19 at 23:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.