The default mask = NULL argument for ANTsR::abpN4 causes an error. The underlying ANTsRCore::n4BiasFieldCorrection function expects the mask parameter to either be missing (the default) or an antsImage object. The default NULL leads to an error.
Since the mask arg is just passed to the underlying ANTsRCore::n4BiasFieldCorrection function without being used elsewhere, can it just be dropped from the ANTsR::abpN4 signature? (Users can just specify in ... if they want.)
The default
mask = NULL
argument forANTsR::abpN4
causes an error. The underlyingANTsRCore::n4BiasFieldCorrection
function expects themask
parameter to either be missing (the default) or anantsImage
object. The defaultNULL
leads to an error.Since the
mask
arg is just passed to the underlyingANTsRCore::n4BiasFieldCorrection
function without being used elsewhere, can it just be dropped from theANTsR::abpN4
signature? (Users can just specify in...
if they want.)