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

Method __call__

monai/transforms/spatial/array.py:3666–3669  ·  view source on GitHub ↗
(self, data: Any)

Source from the content-addressed store, hash-verified

3664 super().__init__()
3665
3666 def __call__(self, data: Any):
3667 data = convert_to_tensor(data, track_meta=get_track_meta())
3668 box = convert_points_to_box(data)
3669 return convert_to_dst_type(box, data)[0]

Callers

nothing calls this directly

Calls 4

convert_to_tensorFunction · 0.90
get_track_metaFunction · 0.90
convert_points_to_boxFunction · 0.90
convert_to_dst_typeFunction · 0.90

Tested by

no test coverage detected