Forum

Author Topic: Mask multiple images at once with one same image  (Read 3162 times)

CarlosVenator

  • Newbie
  • *
  • Posts: 18
    • View Profile
Mask multiple images at once with one same image
« on: October 07, 2019, 08:02:50 PM »
Hi everyone,

I've photographed a skull with a turntable, and prior to taking a series of photos I took a photo of the turntable without the skull, to use this photo to mask the images. I have so far been able to mask single images with this photo, but I can't mask the whole series of photos with it. It seems that when I want to mask multiple photos, the program expects there to be masks of the same name as the photo it has to mask, but since it was made with a turntable, only one photo without the skull is necessary. How can I use one same photo to create masks on multiple images at once?

When I select the images I want to mask, I right click and choose "Import Masks", in the dialog that opens, I've chosen the following options:

  • Method: From background
    Operation: Replacement
    Filename template: (?)
    Tolerance: 20

    Apply to: All cameras

Thank you very much for your help in advance.

Regards,
Carlos
« Last Edit: October 07, 2019, 08:36:11 PM by CarlosVenator »

James

  • Hero Member
  • *****
  • Posts: 763
    • View Profile
Re: Mask multiple images at once with one same image
« Reply #1 on: October 08, 2019, 12:40:08 PM »
i think you just type the mask filename (including file extension) in where it says 'template', and then when prompted to choose a folder you browse for the folder containing that file.

you might also want to take a look at this approach though which is useful for turntable setups and requires less faffing: https://www.agisoft.com/index.php?id=49

CarlosVenator

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Mask multiple images at once with one same image
« Reply #2 on: October 08, 2019, 02:19:50 PM »
Hi! Thanks a lot for answering!

I tried that, yes. I wrote the name of the photo (first with and then without the extension), but an error dialog always appears which says: "Can't open file: the system can't find the specified file...". And I'm sure I picked the right folder.

Thank you for sending me that link, I'll definitely do it that way.

Regards.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15029
    • View Profile
Re: Mask multiple images at once with one same image
« Reply #3 on: October 10, 2019, 05:44:16 PM »
Hello Carlos,

Which OS you are using and which Metashape version? Also does the path in "can't open file" message that you are getting provides the valid path to the file or whether it has some duplicates parts?
Best regards,
Alexey Pasumansky,
Agisoft LLC