This tutorial illustrates how to enhance results with strict volumetric masking feature. Applying a single mask or a few masks can be enough for this approach. 


Depth maps based mesh model reconstruction method


In older versions of PhotoScan/Metashape application, polygonal mesh (model) reconstruction required point cloud data, and in some cases users faced the necessity to manually remove noise from the point cloud, or to mask nearly all images before building a point cloud. The new mesh reconstruction method uses depth maps directly without the need to generate a point point cloud first.


Building model using the depth maps source option allows to use strict volumetric masks option in the Build Model dialog window.


A mesh generated based on medium quality depth maps is illustrated below. It can be seen that although the whole hand was reconstructed successfully, the white background without texture stuck between the index and middle fingers.



Strict volumetric masking


The depth maps based mesh reconstruction method with strict volumetric masking makes it possible to remove this noise with a single mask (or just with a couple of masks). 


Note that this masking is strict: each masked out pixel says to the algorithm that the ray coming from the respective camera through this pixel must pass only through the empty space. So please be careful and don't mask something important.


Previously to prevent sticking textureless background to model it was required to create masks for all images (at least coarse masks with a magic wand or by color). Now you don't need to create so many masks: just reconstruct the model without masks, and if there will be noisy volume, suppress it with a strict volumetric mask on the image that observes the respective part of the space. You can find useful information about model masking in our article - Masks


White background can be masked:





While you are holding Ctrl scissors path will automatically go along the texture border, and thus you will have to do just a few mouse clicks to perform the task. 

To finish selection with scissors, you can just press Esc, and the current selection path will automatically be connected with the beginning (you can click Esc one more time to remove selection).


Now model can be built, with strict volumetric masking input being considered: Workflow > Build Model... 




The resulting model looks fine thanks to a single mask we applied: