コード例 #1
0
 def __init__(self,
              keys: KeysCollection,
              threshold: float,
              above: bool = True,
              cval: float = 0.0) -> None:
     super().__init__(keys)
     self.filter = ThresholdIntensity(threshold, above, cval)
コード例 #2
0
ファイル: dictionary.py プロジェクト: yang20085936/MONAI
 def __init__(self,
              keys: Hashable,
              threshold: Union[int, float],
              above: bool = True,
              cval: Union[int, float] = 0):
     super().__init__(keys)
     self.filter = ThresholdIntensity(threshold, above, cval)
コード例 #3
0
 def __init__(self, keys, threshold, above=True, cval=0):
     super().__init__(keys)
     self.filter = ThresholdIntensity(threshold, above, cval)