parameters: (self, image)
return_statement: return self._mask_from_segmentation(segmentation, ignore_values)
docstring: Build a mask from the undistorted segmentation.
  
          The mask is non-zero only for pixels with segmentation
          labels not in segmentation_ignore_values.
docstring_summary: Build a mask from the undistorted segmentation.
docstring_tokens: Build a mask from the undistorted segmentation .
function: def load_undistorted_segmentation_mask(self, image):
          """Build a mask from the undistorted segmentation.
  
          The mask is non-zero only for pixels with segmentation
          labels not in segmentation_ignore_values.
          """
          ignore_values = self.segmentation_ignore_values(image)
          if not ignore_values:
              return None
  
          segmentation = self.load_undistorted_segmentation(image)
          if segmentation is None:
              return None
  
          return self._mask_from_segmentation(segmentation, ignore_values)
function_tokens: def load_undistorted_segmentation_mask ( self , image ) : ignore_values = self . segmentation_ignore_values ( image ) if not ignore_values : return None segmentation = self . load_undistorted_segmentation ( image ) if segmentation is None : return None return self . _mask_from_segmentation ( segmentation , ignore_values )