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

Method __call__

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

Source from the content-addressed store, hash-verified

3646 self.mode = StandardMode if mode is None else mode
3647
3648 def __call__(self, data: Any):
3649 data = convert_to_tensor(data, track_meta=get_track_meta())
3650 points = convert_box_to_points(data, mode=self.mode)
3651 return convert_to_dst_type(points, data)[0]
3652
3653
3654class ConvertPointsToBoxes(Transform):

Callers

nothing calls this directly

Calls 4

convert_to_tensorFunction · 0.90
get_track_metaFunction · 0.90
convert_box_to_pointsFunction · 0.90
convert_to_dst_typeFunction · 0.90

Tested by

no test coverage detected