MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / __call__

Method __call__

monai/transforms/intensity/dictionary.py:827–831  ·  view source on GitHub ↗
(self, data: Mapping[Hashable, NdarrayOrTensor])

Source from the content-addressed store, hash-verified

825 self.normalizer = NormalizeIntensity(subtrahend, divisor, nonzero, channel_wise, dtype)
826
827 def __call__(self, data: Mapping[Hashable, NdarrayOrTensor]) -> dict[Hashable, NdarrayOrTensor]:
828 d = dict(data)
829 for key in self.key_iterator(d):
830 d[key] = self.normalizer(d[key])
831 return d
832
833
834class ThresholdIntensityd(MapTransform):

Callers

nothing calls this directly

Calls 1

key_iteratorMethod · 0.80

Tested by

no test coverage detected