parameters: (mask, arg, labelIdx)
return_statement: return imgArg
docstring: maps gm result to 3d volume coords
     mask : mask image
     arg : result of gm inference
     labelIdx : value that will be assigned to masked region
docstring_summary: maps gm result to 3d volume coords
     mask : mask image
     arg : result of gm inference
     labelIdx : value that will be assigned to masked region
docstring_tokens: maps gm result to 3d volume coords mask : mask image arg : result of gm inference labelIdx : value that will be assigned to masked region
function: def makeMaskedState(mask, arg, labelIdx):
     """
     maps gm result to 3d volume coords
     mask : mask image
     arg : result of gm inference
     labelIdx : value that will be assigned to masked region
     """
     imgArg = numpy.zeros(mask.shape, dtype=numpy.uint32)
     _opengmcore._makeMaskedState(mask, arg, imgArg, labelIdx)
     return imgArg
function_tokens: def makeMaskedState ( mask , arg , labelIdx ) : imgArg = numpy . zeros ( mask . shape , dtype = numpy . uint32 ) _opengmcore . _makeMaskedState ( mask , arg , imgArg , labelIdx ) return imgArg