If ValidSampleDepthThreshold > 0 then the VisibilityFunction and the DeviceDepthPhotoSet will be used to determine sample validity. Using DeviceDepthPhotoSet will mitigate artefacts caused by samples which cannot be determined invalid by querying only the VisibilityFunction. If ValidSampleDepthThreshold <= 0 only VisibilityFunction will be used to determine sample validity