class_docstr: This provides Inference Engine for Deepgrow 2D/3D pre-trained model.
  For More Details, Refer https://github.com/Project-MONAI/tutorials/tree/master/deepgrow/ignite
code: def pre_transforms(self, data=None) -> Sequence[Callable]:
      t = [
          LoadImaged(keys="image", image_only=False),
          Transposed(keys="image", indices=[2, 0, 1]),
          Spacingd(
              keys="image",
              pixdim=[1.0] * self.dimension,
              mode="bilinear",
          ),
          AddGuidanceFromPointsd(
              ref_image="image",
              guidance="guidance",
              spatial_dims=self.dimension,
          ),
      ]
  
      if self.dimension == 2:
          t.append(Fetch2DSliced(keys="image", guidance="guidance"))
      t.extend(
          [
              EnsureChannelFirstd(
                  keys="image", channel_dim="no_channel"
              ),
              SpatialCropGuidanced(
                  keys="image",
                  guidance="guidance",
                  spatial_size=self.spatial_size,
              ),
              Resized(
                  keys="image",
                  spatial_size=self.model_size,
                  mode="area",
              ),
              ResizeGuidanced(guidance="guidance", ref_image="image"),
              NormalizeIntensityd(keys="image", subtrahend=208, divisor=388),  # type: ignore
              AddGuidanceSignald(image="image", guidance="guidance"),
              EnsureTyped(
                  keys="image",
                  device=data.get("device") if data else None,
              ),
          ]
      )
      return t
  
file_path: MONAILabel/sample-apps/radiology/lib/infers/deepgrow.py
imports: from typing import Callable, Sequence
  from monai.apps.deepgrow.transforms import AddGuidanceFromPointsd, AddGuidanceSignald, Fetch2DSliced, ResizeGuidanced, RestoreLabeld, SpatialCropGuidanced
  from monai.inferers import Inferer, SimpleInferer
  from monai.transforms import Activationsd, AsChannelLastd, AsDiscreted, EnsureChannelFirstd, EnsureTyped, LoadImaged, NormalizeIntensityd, Resized, Spacingd, ToNumpyd, Transposed
  from monailabel.interfaces.tasks.infer_v2 import InferType
  from monailabel.tasks.infer.basic_infer import BasicInferTask
label_desc: Use image node_id 2 for calling the Deepgrow obj's underlying member method code with example usage: obj.pre_transforms(data) and returns: t