Supplying a mask for each image

Is it possible to supply a mask for each image?

I am building a photobooth with 100 cameras for scanning people. I have the ability to create an image set of an empty booth and one with a person in it.

 

Creating a mask from these images are novel, but can I supply a mask to the SDK so to filter out unmasked data?

Greetings.

 

Yes, it is possible. The alpha channel of input images, if present, is used for masking. Full alpha mask (255 for 8bit alpha channel) shall mean ‘use’.

 

Another trick to ‘mask out’ the background, albeit probably slower, is to clear the background with a solid colour, e.g. white.

What file formats ( bmp.gif.ico.jpeg.png.tiff.dng.wmphoto.ddsraw formats  ) supports alpha? - I know TGA does, but I don’t see that in the list.

List comes from https://support.capturingreality.com/hc/en-us/articles/115001527832-RC-s-input-import-file-formats

 

Michael

 

E.g. tiff or png.

 

You shall be able to check if Your images have correctly masked data with alpha channel by viewing them in Windows’ default image viewer (Windows Photo Viewer).